@spine-event-engine/proto 2.0.0-snapshot.24 → 2.0.0-snapshot.26

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 (79) hide show
  1. package/REFERENCE.md +8 -0
  2. package/dist/generated/proto-module.d.ts +4 -2
  3. package/dist/generated/proto-module.d.ts.map +1 -1
  4. package/dist/generated/proto-module.js +68 -55
  5. package/dist/generated/proto-module.js.map +1 -1
  6. package/dist/generated/spine/auth/authenticated_subscription_pb.d.ts +7 -0
  7. package/dist/generated/spine/auth/authenticated_subscription_pb.d.ts.map +1 -1
  8. package/dist/generated/spine/auth/authenticated_subscription_pb.js +2 -1
  9. package/dist/generated/spine/auth/authenticated_subscription_pb.js.map +1 -1
  10. package/dist/generated/spine/client/app_query_pb.d.ts +75 -0
  11. package/dist/generated/spine/client/app_query_pb.d.ts.map +1 -0
  12. package/dist/generated/spine/client/app_query_pb.js +28 -0
  13. package/dist/generated/spine/client/app_query_pb.js.map +1 -0
  14. package/dist/generated/spine/client/filters_pb.d.ts.map +1 -1
  15. package/dist/generated/spine/client/filters_pb.js +1 -1
  16. package/dist/generated/spine/client/filters_pb.js.map +1 -1
  17. package/dist/generated/spine/client/query_service_pb.d.ts +11 -0
  18. package/dist/generated/spine/client/query_service_pb.d.ts.map +1 -1
  19. package/dist/generated/spine/client/query_service_pb.js +2 -1
  20. package/dist/generated/spine/client/query_service_pb.js.map +1 -1
  21. package/dist/generated/spine/client/subscription_record_pb.d.ts +46 -1
  22. package/dist/generated/spine/client/subscription_record_pb.d.ts.map +1 -1
  23. package/dist/generated/spine/client/subscription_record_pb.js +9 -3
  24. package/dist/generated/spine/client/subscription_record_pb.js.map +1 -1
  25. package/dist/generated/spine/server/agent/acceptance_receipt_pb.d.ts +92 -0
  26. package/dist/generated/spine/server/agent/acceptance_receipt_pb.d.ts.map +1 -0
  27. package/dist/generated/spine/server/agent/acceptance_receipt_pb.js +27 -0
  28. package/dist/generated/spine/server/agent/acceptance_receipt_pb.js.map +1 -0
  29. package/dist/generated/spine/server/agent/model_preferences_record_pb.d.ts +67 -0
  30. package/dist/generated/spine/server/agent/model_preferences_record_pb.d.ts.map +1 -0
  31. package/dist/generated/spine/server/agent/model_preferences_record_pb.js +26 -0
  32. package/dist/generated/spine/server/agent/model_preferences_record_pb.js.map +1 -0
  33. package/dist/generated/spine/ts/agent/content_pb.d.ts +1 -1
  34. package/dist/generated/spine/ts/agent/interaction_events_pb.d.ts +1 -1
  35. package/dist/generated/spine/ts/agent/model_pb.d.ts +1 -1
  36. package/dist/src/client/index.d.ts +1 -0
  37. package/dist/src/client/index.d.ts.map +1 -1
  38. package/dist/src/client/index.js +1 -0
  39. package/dist/src/client/index.js.map +1 -1
  40. package/dist/src/codegen/index.d.ts +2 -0
  41. package/dist/src/codegen/index.d.ts.map +1 -0
  42. package/dist/src/codegen/index.js +15 -0
  43. package/dist/src/codegen/index.js.map +1 -0
  44. package/dist/src/codegen/proto-module-inventory.d.ts +10 -0
  45. package/dist/src/codegen/proto-module-inventory.d.ts.map +1 -0
  46. package/dist/src/codegen/proto-module-inventory.js +84 -0
  47. package/dist/src/codegen/proto-module-inventory.js.map +1 -0
  48. package/dist/tsconfig.tsbuildinfo +1 -1
  49. package/generated/.spine-proto-generation.json +1 -1
  50. package/generated/proto-module.ts +68 -55
  51. package/generated/spine/auth/authenticated_subscription_pb.ts +10 -1
  52. package/generated/spine/client/app_query_pb.ts +98 -0
  53. package/generated/spine/client/filters_pb.ts +1 -1
  54. package/generated/spine/client/query_service_pb.ts +13 -1
  55. package/generated/spine/client/subscription_record_pb.ts +50 -4
  56. package/generated/spine/server/agent/acceptance_receipt_pb.ts +111 -0
  57. package/generated/spine/server/agent/model_preferences_record_pb.ts +87 -0
  58. package/generated/spine/ts/agent/content_pb.ts +1 -1
  59. package/generated/spine/ts/agent/interaction_events_pb.ts +1 -1
  60. package/generated/spine/ts/agent/model_pb.ts +1 -1
  61. package/package.json +5 -1
  62. package/proto/spine/auth/authenticated_subscription.proto +16 -7
  63. package/proto/spine/client/app_query.proto +55 -0
  64. package/proto/spine/client/filters.proto +1 -1
  65. package/proto/spine/client/query_service.proto +4 -0
  66. package/proto/spine/client/subscription_record.proto +37 -17
  67. package/proto/spine/server/agent/acceptance_receipt.proto +57 -0
  68. package/proto/spine/server/agent/model_preferences_record.proto +48 -0
  69. package/proto/spine/ts/agent/content.proto +1 -1
  70. package/proto/spine/ts/agent/interaction_events.proto +1 -1
  71. package/proto/spine/ts/agent/model.proto +1 -1
  72. package/proto/spine-sources.json +27 -11
  73. package/spine-proto-manifest.json +8 -4
  74. package/dist/generated/spine/server/agent/execution_record_pb.d.ts +0 -1750
  75. package/dist/generated/spine/server/agent/execution_record_pb.d.ts.map +0 -1
  76. package/dist/generated/spine/server/agent/execution_record_pb.js +0 -478
  77. package/dist/generated/spine/server/agent/execution_record_pb.js.map +0 -1
  78. package/generated/spine/server/agent/execution_record_pb.ts +0 -2004
  79. package/proto/spine/server/agent/execution_record.proto +0 -838
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
7
- import type { Timestamp } from "@bufbuild/protobuf/wkt";
7
+ import type { Empty, Timestamp } from "@bufbuild/protobuf/wkt";
8
8
  import type { Subscription, SubscriptionId } from "./subscription_pb.js";
