@stigmer/protos 3.12.0 → 3.12.2
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/ai/stigmer/agentic/agent/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/agent/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +17 -9
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +6 -14
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.d.ts +0 -135
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.js +3 -13
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +20 -5
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.d.ts +8 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js +8 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.d.ts +8 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentshare/v1/spec_pb.d.ts +8 -2
- package/ai/stigmer/agentic/agentshare/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/artifact/v1/api_pb.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_connect.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_connect.js +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_pb.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/artifact/v1/io_pb.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/spec_pb.d.ts +1 -1
- package/ai/stigmer/agentic/environment/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/environment/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.d.ts +14 -3
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +14 -3
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +14 -3
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +2 -2
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.d.ts +6 -0
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.d.ts +12 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.js +12 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.d.ts +12 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +20 -7
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +38 -25
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js +10 -3
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/workspace_pb.d.ts +8 -5
- package/ai/stigmer/agentic/session/v1/workspace_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/query_connect.d.ts +1 -1
- package/ai/stigmer/agentic/skill/v1/query_connect.js +1 -1
- package/ai/stigmer/agentic/skill/v1/query_pb.d.ts +1 -1
- package/ai/stigmer/agentic/workflow/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/workflow/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +4 -4
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.d.ts +6 -6
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +2 -2
- package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.d.ts +20 -14
- package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/metadata_pb.d.ts +8 -0
- package/ai/stigmer/commons/apiresource/metadata_pb.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +19 -8
- package/ai/stigmer/iam/platformclient/v1/token_pb.js.map +1 -1
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.d.ts +0 -10
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js +1 -1
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js.map +1 -1
- package/grpc/health/v1/health_connect.d.ts +75 -0
- package/grpc/health/v1/health_connect.js +97 -0
- package/grpc/health/v1/health_connect.js.map +1 -0
- package/grpc/health/v1/health_pb.d.ts +157 -0
- package/grpc/health/v1/health_pb.js +75 -0
- package/grpc/health/v1/health_pb.js.map +1 -0
- package/package.json +1 -1
|
@@ -347,7 +347,7 @@ export type WorkflowExecutionStatus = Message<"ai.stigmer.agentic.workflowexecut
|
|
|
347
347
|
* Cumulative cost across all tasks in micro-USD (1 USD = 1,000,000 micros).
|
|
348
348
|
*
|
|
349
349
|
* @internal
|
|
350
|
-
* Updated by the
|
|
350
|
+
* Updated by the runner alongside each status update. Reflects the
|
|
351
351
|
* budget tracker's accumulated cost at the time of the last status write.
|
|
352
352
|
* Used by getExecutionSummary for fast aggregation without scanning events.
|
|
353
353
|
*
|
|
@@ -458,7 +458,7 @@ export type WorkflowPendingApproval = Message<"ai.stigmer.agentic.workflowexecut
|
|
|
458
458
|
* ID of the child agent execution to forward the approval decision to.
|
|
459
459
|
*
|
|
460
460
|
* @internal
|
|
461
|
-
* Set by the
|
|
461
|
+
* Set by the runner when surfacing child agent approvals
|
|
462
462
|
* at the workflow level. WorkflowExecution.SubmitApproval uses this
|
|
463
463
|
* to route the decision to the correct AgentExecution.SubmitApproval RPC.
|
|
464
464
|
*
|
|
@@ -698,7 +698,7 @@ export type WorkflowTask = Message<"ai.stigmer.agentic.workflowexecution.v1.Work
|
|
|
698
698
|
* @internal
|
|
699
699
|
* Non-zero for cost-incurring task kinds (llm_call, agent_call).
|
|
700
700
|
* Zero for non-LLM tasks (transform, validate, emit_event, etc.).
|
|
701
|
-
* Set by the
|
|
701
|
+
* Set by the runner when the task completes.
|
|
702
702
|
*
|
|
703
703
|
* @since Cost Data Pipeline
|
|
704
704
|
*
|
|
@@ -738,7 +738,7 @@ export type WorkflowTask = Message<"ai.stigmer.agentic.workflowexecution.v1.Work
|
|
|
738
738
|
* generic review.
|
|
739
739
|
*
|
|
740
740
|
* @internal
|
|
741
|
-
* Written by the
|
|
741
|
+
* Written by the runner's task status accumulator on the
|
|
742
742
|
* waiting_approval transition and retained after the gate resolves
|
|
743
743
|
* (the record of what kind of review was performed). The user-input
|
|
744
744
|
* length constraint (max 63 chars) is enforced at the source field,
|
|
@@ -166,7 +166,7 @@ export declare const WorkflowExecutionCommandController: {
|
|
|
166
166
|
* Update execution status during workflow execution.
|
|
167
167
|
*
|
|
168
168
|
* @internal
|
|
169
|
-
* System-level RPC used by
|
|
169
|
+
* System-level RPC used by the runner to send progressive status updates
|
|
170
170
|
* (messages, task states, phase, etc.). Optimized for frequent status updates
|
|
171
171
|
* and merges status fields with existing state.
|
|
172
172
|
*
|
|
@@ -174,7 +174,7 @@ export const WorkflowExecutionCommandController = {
|
|
|
174
174
|
* Update execution status during workflow execution.
|
|
175
175
|
*
|
|
176
176
|
* @internal
|
|
177
|
-
* System-level RPC used by
|
|
177
|
+
* System-level RPC used by the runner to send progressive status updates
|
|
178
178
|
* (messages, task states, phase, etc.). Optimized for frequent status updates
|
|
179
179
|
* and merges status fields with existing state.
|
|
180
180
|
*
|
|
@@ -170,7 +170,7 @@ export declare const WorkflowExecutionCommandController: GenService<{
|
|
|
170
170
|
* Update execution status during workflow execution.
|
|
171
171
|
*
|
|
172
172
|
* @internal
|
|
173
|
-
* System-level RPC used by
|
|
173
|
+
* System-level RPC used by the runner to send progressive status updates
|
|
174
174
|
* (messages, task states, phase, etc.). Optimized for frequent status updates
|
|
175
175
|
* and merges status fields with existing state.
|
|
176
176
|
*
|
|
@@ -29,11 +29,11 @@ export declare const file_ai_stigmer_agentic_workflowexecution_v1_event: GenFile
|
|
|
29
29
|
*
|
|
30
30
|
* Ordering:
|
|
31
31
|
* Events are ordered by sequence_number (monotonic per execution, assigned by
|
|
32
|
-
* the
|
|
32
|
+
* the runner). Wall-clock occurred_at is informational; sequence_number
|
|
33
33
|
* is the authoritative ordering key.
|
|
34
34
|
*
|
|
35
35
|
* Production:
|
|
36
|
-
* The
|
|
36
|
+
* The runner appends events alongside status updates via the
|
|
37
37
|
* updateStatus RPC. Events are persisted atomically with the status update.
|
|
38
38
|
*
|
|
39
39
|
* Consumption:
|
|
@@ -49,7 +49,7 @@ export type WorkflowExecutionEvent = Message<"ai.stigmer.agentic.workflowexecuti
|
|
|
49
49
|
* Unique event identifier.
|
|
50
50
|
*
|
|
51
51
|
* @internal
|
|
52
|
-
* Format: UUID v4, generated by the
|
|
52
|
+
* Format: UUID v4, generated by the runner at event creation time.
|
|
53
53
|
* Used for deduplication on retries: (execution_id, event_id) is unique.
|
|
54
54
|
*
|
|
55
55
|
* @generated from field: string event_id = 1;
|
|
@@ -69,7 +69,7 @@ export type WorkflowExecutionEvent = Message<"ai.stigmer.agentic.workflowexecuti
|
|
|
69
69
|
* Monotonically increasing sequence number within this execution.
|
|
70
70
|
*
|
|
71
71
|
* @internal
|
|
72
|
-
* Assigned by the
|
|
72
|
+
* Assigned by the runner, starting at 1 for the first event.
|
|
73
73
|
* Provides total ordering within a single execution without relying on
|
|
74
74
|
* clock synchronization. Used as the cursor for paginated event queries
|
|
75
75
|
* (getEventLog) and live-tail positioning (subscribeEvents).
|
|
@@ -84,7 +84,7 @@ export type WorkflowExecutionEvent = Message<"ai.stigmer.agentic.workflowexecuti
|
|
|
84
84
|
* ISO 8601 timestamp when the event occurred.
|
|
85
85
|
*
|
|
86
86
|
* @internal
|
|
87
|
-
* Wall-clock time from the
|
|
87
|
+
* Wall-clock time from the runner. Informational — do not use
|
|
88
88
|
* for ordering (use sequence_number instead). Useful for:
|
|
89
89
|
* - Displaying human-readable timestamps in the execution viewer
|
|
90
90
|
* - Calculating task durations (task_completed.occurred_at - task_started.occurred_at)
|
|
@@ -693,7 +693,7 @@ export declare const TaskRetryingPayloadSchema: GenMessage<TaskRetryingPayload>;
|
|
|
693
693
|
* Payload for agent_call_started events.
|
|
694
694
|
*
|
|
695
695
|
* @internal
|
|
696
|
-
* Emitted when the
|
|
696
|
+
* Emitted when the runner creates a child AgentExecution for an
|
|
697
697
|
* agent_call task. The child_execution_id enables the UI to open a
|
|
698
698
|
* drill-down stream into the agent's execution.
|
|
699
699
|
*
|
|
@@ -285,7 +285,7 @@ export type WorkflowExecutionUpdateStatusInput = Message<"ai.stigmer.agentic.wor
|
|
|
285
285
|
* Append-only: events are added to the persistent event log, never replaced.
|
|
286
286
|
* This contrasts with status.tasks which uses full-replace protocol.
|
|
287
287
|
*
|
|
288
|
-
* The
|
|
288
|
+
* The runner appends events atomically with each status update,
|
|
289
289
|
* ensuring the event log stays consistent with the status snapshot.
|
|
290
290
|
* Events must have monotonically increasing sequence_numbers — the handler
|
|
291
291
|
* rejects batches where any event's sequence_number is <= the current
|
|
@@ -529,7 +529,7 @@ export declare const SubmitWorkflowFileDecisionInputSchema: GenMessage<SubmitWor
|
|
|
529
529
|
* 5. Sends the signal via SignalWithStart for race-proof delivery
|
|
530
530
|
*
|
|
531
531
|
* The reviewer's decision (outcome + form_data) becomes the task output after
|
|
532
|
-
* the
|
|
532
|
+
* the runner receives and processes the signal.
|
|
533
533
|
*
|
|
534
534
|
* @since T13b (Java/Cloud Backend Parity)
|
|
535
535
|
*
|
|
@@ -103,25 +103,31 @@ export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecutio
|
|
|
103
103
|
[key: string]: string;
|
|
104
104
|
};
|
|
105
105
|
/**
|
|
106
|
-
* Execution-scoped environment variables and secrets
|
|
106
|
+
* Execution-scoped environment variables and secrets, available only to this
|
|
107
|
+
* execution. Values here take the highest merge priority, overriding values
|
|
108
|
+
* from Environments bound via the instance's environment_refs. A key must be
|
|
109
|
+
* declared in Workflow.spec.env to survive the merge: the workflow env map is
|
|
110
|
+
* a declaration whitelist (name + is_secret + optional), never a value source
|
|
111
|
+
* — undeclared keys are dropped.
|
|
107
112
|
*
|
|
108
113
|
* @internal
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
* -
|
|
114
|
+
* Merge priority (lowest to highest):
|
|
115
|
+
* 1. Environment values (resolved from WorkflowInstance.environment_refs, in
|
|
116
|
+
* order; a later ref wins on key conflicts)
|
|
117
|
+
* 2. runtime_env (this field)
|
|
118
|
+
*
|
|
119
|
+
* The merged map is then filtered to the keys declared in Workflow.spec.env
|
|
120
|
+
* (no filtering when the workflow declares none); a declared-but-required key
|
|
121
|
+
* that is still missing only logs a warning — the run is not failed. The
|
|
122
|
+
* merge is owned by backend/libs/go/envmerge and the workflowexecution
|
|
123
|
+
* controller's createExecutionContextStep, and asserted by
|
|
124
|
+
* test/conformance/src/suites-execution/envmerge.conformance.test.ts.
|
|
120
125
|
*
|
|
121
126
|
* Security:
|
|
122
|
-
* - runtime_env values are
|
|
127
|
+
* - runtime_env values are consumed into the ExecutionContext at create time
|
|
128
|
+
* and cleared from the persisted execution (never in Temporal history)
|
|
123
129
|
* - ExecutionContext is deleted when execution completes (ephemeral secrets)
|
|
124
|
-
* -
|
|
130
|
+
* - Values with is_secret=true are encrypted at rest and redacted in logs
|
|
125
131
|
*
|
|
126
132
|
* Tasks can access these values using: {{env.VARIABLE_NAME}}
|
|
127
133
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2IAA2I;AAC3I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,gDAAgD,EAAE,MAAM,sCAAsC,CAAC;AAExG,OAAO,EAAE,uCAAuC,EAAE,MAAM,6BAA6B,CAAC;AAGtF;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,w4BAAw4B,EAAE,CAAC,gDAAgD,EAAE,uCAAuC,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2IAA2I;AAC3I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,gDAAgD,EAAE,MAAM,sCAAsC,CAAC;AAExG,OAAO,EAAE,uCAAuC,EAAE,MAAM,6BAA6B,CAAC;AAGtF;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,w4BAAw4B,EAAE,CAAC,gDAAgD,EAAE,uCAAuC,CAAC,CAAC,CAAC;AA4Ll/B;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -56,6 +56,14 @@ export type ApiResourceMetadata = Message<"ai.stigmer.commons.apiresource.ApiRes
|
|
|
56
56
|
* Default: config-driven per kind — blueprint kinds (marked
|
|
57
57
|
* defaults_to_org_visibility) default to ORG; all other kinds default to PRIVATE.
|
|
58
58
|
*
|
|
59
|
+
* Mutation contract: visibility is set at create and changed ONLY through
|
|
60
|
+
* the kind's UpdateVisibility RPC, where the visibility guards live
|
|
61
|
+
* (per-kind level support, default-instance rejection). A plain Update
|
|
62
|
+
* preserves the stored value — a request-carried level is ignored, never
|
|
63
|
+
* applied. Declarative clients that want a manifest's visibility to land
|
|
64
|
+
* on update must follow up with UpdateVisibility (the CLI and MCP apply
|
|
65
|
+
* surfaces do this automatically).
|
|
66
|
+
*
|
|
59
67
|
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceVisibility visibility = 5;
|
|
60
68
|
*/
|
|
61
69
|
visibility: ApiResourceVisibility;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/commons/apiresource/metadata_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,s/BAAs/B,EAAE,CAAC,wCAAwC,EAAE,0BAA0B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"metadata_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/commons/apiresource/metadata_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,s/BAAs/B,EAAE,CAAC,wCAAwC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAkG3kC;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAkD/D;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -144,14 +144,25 @@ export type MintGuestTokenRequest = Message<"ai.stigmer.iam.platformclient.v1.Mi
|
|
|
144
144
|
* @internal
|
|
145
145
|
* Validated at mint against the share's spec.allowed_origins: empty list
|
|
146
146
|
* admits any origin; a non-empty list refuses PERMISSION_DENIED for
|
|
147
|
-
* unlisted origins and for "null". An empty field always passes
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
147
|
+
* unlisted origins and for "null". An empty field always passes for
|
|
148
|
+
* hosted-page and non-browser requests (the anyone-with-link hosted
|
|
149
|
+
* page). The validated value is stamped into the guest JWT as the
|
|
150
|
+
* embed_origin claim and re-validated against the live list by the
|
|
151
|
+
* guest create-time gate.
|
|
152
|
+
*
|
|
153
|
+
* The hosted server cross-checks this field against the request's
|
|
154
|
+
* browser-enforced Origin header (stigmer-cloud#341). When the header
|
|
155
|
+
* is a third-party origin (a direct SDK embed), the header is
|
|
156
|
+
* authoritative: a non-empty field that disagrees with it is refused
|
|
157
|
+
* PERMISSION_DENIED naming both origins, and an empty field resolves
|
|
158
|
+
* to the header instead of the hosted-page exemption. When the header
|
|
159
|
+
* is Stigmer's own hosted-page origin, this self-report is the only
|
|
160
|
+
* embedder signal (the iframe'd page's RPCs carry Stigmer's origin) —
|
|
161
|
+
* the widget code derives it from browser-authentic sources the
|
|
162
|
+
* embedder cannot alter. Non-browser callers send no Origin header and
|
|
163
|
+
* keep the self-report semantics; they gain nothing by omitting it
|
|
164
|
+
* since the hosted link is anyone-with-link (decision 001) — rate
|
|
165
|
+
* limits and the billing gate remain the API guards.
|
|
155
166
|
*
|
|
156
167
|
* @generated from field: string embed_origin = 4;
|
|
157
168
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/token_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,8HAA8H;AAC9H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAE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W,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAkErC,aAAa,CAChB,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -320,16 +320,6 @@ export type CursorAccountView = Message<"ai.stigmer.platform.cursoraccount.v1.Cu
|
|
|
320
320
|
* @generated from field: repeated ai.stigmer.platform.cursoraccount.v1.CursorMemberKeyView key_views = 3;
|
|
321
321
|
*/
|
|
322
322
|
keyViews: CursorMemberKeyView[];
|
|
323
|
-
/**
|
|
324
|
-
* Deprecated: superseded by members_without_keys_views, which carries
|
|
325
|
-
* the same roster entries with their spend joined server-side. Still
|
|
326
|
-
* populated (protos are published; older clients may read it); current
|
|
327
|
-
* clients must read the views field.
|
|
328
|
-
*
|
|
329
|
-
* @generated from field: repeated ai.stigmer.platform.cursoraccount.v1.CursorTeamMember members_without_keys = 4 [deprecated = true];
|
|
330
|
-
* @deprecated
|
|
331
|
-
*/
|
|
332
|
-
membersWithoutKeys: CursorTeamMember[];
|
|
333
323
|
/**
|
|
334
324
|
* Active roster members (role != "removed") for whom no member key is
|
|
335
325
|
* stored — the operator's "coverage gap" list, each joined with the
|
|
@@ -8,7 +8,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file ai/stigmer/platform/cursoraccount/v1/io.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_ai_stigmer_platform_cursoraccount_v1_io = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_ai_stigmer_platform_cursoraccount_v1_io = /*@__PURE__*/ fileDesc("Ci1haS9zdGlnbWVyL3BsYXRmb3JtL2N1cnNvcmFjY291bnQvdjEvaW8ucHJvdG8SJGFpLnN0aWdtZXIucGxhdGZvcm0uY3Vyc29yYWNjb3VudC52MSJoChhVcHNlcnRDdXJzb3JBY2NvdW50SW5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b3JhY2NvdW50LnYxLkN1cnNvclRlYW1NZW1iZXJWaWV3SgQIBBAFUhRtZW1iZXJzX3dpdGhvdXRfa2V5cyqSAQoUQ3Vyc29yTWVtYmVyS2V5U3RhdGUSJwojY3Vyc29yX21lbWJlcl9rZXlfc3RhdGVfdW5zcGVjaWZpZWQQABIVChFtZW1iZXJfa2V5X2FjdGl2ZRABEhwKGG1lbWJlcl9rZXlfb3duZXJfcmVtb3ZlZBACEhwKGG1lbWJlcl9rZXlfb3duZXJfdW5rbm93bhADYgZwcm90bzM", [file_ai_stigmer_platform_cursoraccount_v1_cursor_account, file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message ai.stigmer.platform.cursoraccount.v1.UpsertCursorAccountInput.
|
|
14
14
|
* Use `create(UpsertCursorAccountInputSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/platform/cursoraccount/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mIAAmI;AACnI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,wDAAwD,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/platform/cursoraccount/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mIAAmI;AACnI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8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/D;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAc/D;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAyB/D;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,4CAA4C,EAAE,EAAE,CAAC,CAAC;AA4ChE;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,4CAA4C,EAAE,EAAE,CAAC,CAAC;AAsChE;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,4CAA4C,EAAE,EAAE,CAAC,CAAC;AAEhE;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,oBA4BX;AA5BD,WAAY,oBAAoB;IAC9B;;OAEG;IACH,6HAAuC,CAAA;IAEvC;;;;OAIG;IACH,yFAAqB,CAAA;IAErB;;;;;OAKG;IACH,uGAA4B,CAAA;IAE5B;;;;;OAKG;IACH,uGAA4B,CAAA;AAC9B,CAAC,EA5BW,oBAAoB,KAApB,oBAAoB,QA4B/B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAkC,aAAa,CACpF,QAAQ,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Health is gRPC's mechanism for checking whether a server is able to handle
|
|
3
|
+
* RPCs. Its semantics are documented in
|
|
4
|
+
* https://github.com/grpc/grpc/blob/master/doc/health-checking.md.
|
|
5
|
+
*
|
|
6
|
+
* @generated from service grpc.health.v1.Health
|
|
7
|
+
*/
|
|
8
|
+
export declare const Health: {
|
|
9
|
+
readonly typeName: "grpc.health.v1.Health";
|
|
10
|
+
readonly methods: {
|
|
11
|
+
/**
|
|
12
|
+
* Check gets the health of the specified service. If the requested service
|
|
13
|
+
* is unknown, the call will fail with status NOT_FOUND. If the caller does
|
|
14
|
+
* not specify a service name, the server should respond with its overall
|
|
15
|
+
* health status.
|
|
16
|
+
*
|
|
17
|
+
* Clients should set a deadline when calling Check, and can declare the
|
|
18
|
+
* server unhealthy if they do not receive a timely response.
|
|
19
|
+
*
|
|
20
|
+
* @generated from rpc grpc.health.v1.Health.Check
|
|
21
|
+
*/
|
|
22
|
+
readonly check: {
|
|
23
|
+
readonly name: "Check";
|
|
24
|
+
readonly I: any;
|
|
25
|
+
readonly O: any;
|
|
26
|
+
readonly kind: any;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* List provides a non-atomic snapshot of the health of all the available
|
|
30
|
+
* services.
|
|
31
|
+
*
|
|
32
|
+
* The server may respond with a RESOURCE_EXHAUSTED error if too many services
|
|
33
|
+
* exist.
|
|
34
|
+
*
|
|
35
|
+
* Clients should set a deadline when calling List, and can declare the server
|
|
36
|
+
* unhealthy if they do not receive a timely response.
|
|
37
|
+
*
|
|
38
|
+
* Clients should keep in mind that the list of health services exposed by an
|
|
39
|
+
* application can change over the lifetime of the process.
|
|
40
|
+
*
|
|
41
|
+
* @generated from rpc grpc.health.v1.Health.List
|
|
42
|
+
*/
|
|
43
|
+
readonly list: {
|
|
44
|
+
readonly name: "List";
|
|
45
|
+
readonly I: any;
|
|
46
|
+
readonly O: any;
|
|
47
|
+
readonly kind: any;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Performs a watch for the serving status of the requested service.
|
|
51
|
+
* The server will immediately send back a message indicating the current
|
|
52
|
+
* serving status. It will then subsequently send a new message whenever
|
|
53
|
+
* the service's serving status changes.
|
|
54
|
+
*
|
|
55
|
+
* If the requested service is unknown when the call is received, the
|
|
56
|
+
* server will send a message setting the serving status to
|
|
57
|
+
* SERVICE_UNKNOWN but will *not* terminate the call. If at some
|
|
58
|
+
* future point, the serving status of the service becomes known, the
|
|
59
|
+
* server will send a new message with the service's serving status.
|
|
60
|
+
*
|
|
61
|
+
* If the call terminates with status UNIMPLEMENTED, then clients
|
|
62
|
+
* should assume this method is not supported and should not retry the
|
|
63
|
+
* call. If the call terminates with any other status (including OK),
|
|
64
|
+
* clients should retry the call with appropriate exponential backoff.
|
|
65
|
+
*
|
|
66
|
+
* @generated from rpc grpc.health.v1.Health.Watch
|
|
67
|
+
*/
|
|
68
|
+
readonly watch: {
|
|
69
|
+
readonly name: "Watch";
|
|
70
|
+
readonly I: any;
|
|
71
|
+
readonly O: any;
|
|
72
|
+
readonly kind: any;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// Copyright 2015 The gRPC Authors
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
// The canonical version of this proto can be found at
|
|
15
|
+
// https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto
|
|
16
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
|
|
17
|
+
// @generated from file grpc/health/v1/health.proto (package grpc.health.v1, syntax proto3)
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
// @ts-nocheck
|
|
20
|
+
import { HealthCheckRequest, HealthCheckResponse, HealthListRequest, HealthListResponse } from "./health_pbjs";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
/**
|
|
23
|
+
* Health is gRPC's mechanism for checking whether a server is able to handle
|
|
24
|
+
* RPCs. Its semantics are documented in
|
|
25
|
+
* https://github.com/grpc/grpc/blob/master/doc/health-checking.md.
|
|
26
|
+
*
|
|
27
|
+
* @generated from service grpc.health.v1.Health
|
|
28
|
+
*/
|
|
29
|
+
export const Health = {
|
|
30
|
+
typeName: "grpc.health.v1.Health",
|
|
31
|
+
methods: {
|
|
32
|
+
/**
|
|
33
|
+
* Check gets the health of the specified service. If the requested service
|
|
34
|
+
* is unknown, the call will fail with status NOT_FOUND. If the caller does
|
|
35
|
+
* not specify a service name, the server should respond with its overall
|
|
36
|
+
* health status.
|
|
37
|
+
*
|
|
38
|
+
* Clients should set a deadline when calling Check, and can declare the
|
|
39
|
+
* server unhealthy if they do not receive a timely response.
|
|
40
|
+
*
|
|
41
|
+
* @generated from rpc grpc.health.v1.Health.Check
|
|
42
|
+
*/
|
|
43
|
+
check: {
|
|
44
|
+
name: "Check",
|
|
45
|
+
I: HealthCheckRequest,
|
|
46
|
+
O: HealthCheckResponse,
|
|
47
|
+
kind: MethodKind.Unary,
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* List provides a non-atomic snapshot of the health of all the available
|
|
51
|
+
* services.
|
|
52
|
+
*
|
|
53
|
+
* The server may respond with a RESOURCE_EXHAUSTED error if too many services
|
|
54
|
+
* exist.
|
|
55
|
+
*
|
|
56
|
+
* Clients should set a deadline when calling List, and can declare the server
|
|
57
|
+
* unhealthy if they do not receive a timely response.
|
|
58
|
+
*
|
|
59
|
+
* Clients should keep in mind that the list of health services exposed by an
|
|
60
|
+
* application can change over the lifetime of the process.
|
|
61
|
+
*
|
|
62
|
+
* @generated from rpc grpc.health.v1.Health.List
|
|
63
|
+
*/
|
|
64
|
+
list: {
|
|
65
|
+
name: "List",
|
|
66
|
+
I: HealthListRequest,
|
|
67
|
+
O: HealthListResponse,
|
|
68
|
+
kind: MethodKind.Unary,
|
|
69
|
+
},
|
|
70
|
+
/**
|
|
71
|
+
* Performs a watch for the serving status of the requested service.
|
|
72
|
+
* The server will immediately send back a message indicating the current
|
|
73
|
+
* serving status. It will then subsequently send a new message whenever
|
|
74
|
+
* the service's serving status changes.
|
|
75
|
+
*
|
|
76
|
+
* If the requested service is unknown when the call is received, the
|
|
77
|
+
* server will send a message setting the serving status to
|
|
78
|
+
* SERVICE_UNKNOWN but will *not* terminate the call. If at some
|
|
79
|
+
* future point, the serving status of the service becomes known, the
|
|
80
|
+
* server will send a new message with the service's serving status.
|
|
81
|
+
*
|
|
82
|
+
* If the call terminates with status UNIMPLEMENTED, then clients
|
|
83
|
+
* should assume this method is not supported and should not retry the
|
|
84
|
+
* call. If the call terminates with any other status (including OK),
|
|
85
|
+
* clients should retry the call with appropriate exponential backoff.
|
|
86
|
+
*
|
|
87
|
+
* @generated from rpc grpc.health.v1.Health.Watch
|
|
88
|
+
*/
|
|
89
|
+
watch: {
|
|
90
|
+
name: "Watch",
|
|
91
|
+
I: HealthCheckRequest,
|
|
92
|
+
O: HealthCheckResponse,
|
|
93
|
+
kind: MethodKind.ServerStreaming,
|
|
94
|
+
},
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
//# sourceMappingURL=health_connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health_connect.js","sourceRoot":"","sources":["../../../../grpc/health/v1/health_connect.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,sDAAsD;AACtD,6EAA6E;AAE7E,4FAA4F;AAC5F,2FAA2F;AAC3F,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAC/G,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,uBAAuB;IACjC,OAAO,EAAE;QACP;;;;;;;;;;WAUG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,mBAAmB;YACtB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,CAAC,EAAE,iBAAiB;YACpB,CAAC,EAAE,kBAAkB;YACrB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;WAkBG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,mBAAmB;YACtB,IAAI,EAAE,UAAU,CAAC,eAAe;SACjC;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file grpc/health/v1/health.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_grpc_health_v1_health: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message grpc.health.v1.HealthCheckRequest
|
|
9
|
+
*/
|
|
10
|
+
export type HealthCheckRequest = Message<"grpc.health.v1.HealthCheckRequest"> & {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from field: string service = 1;
|
|
13
|
+
*/
|
|
14
|
+
service: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message grpc.health.v1.HealthCheckRequest.
|
|
18
|
+
* Use `create(HealthCheckRequestSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export declare const HealthCheckRequestSchema: GenMessage<HealthCheckRequest>;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from message grpc.health.v1.HealthCheckResponse
|
|
23
|
+
*/
|
|
24
|
+
export type HealthCheckResponse = Message<"grpc.health.v1.HealthCheckResponse"> & {
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;
|
|
27
|
+
*/
|
|
28
|
+
status: HealthCheckResponse_ServingStatus;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message grpc.health.v1.HealthCheckResponse.
|
|
32
|
+
* Use `create(HealthCheckResponseSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export declare const HealthCheckResponseSchema: GenMessage<HealthCheckResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum grpc.health.v1.HealthCheckResponse.ServingStatus
|
|
37
|
+
*/
|
|
38
|
+
export declare enum HealthCheckResponse_ServingStatus {
|
|
39
|
+
/**
|
|
40
|
+
* @generated from enum value: UNKNOWN = 0;
|
|
41
|
+
*/
|
|
42
|
+
UNKNOWN = 0,
|
|
43
|
+
/**
|
|
44
|
+
* @generated from enum value: SERVING = 1;
|
|
45
|
+
*/
|
|
46
|
+
SERVING = 1,
|
|
47
|
+
/**
|
|
48
|
+
* @generated from enum value: NOT_SERVING = 2;
|
|
49
|
+
*/
|
|
50
|
+
NOT_SERVING = 2,
|
|
51
|
+
/**
|
|
52
|
+
* Used only by the Watch method.
|
|
53
|
+
*
|
|
54
|
+
* @generated from enum value: SERVICE_UNKNOWN = 3;
|
|
55
|
+
*/
|
|
56
|
+
SERVICE_UNKNOWN = 3
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Describes the enum grpc.health.v1.HealthCheckResponse.ServingStatus.
|
|
60
|
+
*/
|
|
61
|
+
export declare const HealthCheckResponse_ServingStatusSchema: GenEnum<HealthCheckResponse_ServingStatus>;
|
|
62
|
+
/**
|
|
63
|
+
* @generated from message grpc.health.v1.HealthListRequest
|
|
64
|
+
*/
|
|
65
|
+
export type HealthListRequest = Message<"grpc.health.v1.HealthListRequest"> & {};
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message grpc.health.v1.HealthListRequest.
|
|
68
|
+
* Use `create(HealthListRequestSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export declare const HealthListRequestSchema: GenMessage<HealthListRequest>;
|
|
71
|
+
/**
|
|
72
|
+
* @generated from message grpc.health.v1.HealthListResponse
|
|
73
|
+
*/
|
|
74
|
+
export type HealthListResponse = Message<"grpc.health.v1.HealthListResponse"> & {
|
|
75
|
+
/**
|
|
76
|
+
* statuses contains all the services and their respective status.
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: map<string, grpc.health.v1.HealthCheckResponse> statuses = 1;
|
|
79
|
+
*/
|
|
80
|
+
statuses: {
|
|
81
|
+
[key: string]: HealthCheckResponse;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message grpc.health.v1.HealthListResponse.
|
|
86
|
+
* Use `create(HealthListResponseSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export declare const HealthListResponseSchema: GenMessage<HealthListResponse>;
|
|
89
|
+
/**
|
|
90
|
+
* Health is gRPC's mechanism for checking whether a server is able to handle
|
|
91
|
+
* RPCs. Its semantics are documented in
|
|
92
|
+
* https://github.com/grpc/grpc/blob/master/doc/health-checking.md.
|
|
93
|
+
*
|
|
94
|
+
* @generated from service grpc.health.v1.Health
|
|
95
|
+
*/
|
|
96
|
+
export declare const Health: GenService<{
|
|
97
|
+
/**
|
|
98
|
+
* Check gets the health of the specified service. If the requested service
|
|
99
|
+
* is unknown, the call will fail with status NOT_FOUND. If the caller does
|
|
100
|
+
* not specify a service name, the server should respond with its overall
|
|
101
|
+
* health status.
|
|
102
|
+
*
|
|
103
|
+
* Clients should set a deadline when calling Check, and can declare the
|
|
104
|
+
* server unhealthy if they do not receive a timely response.
|
|
105
|
+
*
|
|
106
|
+
* @generated from rpc grpc.health.v1.Health.Check
|
|
107
|
+
*/
|
|
108
|
+
check: {
|
|
109
|
+
methodKind: "unary";
|
|
110
|
+
input: typeof HealthCheckRequestSchema;
|
|
111
|
+
output: typeof HealthCheckResponseSchema;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* List provides a non-atomic snapshot of the health of all the available
|
|
115
|
+
* services.
|
|
116
|
+
*
|
|
117
|
+
* The server may respond with a RESOURCE_EXHAUSTED error if too many services
|
|
118
|
+
* exist.
|
|
119
|
+
*
|
|
120
|
+
* Clients should set a deadline when calling List, and can declare the server
|
|
121
|
+
* unhealthy if they do not receive a timely response.
|
|
122
|
+
*
|
|
123
|
+
* Clients should keep in mind that the list of health services exposed by an
|
|
124
|
+
* application can change over the lifetime of the process.
|
|
125
|
+
*
|
|
126
|
+
* @generated from rpc grpc.health.v1.Health.List
|
|
127
|
+
*/
|
|
128
|
+
list: {
|
|
129
|
+
methodKind: "unary";
|
|
130
|
+
input: typeof HealthListRequestSchema;
|
|
131
|
+
output: typeof HealthListResponseSchema;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Performs a watch for the serving status of the requested service.
|
|
135
|
+
* The server will immediately send back a message indicating the current
|
|
136
|
+
* serving status. It will then subsequently send a new message whenever
|
|
137
|
+
* the service's serving status changes.
|
|
138
|
+
*
|
|
139
|
+
* If the requested service is unknown when the call is received, the
|
|
140
|
+
* server will send a message setting the serving status to
|
|
141
|
+
* SERVICE_UNKNOWN but will *not* terminate the call. If at some
|
|
142
|
+
* future point, the serving status of the service becomes known, the
|
|
143
|
+
* server will send a new message with the service's serving status.
|
|
144
|
+
*
|
|
145
|
+
* If the call terminates with status UNIMPLEMENTED, then clients
|
|
146
|
+
* should assume this method is not supported and should not retry the
|
|
147
|
+
* call. If the call terminates with any other status (including OK),
|
|
148
|
+
* clients should retry the call with appropriate exponential backoff.
|
|
149
|
+
*
|
|
150
|
+
* @generated from rpc grpc.health.v1.Health.Watch
|
|
151
|
+
*/
|
|
152
|
+
watch: {
|
|
153
|
+
methodKind: "server_streaming";
|
|
154
|
+
input: typeof HealthCheckRequestSchema;
|
|
155
|
+
output: typeof HealthCheckResponseSchema;
|
|
156
|
+
};
|
|
157
|
+
}>;
|