@f-inverse/jammi-client 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gen/jammi/v1/embedding_pb.d.ts +123 -1
- package/dist/gen/jammi/v1/embedding_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/embedding_pb.js +30 -9
- package/dist/gen/jammi/v1/embedding_pb.js.map +1 -1
- package/dist/gen/jammi/v1/session_pb.d.ts +53 -5
- package/dist/gen/jammi/v1/session_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/session_pb.js +16 -9
- package/dist/gen/jammi/v1/session_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { ModelTask } from "./inference_pb";
|
|
3
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
5
|
/**
|
|
5
6
|
* Describes the file jammi/v1/embedding.proto.
|
|
@@ -69,6 +70,87 @@ export type RemoveSourceRequest = Message<"jammi.v1.embedding.RemoveSourceReques
|
|
|
69
70
|
* Use `create(RemoveSourceRequestSchema)` to create a new message.
|
|
70
71
|
*/
|
|
71
72
|
export declare const RemoveSourceRequestSchema: GenMessage<RemoveSourceRequest>;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from message jammi.v1.embedding.ListSourcesRequest
|
|
75
|
+
*/
|
|
76
|
+
export type ListSourcesRequest = Message<"jammi.v1.embedding.ListSourcesRequest"> & {};
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message jammi.v1.embedding.ListSourcesRequest.
|
|
79
|
+
* Use `create(ListSourcesRequestSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export declare const ListSourcesRequestSchema: GenMessage<ListSourcesRequest>;
|
|
82
|
+
/**
|
|
83
|
+
* @generated from message jammi.v1.embedding.ListSourcesResponse
|
|
84
|
+
*/
|
|
85
|
+
export type ListSourcesResponse = Message<"jammi.v1.embedding.ListSourcesResponse"> & {
|
|
86
|
+
/**
|
|
87
|
+
* One descriptor per source registered to the calling tenant, in the
|
|
88
|
+
* engine's registration order.
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: repeated jammi.v1.embedding.SourceDescriptor sources = 1;
|
|
91
|
+
*/
|
|
92
|
+
sources: SourceDescriptor[];
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Describes the message jammi.v1.embedding.ListSourcesResponse.
|
|
96
|
+
* Use `create(ListSourcesResponseSchema)` to create a new message.
|
|
97
|
+
*/
|
|
98
|
+
export declare const ListSourcesResponseSchema: GenMessage<ListSourcesResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from message jammi.v1.embedding.DescribeSourceRequest
|
|
101
|
+
*/
|
|
102
|
+
export type DescribeSourceRequest = Message<"jammi.v1.embedding.DescribeSourceRequest"> & {
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: string source_id = 1;
|
|
105
|
+
*/
|
|
106
|
+
sourceId: string;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message jammi.v1.embedding.DescribeSourceRequest.
|
|
110
|
+
* Use `create(DescribeSourceRequestSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export declare const DescribeSourceRequestSchema: GenMessage<DescribeSourceRequest>;
|
|
113
|
+
/**
|
|
114
|
+
* Registry introspection for one source: its registration identity plus the
|
|
115
|
+
* embedding result tables produced out of it. The embedding-side
|
|
116
|
+
* status/row_count/dimensions are carried by the `ResultTable` records
|
|
117
|
+
* (`result_tables`) — the same shape `GenerateEmbeddings` returns — rather than
|
|
118
|
+
* duplicated as descriptor fields, so there is one source-of-truth for those
|
|
119
|
+
* numbers. A freshly-registered source with no embeddings yet carries an empty
|
|
120
|
+
* `result_tables`.
|
|
121
|
+
*
|
|
122
|
+
* @generated from message jammi.v1.embedding.SourceDescriptor
|
|
123
|
+
*/
|
|
124
|
+
export type SourceDescriptor = Message<"jammi.v1.embedding.SourceDescriptor"> & {
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: string source_id = 1;
|
|
127
|
+
*/
|
|
128
|
+
sourceId: string;
|
|
129
|
+
/**
|
|
130
|
+
* The storage backend the source was registered with.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: jammi.v1.embedding.SourceKind kind = 2;
|
|
133
|
+
*/
|
|
134
|
+
kind: SourceKind;
|
|
135
|
+
/**
|
|
136
|
+
* Registration lifecycle status from the source catalog (e.g. "active").
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: string status = 3;
|
|
139
|
+
*/
|
|
140
|
+
status: string;
|
|
141
|
+
/**
|
|
142
|
+
* Every embedding result table produced from this source. Empty until a
|
|
143
|
+
* `GenerateEmbeddings` call persists one.
|
|
144
|
+
*
|
|
145
|
+
* @generated from field: repeated jammi.v1.embedding.ResultTable result_tables = 4;
|
|
146
|
+
*/
|
|
147
|
+
resultTables: ResultTable[];
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* Describes the message jammi.v1.embedding.SourceDescriptor.
|
|
151
|
+
* Use `create(SourceDescriptorSchema)` to create a new message.
|
|
152
|
+
*/
|
|
153
|
+
export declare const SourceDescriptorSchema: GenMessage<SourceDescriptor>;
|
|
72
154
|
/**
|
|
73
155
|
* @generated from message jammi.v1.embedding.GenerateEmbeddingsRequest
|
|
74
156
|
*/
|
|
@@ -113,7 +195,10 @@ export declare const GenerateEmbeddingsRequestSchema: GenMessage<GenerateEmbeddi
|
|
|
113
195
|
/**
|
|
114
196
|
* Subset of the engine's `ResultTableRecord` a client needs to locate and
|
|
115
197
|
* query the persisted embedding table. Internal bookkeeping columns
|
|
116
|
-
* (parquet/index paths, timestamps) stay server-side.
|
|
198
|
+
* (parquet/index paths, timestamps) stay server-side. The record is
|
|
199
|
+
* self-describing — it carries its own `task` — so it reconstructs without the
|
|
200
|
+
* caller supplying the modality out of band; this is the one shape both
|
|
201
|
+
* GenerateEmbeddings and DescribeSource return.
|
|
117
202
|
*
|
|
118
203
|
* @generated from message jammi.v1.embedding.ResultTable
|
|
119
204
|
*/
|
|
@@ -147,6 +232,14 @@ export type ResultTable = Message<"jammi.v1.embedding.ResultTable"> & {
|
|
|
147
232
|
* @generated from field: string status = 6;
|
|
148
233
|
*/
|
|
149
234
|
status: string;
|
|
235
|
+
/**
|
|
236
|
+
* The task that produced this table (the embedding tower: text / image /
|
|
237
|
+
* audio). Carried so the record reconstructs its `ModelTask` faithfully on
|
|
238
|
+
* the wire rather than from a guessed default.
|
|
239
|
+
*
|
|
240
|
+
* @generated from field: jammi.v1.inference.ModelTask task = 7;
|
|
241
|
+
*/
|
|
242
|
+
task: ModelTask;
|
|
150
243
|
};
|
|
151
244
|
/**
|
|
152
245
|
* Describes the message jammi.v1.embedding.ResultTable.
|
|
@@ -467,6 +560,35 @@ export declare const EmbeddingService: GenService<{
|
|
|
467
560
|
input: typeof RemoveSourceRequestSchema;
|
|
468
561
|
output: typeof EmptySchema;
|
|
469
562
|
};
|
|
563
|
+
/**
|
|
564
|
+
* List a `SourceDescriptor` for every source registered to the calling
|
|
565
|
+
* tenant. Peer of the abstraction's `list_sources`; registry introspection,
|
|
566
|
+
* not a SQL query. `ListSources` is `DescribeSource` applied over every
|
|
567
|
+
* registered source — one descriptor shape, one operator, no per-source
|
|
568
|
+
* special-casing.
|
|
569
|
+
*
|
|
570
|
+
* @generated from rpc jammi.v1.embedding.EmbeddingService.ListSources
|
|
571
|
+
*/
|
|
572
|
+
listSources: {
|
|
573
|
+
methodKind: "unary";
|
|
574
|
+
input: typeof ListSourcesRequestSchema;
|
|
575
|
+
output: typeof ListSourcesResponseSchema;
|
|
576
|
+
};
|
|
577
|
+
/**
|
|
578
|
+
* Describe one registered source: its registry identity (id / kind /
|
|
579
|
+
* lifecycle status) plus the result tables embedded out of it (each carrying
|
|
580
|
+
* its own status / row_count / dimensions). Peer of the abstraction's
|
|
581
|
+
* `describe_source`. The embedding status / row_count / dimensions are read
|
|
582
|
+
* from the engine's result-table record — the same source-of-truth a
|
|
583
|
+
* `GenerateEmbeddings` response returns — never a parallel registry.
|
|
584
|
+
*
|
|
585
|
+
* @generated from rpc jammi.v1.embedding.EmbeddingService.DescribeSource
|
|
586
|
+
*/
|
|
587
|
+
describeSource: {
|
|
588
|
+
methodKind: "unary";
|
|
589
|
+
input: typeof DescribeSourceRequestSchema;
|
|
590
|
+
output: typeof SourceDescriptorSchema;
|
|
591
|
+
};
|
|
470
592
|
/**
|
|
471
593
|
* Scan `columns` on a registered source, run the modality's tower over
|
|
472
594
|
* every row (decode/feature-extraction as the modality requires → forward
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embedding_pb.d.ts","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/embedding_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE7F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"embedding_pb.d.ts","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/embedding_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE7F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,OAC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;QACd,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,2BAA2B,CAAC;QAC1C,MAAM,EAAE,OAAO,sBAAsB,CAAC;KACvC,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,EAAE;QAClB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,+BAA+B,CAAC;QAC9C,MAAM,EAAE,OAAO,iBAAiB,CAAC;KAClC,CAAC;IACF;;;;;;;OAOG;IACH,WAAW,EAAE;QACX,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,wBAAwB,CAAC;QACvC,MAAM,EAAE,OAAO,yBAAyB,CAAC;KAC1C,CAAC;IACF;;;;;;;;;;OAUG;IACH,MAAM,EAAE;QACN,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,mBAAmB,CAAC;QAClC,MAAM,EAAE,OAAO,oBAAoB,CAAC;KACrC,CAAC;CACH,CACwC,CAAC"}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
import { file_jammi_v1_inference } from "./inference_pb";
|
|
6
7
|
/**
|
|
7
8
|
* Describes the file jammi/v1/embedding.proto.
|
|
8
9
|
*/
|
|
9
|
-
export const file_jammi_v1_embedding = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_jammi_v1_embedding = /*@__PURE__*/ fileDesc("ChhqYW1taS92MS9lbWJlZGRpbmcucHJvdG8SEmphbW1pLnYxLmVtYmVkZGluZyJPChBTb3VyY2VDb25uZWN0aW9uEgsKA3VybBgBIAEoCRIuCgZmb3JtYXQYAiABKA4yHi5qYW1taS52MS5lbWJlZGRpbmcuRmlsZUZvcm1hdCKUAQoQQWRkU291cmNlUmVxdWVzdBIRCglzb3VyY2Vfa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V9GT1JNQVRfUEFSUVVFVBABEhMKD0ZJTEVfRk9STUFUX0NTVhACEhQKEEZJTEVfRk9STUFUX0pTT04QAxIUChBGSUxFX0ZPUk1BVF9BVlJPEAQyiAUKEEVtYmVkZGluZ1NlcnZpY2USSQoJQWRkU291cmNlEiQuamFtbWkudjEuZW1iZWRkaW5nLkFkZFNvdXJjZVJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkSTwoMUmVtb3ZlU291cmNlEicuamFtbWkudjEuZW1iZWRkaW5nLlJlbW92ZVNvdXJjZVJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkSXgoLTGlzdFNvdXJjZXMSJi5qYW1taS52MS5lbWJlZGRpbmcuTGlzdFNvdXJjZXNSZXF1ZXN0GicuamFtbWkudjEuZW1iZWRkaW5nLkxpc3RTb3VyY2VzUmVzcG9uc2USYQoORGVzY3JpYmVTb3VyY2USKS5qYW1taS52MS5lbWJlZGRpbmcuRGVzY3JpYmVTb3VyY2VSZXF1ZXN0GiQuamFtbWkudjEuZW1iZWRkaW5nLlNvdXJjZURlc2NyaXB0b3ISZAoSR2VuZXJhdGVFbWJlZGRpbmdzEi0uamFtbWkudjEuZW1iZWRkaW5nLkdlbmVyYXRlRW1iZWRkaW5nc1JlcXVlc3QaHy5qYW1taS52MS5lbWJlZGRpbmcuUmVzdWx0VGFibGUSXgoLRW5jb2RlUXVlcnkSJi5qYW1taS52MS5lbWJlZGRpbmcuRW5jb2RlUXVlcnlSZXF1ZXN0GicuamFtbWkudjEuZW1iZWRkaW5nLkVuY29kZVF1ZXJ5UmVzcG9uc2USTwoGU2VhcmNoEiEuamFtbWkudjEuZW1iZWRkaW5nLlNlYXJjaFJlcXVlc3QaIi5qYW1taS52MS5lbWJlZGRpbmcuU2VhcmNoUmVzcG9uc2ViBnByb3RvMw", [file_google_protobuf_empty, file_jammi_v1_inference]);
|
|
10
11
|
/**
|
|
11
12
|
* Describes the message jammi.v1.embedding.SourceConnection.
|
|
12
13
|
* Use `create(SourceConnectionSchema)` to create a new message.
|
|
@@ -22,46 +23,66 @@ export const AddSourceRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_em
|
|
|
22
23
|
* Use `create(RemoveSourceRequestSchema)` to create a new message.
|
|
23
24
|
*/
|
|
24
25
|
export const RemoveSourceRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 2);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message jammi.v1.embedding.ListSourcesRequest.
|
|
28
|
+
* Use `create(ListSourcesRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const ListSourcesRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 3);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message jammi.v1.embedding.ListSourcesResponse.
|
|
33
|
+
* Use `create(ListSourcesResponseSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const ListSourcesResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 4);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message jammi.v1.embedding.DescribeSourceRequest.
|
|
38
|
+
* Use `create(DescribeSourceRequestSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const DescribeSourceRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 5);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message jammi.v1.embedding.SourceDescriptor.
|
|
43
|
+
* Use `create(SourceDescriptorSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const SourceDescriptorSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 6);
|
|
25
46
|
/**
|
|
26
47
|
* Describes the message jammi.v1.embedding.GenerateEmbeddingsRequest.
|
|
27
48
|
* Use `create(GenerateEmbeddingsRequestSchema)` to create a new message.
|
|
28
49
|
*/
|
|
29
|
-
export const GenerateEmbeddingsRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding,
|
|
50
|
+
export const GenerateEmbeddingsRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 7);
|
|
30
51
|
/**
|
|
31
52
|
* Describes the message jammi.v1.embedding.ResultTable.
|
|
32
53
|
* Use `create(ResultTableSchema)` to create a new message.
|
|
33
54
|
*/
|
|
34
|
-
export const ResultTableSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding,
|
|
55
|
+
export const ResultTableSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 8);
|
|
35
56
|
/**
|
|
36
57
|
* Describes the message jammi.v1.embedding.EncodeQueryRequest.
|
|
37
58
|
* Use `create(EncodeQueryRequestSchema)` to create a new message.
|
|
38
59
|
*/
|
|
39
|
-
export const EncodeQueryRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding,
|
|
60
|
+
export const EncodeQueryRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 9);
|
|
40
61
|
/**
|
|
41
62
|
* Describes the message jammi.v1.embedding.EncodeQueryResponse.
|
|
42
63
|
* Use `create(EncodeQueryResponseSchema)` to create a new message.
|
|
43
64
|
*/
|
|
44
|
-
export const EncodeQueryResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding,
|
|
65
|
+
export const EncodeQueryResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 10);
|
|
45
66
|
/**
|
|
46
67
|
* Describes the message jammi.v1.embedding.QueryVector.
|
|
47
68
|
* Use `create(QueryVectorSchema)` to create a new message.
|
|
48
69
|
*/
|
|
49
|
-
export const QueryVectorSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding,
|
|
70
|
+
export const QueryVectorSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 11);
|
|
50
71
|
/**
|
|
51
72
|
* Describes the message jammi.v1.embedding.SearchRequest.
|
|
52
73
|
* Use `create(SearchRequestSchema)` to create a new message.
|
|
53
74
|
*/
|
|
54
|
-
export const SearchRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding,
|
|
75
|
+
export const SearchRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 12);
|
|
55
76
|
/**
|
|
56
77
|
* Describes the message jammi.v1.embedding.SearchResponse.
|
|
57
78
|
* Use `create(SearchResponseSchema)` to create a new message.
|
|
58
79
|
*/
|
|
59
|
-
export const SearchResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding,
|
|
80
|
+
export const SearchResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 13);
|
|
60
81
|
/**
|
|
61
82
|
* Describes the message jammi.v1.embedding.SearchHit.
|
|
62
83
|
* Use `create(SearchHitSchema)` to create a new message.
|
|
63
84
|
*/
|
|
64
|
-
export const SearchHitSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding,
|
|
85
|
+
export const SearchHitSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_embedding, 14);
|
|
65
86
|
/**
|
|
66
87
|
* Which embedding tower a GenerateEmbeddings / EncodeQuery call targets.
|
|
67
88
|
* Mirrors the abstraction's `Modality`; unifying the three per-modality verbs
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embedding_pb.js","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/embedding_pb.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,4FAA4F;AAC5F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"embedding_pb.js","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/embedding_pb.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,4FAA4F;AAC5F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B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S,CAAA;AACX,CAAC,EApBW,UAAU,KAAV,UAAU,QAoBrB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAwB,aAAa,CAChE,QAAQ,CAAC,uBAAuB,EAAE,CAAC,CAAC,CAAC;AAEvC;;;;GAIG;AACH,MAAM,CAAN,IAAY,UAyBX;AAzBD,WAAY,UAAU;IACpB;;OAEG;IACH,yDAAe,CAAA;IAEf;;OAEG;IACH,iDAAW,CAAA;IAEX;;OAEG;IACH,yCAAO,CAAA;IAEP;;OAEG;IACH,2CAAQ,CAAA;IAER;;OAEG;IACH,2CAAQ,CAAA;AACV,CAAC,EAzBW,UAAU,KAAV,UAAU,QAyBrB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAwB,aAAa,CAChE,QAAQ,CAAC,uBAAuB,EAAE,CAAC,CAAC,CAAC;AAEvC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAkGxB,aAAa,CAChB,WAAW,CAAC,uBAAuB,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -5,6 +5,40 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
5
5
|
* Describes the file jammi/v1/session.proto.
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_jammi_v1_session: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* The engine's self-description, returned by GetServerInfo. Every field is a
|
|
10
|
+
* compile-time fact about the running binary, so a client can negotiate
|
|
11
|
+
* capability without probing each verb.
|
|
12
|
+
*
|
|
13
|
+
* @generated from message jammi.v1.session.ServerInfo
|
|
14
|
+
*/
|
|
15
|
+
export type ServerInfo = Message<"jammi.v1.session.ServerInfo"> & {
|
|
16
|
+
/**
|
|
17
|
+
* The engine version (the `jammi` workspace version, e.g. "0.17.0").
|
|
18
|
+
*
|
|
19
|
+
* @generated from field: string version = 1;
|
|
20
|
+
*/
|
|
21
|
+
version: string;
|
|
22
|
+
/**
|
|
23
|
+
* Engine capability feature flags compiled into this build (e.g. "postgres",
|
|
24
|
+
* "mysql", "jetstream-broker"), sorted.
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: repeated string features = 2;
|
|
27
|
+
*/
|
|
28
|
+
features: string[];
|
|
29
|
+
/**
|
|
30
|
+
* Storage URL schemes this build can address (always "file" and "memory";
|
|
31
|
+
* cloud schemes appear when their driver feature is compiled in), sorted.
|
|
32
|
+
*
|
|
33
|
+
* @generated from field: repeated string storage_backends = 3;
|
|
34
|
+
*/
|
|
35
|
+
storageBackends: string[];
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message jammi.v1.session.ServerInfo.
|
|
39
|
+
* Use `create(ServerInfoSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export declare const ServerInfoSchema: GenMessage<ServerInfo>;
|
|
8
42
|
/**
|
|
9
43
|
* A tenant identifier carried over the wire. UUID v4 / v7 string per ADR-00;
|
|
10
44
|
* the nil UUID is invalid and the engine rejects it at the TenantId newtype
|
|
@@ -54,14 +88,16 @@ export type GetTenantResponse = Message<"jammi.v1.session.GetTenantResponse"> &
|
|
|
54
88
|
*/
|
|
55
89
|
export declare const GetTenantResponseSchema: GenMessage<GetTenantResponse>;
|
|
56
90
|
/**
|
|
57
|
-
* SessionService — primitive session-attribute
|
|
58
|
-
*
|
|
59
|
-
* ClearTenant. No domain-shaped verbs (per ADR-01 §3.2).
|
|
91
|
+
* SessionService — primitive session-attribute and server-handshake surface
|
|
92
|
+
* for remote clients. Verb vocabulary is closed: SetTenant, GetTenant,
|
|
93
|
+
* ClearTenant, GetServerInfo. No domain-shaped verbs (per ADR-01 §3.2).
|
|
60
94
|
*
|
|
61
|
-
* The
|
|
95
|
+
* The tenant trio is stateless w.r.t. the engine — calls update an in-process
|
|
62
96
|
* session table that the Tonic TenantInterceptor reads on every downstream
|
|
63
97
|
* gRPC / Flight SQL request and propagates to the engine via the request
|
|
64
|
-
* extension (TenantId).
|
|
98
|
+
* extension (TenantId). GetServerInfo is likewise engine-independent: it
|
|
99
|
+
* reports compile-time facts about the running binary, so it is mounted on
|
|
100
|
+
* this always-present service rather than behind the engine-gated services.
|
|
65
101
|
*
|
|
66
102
|
* @generated from service jammi.v1.session.SessionService
|
|
67
103
|
*/
|
|
@@ -100,5 +136,17 @@ export declare const SessionService: GenService<{
|
|
|
100
136
|
input: typeof EmptySchema;
|
|
101
137
|
output: typeof EmptySchema;
|
|
102
138
|
};
|
|
139
|
+
/**
|
|
140
|
+
* Capabilities handshake: the engine's version, the feature flags this
|
|
141
|
+
* build was compiled with, and the storage backends it can address. Static
|
|
142
|
+
* per build, tenant-agnostic, and engine-independent.
|
|
143
|
+
*
|
|
144
|
+
* @generated from rpc jammi.v1.session.SessionService.GetServerInfo
|
|
145
|
+
*/
|
|
146
|
+
getServerInfo: {
|
|
147
|
+
methodKind: "unary";
|
|
148
|
+
input: typeof EmptySchema;
|
|
149
|
+
output: typeof ServerInfoSchema;
|
|
150
|
+
};
|
|
103
151
|
}>;
|
|
104
152
|
//# sourceMappingURL=session_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session_pb.d.ts","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/session_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"session_pb.d.ts","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/session_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,WAAW,EAAE,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UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,sBAAsB,CAAC;QACrC,MAAM,EAAE,OAAO,WAAW,CAAC;KAC5B,CAAC;IACF;;;;;OAKG;IACH,SAAS,EAAE;QACT,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,WAAW,CAAC;QAC1B,MAAM,EAAE,OAAO,uBAAuB,CAAC;KACxC,CAAC;IACF;;;;;OAKG;IACH,WAAW,EAAE;QACX,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,WAAW,CAAC;QAC1B,MAAM,EAAE,OAAO,WAAW,CAAC;KAC5B,CAAC;IACF;;;;;;OAMG;IACH,aAAa,EAAE;QACb,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,WAAW,CAAC;QAC1B,MAAM,EAAE,OAAO,gBAAgB,CAAC;KACjC,CAAC;CACH,CACsC,CAAC"}
|
|
@@ -6,31 +6,38 @@ import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file jammi/v1/session.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_jammi_v1_session = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_jammi_v1_session = /*@__PURE__*/ fileDesc("ChZqYW1taS92MS9zZXNzaW9uLnByb3RvEhBqYW1taS52MS5zZXNzaW9uIkkKClNlcnZlckluZm8SDwoHdmVyc2lvbhgBIAEoCRIQCghmZWF0dXJlcxgCIAMoCRIYChBzdG9yYWdlX2JhY2tlbmRzGAMgAygJIhQKBlRlbmFudBIKCgJpZBgBIAEoCSI8ChBTZXRUZW5hbnRSZXF1ZXN0EigKBnRlbmFudBgBIAEoCzIYLmphbW1pLnYxLnNlc3Npb24uVGVuYW50Ij0KEUdldFRlbmFudFJlc3BvbnNlEigKBnRlbmFudBgBIAEoCzIYLmphbW1pLnYxLnNlc3Npb24uVGVuYW50MqkCCg5TZXNzaW9uU2VydmljZRJHCglTZXRUZW5hbnQSIi5qYW1taS52MS5zZXNzaW9uLlNldFRlbmFudFJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkSSAoJR2V0VGVuYW50EhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GiMuamFtbWkudjEuc2Vzc2lvbi5HZXRUZW5hbnRSZXNwb25zZRI9CgtDbGVhclRlbmFudBIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJFCg1HZXRTZXJ2ZXJJbmZvEhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5GhwuamFtbWkudjEuc2Vzc2lvbi5TZXJ2ZXJJbmZvYgZwcm90bzM", [file_google_protobuf_empty]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message jammi.v1.session.ServerInfo.
|
|
12
|
+
* Use `create(ServerInfoSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const ServerInfoSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_session, 0);
|
|
10
15
|
/**
|
|
11
16
|
* Describes the message jammi.v1.session.Tenant.
|
|
12
17
|
* Use `create(TenantSchema)` to create a new message.
|
|
13
18
|
*/
|
|
14
|
-
export const TenantSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_session,
|
|
19
|
+
export const TenantSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_session, 1);
|
|
15
20
|
/**
|
|
16
21
|
* Describes the message jammi.v1.session.SetTenantRequest.
|
|
17
22
|
* Use `create(SetTenantRequestSchema)` to create a new message.
|
|
18
23
|
*/
|
|
19
|
-
export const SetTenantRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_session,
|
|
24
|
+
export const SetTenantRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_session, 2);
|
|
20
25
|
/**
|
|
21
26
|
* Describes the message jammi.v1.session.GetTenantResponse.
|
|
22
27
|
* Use `create(GetTenantResponseSchema)` to create a new message.
|
|
23
28
|
*/
|
|
24
|
-
export const GetTenantResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_session,
|
|
29
|
+
export const GetTenantResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_session, 3);
|
|
25
30
|
/**
|
|
26
|
-
* SessionService — primitive session-attribute
|
|
27
|
-
*
|
|
28
|
-
* ClearTenant. No domain-shaped verbs (per ADR-01 §3.2).
|
|
31
|
+
* SessionService — primitive session-attribute and server-handshake surface
|
|
32
|
+
* for remote clients. Verb vocabulary is closed: SetTenant, GetTenant,
|
|
33
|
+
* ClearTenant, GetServerInfo. No domain-shaped verbs (per ADR-01 §3.2).
|
|
29
34
|
*
|
|
30
|
-
* The
|
|
35
|
+
* The tenant trio is stateless w.r.t. the engine — calls update an in-process
|
|
31
36
|
* session table that the Tonic TenantInterceptor reads on every downstream
|
|
32
37
|
* gRPC / Flight SQL request and propagates to the engine via the request
|
|
33
|
-
* extension (TenantId).
|
|
38
|
+
* extension (TenantId). GetServerInfo is likewise engine-independent: it
|
|
39
|
+
* reports compile-time facts about the running binary, so it is mounted on
|
|
40
|
+
* this always-present service rather than behind the engine-gated services.
|
|
34
41
|
*
|
|
35
42
|
* @generated from service jammi.v1.session.SessionService
|
|
36
43
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session_pb.js","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/session_pb.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,wFAAwF;AACxF,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAElF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAGpE;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAY,aAAa,CACzD,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"session_pb.js","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/session_pb.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,wFAAwF;AACxF,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAElF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAGpE;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAY,aAAa,CACzD,QAAQ,CAAC,6vBAA6vB,EAAE,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAkCxyB;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,qBAAqB,EAAE,CAAC,CAAC,CAAC;AAkBxC;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAuB,aAAa,CAC3D,WAAW,CAAC,qBAAqB,EAAE,CAAC,CAAC,CAAC;AAYxC;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,qBAAqB,EAAE,CAAC,CAAC,CAAC;AAYxC;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,qBAAqB,EAAE,CAAC,CAAC,CAAC;AAExC;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,cAAc,GA+CtB,aAAa,CAChB,WAAW,CAAC,qBAAqB,EAAE,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@f-inverse/jammi-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Official TypeScript gRPC-web client for the Jammi engine, generated from the canonical jammi.v1 proto. Runs on fetch (Cloudflare Workers / V8 isolates).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|