9
9
  import type { Message } from "@bufbuild/protobuf";
10
10
  /**
@@ -12,6 +12,45 @@ import type { Message } from "@bufbuild/protobuf";
12
12
  * Generated from Proto: spine/client/subscription_record.proto.
13
13
  */
14
14
  export declare const file_spine_client_subscription_record: GenFile;
15
+ /**
16
+ * Stable verified reader identity retained with a subscription definition.
17
+ *
18
+ * @generated from message spine.client.SubscriptionReaderBinding
19
+ * Generated from Proto: spine/client/subscription_record.proto.
20
+ */
21
+ export type SubscriptionReaderBinding = Message<"spine.client.SubscriptionReaderBinding"> & {
22
+ /**
23
+ * Exactly one admitted reader identity; absence cannot establish reader access.
24
+ *
25
+ * @generated from oneof spine.client.SubscriptionReaderBinding.identity
26
+ */
27
+ identity: {
28
+ /**
29
+ * Application-authenticated principal ID, never ActorContext or provider credentials.
30
+ *
31
+ * @generated from field: string principal_id = 1;
32
+ */
33
+ value: string;
34
+ case: "principalId";
35
+ } | {
36
+ /**
37
+ * Explicit admission without a principal or provider authority facts.
38
+ *
39
+ * @generated from field: google.protobuf.Empty anonymous = 2;
40
+ */
41
+ value: Empty;
42
+ case: "anonymous";
43
+ } | {
44
+ case: undefined;
45
+ value?: undefined;
46
+ };
47
+ };
48
+ /**
49
+ * Describes the message spine.client.SubscriptionReaderBinding.
50
+ * Use `create(SubscriptionReaderBindingSchema)` to create a new message.
51
+ * Generated from Proto: spine/client/subscription_record.proto.
52
+ */
53
+ export declare const SubscriptionReaderBindingSchema: GenMessage<SubscriptionReaderBinding>;
15
54
  /**
16
55
  * A stored definition of one subscription.
17
56
  *
@@ -49,6 +88,12 @@ export type SubscriptionRecord = Message<"spine.client.SubscriptionRecord"> & {
49
88
  * @generated from field: google.protobuf.Timestamp when_activation_expires = 5;
50
89
  */
51
90
  whenActivationExpires?: Timestamp | undefined;
91
+ /**
92
+ * Stable reader identity admitted when this definition was created.
93
+ *
94
+ * @generated from field: spine.client.SubscriptionReaderBinding reader = 6;
95
+ */
96
+ reader?: SubscriptionReaderBinding | undefined;
52
97
  };
