@byok-sdk/protocol 0.22.0 → 0.24.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 +1 -1
- package/dist/agent-event.d.ts +12 -0
- package/dist/agent-memory-intent.d.ts +717 -0
- package/dist/codec.d.ts +8 -0
- package/dist/envelope.d.ts +42 -0
- package/dist/http-api.d.ts +94 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.js +358 -36
- package/dist/index.js.map +1 -1
- package/dist/input-preparation.d.ts +19 -2
- package/dist/messages.d.ts +66 -1
- package/dist/provider-provisioning.d.ts +372 -0
- package/dist/version.d.ts +1 -1
- package/package.json +2 -2
package/dist/codec.d.ts
CHANGED
|
@@ -78,6 +78,14 @@ interface EnvelopeShapeOptions {
|
|
|
78
78
|
taskId?: never;
|
|
79
79
|
seq: number;
|
|
80
80
|
};
|
|
81
|
+
'provider.provisioning.available': {
|
|
82
|
+
taskId?: never;
|
|
83
|
+
seq: number;
|
|
84
|
+
};
|
|
85
|
+
'agent.memory.intent.available': {
|
|
86
|
+
taskId?: never;
|
|
87
|
+
seq: number;
|
|
88
|
+
};
|
|
81
89
|
'agent.content.receipt': {
|
|
82
90
|
taskId?: string;
|
|
83
91
|
seq?: number;
|
package/dist/envelope.d.ts
CHANGED
|
@@ -601,6 +601,11 @@ export declare const EnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
601
601
|
requestDigest: z.ZodString;
|
|
602
602
|
artifactDigest: z.ZodOptional<z.ZodString>;
|
|
603
603
|
}, z.core.$strict>;
|
|
604
|
+
agentMemory: z.ZodEnum<{
|
|
605
|
+
none: "none";
|
|
606
|
+
read: "read";
|
|
607
|
+
"read-write": "read-write";
|
|
608
|
+
}>;
|
|
604
609
|
egressPolicy: z.ZodObject<{
|
|
605
610
|
policyRevision: z.ZodString;
|
|
606
611
|
activity: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -759,6 +764,11 @@ export declare const EnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
759
764
|
session_ref: z.ZodOptional<z.ZodString>;
|
|
760
765
|
seq: z.ZodNumber;
|
|
761
766
|
payload: z.ZodObject<{
|
|
767
|
+
agentMemory: z.ZodEnum<{
|
|
768
|
+
none: "none";
|
|
769
|
+
read: "read";
|
|
770
|
+
"read-write": "read-write";
|
|
771
|
+
}>;
|
|
762
772
|
requestId: z.ZodUUID;
|
|
763
773
|
agentRef: z.ZodObject<{
|
|
764
774
|
agentId: z.ZodString;
|
|
@@ -876,6 +886,32 @@ export declare const EnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
876
886
|
ruledResidualKeys: z.ZodArray<z.ZodString>;
|
|
877
887
|
}, z.core.$strict>>;
|
|
878
888
|
}, z.core.$strict>;
|
|
889
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
890
|
+
v: z.ZodNumber;
|
|
891
|
+
id: z.ZodUUID;
|
|
892
|
+
ts: z.ZodISODateTime;
|
|
893
|
+
type: z.ZodLiteral<"provider.provisioning.available">;
|
|
894
|
+
task_id: z.ZodOptional<z.ZodNever>;
|
|
895
|
+
session_ref: z.ZodOptional<z.ZodString>;
|
|
896
|
+
seq: z.ZodNumber;
|
|
897
|
+
payload: z.ZodObject<{
|
|
898
|
+
requestId: z.ZodUUID;
|
|
899
|
+
}, z.core.$strict>;
|
|
900
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
901
|
+
v: z.ZodNumber;
|
|
902
|
+
id: z.ZodUUID;
|
|
903
|
+
ts: z.ZodISODateTime;
|
|
904
|
+
type: z.ZodLiteral<"agent.memory.intent.available">;
|
|
905
|
+
task_id: z.ZodOptional<z.ZodNever>;
|
|
906
|
+
session_ref: z.ZodOptional<z.ZodString>;
|
|
907
|
+
seq: z.ZodNumber;
|
|
908
|
+
payload: z.ZodObject<{
|
|
909
|
+
intentId: z.ZodUUID;
|
|
910
|
+
agentRef: z.ZodObject<{
|
|
911
|
+
agentId: z.ZodString;
|
|
912
|
+
profileRevision: z.ZodString;
|
|
913
|
+
}, z.core.$strict>;
|
|
914
|
+
}, z.core.$strict>;
|
|
879
915
|
}, z.core.$strip>, z.ZodObject<{
|
|
880
916
|
v: z.ZodNumber;
|
|
881
917
|
id: z.ZodUUID;
|
|
@@ -1052,6 +1088,12 @@ export declare const EnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1052
1088
|
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1053
1089
|
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
1054
1090
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
1091
|
+
contextTokens: z.ZodOptional<z.ZodNumber>;
|
|
1092
|
+
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
1093
|
+
contextSource: z.ZodOptional<z.ZodEnum<{
|
|
1094
|
+
estimate: "estimate";
|
|
1095
|
+
provider: "provider";
|
|
1096
|
+
}>>;
|
|
1055
1097
|
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
1056
1098
|
type: z.ZodString;
|
|
1057
1099
|
}, z.core.$loose>]>>;
|
package/dist/http-api.d.ts
CHANGED
|
@@ -695,6 +695,11 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
695
695
|
requestDigest: z.ZodString;
|
|
696
696
|
artifactDigest: z.ZodOptional<z.ZodString>;
|
|
697
697
|
}, z.core.$strict>;
|
|
698
|
+
agentMemory: z.ZodEnum<{
|
|
699
|
+
none: "none";
|
|
700
|
+
read: "read";
|
|
701
|
+
"read-write": "read-write";
|
|
702
|
+
}>;
|
|
698
703
|
egressPolicy: z.ZodObject<{
|
|
699
704
|
policyRevision: z.ZodString;
|
|
700
705
|
activity: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -853,6 +858,11 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
853
858
|
session_ref: z.ZodOptional<z.ZodString>;
|
|
854
859
|
seq: z.ZodNumber;
|
|
855
860
|
payload: z.ZodObject<{
|
|
861
|
+
agentMemory: z.ZodEnum<{
|
|
862
|
+
none: "none";
|
|
863
|
+
read: "read";
|
|
864
|
+
"read-write": "read-write";
|
|
865
|
+
}>;
|
|
856
866
|
requestId: z.ZodUUID;
|
|
857
867
|
agentRef: z.ZodObject<{
|
|
858
868
|
agentId: z.ZodString;
|
|
@@ -970,6 +980,32 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
970
980
|
ruledResidualKeys: z.ZodArray<z.ZodString>;
|
|
971
981
|
}, z.core.$strict>>;
|
|
972
982
|
}, z.core.$strict>;
|
|
983
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
984
|
+
v: z.ZodNumber;
|
|
985
|
+
id: z.ZodUUID;
|
|
986
|
+
ts: z.ZodISODateTime;
|
|
987
|
+
type: z.ZodLiteral<"provider.provisioning.available">;
|
|
988
|
+
task_id: z.ZodOptional<z.ZodNever>;
|
|
989
|
+
session_ref: z.ZodOptional<z.ZodString>;
|
|
990
|
+
seq: z.ZodNumber;
|
|
991
|
+
payload: z.ZodObject<{
|
|
992
|
+
requestId: z.ZodUUID;
|
|
993
|
+
}, z.core.$strict>;
|
|
994
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
995
|
+
v: z.ZodNumber;
|
|
996
|
+
id: z.ZodUUID;
|
|
997
|
+
ts: z.ZodISODateTime;
|
|
998
|
+
type: z.ZodLiteral<"agent.memory.intent.available">;
|
|
999
|
+
task_id: z.ZodOptional<z.ZodNever>;
|
|
1000
|
+
session_ref: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
seq: z.ZodNumber;
|
|
1002
|
+
payload: z.ZodObject<{
|
|
1003
|
+
intentId: z.ZodUUID;
|
|
1004
|
+
agentRef: z.ZodObject<{
|
|
1005
|
+
agentId: z.ZodString;
|
|
1006
|
+
profileRevision: z.ZodString;
|
|
1007
|
+
}, z.core.$strict>;
|
|
1008
|
+
}, z.core.$strict>;
|
|
973
1009
|
}, z.core.$strip>, z.ZodObject<{
|
|
974
1010
|
v: z.ZodNumber;
|
|
975
1011
|
id: z.ZodUUID;
|
|
@@ -1146,6 +1182,12 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
1146
1182
|
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1147
1183
|
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
1148
1184
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
1185
|
+
contextTokens: z.ZodOptional<z.ZodNumber>;
|
|
1186
|
+
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
1187
|
+
contextSource: z.ZodOptional<z.ZodEnum<{
|
|
1188
|
+
estimate: "estimate";
|
|
1189
|
+
provider: "provider";
|
|
1190
|
+
}>>;
|
|
1149
1191
|
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
1150
1192
|
type: z.ZodString;
|
|
1151
1193
|
}, z.core.$loose>]>>;
|
|
@@ -2073,6 +2115,11 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2073
2115
|
requestDigest: z.ZodString;
|
|
2074
2116
|
artifactDigest: z.ZodOptional<z.ZodString>;
|
|
2075
2117
|
}, z.core.$strict>;
|
|
2118
|
+
agentMemory: z.ZodEnum<{
|
|
2119
|
+
none: "none";
|
|
2120
|
+
read: "read";
|
|
2121
|
+
"read-write": "read-write";
|
|
2122
|
+
}>;
|
|
2076
2123
|
egressPolicy: z.ZodObject<{
|
|
2077
2124
|
policyRevision: z.ZodString;
|
|
2078
2125
|
activity: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2231,6 +2278,11 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2231
2278
|
session_ref: z.ZodOptional<z.ZodString>;
|
|
2232
2279
|
seq: z.ZodNumber;
|
|
2233
2280
|
payload: z.ZodObject<{
|
|
2281
|
+
agentMemory: z.ZodEnum<{
|
|
2282
|
+
none: "none";
|
|
2283
|
+
read: "read";
|
|
2284
|
+
"read-write": "read-write";
|
|
2285
|
+
}>;
|
|
2234
2286
|
requestId: z.ZodUUID;
|
|
2235
2287
|
agentRef: z.ZodObject<{
|
|
2236
2288
|
agentId: z.ZodString;
|
|
@@ -2348,6 +2400,32 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2348
2400
|
ruledResidualKeys: z.ZodArray<z.ZodString>;
|
|
2349
2401
|
}, z.core.$strict>>;
|
|
2350
2402
|
}, z.core.$strict>;
|
|
2403
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2404
|
+
v: z.ZodNumber;
|
|
2405
|
+
id: z.ZodUUID;
|
|
2406
|
+
ts: z.ZodISODateTime;
|
|
2407
|
+
type: z.ZodLiteral<"provider.provisioning.available">;
|
|
2408
|
+
task_id: z.ZodOptional<z.ZodNever>;
|
|
2409
|
+
session_ref: z.ZodOptional<z.ZodString>;
|
|
2410
|
+
seq: z.ZodNumber;
|
|
2411
|
+
payload: z.ZodObject<{
|
|
2412
|
+
requestId: z.ZodUUID;
|
|
2413
|
+
}, z.core.$strict>;
|
|
2414
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2415
|
+
v: z.ZodNumber;
|
|
2416
|
+
id: z.ZodUUID;
|
|
2417
|
+
ts: z.ZodISODateTime;
|
|
2418
|
+
type: z.ZodLiteral<"agent.memory.intent.available">;
|
|
2419
|
+
task_id: z.ZodOptional<z.ZodNever>;
|
|
2420
|
+
session_ref: z.ZodOptional<z.ZodString>;
|
|
2421
|
+
seq: z.ZodNumber;
|
|
2422
|
+
payload: z.ZodObject<{
|
|
2423
|
+
intentId: z.ZodUUID;
|
|
2424
|
+
agentRef: z.ZodObject<{
|
|
2425
|
+
agentId: z.ZodString;
|
|
2426
|
+
profileRevision: z.ZodString;
|
|
2427
|
+
}, z.core.$strict>;
|
|
2428
|
+
}, z.core.$strict>;
|
|
2351
2429
|
}, z.core.$strip>, z.ZodObject<{
|
|
2352
2430
|
v: z.ZodNumber;
|
|
2353
2431
|
id: z.ZodUUID;
|
|
@@ -2524,6 +2602,12 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2524
2602
|
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2525
2603
|
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
2526
2604
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
2605
|
+
contextTokens: z.ZodOptional<z.ZodNumber>;
|
|
2606
|
+
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
2607
|
+
contextSource: z.ZodOptional<z.ZodEnum<{
|
|
2608
|
+
estimate: "estimate";
|
|
2609
|
+
provider: "provider";
|
|
2610
|
+
}>>;
|
|
2527
2611
|
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2528
2612
|
type: z.ZodString;
|
|
2529
2613
|
}, z.core.$loose>]>>;
|
|
@@ -2928,6 +3012,11 @@ export declare const InputPreparationCompletionRequestSchema: z.ZodDiscriminated
|
|
|
2928
3012
|
reserved: "reserved";
|
|
2929
3013
|
}>;
|
|
2930
3014
|
binding: z.ZodObject<{
|
|
3015
|
+
agentMemory: z.ZodEnum<{
|
|
3016
|
+
none: "none";
|
|
3017
|
+
read: "read";
|
|
3018
|
+
"read-write": "read-write";
|
|
3019
|
+
}>;
|
|
2931
3020
|
scopeId: z.ZodString;
|
|
2932
3021
|
deviceId: z.ZodString;
|
|
2933
3022
|
agentRef: z.ZodString;
|
|
@@ -3124,6 +3213,11 @@ export declare const InputPreparationReadbackSchema: z.ZodObject<{
|
|
|
3124
3213
|
reserved: "reserved";
|
|
3125
3214
|
}>;
|
|
3126
3215
|
binding: z.ZodObject<{
|
|
3216
|
+
agentMemory: z.ZodEnum<{
|
|
3217
|
+
none: "none";
|
|
3218
|
+
read: "read";
|
|
3219
|
+
"read-write": "read-write";
|
|
3220
|
+
}>;
|
|
3127
3221
|
scopeId: z.ZodString;
|
|
3128
3222
|
deviceId: z.ZodString;
|
|
3129
3223
|
agentRef: z.ZodString;
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,10 @@ export { PermissionPolicySchema, PERMISSION_MODES } from './permission';
|
|
|
7
7
|
export type { PermissionPolicy, PermissionMode } from './permission';
|
|
8
8
|
export { PROVIDER_PROFILE_BINDING_CAPABILITY, PROVIDER_MODEL_CAPABILITIES, ProviderProfileRefSchema, ProviderProfileRevisionSchema, ProviderProfileHashSchema, ProviderModelCapabilitySchema, ProviderProfileBindingSchema, } from './provider-profile-binding';
|
|
9
9
|
export type { ProviderProfileRef, ProviderProfileRevision, ProviderProfileHash, ProviderModelCapability, ProviderProfileBinding, } from './provider-profile-binding';
|
|
10
|
+
export { PROVIDER_PROVISIONING_CAPABILITY, PROVIDER_SECRET_SEALING_KEY_REGISTER_OPERATION, PROVIDER_PROVISIONING_OPERATIONS, PROVIDER_PROVISIONING_OPERATION_GENERATION_MAXIMUM, PROVIDER_PROVISIONING_REJECTION_CODES, PROVIDER_PROVISIONING_HOST_TERMINAL_CODES, PROVIDER_PROVISIONING_DISPOSITIONS, PROVIDER_PROVISIONING_KEY_CHECK_RESULTS, ProviderProvisioningAvailablePayloadSchema, ProviderProvisioningKeyCheckResultSchema, ProviderProvisioningKeyCheckSchema, ProviderProvisioningOperationSchema, ProviderProvisioningOperationGenerationSchema, ProviderProvisioningOperationDigestSchema, ProviderProvisioningRejectionCodeSchema, ProviderProvisioningProviderStatusSchema, ProviderProvisioningCompletionSchema, ProviderProvisioningDispositionSchema, ProviderProvisioningReadbackSchema, } from './provider-provisioning';
|
|
11
|
+
export type { ProviderProvisioningAvailablePayload, ProviderProvisioningOperation, ProviderProvisioningOperationGeneration, ProviderProvisioningOperationDigest, ProviderProvisioningRejectionCode, ProviderProvisioningProviderStatus, ProviderProvisioningCompletion, ProviderProvisioningDisposition, ProviderProvisioningReadback, ProviderProvisioningKeyCheckResult, ProviderProvisioningKeyCheck, } from './provider-provisioning';
|
|
12
|
+
export { AGENT_MEMORY_INTENT_CAPABILITY, AGENT_MEMORY_INTENT_CONTENT_MAX_BYTES, AGENT_MEMORY_INTENT_PATH_MAX_BYTES, AGENT_MEMORY_INTENT_APPROVAL_REF_MAX_BYTES, AGENT_MEMORY_INTENT_OPERATIONS, AGENT_MEMORY_INTENT_HOST_TERMINAL_CODES, AGENT_MEMORY_INTENT_REJECTION_CODES, AGENT_MEMORY_INTENT_READBACK_DISPOSITIONS, AGENT_MEMORY_INTENT_RESERVATIONS, AGENT_MEMORY_INTENT_FETCH_DISPOSITIONS, AGENT_MEMORY_INTENT_FETCH_DISPOSITIONS_BY_RESERVATION, AgentMemoryIntentRevisionSchema, AgentMemoryIntentOperationDigestSchema, AgentMemoryIntentPathSchema, AgentMemoryIntentApprovalRefSchema, AgentMemoryIntentContentSchema, AgentMemoryIntentOperationSchema, AgentMemoryIntentV1Schema, AgentMemoryIntentHostTerminalCodeSchema, AgentMemoryIntentRejectionCodeSchema, AgentMemoryIntentFileObservationSchema, AgentMemoryIntentCompletionSchema, AgentMemoryIntentReadbackDispositionSchema, AgentMemoryIntentReadbackSchema, AgentMemoryIntentReservationSchema, AgentMemoryIntentFetchRequestSchema, AgentMemoryIntentFetchResponseSchema, agentMemoryIntentFetchResponseSchemaFor, } from './agent-memory-intent';
|
|
13
|
+
export type { AgentMemoryIntentRevision, AgentMemoryIntentOperationDigest, AgentMemoryIntentPath, AgentMemoryIntentApprovalRef, AgentMemoryIntentContent, AgentMemoryIntentOperation, AgentMemoryIntentV1, AgentMemoryIntentHostTerminalCode, AgentMemoryIntentRejectionCode, AgentMemoryIntentFileObservation, AgentMemoryIntentCompletion, AgentMemoryIntentReadbackDisposition, AgentMemoryIntentReadback, AgentMemoryIntentReservation, AgentMemoryIntentFetchRequest, AgentMemoryIntentFetchDisposition, AgentMemoryIntentFetchResponse, } from './agent-memory-intent';
|
|
10
14
|
export { AgentEventSchema, AgentEventSpillSchema, AGENT_EVENT_SPILL_UNSTORED_REASON_MAX_LENGTH, UnknownAgentEventSchema, AgentEventOrUnknownSchema, KNOWN_AGENT_EVENT_TYPES, isKnownAgentEvent, partitionAgentEvents, } from './agent-event';
|
|
11
15
|
export type { AgentEvent, AgentEventSpill, UnknownAgentEvent, AgentEventOrUnknown } from './agent-event';
|
|
12
16
|
export { AgentEgressPolicySchema, AgentEgressActivityPolicySchema, AgentReliableQuotaPolicySchema, ContentReadPolicySchema, AgentEgressLaneSchema, AgentEgressDropReasonSchema, AgentContentReadSurfaceSchema, AgentContentActorKindSchema, AgentContentActorSchema, AgentContentDecodeAsSchema, AgentContentMimeTypeSchema, AgentContentReadDecisionSchema, AgentContentReadDenialReasonSchema, AgentEgressContentHashSchema, AgentEgressPolicyRevisionSchema, AgentMessageContractSchema, AgentMessageContentTypeSchema, AgentMessageDestinationBindingSchema, AgentMessageFreshnessCursorSchema, AgentMessageServerContextSchema, AgentMessageEgressRequirementSchema, AGENT_MESSAGE_MAX_BYTES, AGENT_MESSAGE_EGRESS_CAPABILITY, AGENT_EGRESS_POLICY_CAPABILITY, AGENT_EGRESS_RELIABLE_ACK_CAPABILITY, AGENT_EGRESS_FRESH_SESSION_CAPABILITY, AGENT_CONTENT_WORKSPACE_READ_CAPABILITY, AGENT_CONTENT_TRANSCRIPT_READ_CAPABILITY, AGENT_CONTENT_ARTIFACT_READ_CAPABILITY, } from './agent-egress';
|
|
@@ -22,8 +26,8 @@ export { TERMINAL_PROJECTION_SELECTION_CAPABILITY, TerminalProjectionContractSch
|
|
|
22
26
|
export type { TerminalProjectionSelection } from './terminal-projection';
|
|
23
27
|
export { TASK_STATES, TASK_TRANSITIONS, canTransition } from './task-state';
|
|
24
28
|
export type { TaskState } from './task-state';
|
|
25
|
-
export { MESSAGE_TYPES, TASK_OFFER_TYPES, isTaskOfferType, MESSAGE_PAYLOAD_SCHEMAS, SERVER_TO_DAEMON_TYPES, DAEMON_TO_SERVER_TYPES, RuntimeIdSchema, ProtocolVersionNumberSchema, RuntimeInfoSchema, HarnessIdSchema, HarnessInfoSchema, HarnessInventorySchema, RuntimeCapabilitiesSchema, AgentRefSchema, AgentHomeProjectionAgentRefSchema, AGENT_REF_MAX_BYTES, DispatchSelectionSchema, ToolsetIdSchema, ConfiguredToolsetsSchema, RequiredToolsetsSchema, CONFIGURED_TOOLSETS_MAX_ITEMS, ConnHelloPayloadSchema, ConnAckPayloadSchema, TaskOfferPayloadSchema, TaskOfferWithToolsetsPayloadSchema, TaskOfferForAgentPayloadSchema, TaskOfferForAgentWithEgressPayloadSchema, TaskOfferForAgentWithEgressFreshPayloadSchema, TaskOfferPreparedPayloadSchema, AgentEgressReliablePayloadSchema, AgentEgressAckPayloadSchema, AgentMessagePublishPayloadSchema, AgentMessageDispositionPayloadSchema, AgentContentReadPayloadSchema, AgentContentReceiptPayloadSchema, AgentHomeProjectionPayloadSchema, AgentInputPreparationPayloadSchema, TaskApprovePayloadSchema, TaskRejectPayloadSchema, TaskCancelPayloadSchema, TaskSteerPayloadSchema, TaskClaimPayloadSchema, TaskStartedPayloadSchema, TaskDeclinePayloadSchema, TaskProgressPayloadSchema, TaskArtifactPayloadSchema, TaskAwaitApprovalPayloadSchema, TaskCompletePayloadSchema, TaskFailPayloadSchema, TaskCancelledPayloadSchema, TaskApprovalResolvedPayloadSchema, RESULT_DOCUMENT_MAX_BYTES, checkResultDocument, TerminalInferenceUsageSchema, TerminalPreparedObservationSchema, TERMINAL_INFERENCE_USAGE_MAX_TOKENS, TERMINAL_INFERENCE_USAGE_MAX_DURATION_MS, TERMINAL_INFERENCE_USAGE_PROVIDER_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_MODEL_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_CLIENT_VERSION_MAX_LENGTH, } from './messages';
|
|
26
|
-
export type { ResultDocumentCheck, MessageType, RuntimeId, RuntimeInfo, RuntimeCapabilities, AgentRef, AgentHomeProjectionAgentRef, DispatchSelection, ToolsetId, ConnHelloPayload, ConnAckPayload, TaskOfferPayload, TaskOfferWithToolsetsPayload, TaskOfferForAgentPayload, TaskOfferForAgentWithEgressPayload, TaskOfferForAgentWithEgressFreshPayload, TaskOfferPreparedPayload, AgentEgressReliablePayload, AgentEgressAckPayload, AgentMessagePublishPayload, AgentMessageDispositionPayload, AgentContentReadPayload, AgentContentReceiptPayload, AgentHomeProjectionPayload, AgentInputPreparationPayload, TaskApprovePayload, TaskRejectPayload, TaskCancelPayload, TaskSteerPayload, TaskClaimPayload, TaskStartedPayload, TaskDeclinePayload, TaskProgressPayload, TaskArtifactPayload, TaskAwaitApprovalPayload, TaskCompletePayload, TaskFailPayload, TaskCancelledPayload, TaskApprovalResolvedPayload, TerminalInferenceUsage, TerminalPreparedObservation, } from './messages';
|
|
29
|
+
export { MESSAGE_TYPES, TASK_OFFER_TYPES, isTaskOfferType, MESSAGE_PAYLOAD_SCHEMAS, SERVER_TO_DAEMON_TYPES, DAEMON_TO_SERVER_TYPES, RuntimeIdSchema, ProtocolVersionNumberSchema, RuntimeInfoSchema, HarnessIdSchema, HarnessInfoSchema, HarnessInventorySchema, RuntimeCapabilitiesSchema, AgentRefSchema, AgentHomeProjectionAgentRefSchema, AGENT_REF_MAX_BYTES, DispatchSelectionSchema, ToolsetIdSchema, ConfiguredToolsetsSchema, RequiredToolsetsSchema, CONFIGURED_TOOLSETS_MAX_ITEMS, ConnHelloPayloadSchema, ConnAckPayloadSchema, TaskOfferPayloadSchema, TaskOfferWithToolsetsPayloadSchema, TaskOfferForAgentPayloadSchema, TaskOfferForAgentWithEgressPayloadSchema, TaskOfferForAgentWithEgressFreshPayloadSchema, TaskOfferPreparedPayloadSchema, AgentEgressReliablePayloadSchema, AgentEgressAckPayloadSchema, AgentMessagePublishPayloadSchema, AgentMessageDispositionPayloadSchema, AgentContentReadPayloadSchema, AgentContentReceiptPayloadSchema, AgentHomeProjectionPayloadSchema, AgentMemoryIntentAvailablePayloadSchema, AgentInputPreparationPayloadSchema, TaskApprovePayloadSchema, TaskRejectPayloadSchema, TaskCancelPayloadSchema, TaskSteerPayloadSchema, TaskClaimPayloadSchema, TaskStartedPayloadSchema, TaskDeclinePayloadSchema, TaskProgressPayloadSchema, TaskArtifactPayloadSchema, TaskAwaitApprovalPayloadSchema, TaskCompletePayloadSchema, TaskFailPayloadSchema, TaskCancelledPayloadSchema, TaskApprovalResolvedPayloadSchema, RESULT_DOCUMENT_MAX_BYTES, checkResultDocument, TerminalInferenceUsageSchema, TerminalPreparedObservationSchema, TERMINAL_INFERENCE_USAGE_MAX_TOKENS, TERMINAL_INFERENCE_USAGE_MAX_DURATION_MS, TERMINAL_INFERENCE_USAGE_PROVIDER_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_MODEL_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_CLIENT_VERSION_MAX_LENGTH, } from './messages';
|
|
30
|
+
export type { ResultDocumentCheck, MessageType, RuntimeId, RuntimeInfo, RuntimeCapabilities, AgentRef, AgentHomeProjectionAgentRef, DispatchSelection, ToolsetId, ConnHelloPayload, ConnAckPayload, TaskOfferPayload, TaskOfferWithToolsetsPayload, TaskOfferForAgentPayload, TaskOfferForAgentWithEgressPayload, TaskOfferForAgentWithEgressFreshPayload, TaskOfferPreparedPayload, AgentEgressReliablePayload, AgentEgressAckPayload, AgentMessagePublishPayload, AgentMessageDispositionPayload, AgentContentReadPayload, AgentContentReceiptPayload, AgentHomeProjectionPayload, AgentMemoryIntentAvailablePayload, AgentInputPreparationPayload, TaskApprovePayload, TaskRejectPayload, TaskCancelPayload, TaskSteerPayload, TaskClaimPayload, TaskStartedPayload, TaskDeclinePayload, TaskProgressPayload, TaskArtifactPayload, TaskAwaitApprovalPayload, TaskCompletePayload, TaskFailPayload, TaskCancelledPayload, TaskApprovalResolvedPayload, TerminalInferenceUsage, TerminalPreparedObservation, } from './messages';
|
|
27
31
|
export { EnvelopeSchema, isServerToDaemonType } from './envelope';
|
|
28
32
|
export type { Envelope } from './envelope';
|
|
29
33
|
export { ProtocolError, EnvelopeParseError, UnknownMessageTypeError, EnvelopeValidationError, } from './errors';
|
|
@@ -34,3 +38,4 @@ export type { PairRequest, PairResponse, ChallengeRequest, ChallengeResponse, To
|
|
|
34
38
|
export type { TaskOfferType } from './messages';
|
|
35
39
|
export type { HarnessId, HarnessInfo } from './messages';
|
|
36
40
|
export { CUSTOM_HARNESS_CAPABILITY } from './version';
|
|
41
|
+
export { PreparedAgentMemoryModeSchema, type PreparedAgentMemoryMode } from './input-preparation';
|