@mindburn/helm-ai-kernel 0.5.10 → 0.5.12

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 CHANGED
@@ -10,7 +10,7 @@ npm ci
10
10
  npm run build
11
11
  ```
12
12
 
13
- Package metadata declares version `0.5.10` in `package.json`; this README does
13
+ Package metadata declares version `0.5.12` in `package.json`; this README does
14
14
  not claim that a registry package has been published.
15
15
 
16
16
  ## Local Development
@@ -86,4 +86,4 @@ and sandbox grants attached to HELM-native receipts and EvidencePacks.
86
86
 
87
87
  ## Release Notes
88
88
 
89
- `0.5.10` is the release-hardening patch with the retained OpenAPI client surface and protobuf message bindings.
89
+ `0.5.12` is the release-hardening patch with the retained OpenAPI client surface and protobuf message bindings.
@@ -0,0 +1,171 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ import { type CallOptions, type ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, type Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
3
+ export declare const protobufPackage = "helm.boundary.extauthz.v1";
4
+ /**
5
+ * HELM Boundary External Authorization Protocol Buffer Definitions
6
+ *
7
+ * Canonical IDL for the optional gRPC transport of the Kernel-owned
8
+ * pre-dispatch external authorization contract.
9
+ *
10
+ * Stability: v1 additive-only.
11
+ *
12
+ * This contract deliberately represents pre-dispatch authorization only. Final
13
+ * EFFECT receipts, ProofGraph edges, and EvidencePack refs are post-dispatch
14
+ * proof artifacts and must not be minted by the gateway.
15
+ */
16
+ export declare enum Verdict {
17
+ VERDICT_UNSPECIFIED = 0,
18
+ VERDICT_ALLOW = 1,
19
+ VERDICT_DENY = 2,
20
+ VERDICT_ESCALATE = 3,
21
+ UNRECOGNIZED = -1
22
+ }
23
+ export declare function verdictFromJSON(object: any): Verdict;
24
+ export declare function verdictToJSON(object: Verdict): string;
25
+ export declare enum Protocol {
26
+ PROTOCOL_UNSPECIFIED = 0,
27
+ PROTOCOL_MCP = 1,
28
+ PROTOCOL_A2A = 2,
29
+ PROTOCOL_HTTP = 3,
30
+ PROTOCOL_GRPC = 4,
31
+ PROTOCOL_OPENAI = 5,
32
+ UNRECOGNIZED = -1
33
+ }
34
+ export declare function protocolFromJSON(object: any): Protocol;
35
+ export declare function protocolToJSON(object: Protocol): string;
36
+ export interface AuthorizationRequest {
37
+ schemaVersion: string;
38
+ contractVersion: string;
39
+ requestId: string;
40
+ tenantId: string;
41
+ workspaceId: string;
42
+ principalId: string;
43
+ principalSeq: number;
44
+ agentIdentityProfileRef: string;
45
+ protocol: Protocol;
46
+ actionUrn: string;
47
+ toolUrn: string;
48
+ connectorId: string;
49
+ connectorContractHash: string;
50
+ executorKind: string;
51
+ effectClass: string;
52
+ riskClass: string;
53
+ argsC14nHash: string;
54
+ requestBodyHash: string;
55
+ planHash: string;
56
+ policyHash: string;
57
+ p0Hash: string;
58
+ policyEpoch: string;
59
+ idempotencyKeyCandidate: string;
60
+ payloadClass: string;
61
+ redactionProfile: string;
62
+ upstreamTraceId: string;
63
+ upstreamRunId: string;
64
+ deadlineMs: number;
65
+ riskContext: {
66
+ [key: string]: any;
67
+ } | undefined;
68
+ riskContextHash: string;
69
+ }
70
+ export interface AuthorizationResponse {
71
+ schemaVersion: string;
72
+ contractVersion: string;
73
+ requestId: string;
74
+ tenantId: string;
75
+ workspaceId: string;
76
+ principalId: string;
77
+ principalSeq: number;
78
+ agentIdentityProfileRef: string;
79
+ protocol: Protocol;
80
+ actionUrn: string;
81
+ toolUrn: string;
82
+ connectorId: string;
83
+ connectorContractHash: string;
84
+ executorKind: string;
85
+ effectClass: string;
86
+ riskClass: string;
87
+ argsC14nHash: string;
88
+ requestBodyHash: string;
89
+ planHash: string;
90
+ policyHash: string;
91
+ p0Hash: string;
92
+ policyEpoch: string;
93
+ idempotencyKeyCandidate: string;
94
+ payloadClass: string;
95
+ redactionProfile: string;
96
+ upstreamTraceId: string;
97
+ upstreamRunId: string;
98
+ deadlineMs: number;
99
+ riskContextHash: string;
100
+ verdict: Verdict;
101
+ reasonCode: string;
102
+ kernelTrustRootId: string;
103
+ signingKeyRef: string;
104
+ kernelVerdictRef: string;
105
+ kernelVerdictHash: string;
106
+ kernelVerdictSignature: Uint8Array;
107
+ kernelVerdictIssuedAt: Date | undefined;
108
+ kernelVerdictExpiresAt: Date | undefined;
109
+ /** ALLOW-only, single-use pre-dispatch permit fields. */
110
+ effectPermitRef: string;
111
+ permitNonce: string;
112
+ permitExpiry: Date | undefined;
113
+ proofSessionRef: string;
114
+ evidenceReservationRef: string;
115
+ budgetReservationRef: string;
116
+ cachePolicy: string;
117
+ replayHint: string;
118
+ /** DENY/ESCALATE references are pre-dispatch records, not final effect proof. */
119
+ denialReceiptRef: string;
120
+ escalationRef: string;
121
+ escalationReceiptRef: string;
122
+ proofObligation: string;
123
+ connectorReceiptPolicy: string;
124
+ proofFinalizationPolicy: string;
125
+ }
126
+ export declare const AuthorizationRequest: MessageFns<AuthorizationRequest>;
127
+ export declare const AuthorizationResponse: MessageFns<AuthorizationResponse>;
128
+ export type ExternalAuthorizationServiceService = typeof ExternalAuthorizationServiceService;
129
+ export declare const ExternalAuthorizationServiceService: {
130
+ readonly authorize: {
131
+ readonly path: "/helm.boundary.extauthz.v1.ExternalAuthorizationService/Authorize";
132
+ readonly requestStream: false;
133
+ readonly responseStream: false;
134
+ readonly requestSerialize: (value: AuthorizationRequest) => Buffer;
135
+ readonly requestDeserialize: (value: Buffer) => AuthorizationRequest;
136
+ readonly responseSerialize: (value: AuthorizationResponse) => Buffer;
137
+ readonly responseDeserialize: (value: Buffer) => AuthorizationResponse;
138
+ };
139
+ };
140
+ export interface ExternalAuthorizationServiceServer extends UntypedServiceImplementation {
141
+ authorize: handleUnaryCall<AuthorizationRequest, AuthorizationResponse>;
142
+ }
143
+ export interface ExternalAuthorizationServiceClient extends Client {
144
+ authorize(request: AuthorizationRequest, callback: (error: ServiceError | null, response: AuthorizationResponse) => void): ClientUnaryCall;
145
+ authorize(request: AuthorizationRequest, metadata: Metadata, callback: (error: ServiceError | null, response: AuthorizationResponse) => void): ClientUnaryCall;
146
+ authorize(request: AuthorizationRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: AuthorizationResponse) => void): ClientUnaryCall;
147
+ }
148
+ export declare const ExternalAuthorizationServiceClient: {
149
+ new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): ExternalAuthorizationServiceClient;
150
+ service: typeof ExternalAuthorizationServiceService;
151
+ serviceName: string;
152
+ };
153
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
154
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
155
+ [K in keyof T]?: DeepPartial<T[K]>;
156
+ } : Partial<T>;
157
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
158
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
159
+ [K in keyof P]: Exact<P[K], I[K]>;
160
+ } & {
161
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
162
+ };
163
+ export interface MessageFns<T> {
164
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
165
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
166
+ fromJSON(object: any): T;
167
+ toJSON(message: T): unknown;
168
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
169
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
170
+ }
171
+ export {};