53
98
  /**
54
99
  * Describes the message spine.client.SubscriptionRecord.
@@ -1 +1 @@
1
- {"version":3,"file":"subscription_record_pb.d.ts","sourceRoot":"","sources":["../../../../generated/spine/client/subscription_record_pb.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,qCAAqC,EAAE,OACmpB,CAAC;AAExsB;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,iCAAiC,CAAC,GAAG;IAC5E;;;;OAIG;IACH,EAAE,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAEhC;;;;OAIG;IACH,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAExC;;;;OAIG;IACH,MAAM,EAAE,kBAAkB,CAAC;IAE3B;;;;OAIG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAEpC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAAC,kBAAkB,CACb,CAAC;AAExD;;;;;GAKG;AACH,oBAAY,kBAAkB;IAC5B;;;;OAIG;IACH,cAAc,IAAI;IAElB;;;;OAIG;IACH,OAAO,IAAI;IAEX;;;;OAIG;IACH,MAAM,IAAI;CACX;AAED;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,OAAO,CAAC,kBAAkB,CACb,CAAC"}
1
+ {"version":3,"file":"subscription_record_pb.d.ts","sourceRoot":"","sources":["../../../../generated/spine/client/subscription_record_pb.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAE/D,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,qCAAqC,EAAE,OAC84B,CAAC;AAEn8B;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,wCAAwC,CAAC,GAAG;IAC1F;;;;OAIG;IACH,QAAQ,EAAE;QACR;;;;WAIG;QACH,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,aAAa,CAAC;KACrB,GAAG;QACF;;;;WAIG;QACH,KAAK,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,WAAW,CAAC;KACnB,GAAG;QAAE,IAAI,EAAE,SAAS,CAAC;QAAC,KAAK,CAAC,EAAE,SAAS,CAAA;KAAE,CAAC;CAC5C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,EAAE,UAAU,CAAC,yBAAyB,CAC3B,CAAC;AAExD;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,iCAAiC,CAAC,GAAG;IAC5E;;;;OAIG;IACH,EAAE,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAEhC;;;;OAIG;IACH,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAExC;;;;OAIG;IACH,MAAM,EAAE,kBAAkB,CAAC;IAE3B;;;;OAIG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAEpC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAE9C;;;;OAIG;IACH,MAAM,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAAC,kBAAkB,CACb,CAAC;AAExD;;;;;GAKG;AACH,oBAAY,kBAAkB;IAC5B;;;;OAIG;IACH,cAAc,IAAI;IAElB;;;;OAIG;IACH,OAAO,IAAI;IAEX;;;;OAIG;IACH,MAAM,IAAI;CACX;AAED;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,OAAO,CAAC,kBAAkB,CACb,CAAC"}
@@ -3,20 +3,26 @@
3
3
  * Source Proto: spine/client/subscription_record.proto
4
4
  */
5
5
  import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
