@f-inverse/jammi-client 0.49.0 → 0.50.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/README.md +6 -2
- package/dist/gen/jammi/v1/audit_pb.d.ts +1 -1
- package/dist/gen/jammi/v1/audit_pb.js +1 -1
- package/dist/gen/jammi/v1/catalog_pb.d.ts +306 -29
- package/dist/gen/jammi/v1/catalog_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/catalog_pb.js +65 -37
- package/dist/gen/jammi/v1/catalog_pb.js.map +1 -1
- package/dist/gen/jammi/v1/embedding_pb.d.ts +401 -43
- package/dist/gen/jammi/v1/embedding_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/embedding_pb.js +128 -9
- package/dist/gen/jammi/v1/embedding_pb.js.map +1 -1
- package/dist/gen/jammi/v1/error_pb.d.ts +994 -24
- package/dist/gen/jammi/v1/error_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/error_pb.js +184 -24
- package/dist/gen/jammi/v1/error_pb.js.map +1 -1
- package/dist/gen/jammi/v1/eval_pb.d.ts +1 -1
- package/dist/gen/jammi/v1/eval_pb.js +1 -1
- package/dist/gen/jammi/v1/gang_pb.d.ts +730 -0
- package/dist/gen/jammi/v1/gang_pb.d.ts.map +1 -0
- package/dist/gen/jammi/v1/gang_pb.js +268 -0
- package/dist/gen/jammi/v1/gang_pb.js.map +1 -0
- package/dist/gen/jammi/v1/inference_pb.d.ts +69 -32
- package/dist/gen/jammi/v1/inference_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/inference_pb.js +23 -43
- package/dist/gen/jammi/v1/inference_pb.js.map +1 -1
- package/dist/gen/jammi/v1/job_pb.d.ts +774 -0
- package/dist/gen/jammi/v1/job_pb.d.ts.map +1 -0
- package/dist/gen/jammi/v1/job_pb.js +154 -0
- package/dist/gen/jammi/v1/job_pb.js.map +1 -0
- package/dist/gen/jammi/v1/lifecycle_pb.d.ts +1 -1
- package/dist/gen/jammi/v1/lifecycle_pb.js +1 -1
- package/dist/gen/jammi/v1/peer_pb.d.ts +325 -0
- package/dist/gen/jammi/v1/peer_pb.d.ts.map +1 -0
- package/dist/gen/jammi/v1/peer_pb.js +138 -0
- package/dist/gen/jammi/v1/peer_pb.js.map +1 -0
- package/dist/gen/jammi/v1/pipeline_pb.d.ts +218 -10
- package/dist/gen/jammi/v1/pipeline_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/pipeline_pb.js +57 -11
- package/dist/gen/jammi/v1/pipeline_pb.js.map +1 -1
- package/dist/gen/jammi/v1/training_pb.d.ts +91 -345
- package/dist/gen/jammi/v1/training_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/training_pb.js +18 -76
- package/dist/gen/jammi/v1/training_pb.js.map +1 -1
- package/dist/gen/jammi/v1/trigger_pb.d.ts +3 -1
- package/dist/gen/jammi/v1/trigger_pb.d.ts.map +1 -1
- package/dist/gen/jammi/v1/trigger_pb.js.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"job_pb.d.ts","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/job_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEhE,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAE3G,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,OACo9G,CAAC;AAEr/G;;;;;;;GAOG;AACH,MAAM,MAAM,g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F;;;;;;;;OAQG;IACH,SAAS,EAAE;QACT,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,sBAAsB,CAAC;QACrC,MAAM,EAAE,OAAO,uBAAuB,CAAC;KACxC,CAAC;IACF;;;;;;OAMG;IACH,WAAW,EAAE;QACX,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,wBAAwB,CAAC;QACvC,MAAM,EAAE,OAAO,yBAAyB,CAAC;KAC1C,CAAC;IACF;;;;;;;;;;;OAWG;IACH,SAAS,EAAE;QACT,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,sBAAsB,CAAC;QACrC,MAAM,EAAE,OAAO,uBAAuB,CAAC;KACxC,CAAC;CACH,CACkC,CAAC"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file jammi/v1/job.proto (package jammi.v1.job, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_jammi_v1_inference } from "./inference_pb";
|
|
6
|
+
import { file_jammi_v1_training } from "./training_pb";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file jammi/v1/job.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_jammi_v1_job = /*@__PURE__*/ fileDesc("ChJqYW1taS92MS9qb2IucHJvdG8SDGphbW1pLnYxLmpvYiKXAwoQU3VibWl0Sm9iUmVxdWVzdBI0CglmaW5lX3R1bmUYASABKAsyHy5qYW1taS52MS50cmFpbmluZy5GaW5lVHVuZVNwZWNIABI/Cg9ncmFwaF9maW5lX3R1bmUYAiABKAsyJC5qYW1taS52MS50cmFpbmluZy5HcmFwaEZpbmVUdW5lU3BlY0gAEkQKEWNvbnRleHRfcHJlZGljdG9yGAMgASgLMicuamFtbWkudjEudHJhaW5pbmcuQ29udGV4dFBy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
|
11
|
+
/**
|
|
12
|
+
* Describes the message jammi.v1.job.SubmitJobRequest.
|
|
13
|
+
* Use `create(SubmitJobRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const SubmitJobRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message jammi.v1.job.SubmitJobResponse.
|
|
18
|
+
* Use `create(SubmitJobResponseSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const SubmitJobResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message jammi.v1.job.JobHandle.
|
|
23
|
+
* Use `create(JobHandleSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const JobHandleSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 2);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message jammi.v1.job.JobStatusRequest.
|
|
28
|
+
* Use `create(JobStatusRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const JobStatusRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 3);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message jammi.v1.job.JobProgress.
|
|
33
|
+
* Use `create(JobProgressSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const JobProgressSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 4);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message jammi.v1.job.ModelResult.
|
|
38
|
+
* Use `create(ModelResultSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const ModelResultSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 5);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message jammi.v1.job.TableResult.
|
|
43
|
+
* Use `create(TableResultSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const TableResultSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 6);
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message jammi.v1.job.JobStatusResponse.
|
|
48
|
+
* Use `create(JobStatusResponseSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const JobStatusResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 7);
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message jammi.v1.job.JobEvent.
|
|
53
|
+
* Use `create(JobEventSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const JobEventSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 8);
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message jammi.v1.job.ListJobsRequest.
|
|
58
|
+
* Use `create(ListJobsRequestSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const ListJobsRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 9);
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message jammi.v1.job.ListJobsResponse.
|
|
63
|
+
* Use `create(ListJobsResponseSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const ListJobsResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 10);
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message jammi.v1.job.JobSummary.
|
|
68
|
+
* Use `create(JobSummarySchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const JobSummarySchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 11);
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message jammi.v1.job.CancelJobRequest.
|
|
73
|
+
* Use `create(CancelJobRequestSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export const CancelJobRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 12);
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message jammi.v1.job.CancelJobResponse.
|
|
78
|
+
* Use `create(CancelJobResponseSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const CancelJobResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 13);
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message jammi.v1.job.ListWorkersRequest.
|
|
83
|
+
* Use `create(ListWorkersRequestSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export const ListWorkersRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 14);
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message jammi.v1.job.ListWorkersResponse.
|
|
88
|
+
* Use `create(ListWorkersResponseSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export const ListWorkersResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 15);
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message jammi.v1.job.WorkerSummary.
|
|
93
|
+
* Use `create(WorkerSummarySchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export const WorkerSummarySchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 16);
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message jammi.v1.job.DeviceFact.
|
|
98
|
+
* Use `create(DeviceFactSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const DeviceFactSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 17);
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message jammi.v1.job.PruneJobsRequest.
|
|
103
|
+
* Use `create(PruneJobsRequestSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export const PruneJobsRequestSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 18);
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message jammi.v1.job.PruneJobsResponse.
|
|
108
|
+
* Use `create(PruneJobsResponseSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export const PruneJobsResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_job, 19);
|
|
111
|
+
/**
|
|
112
|
+
* JobService — the wire surface over the engine's durable job queue
|
|
113
|
+
* (`jobs`/`instances`/`workers`, migration 029; `jammi_ai::jobs`).
|
|
114
|
+
*
|
|
115
|
+
* `SubmitJob`, `JobStatus`, `WaitJob`, `ListJobs`, `CancelJob`, and
|
|
116
|
+
* `ListWorkers` are imperative session methods, not SQL queries, so they live
|
|
117
|
+
* as typed gRPC RPCs alongside CatalogService / EmbeddingService /
|
|
118
|
+
* InferenceService / PipelineService / EvalService rather than on the Flight
|
|
119
|
+
* SQL surface (which carries query/result only).
|
|
120
|
+
*
|
|
121
|
+
* `JobService` is the kind-agnostic durable job abstraction every compute
|
|
122
|
+
* verb submits through INTERNALLY
|
|
123
|
+
* (`jammi_ai::jobs`, `InferenceSession::run_now`) — but `SubmitJob` itself
|
|
124
|
+
* carries only the three training-kind spec variants (the `oneof`): every
|
|
125
|
+
* other compute verb is SYNCHRONOUS on the wire today. Each keeps its own
|
|
126
|
+
* dedicated request AND response message on its own service (e.g.
|
|
127
|
+
* `PipelineService.BuildNeighborGraph` returns `jammi.v1.embedding.ResultTable`
|
|
128
|
+
* directly) rather than going through `SubmitJobResponse`, so this service's
|
|
129
|
+
* `JobStatus`/`WaitJob` never has a compute-kind row to answer for over the
|
|
130
|
+
* wire (the terminal payload read back is byte-identical to what a `jobs`
|
|
131
|
+
* row of the same kind would resolve to, since both paths run through the
|
|
132
|
+
* same `execute_compute` dispatcher). The service reimplements no training,
|
|
133
|
+
* LoRA, sampling, scan, or compute-verb logic; it is purely a wire adapter
|
|
134
|
+
* over `jammi_ai::jobs`.
|
|
135
|
+
*
|
|
136
|
+
* Tenant scope is read from the request's `SessionTenant` extension, set by
|
|
137
|
+
* the single async tenant-binding layer driven by the engine's
|
|
138
|
+
* `TenantResolver` (default: the `jammi-session-id` header → shared session
|
|
139
|
+
* store) — the one mechanism every gRPC service and Flight SQL bind through.
|
|
140
|
+
* A job row carries the submitting tenant; a peer names an unresolvable job
|
|
141
|
+
* id — `JobStatus`/`WaitJob`/`CancelJob` answer `NOT_FOUND`, never
|
|
142
|
+
* `PERMISSION_DENIED` (matching every other tenant-scoped read in this
|
|
143
|
+
* codebase — a wrong tenant learns nothing about whether the id exists at
|
|
144
|
+
* all). `ListWorkers` reports process/fleet liveness, not a tenant-owned
|
|
145
|
+
* resource, so it carries no per-tenant filter (control-plane allowlisted in
|
|
146
|
+
* `tenant_isolation_oracle.rs`, alongside `GetServerInfo`). Every OTHER rpc on
|
|
147
|
+
* this service — including `PruneJobs` — IS tenant-scoped: there is no
|
|
148
|
+
* exemption for a maintenance verb — it is tenant-scoped like every other
|
|
149
|
+
* job RPC.
|
|
150
|
+
*
|
|
151
|
+
* @generated from service jammi.v1.job.JobService
|
|
152
|
+
*/
|
|
153
|
+
export const JobService = /*@__PURE__*/ serviceDesc(file_jammi_v1_job, 0);
|
|
154
|
+
//# sourceMappingURL=job_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"job_pb.js","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/job_pb.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,gFAAgF;AAChF,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAElF,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAGvD;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAY,aAAa,CACrD,QAAQ,CAAC,q7GAAq7G,EAAE,CAAC,uBAAuB,EAAE,sBAAsB,CAAC,CAAC,CAAC;AAoHr/G;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC;AA8BpC;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC;AAcpC;;;GAGG;AACH,MAAM,CAA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uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;AAQrC;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;AAYrC;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;AAuErC;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;AAqBrC;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;AAQrC;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;AAcrC;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;AAErC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,CAAC,MAAM,UAAU,GAwGlB,aAAa,CAChB,WAAW,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -163,7 +163,7 @@ export declare const LoginResponseSchema: GenMessage<LoginResponse>;
|
|
|
163
163
|
/**
|
|
164
164
|
* LifecycleService — the platform on/off + bootstrap + auth boundary.
|
|
165
165
|
*
|
|
166
|
-
*
|
|
166
|
+
* Interface only. These rpcs are defined here so a candle-free client
|
|
167
167
|
* (`jammi-admin` / the `jammi` CLI) can CALL them against a server that
|
|
168
168
|
* implements them, without pulling any implementation dependency. The OSS
|
|
169
169
|
* engine mounts NO implementation of this service: an OSS `jammi-server`
|
|
@@ -45,7 +45,7 @@ export const LoginResponseSchema = /*@__PURE__*/ messageDesc(file_jammi_v1_lifec
|
|
|
45
45
|
/**
|
|
46
46
|
* LifecycleService — the platform on/off + bootstrap + auth boundary.
|
|
47
47
|
*
|
|
48
|
-
*
|
|
48
|
+
* Interface only. These rpcs are defined here so a candle-free client
|
|
49
49
|
* (`jammi-admin` / the `jammi` CLI) can CALL them against a server that
|
|
50
50
|
* implements them, without pulling any implementation dependency. The OSS
|
|
51
51
|
* engine mounts NO implementation of this service: an OSS `jammi-server`
|
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file jammi/v1/peer.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_jammi_v1_peer: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* One `(row_id, distance)` hit.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message jammi.v1.peer.Hit
|
|
11
|
+
*/
|
|
12
|
+
export type Hit = Message<"jammi.v1.peer.Hit"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string row_id = 1;
|
|
15
|
+
*/
|
|
16
|
+
rowId: string;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: float distance = 2;
|
|
19
|
+
*/
|
|
20
|
+
distance: number;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message jammi.v1.peer.Hit.
|
|
24
|
+
* Use `create(HitSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export declare const HitSchema: GenMessage<Hit>;
|
|
27
|
+
/**
|
|
28
|
+
* One segment's hits for one query.
|
|
29
|
+
*
|
|
30
|
+
* @generated from message jammi.v1.peer.SegmentUnit
|
|
31
|
+
*/
|
|
32
|
+
export type SegmentUnit = Message<"jammi.v1.peer.SegmentUnit"> & {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: int64 segment_id = 1;
|
|
35
|
+
*/
|
|
36
|
+
segmentId: bigint;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: repeated jammi.v1.peer.Hit hits = 2;
|
|
39
|
+
*/
|
|
40
|
+
hits: Hit[];
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message jammi.v1.peer.SegmentUnit.
|
|
44
|
+
* Use `create(SegmentUnitSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export declare const SegmentUnitSchema: GenMessage<SegmentUnit>;
|
|
47
|
+
/**
|
|
48
|
+
* @generated from message jammi.v1.peer.SegmentSearchRequest
|
|
49
|
+
*/
|
|
50
|
+
export type SegmentSearchRequest = Message<"jammi.v1.peer.SegmentSearchRequest"> & {
|
|
51
|
+
/**
|
|
52
|
+
* The table the segments belong to; the owner verifies every id below
|
|
53
|
+
* against this table's catalog segment list.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: string table_name = 1;
|
|
56
|
+
*/
|
|
57
|
+
tableName: string;
|
|
58
|
+
/**
|
|
59
|
+
* Every segment of `table_name` this owner should search.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: repeated int64 segment_ids = 2;
|
|
62
|
+
*/
|
|
63
|
+
segmentIds: bigint[];
|
|
64
|
+
/**
|
|
65
|
+
* The table's persisted precision.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: jammi.v1.peer.StoragePrecision storage_precision = 3;
|
|
68
|
+
*/
|
|
69
|
+
storagePrecision: StoragePrecision;
|
|
70
|
+
/**
|
|
71
|
+
* The query vector.
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: repeated float query = 4;
|
|
74
|
+
*/
|
|
75
|
+
query: number[];
|
|
76
|
+
/**
|
|
77
|
+
* The per-segment fetch width.
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: uint64 width = 5;
|
|
80
|
+
*/
|
|
81
|
+
width: bigint;
|
|
82
|
+
/**
|
|
83
|
+
* Which stage of the protocol this search is.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: jammi.v1.peer.SegmentSearchPhase phase = 6;
|
|
86
|
+
*/
|
|
87
|
+
phase: SegmentSearchPhase;
|
|
88
|
+
/**
|
|
89
|
+
* The table version the coordinator pinned: the owner serves that
|
|
90
|
+
* version's segment set under its deletion mask. Unset for a
|
|
91
|
+
* never-refreshed table's base set.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: optional int64 version = 8;
|
|
94
|
+
*/
|
|
95
|
+
version?: bigint | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* The rows the search may return, when a caller's filter selected them;
|
|
98
|
+
* unset admits every row. The owner searches admitting only these and the
|
|
99
|
+
* version's mask leaves live, and an answer naming any other row does not
|
|
100
|
+
* reconcile.
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: jammi.v1.peer.AdmittedRows admitted = 9;
|
|
103
|
+
*/
|
|
104
|
+
admitted?: AdmittedRows | undefined;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message jammi.v1.peer.SegmentSearchRequest.
|
|
108
|
+
* Use `create(SegmentSearchRequestSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export declare const SegmentSearchRequestSchema: GenMessage<SegmentSearchRequest>;
|
|
111
|
+
/**
|
|
112
|
+
* The `_row_id`s a search admits.
|
|
113
|
+
*
|
|
114
|
+
* @generated from message jammi.v1.peer.AdmittedRows
|
|
115
|
+
*/
|
|
116
|
+
export type AdmittedRows = Message<"jammi.v1.peer.AdmittedRows"> & {
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: repeated string row_ids = 1;
|
|
119
|
+
*/
|
|
120
|
+
rowIds: string[];
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message jammi.v1.peer.AdmittedRows.
|
|
124
|
+
* Use `create(AdmittedRowsSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export declare const AdmittedRowsSchema: GenMessage<AdmittedRows>;
|
|
127
|
+
/**
|
|
128
|
+
* @generated from message jammi.v1.peer.SegmentSearchResponse
|
|
129
|
+
*/
|
|
130
|
+
export type SegmentSearchResponse = Message<"jammi.v1.peer.SegmentSearchResponse"> & {
|
|
131
|
+
/**
|
|
132
|
+
* @generated from field: repeated jammi.v1.peer.SegmentUnit units = 1;
|
|
133
|
+
*/
|
|
134
|
+
units: SegmentUnit[];
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* Describes the message jammi.v1.peer.SegmentSearchResponse.
|
|
138
|
+
* Use `create(SegmentSearchResponseSchema)` to create a new message.
|
|
139
|
+
*/
|
|
140
|
+
export declare const SegmentSearchResponseSchema: GenMessage<SegmentSearchResponse>;
|
|
141
|
+
/**
|
|
142
|
+
* The candidates to rescore that one segment owns.
|
|
143
|
+
*
|
|
144
|
+
* @generated from message jammi.v1.peer.SegmentRowIds
|
|
145
|
+
*/
|
|
146
|
+
export type SegmentRowIds = Message<"jammi.v1.peer.SegmentRowIds"> & {
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: int64 segment_id = 1;
|
|
149
|
+
*/
|
|
150
|
+
segmentId: bigint;
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: repeated string row_ids = 2;
|
|
153
|
+
*/
|
|
154
|
+
rowIds: string[];
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Describes the message jammi.v1.peer.SegmentRowIds.
|
|
158
|
+
* Use `create(SegmentRowIdsSchema)` to create a new message.
|
|
159
|
+
*/
|
|
160
|
+
export declare const SegmentRowIdsSchema: GenMessage<SegmentRowIds>;
|
|
161
|
+
/**
|
|
162
|
+
* @generated from message jammi.v1.peer.ExactRescoreRequest
|
|
163
|
+
*/
|
|
164
|
+
export type ExactRescoreRequest = Message<"jammi.v1.peer.ExactRescoreRequest"> & {
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: string table_name = 1;
|
|
167
|
+
*/
|
|
168
|
+
tableName: string;
|
|
169
|
+
/**
|
|
170
|
+
* @generated from field: jammi.v1.peer.StoragePrecision storage_precision = 2;
|
|
171
|
+
*/
|
|
172
|
+
storagePrecision: StoragePrecision;
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: repeated float query = 3;
|
|
175
|
+
*/
|
|
176
|
+
query: number[];
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: repeated jammi.v1.peer.SegmentRowIds row_ids_by_segment = 4;
|
|
179
|
+
*/
|
|
180
|
+
rowIdsBySegment: SegmentRowIds[];
|
|
181
|
+
/**
|
|
182
|
+
* The table version the coordinator pinned, as `SegmentSearchRequest`
|
|
183
|
+
* names it: every segment named must be one that version serves. Unset
|
|
184
|
+
* for a never-refreshed table's base set.
|
|
185
|
+
*
|
|
186
|
+
* @generated from field: optional int64 version = 5;
|
|
187
|
+
*/
|
|
188
|
+
version?: bigint | undefined;
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* Describes the message jammi.v1.peer.ExactRescoreRequest.
|
|
192
|
+
* Use `create(ExactRescoreRequestSchema)` to create a new message.
|
|
193
|
+
*/
|
|
194
|
+
export declare const ExactRescoreRequestSchema: GenMessage<ExactRescoreRequest>;
|
|
195
|
+
/**
|
|
196
|
+
* @generated from message jammi.v1.peer.ExactRescoreResponse
|
|
197
|
+
*/
|
|
198
|
+
export type ExactRescoreResponse = Message<"jammi.v1.peer.ExactRescoreResponse"> & {
|
|
199
|
+
/**
|
|
200
|
+
* `(row_id, exact_cosine_distance)` for every requested candidate.
|
|
201
|
+
*
|
|
202
|
+
* @generated from field: repeated jammi.v1.peer.Hit hits = 1;
|
|
203
|
+
*/
|
|
204
|
+
hits: Hit[];
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Describes the message jammi.v1.peer.ExactRescoreResponse.
|
|
208
|
+
* Use `create(ExactRescoreResponseSchema)` to create a new message.
|
|
209
|
+
*/
|
|
210
|
+
export declare const ExactRescoreResponseSchema: GenMessage<ExactRescoreResponse>;
|
|
211
|
+
/**
|
|
212
|
+
* The precision a table's segments are stored at — mirrors the engine's
|
|
213
|
+
* `StoragePrecision`. The owner's strict load refuses a bundle stamped
|
|
214
|
+
* otherwise.
|
|
215
|
+
*
|
|
216
|
+
* @generated from enum jammi.v1.peer.StoragePrecision
|
|
217
|
+
*/
|
|
218
|
+
export declare enum StoragePrecision {
|
|
219
|
+
/**
|
|
220
|
+
* @generated from enum value: STORAGE_PRECISION_UNSPECIFIED = 0;
|
|
221
|
+
*/
|
|
222
|
+
UNSPECIFIED = 0,
|
|
223
|
+
/**
|
|
224
|
+
* @generated from enum value: STORAGE_PRECISION_F32 = 1;
|
|
225
|
+
*/
|
|
226
|
+
F32 = 1,
|
|
227
|
+
/**
|
|
228
|
+
* @generated from enum value: STORAGE_PRECISION_F16 = 2;
|
|
229
|
+
*/
|
|
230
|
+
F16 = 2,
|
|
231
|
+
/**
|
|
232
|
+
* @generated from enum value: STORAGE_PRECISION_INT8 = 3;
|
|
233
|
+
*/
|
|
234
|
+
INT8 = 3,
|
|
235
|
+
/**
|
|
236
|
+
* @generated from enum value: STORAGE_PRECISION_BINARY = 4;
|
|
237
|
+
*/
|
|
238
|
+
BINARY = 4
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Describes the enum jammi.v1.peer.StoragePrecision.
|
|
242
|
+
*/
|
|
243
|
+
export declare const StoragePrecisionSchema: GenEnum<StoragePrecision>;
|
|
244
|
+
/**
|
|
245
|
+
* Which stage of the per-precision protocol a SegmentSearch runs. F32 and
|
|
246
|
+
* Binary run one FINAL phase (the owner returns exact distances — Binary after
|
|
247
|
+
* rescoring every hit locally, since per-segment Hamming distances are fit
|
|
248
|
+
* against each segment's own threshold and are not comparable across
|
|
249
|
+
* segments); F16 / Int8 run APPROXIMATE (the owner returns approximate
|
|
250
|
+
* candidates, the coordinator merges and truncates, then issues one
|
|
251
|
+
* ExactRescore per owner).
|
|
252
|
+
*
|
|
253
|
+
* @generated from enum jammi.v1.peer.SegmentSearchPhase
|
|
254
|
+
*/
|
|
255
|
+
export declare enum SegmentSearchPhase {
|
|
256
|
+
/**
|
|
257
|
+
* @generated from enum value: SEGMENT_SEARCH_PHASE_UNSPECIFIED = 0;
|
|
258
|
+
*/
|
|
259
|
+
UNSPECIFIED = 0,
|
|
260
|
+
/**
|
|
261
|
+
* @generated from enum value: SEGMENT_SEARCH_PHASE_APPROXIMATE = 1;
|
|
262
|
+
*/
|
|
263
|
+
APPROXIMATE = 1,
|
|
264
|
+
/**
|
|
265
|
+
* @generated from enum value: SEGMENT_SEARCH_PHASE_FINAL = 2;
|
|
266
|
+
*/
|
|
267
|
+
FINAL = 2
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Describes the enum jammi.v1.peer.SegmentSearchPhase.
|
|
271
|
+
*/
|
|
272
|
+
export declare const SegmentSearchPhaseSchema: GenEnum<SegmentSearchPhase>;
|
|
273
|
+
/**
|
|
274
|
+
* PeerService — the engine-internal segment-search seam between replicas of
|
|
275
|
+
* one deployment. A coordinator (any replica, or a library process holding a
|
|
276
|
+
* placement) fans one query out to the replicas that own the table's
|
|
277
|
+
* segments; each owner searches its segments and returns `(row_id, distance)`
|
|
278
|
+
* hits — ids and distances, never vectors. The merge across owners runs at
|
|
279
|
+
* the coordinator, over the same kernels a single node merges its own
|
|
280
|
+
* segments with.
|
|
281
|
+
*
|
|
282
|
+
* Served ONLY on the separate internal `[server] peer_bind` listener — never
|
|
283
|
+
* on the public gRPC + Flight SQL listener (which answers UNIMPLEMENTED for
|
|
284
|
+
* these paths), never wrapped by the tenant-binding layer, never advertised
|
|
285
|
+
* by `GetServerInfo`. Tenant scope is enforced by the COORDINATOR alone: it
|
|
286
|
+
* resolves the table through its own tenant-scoped catalog read before any
|
|
287
|
+
* fan-out. The owner is deliberately tenant-free — the request carries no
|
|
288
|
+
* tenant — and enforces exactly one thing at its input edge: every requested
|
|
289
|
+
* segment id belongs to the named table (else INVALID_ARGUMENT for the whole
|
|
290
|
+
* request, never a partial unit) and the bundle's stamped precision matches
|
|
291
|
+
* the requested one (else refused). Invariant I-PEER: every client of
|
|
292
|
+
* `peer_bind` is a jammi coordinator; binding it on a routable interface
|
|
293
|
+
* without network policy / mTLS exposes cross-tenant reads. Default unset.
|
|
294
|
+
*
|
|
295
|
+
* @generated from service jammi.v1.peer.PeerService
|
|
296
|
+
*/
|
|
297
|
+
export declare const PeerService: GenService<{
|
|
298
|
+
/**
|
|
299
|
+
* Search the named segments of one table at `width`, in `phase`. All of one
|
|
300
|
+
* owner's segments go in ONE request. Unary: a response is at most
|
|
301
|
+
* `N_owner * width` hits, and the caller's per-RPC deadline rides as the
|
|
302
|
+
* gRPC deadline directly.
|
|
303
|
+
*
|
|
304
|
+
* @generated from rpc jammi.v1.peer.PeerService.SegmentSearch
|
|
305
|
+
*/
|
|
306
|
+
segmentSearch: {
|
|
307
|
+
methodKind: "unary";
|
|
308
|
+
input: typeof SegmentSearchRequestSchema;
|
|
309
|
+
output: typeof SegmentSearchResponseSchema;
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* The second stage of the APPROXIMATE protocol (F16 / Int8): rescore the
|
|
313
|
+
* named candidates against their exact vectors at the owner, returning
|
|
314
|
+
* exact cosine distances. A candidate with no exact vector (a torn bundle)
|
|
315
|
+
* is DATA_LOSS for the whole request, never a silent drop.
|
|
316
|
+
*
|
|
317
|
+
* @generated from rpc jammi.v1.peer.PeerService.ExactRescore
|
|
318
|
+
*/
|
|
319
|
+
exactRescore: {
|
|
320
|
+
methodKind: "unary";
|
|
321
|
+
input: typeof ExactRescoreRequestSchema;
|
|
322
|
+
output: typeof ExactRescoreResponseSchema;
|
|
323
|
+
};
|
|
324
|
+
}>;
|
|
325
|
+
//# sourceMappingURL=peer_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"peer_pb.d.ts","sourceRoot":"","sources":["../../../../src/gen/jammi/v1/peer_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OA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