@byok-sdk/protocol 0.12.0 → 0.14.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.
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
2
+ /** Daemon capability required before an exact local provider profile may be offered. */
3
+ export declare const PROVIDER_PROFILE_BINDING_CAPABILITY: 'provider-profile-binding';
4
+ /** Opaque, portable local profile identity. It is one logical id, never a path. */
5
+ export declare const ProviderProfileRefSchema: z.ZodString;
6
+ export type ProviderProfileRef = z.infer<typeof ProviderProfileRefSchema>;
7
+ /** Monotonic local profile revision represented canonically on the wire. */
8
+ export declare const ProviderProfileRevisionSchema: z.ZodString;
9
+ export type ProviderProfileRevision = z.infer<typeof ProviderProfileRevisionSchema>;
10
+ /** Hash of the normalized, non-secret local profile projection. */
11
+ export declare const ProviderProfileHashSchema: z.ZodString;
12
+ export type ProviderProfileHash = z.infer<typeof ProviderProfileHashSchema>;
13
+ export declare const PROVIDER_MODEL_CAPABILITIES: readonly ['image-input'];
14
+ export declare const ProviderModelCapabilitySchema: z.ZodEnum<{
15
+ "image-input": "image-input";
16
+ }>;
17
+ export type ProviderModelCapability = z.infer<typeof ProviderModelCapabilitySchema>;
18
+ /** Credential-free exact desired binding. Endpoint and auth material stay device-local. */
19
+ export declare const ProviderProfileBindingSchema: z.ZodObject<{
20
+ profileRef: z.ZodString;
21
+ profileRevision: z.ZodString;
22
+ profileHash: z.ZodString;
23
+ modelId: z.ZodString;
24
+ requiredCapabilities: z.ZodArray<z.ZodEnum<{
25
+ "image-input": "image-input";
26
+ }>>;
27
+ }, z.core.$strict>;
28
+ export type ProviderProfileBinding = z.infer<typeof ProviderProfileBindingSchema>;
package/dist/version.d.ts CHANGED
@@ -103,5 +103,5 @@ export declare const STRICT_AGENT_ONLY_CAPABILITY: 'strict-agent-only';
103
103
  * boundary for long-poll: an older daemon skips it as unknown and therefore
104
104
  * cannot accidentally execute the instruction without the required tools.
105
105
  */
106
- export declare const CAPABILITY_FLAGS: readonly ['steer', 'blob-upload', 'interactive-approval', 'approval_resolved', 'approval-targeting', 'result-document', 'dispatch-selection', 'toolset-selection', 'agent-home-contract', "strict-agent-only", "agent-egress-policy", "agent-egress-reliable-ack", "agent-message-egress", "agent-egress-fresh-session", "agent-content-workspace-read", "agent-content-transcript-read", "agent-content-artifact-read", "agent-home-projection", "terminal-projection-selection"];
106
+ export declare const CAPABILITY_FLAGS: readonly ['steer', 'blob-upload', 'interactive-approval', 'approval_resolved', 'approval-targeting', 'result-document', 'dispatch-selection', "provider-profile-binding", 'toolset-selection', 'agent-home-contract', "strict-agent-only", "agent-egress-policy", "agent-egress-reliable-ack", "agent-message-egress", "agent-egress-fresh-session", "agent-content-workspace-read", "agent-content-transcript-read", "agent-content-artifact-read", "agent-home-projection", "terminal-projection-selection"];
107
107
  export type CapabilityFlag = (typeof CAPABILITY_FLAGS)[number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byok-sdk/protocol",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "BYOK SDK wire protocol: envelope schema, message types, and codec helpers",
5
5
  "type": "module",
6
6
  "license": "MIT",