- import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
+ import { file_google_protobuf_empty, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
7
  import { file_spine_client_subscription } from "./subscription_pb.js";
8
8
  import { file_spine_options } from "../options_pb.js";
9
9
  /**
10
10
  * Describes the file spine/client/subscription_record.proto.
11
11
  * Generated from Proto: spine/client/subscription_record.proto.
12
12
  */
13
- export const file_spine_client_subscription_record = /*@__PURE__*/ fileDesc("CiZzcGluZS9jbGllbnQvc3Vic2NyaXB0aW9uX3JlY29yZC5wcm90bxIMc3BpbmUuY2xpZW50IrECChJTdWJzY3JpcHRpb25SZWNvcmQSMgoCaWQYASABKAsyHC5zcGluZS5jbGllbnQuU3Vic2NyaXB0aW9uSWRCCKCFJAHohSQBEjoKDHN1YnNjcmlwdGlvbhgCIAEoCzIaLnNwaW5lLmNsaWVudC5TdWJzY3JpcHRpb25CCKCFJAHohSQBEjYKBnN0YXR1cxgDIAEoDjIgLnNwaW5lLmNsaWVudC5TdWJzY3JpcHRpb25TdGF0dXNCBKCFJAESNgoMd2hlbl9jcmVhdGVkGAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEIEoIUkARI7Chd3aGVuX2FjdGl2YXRpb25fZXhwaXJlcxgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAqQQoSU3Vic2NyaXB0aW9uU3RhdHVzEhIKDlNTX1VOU1BFQ0lGSUVEEAASCwoHUEVORElORxABEgoKBkFDVElWRRACQhNQAaqNJA10eXBlLnNwaW5lLmlvYgZwcm90bzM", [file_google_protobuf_timestamp, file_spine_client_subscription, file_spine_options]);
13
+ export const file_spine_client_subscription_record = /*@__PURE__*/ fileDesc("CiZzcGluZS9jbGllbnQvc3Vic2NyaXB0aW9uX3JlY29yZC5wcm90bxIMc3BpbmUuY2xpZW50ImwKGVN1YnNjcmlwdGlvblJlYWRlckJpbmRpbmcSFgoMcHJpbmNpcGFsX2lkGAEgASgJSAASKwoJYW5vbnltb3VzGAIgASgLMhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5SABCCgoIaWRlbnRpdHki6gIKElN1YnNjcmlwdGlvblJlY29yZBIyCgJpZBgBIAEoCzIcLnNwaW5lLmNsaWVudC5TdWJzY3JpcHRpb25JZEIIoIUkAeiFJAESOgoMc3Vic2NyaXB0aW9uGAIgASgLMhouc3BpbmUuY2xpZW50LlN1YnNjcmlwdGlvbkIIoIUkAeiFJAESNgoGc3RhdHVzGAMgASgOMiAuc3BpbmUuY2xpZW50LlN1YnNjcmlwdGlvblN0YXR1c0IEoIUkARI2Cgx3aGVuX2NyZWF0ZWQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgSghSQBEjsKF3doZW5fYWN0aXZhdGlvbl9leHBpcmVzGAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI3CgZyZWFkZXIYBiABKAsyJy5zcGluZS5jbGllbnQuU3Vic2NyaXB0aW9uUmVhZGVyQmluZGluZypBChJTdWJzY3JpcHRpb25TdGF0dXMSEgoOU1NfVU5TUEVDSUZJRUQQABILCgdQRU5ESU5HEAESCgoGQUNUSVZFEAJCE1ABqo0kDXR5cGUuc3BpbmUuaW9iBnByb3RvMw", [file_google_protobuf_empty, file_google_protobuf_timestamp, file_spine_client_subscription, file_spine_options]);
14
+ /**
15
+ * Describes the message spine.client.SubscriptionReaderBinding.
16
+ * Use `create(SubscriptionReaderBindingSchema)` to create a new message.
17
+ * Generated from Proto: spine/client/subscription_record.proto.
18
+ */
19
+ export const SubscriptionReaderBindingSchema = /*@__PURE__*/ messageDesc(file_spine_client_subscription_record, 0);
14
20
  /**
15
21
  * Describes the message spine.client.SubscriptionRecord.
16
22
  * Use `create(SubscriptionRecordSchema)` to create a new message.
17
23
  * Generated from Proto: spine/client/subscription_record.proto.
18
24
  */
19
- export const SubscriptionRecordSchema = /*@__PURE__*/ messageDesc(file_spine_client_subscription_record, 0);
25
+ export const SubscriptionRecordSchema = /*@__PURE__*/ messageDesc(file_spine_client_subscription_record, 1);
20
26
  /**
21
27
  * A lifecycle status of a stored subscription.
22
28
  *
@@ -1 +1 @@
1
- {"version":3,"file":"subscription_record_pb.js","sourceRoot":"","sources":["../../../../generated/spine/client/subscription_record_pb.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAExE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAGtD;;;GAGG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,qmBAAqmB,EAAE,CAAC,8BAA8B,EAAE,8BAA8B,EAAE,kBAAkB,CAAC,CAAC,CAAC;AA6CxsB;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAExD;;;;;GAKG;AACH,MAAM,CAAN,IAAY,kBAqBX;AArBD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,+EAAkB,CAAA;IAElB;;;;OAIG;IACH,iEAAW,CAAA;IAEX;;;;OAIG;IACH,+DAAU,CAAA;AACZ,CAAC,EArBW,kBAAkB,KAAlB,kBAAkB,QAqB7B;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAgC,aAAa,CAChF,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"subscription_record_pb.js","sourceRoot":"","sources":["../../../../generated/spine/client/subscription_record_pb.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,0BAA0B,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAEpG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAGtD;;;GAGG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,o0BAAo0B,EAAE,CAAC,0BAA0B,EAAE,8BAA8B,EAAE,8BAA8B,EAAE,kBAAkB,CAAC,CAAC,CAAC;AAiCn8B;;;;GAIG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAoDxD;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAExD;;;;;GAKG;AACH,MAAM,CAAN,IAAY,kBAqBX;AArBD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,+EAAkB,CAAA;IAElB;;;;OAIG;IACH,iEAAW,CAAA;IAEX;;;;OAIG;IACH,+DAAU,CAAA;AACZ,CAAC,EArBW,kBAAkB,KAAlB,kBAAkB,QAqB7B;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAgC,aAAa,CAChF,QAAQ,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,92 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/server/agent/acceptance_receipt.proto
4
+ */
5
+
6
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Any } from "@bufbuild/protobuf/wkt";
8
+ import type { CommandId } from "../../core/command_pb.js";
9
+ import type { EventId } from "../../core/event_pb.js";
10
+ import type { Message } from "@bufbuild/protobuf";
11
+ /**
12
+ * Describes the file spine/server/agent/acceptance_receipt.proto.
13
+ * Generated from Proto: spine/server/agent/acceptance_receipt.proto.
14
+ */
15
+ export declare const file_spine_server_agent_acceptance_receipt: GenFile;
16
+ /**
17
+ * Complete identity evidence for one Agent delivery within its provider tenant boundary.
18
+ * Its physical record slot is derived separately from these fields.
19
+ *
20
+ * @generated from message spine.server.agent.AgentAcceptanceKey
21
+ * Generated from Proto: spine/server/agent/acceptance_receipt.proto.
22
+ */
23
+ export type AgentAcceptanceKey = Message<"spine.server.agent.AgentAcceptanceKey"> & {
24
+ /**
25
+ * Generated Agent state type.
26
+ *
27
+ * @generated from field: string state_type = 1;
28
+ */
29
+ stateType: string;
30
+ /**
31
+ * Original typed recipient, including its exact Any type URL.
32
+ *
33
+ * @generated from field: google.protobuf.Any recipient_id = 2;
34
+ */
35
+ recipientId?: Any | undefined;
36
+ /**
37
+ * @generated from oneof spine.server.agent.AgentAcceptanceKey.source
38
+ */
39
+ source: {
40
+ /**
41
+ * Original Command identity.
42
+ *
43
+ * @generated from field: spine.core.CommandId command = 3;
44
+ */
45
+ value: CommandId;
46
+ case: "command";
47
+ } | {
48
+ /**
49
+ * Original Event identity.
50
+ *
51
+ * @generated from field: spine.core.EventId event = 4;
52
+ */
53
+ value: EventId;
54
+ case: "event";
55
+ } | {
56
+ case: undefined;
57
+ value?: undefined;
58
+ };
59
+ /**
60
+ * Original delivery route, such as HANDLE_COMMAND or REACT_UPON_EVENT.
61
+ *
62
+ * @generated from field: string action = 5;
63
+ */
64
+ action: string;
65
+ };
66
+ /**
67
+ * Describes the message spine.server.agent.AgentAcceptanceKey.
68
+ * Use `create(AgentAcceptanceKeySchema)` to create a new message.
69
+ * Generated from Proto: spine/server/agent/acceptance_receipt.proto.
70
+ */
71
+ export declare const AgentAcceptanceKeySchema: GenMessage<AgentAcceptanceKey>;
72
+ /**
73
+ * Immutable evidence that the Agent delivery was accepted once.
74
+ *
75
+ * @generated from message spine.server.agent.AgentAcceptanceReceipt
76
+ * Generated from Proto: spine/server/agent/acceptance_receipt.proto.
77
+ */
78
+ export type AgentAcceptanceReceipt = Message<"spine.server.agent.AgentAcceptanceReceipt"> & {
79
+ /**
80
+ * Complete identity evidence within the physical tenant boundary.
81
+ *
82
+ * @generated from field: spine.server.agent.AgentAcceptanceKey key = 1;
83
+ */
84
+ key?: AgentAcceptanceKey | undefined;
85
+ };
86
+ /**
87
+ * Describes the message spine.server.agent.AgentAcceptanceReceipt.
88
+ * Use `create(AgentAcceptanceReceiptSchema)` to create a new message.
89
+ * Generated from Proto: spine/server/agent/acceptance_receipt.proto.
90
+ */
91
+ export declare const AgentAcceptanceReceiptSchema: GenMessage<AgentAcceptanceReceipt>;
92
+ //# sourceMappingURL=acceptance_receipt_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acceptance_receipt_pb.d.ts","sourceRoot":"","sources":["../../../../../generated/spine/server/agent/acceptance_receipt_pb.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAElD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAGtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,0CAA0C,EAAE,OACgmB,CAAC;AAE1pB;;;;;;GAMG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,uCAAuC,CAAC,GAAG;IAClF;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,WAAW,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IAE9B;;OAEG;IACH,MAAM,EAAE;QACN;;;;WAIG;QACH,KAAK,EAAE,SAAS,CAAC;QACjB,IAAI,EAAE,SAAS,CAAC;KACjB,GAAG;QACF;;;;WAIG;QACH,KAAK,EAAE,OAAO,CAAC;QACf,IAAI,EAAE,OAAO,CAAC;KACf,GAAG;QAAE,IAAI,EAAE,SAAS,CAAC;QAAC,KAAK,CAAC,EAAE,SAAS,CAAA;KAAE,CAAC;IAE3C;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAAC,kBAAkB,CACR,CAAC;AAE7D;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAAC,2CAA2C,CAAC,GAAG;IAC1F;;;;OAIG;IACH,GAAG,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,EAAE,UAAU,CAAC,sBAAsB,CAChB,CAAC"}
@@ -0,0 +1,27 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/server/agent/acceptance_receipt.proto
4
+ */
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
7
+ import { file_spine_core_command } from "../../core/command_pb.js";
8
+ import { file_spine_core_event } from "../../core/event_pb.js";
9
+ import { file_spine_options } from "../../options_pb.js";
10
+ /**
11
+ * Describes the file spine/server/agent/acceptance_receipt.proto.
12
+ * Generated from Proto: spine/server/agent/acceptance_receipt.proto.
13
+ */
14
+ export const file_spine_server_agent_acceptance_receipt = /*@__PURE__*/ fileDesc("CitzcGluZS9zZXJ2ZXIvYWdlbnQvYWNjZXB0YW5jZV9yZWNlaXB0LnByb3RvEhJzcGluZS5zZXJ2ZXIuYWdlbnQi5AEKEkFnZW50QWNjZXB0YW5jZUtleRIYCgpzdGF0ZV90eXBlGAEgASgJQgSghSQBEjAKDHJlY2lwaWVudF9pZBgCIAEoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnlCBKCFJAESLgoHY29tbWFuZBgDIAEoCzIVLnNwaW5lLmNvcmUuQ29tbWFuZElkQgTohSQBSAASKgoFZXZlbnQYBCABKAsyEy5zcGluZS5jb3JlLkV2ZW50SWRCBOiFJAFIABIUCgZhY3Rpb24YBSABKAlCBKCFJAFCEAoGc291cmNlEgaiiiQCCAEiVwoWQWdlbnRBY2NlcHRhbmNlUmVjZWlwdBI9CgNrZXkYASABKAsyJi5zcGluZS5zZXJ2ZXIuYWdlbnQuQWdlbnRBY2NlcHRhbmNlS2V5QgighSQB6IUkAUIVqo0kDXR5cGUuc3BpbmUuaW+4jSQBYgZwcm90bzM", [file_google_protobuf_any, file_spine_core_command, file_spine_core_event, file_spine_options]);
15
+ /**
16
+ * Describes the message spine.server.agent.AgentAcceptanceKey.
17
+ * Use `create(AgentAcceptanceKeySchema)` to create a new message.
18
+ * Generated from Proto: spine/server/agent/acceptance_receipt.proto.
19
+ */
20
+ export const AgentAcceptanceKeySchema = /*@__PURE__*/ messageDesc(file_spine_server_agent_acceptance_receipt, 0);
21
+ /**
22
+ * Describes the message spine.server.agent.AgentAcceptanceReceipt.
23
+ * Use `create(AgentAcceptanceReceiptSchema)` to create a new message.
24
+ * Generated from Proto: spine/server/agent/acceptance_receipt.proto.
25
+ */
26
+ export const AgentAcceptanceReceiptSchema = /*@__PURE__*/ messageDesc(file_spine_server_agent_acceptance_receipt, 1);
27
+ //# sourceMappingURL=acceptance_receipt_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acceptance_receipt_pb.js","sourceRoot":"","sources":["../../../../../generated/spine/server/agent/acceptance_receipt_pb.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAElE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAEnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD;;;GAGG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,6iBAA6iB,EAAE,CAAC,wBAAwB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,kBAAkB,CAAC,CAAC,CAAC;AAqD1pB;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAiB7D;;;;GAIG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,67 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/server/agent/model_preferences_record.proto
4
+ */
5
+
6
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Any } from "@bufbuild/protobuf/wkt";
8
+ import type { ModelPreference } from "../../ts/agent/model_pb.js";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+ /**
11
+ * Describes the file spine/server/agent/model_preferences_record.proto.
12
+ * Generated from Proto: spine/server/agent/model_preferences_record.proto.
13
+ */
14
+ export declare const file_spine_server_agent_model_preferences_record: GenFile;
15
+ /**
16
+ * Complete Agent instance identity for retained model selections.
17
+ *
18
+ * @generated from message spine.server.agent.AgentModelPreferencesKey
19
+ * Generated from Proto: spine/server/agent/model_preferences_record.proto.
20
+ */
21
+ export type AgentModelPreferencesKey = Message<"spine.server.agent.AgentModelPreferencesKey"> & {
22
+ /**
23
+ * Generated Agent state type name.
24
+ *
25
+ * @generated from field: string state_type = 1;
26
+ */
27
+ stateType: string;
28
+ /**
29
+ * Exact typed Agent identifier including its original type URL and bytes.
30
+ *
31
+ * @generated from field: google.protobuf.Any recipient_id = 2;
32
+ */
33
+ recipientId?: Any | undefined;
34
+ };
35
+ /**
36
+ * Describes the message spine.server.agent.AgentModelPreferencesKey.
37
+ * Use `create(AgentModelPreferencesKeySchema)` to create a new message.
38
+ * Generated from Proto: spine/server/agent/model_preferences_record.proto.
39
+ */
40
+ export declare const AgentModelPreferencesKeySchema: GenMessage<AgentModelPreferencesKey>;
41
+ /**
42
+ * Current model selections without an executable Agent invocation.
43
+ *
44
+ * @generated from message spine.server.agent.AgentModelPreferencesRecord
45
+ * Generated from Proto: spine/server/agent/model_preferences_record.proto.
46
+ */
47
+ export type AgentModelPreferencesRecord = Message<"spine.server.agent.AgentModelPreferencesRecord"> & {
48
+ /**
49
+ * Complete identity evidence for the provider's bounded record slot.
50
+ *
51
+ * @generated from field: spine.server.agent.AgentModelPreferencesKey key = 1;
52
+ */
53
+ key?: AgentModelPreferencesKey | undefined;
54
+ /**
55
+ * Complete per-instance model selections; an empty list is valid.
56
+ *
57
+ * @generated from field: repeated spine.ts.agent.ModelPreference preferences = 2;
58
+ */
59
+ preferences: ModelPreference[];
60
+ };
61
+ /**
62
+ * Describes the message spine.server.agent.AgentModelPreferencesRecord.
63
+ * Use `create(AgentModelPreferencesRecordSchema)` to create a new message.
64
+ * Generated from Proto: spine/server/agent/model_preferences_record.proto.
65
+ */
66
+ export declare const AgentModelPreferencesRecordSchema: GenMessage<AgentModelPreferencesRecord>;
67
+ //# sourceMappingURL=model_preferences_record_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model_preferences_record_pb.d.ts","sourceRoot":"","sources":["../../../../../generated/spine/server/agent/model_preferences_record_pb.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAGlD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,gDAAgD,EAAE,OACygB,CAAC;AAEzkB;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,6CAA6C,CAAC,GAAG;IAC9F;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,WAAW,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,EAAE,UAAU,CAAC,wBAAwB,CACd,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC,gDAAgD,CAAC,GAAG;IACpG;;;;OAIG;IACH,GAAG,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IAE3C;;;;OAIG;IACH,WAAW,EAAE,eAAe,EAAE,CAAC;CAChC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,EAAE,UAAU,CAAC,2BAA2B,CACpB,CAAC"}
@@ -0,0 +1,26 @@
1
+ /*
2
+ * Generated by Spine TypeScript. Do not edit manually.
3
+ * Source Proto: spine/server/agent/model_preferences_record.proto
4
+ */
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_google_protobuf_any } from "@bufbuild/protobuf/wkt";
7
+ import { file_spine_options } from "../../options_pb.js";
8
+ import { file_spine_ts_agent_model } from "../../ts/agent/model_pb.js";
9
+ /**
10
+ * Describes the file spine/server/agent/model_preferences_record.proto.
11
+ * Generated from Proto: spine/server/agent/model_preferences_record.proto.
12
+ */
13
+ export const file_spine_server_agent_model_preferences_record = /*@__PURE__*/ fileDesc("CjFzcGluZS9zZXJ2ZXIvYWdlbnQvbW9kZWxfcHJlZmVyZW5jZXNfcmVjb3JkLnByb3RvEhJzcGluZS5zZXJ2ZXIuYWdlbnQiagoYQWdlbnRNb2RlbFByZWZlcmVuY2VzS2V5EhgKCnN0YXRlX3R5cGUYASABKAlCBKCFJAESNAoMcmVjaXBpZW50X2lkGAIgASgLMhQuZ29vZ2xlLnByb3RvYnVmLkFueUIIoIUkAeiFJAEingEKG0FnZW50TW9kZWxQcmVmZXJlbmNlc1JlY29yZBJDCgNrZXkYASABKAsyLC5zcGluZS5zZXJ2ZXIuYWdlbnQuQWdlbnRNb2RlbFByZWZlcmVuY2VzS2V5QgighSQB6IUkARI6CgtwcmVmZXJlbmNlcxgCIAMoCzIfLnNwaW5lLnRzLmFnZW50Lk1vZGVsUHJlZmVyZW5jZUIE6IUkAUIVqo0kDXR5cGUuc3BpbmUuaW+4jSQBYgZwcm90bzM", [file_google_protobuf_any, file_spine_options, file_spine_ts_agent_model]);
14
+ /**
15
+ * Describes the message spine.server.agent.AgentModelPreferencesKey.
16
+ * Use `create(AgentModelPreferencesKeySchema)` to create a new message.
17
+ * Generated from Proto: spine/server/agent/model_preferences_record.proto.
18
+ */
19
+ export const AgentModelPreferencesKeySchema = /*@__PURE__*/ messageDesc(file_spine_server_agent_model_preferences_record, 0);
20
+ /**
21
+ * Describes the message spine.server.agent.AgentModelPreferencesRecord.
22
+ * Use `create(AgentModelPreferencesRecordSchema)` to create a new message.
23
+ * Generated from Proto: spine/server/agent/model_preferences_record.proto.
24
+ */
25
+ export const AgentModelPreferencesRecordSchema = /*@__PURE__*/ messageDesc(file_spine_server_agent_model_preferences_record, 1);
26
+ //# sourceMappingURL=model_preferences_record_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model_preferences_record_pb.js","sourceRoot":"","sources":["../../../../../generated/spine/server/agent/model_preferences_record_pb.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAGvE;;;GAGG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAY,aAAa,CACpF,QAAQ,CAAC,ifAAif,EAAE,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,yBAAyB,CAAC,CAAC,CAAC;AAwBzkB;;;;GAIG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAyC,aAAa,CAC/F,WAAW,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC;AAwBnE;;;;GAIG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAA4C,aAAa,CACrG,WAAW,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC"}
@@ -806,7 +806,7 @@ export declare const DecisionResponseSchema: GenMessage<DecisionResponse>;
806
806
  */
807
807
  export type ToolRequest = Message<"spine.ts.agent.ToolRequest"> & {
808
808
  /**
809
- * Logical call identity preserved across recovery.
809
+ * Logical call identity within the running Agent invocation.
810
810
  *
811
811
  * @generated from field: spine.ts.agent.AiToolCallId call = 1;
812
812
  */
@@ -233,7 +233,7 @@ export type AgentModelAttemptFinished = Message<"spine.ts.agent.AgentModelAttemp
233
233
  */
234
234
  export declare const AgentModelAttemptFinishedSchema: GenMessage<AgentModelAttemptFinished>;
235
235
  /**
236
- * Typed result passed local validation and was saved for recovery.
236
+ * Typed result passed local validation during a live Agent invocation.
237
237
  *
238
238
  * @generated from message spine.ts.agent.AgentAiResultAdmitted
239
239
  * Generated from Proto: spine/ts/agent/interaction_events.proto.
@@ -203,7 +203,7 @@ export type AiContentDigest = Message<"spine.ts.agent.AiContentDigest"> & {
203
203
  */
204
204
  export declare const AiContentDigestSchema: GenMessage<AiContentDigest>;
205
205
  /**
206
- * Identifies one logical tool call and its recovery record.
206
+ * Identifies one logical tool call in a running Agent invocation.
207
207
  *
208
208
  * @generated from message spine.ts.agent.AiToolCallId
209
209
  * Generated from Proto: spine/ts/agent/model.proto.
@@ -5,6 +5,7 @@ export * from "../../generated/spine/client/command_service_pb.js";
5
5
  export * from "../../generated/spine/client/entities_pb.js";
6
6
  export * from "../../generated/spine/client/filters_pb.js";
7
7
  export * from "../../generated/spine/client/query_pb.js";
8
+ export * from "../../generated/spine/client/app_query_pb.js";
8
9
  export * from "../../generated/spine/client/query_service_pb.js";
9
10
  export * from "../../generated/spine/client/subscription_pb.js";
10
11
  export * from "../../generated/spine/client/subscription_record_pb.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.ts"],"names":[],"mappings":"AAcA;;GAEG;AACH,cAAc,oDAAoD,CAAC;AACnE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0CAA0C,CAAC;AACzD,cAAc,kDAAkD,CAAC;AACjE,cAAc,iDAAiD,CAAC;AAChE,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.ts"],"names":[],"mappings":"AAcA;;GAEG;AACH,cAAc,oDAAoD,CAAC;AACnE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kDAAkD,CAAC;AACjE,cAAc,iDAAiD,CAAC;AAChE,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC"}
@@ -18,6 +18,7 @@ export * from "../../generated/spine/client/command_service_pb.js";
18
18
  export * from "../../generated/spine/client/entities_pb.js";
19
19
  export * from "../../generated/spine/client/filters_pb.js";
20
20
  export * from "../../generated/spine/client/query_pb.js";
21
+ export * from "../../generated/spine/client/app_query_pb.js";
21
22
  export * from "../../generated/spine/client/query_service_pb.js";
22
23
  export * from "../../generated/spine/client/subscription_pb.js";
23
24
  export * from "../../generated/spine/client/subscription_record_pb.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/client/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH;;GAEG;AACH,cAAc,oDAAoD,CAAC;AACnE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0CAA0C,CAAC;AACzD,cAAc,kDAAkD,CAAC;AACjE,cAAc,iDAAiD,CAAC;AAChE,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/client/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH;;GAEG;AACH,cAAc,oDAAoD,CAAC;AACnE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kDAAkD,CAAC;AACjE,cAAc,iDAAiD,CAAC;AAChE,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { registerProtoModule, registeredProtoModules } from "./proto-module-inventory.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/codegen/index.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,15 @@
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
+ export { registerProtoModule, registeredProtoModules } from "./proto-module-inventory.js";
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/codegen/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { ProtoModule } from "../model/proto-module.js";
2
+ /**
3
+ * Registers a generated module at runtime.
4
+ */
5
+ export declare const registerProtoModule: (module: ProtoModule) => ProtoModule;
6
+ /**
7
+ * Returns the stable registered root snapshot for descriptor composition.
8
+ */
9
+ export declare const registeredProtoModules: () => readonly ProtoModule[];
10
+ //# sourceMappingURL=proto-module-inventory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proto-module-inventory.d.ts","sourceRoot":"","sources":["../../../src/codegen/proto-module-inventory.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AA6D5D;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,WAC5B,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,SAAS,WAAW,EAAkC,CAAC"}
@@ -0,0 +1,84 @@
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
+ import { createRegistry } from "@bufbuild/protobuf";
15
+ let roots = Object.freeze([]);
16
+ /**
17
+ * Registers a generated module and its declared dependencies at startup.
18
+ * A failed registration leaves the previous inventory available.
19
+ */
20
+ const ProtoModuleInventory = Object.freeze({
21
+ /**
22
+ * Validates and adds a generated module atomically.
23
+ *
24
+ * @param module Module and dependency graph to register.
25
+ * @returns The registered module.
26
+ */
27
+ register(module) {
28
+ if (roots.includes(module))
29
+ return module;
30
+ const candidate = Object.freeze([...roots, module]);
31
+ const modules = new Map();
32
+ const schemas = new Map();
33
+ const descriptorNames = new Map();
34
+ const visiting = new Set();
35
+ const visited = new Set();
36
+ const visit = (current) => {
37
+ if (visiting.has(current))
38
+ throw new Error(`Protobuf module dependency cycle: ${current.name}`);
39
+ const earlier = modules.get(current.name);
40
+ if (earlier !== undefined && earlier !== current)
41
+ throw new Error(`Conflicting Protobuf module: ${current.name}`);
42
+ if (visited.has(current))
43
+ return;
44
+ modules.set(current.name, current);
45
+ visiting.add(current);
46
+ for (const dependency of current.dependencies)
47
+ visit(dependency);
48
+ for (const schema of current.schemas) {
49
+ const prior = schemas.get(schema.typeName);
50
+ if (prior !== undefined)
51
+ throw new Error(`Conflicting Protobuf type: ${schema.typeName}`);
52
+ const earlierName = descriptorNames.get(schema.proto);
53
+ if (earlierName !== undefined)
54
+ throw new Error(`Conflicting Protobuf descriptor: ${earlierName}`);
55
+ schemas.set(schema.typeName, schema);
56
+ descriptorNames.set(schema.proto, schema.typeName);
57
+ }
58
+ visiting.delete(current);
59
+ visited.add(current);
60
+ };
61
+ for (const root of candidate)
62
+ visit(root);
63
+ createRegistry(...schemas.values());
64
+ roots = candidate;
65
+ return module;
66
+ },
67
+ /**
68
+ * Reads the stable inventory snapshot.
69
+ *
70
+ * @returns Registered root modules.
71
+ */
72
+ snapshot() {
73
+ return roots;
74
+ },
75
+ });
76
+ /**
77
+ * Registers a generated module at runtime.
78
+ */
79
+ export const registerProtoModule = ProtoModuleInventory.register;
80
+ /**
81
+ * Returns the stable registered root snapshot for descriptor composition.
82
+ */
83
+ export const registeredProtoModules = ProtoModuleInventory.snapshot;
84
+ //# sourceMappingURL=proto-module-inventory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proto-module-inventory.js","sourceRoot":"","sources":["../../../src/codegen/proto-module-inventory.ts"],"names":[],"mappings":"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"}