@byok-sdk/protocol 0.17.0 → 0.19.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/dist/codec.d.ts +8 -0
- package/dist/envelope.d.ts +200 -0
- package/dist/http-api.d.ts +787 -0
- package/dist/index.d.ts +7 -4
- package/dist/index.js +434 -10
- package/dist/index.js.map +1 -1
- package/dist/input-preparation.d.ts +939 -0
- package/dist/messages.d.ts +486 -1
- package/dist/task-assertion.d.ts +30 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/http-api.d.ts
CHANGED
|
@@ -622,6 +622,80 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
622
622
|
maxBytes: z.ZodNumber;
|
|
623
623
|
}, z.core.$strict>>;
|
|
624
624
|
}, z.core.$strict>;
|
|
625
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
626
|
+
v: z.ZodNumber;
|
|
627
|
+
id: z.ZodUUID;
|
|
628
|
+
ts: z.ZodISODateTime;
|
|
629
|
+
type: z.ZodLiteral<"task.offer_prepared">;
|
|
630
|
+
task_id: z.ZodString;
|
|
631
|
+
session_ref: z.ZodOptional<z.ZodString>;
|
|
632
|
+
seq: z.ZodNumber;
|
|
633
|
+
payload: z.ZodObject<{
|
|
634
|
+
policy: z.ZodObject<{
|
|
635
|
+
mode: z.ZodEnum<{
|
|
636
|
+
auto: "auto";
|
|
637
|
+
confirm: "confirm";
|
|
638
|
+
plan: "plan";
|
|
639
|
+
readonly: "readonly";
|
|
640
|
+
}>;
|
|
641
|
+
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
642
|
+
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
643
|
+
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
644
|
+
network: z.ZodOptional<z.ZodBoolean>;
|
|
645
|
+
}, z.core.$strict>;
|
|
646
|
+
agentRef: z.ZodObject<{
|
|
647
|
+
agentId: z.ZodString;
|
|
648
|
+
profileRevision: z.ZodString;
|
|
649
|
+
}, z.core.$strict>;
|
|
650
|
+
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
651
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
652
|
+
claude: "claude";
|
|
653
|
+
codex: "codex";
|
|
654
|
+
pi: "pi";
|
|
655
|
+
}>>;
|
|
656
|
+
harnessId: z.ZodOptional<z.ZodString>;
|
|
657
|
+
dispatchSelection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
658
|
+
lane: z.ZodLiteral<"subscription">;
|
|
659
|
+
runtimeId: z.ZodEnum<{
|
|
660
|
+
claude: "claude";
|
|
661
|
+
codex: "codex";
|
|
662
|
+
}>;
|
|
663
|
+
providerId: z.ZodNull;
|
|
664
|
+
modelId: z.ZodString;
|
|
665
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
666
|
+
lane: z.ZodLiteral<"byok">;
|
|
667
|
+
runtimeId: z.ZodLiteral<"pi">;
|
|
668
|
+
providerId: z.ZodString;
|
|
669
|
+
modelId: z.ZodString;
|
|
670
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
671
|
+
lane: z.ZodLiteral<"byok-profile">;
|
|
672
|
+
runtimeId: z.ZodLiteral<"pi">;
|
|
673
|
+
providerProfile: z.ZodObject<{
|
|
674
|
+
profileRef: z.ZodString;
|
|
675
|
+
profileRevision: z.ZodString;
|
|
676
|
+
profileHash: z.ZodString;
|
|
677
|
+
modelId: z.ZodString;
|
|
678
|
+
requiredCapabilities: z.ZodArray<z.ZodEnum<{
|
|
679
|
+
"image-input": "image-input";
|
|
680
|
+
}>>;
|
|
681
|
+
}, z.core.$strict>;
|
|
682
|
+
}, z.core.$strict>], "lane">>;
|
|
683
|
+
terminalProjection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
684
|
+
mode: z.ZodLiteral<"none">;
|
|
685
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
686
|
+
mode: z.ZodLiteral<"result-document">;
|
|
687
|
+
contract: z.ZodString;
|
|
688
|
+
}, z.core.$strict>], "mode">>;
|
|
689
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
690
|
+
maxDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
691
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
692
|
+
}, z.core.$strip>>;
|
|
693
|
+
preparation: z.ZodObject<{
|
|
694
|
+
reference: z.ZodString;
|
|
695
|
+
requestDigest: z.ZodString;
|
|
696
|
+
artifactDigest: z.ZodOptional<z.ZodString>;
|
|
697
|
+
}, z.core.$strict>;
|
|
698
|
+
}, z.core.$strict>;
|
|
625
699
|
}, z.core.$strip>, z.ZodObject<{
|
|
626
700
|
v: z.ZodNumber;
|
|
627
701
|
id: z.ZodUUID;
|
|
@@ -730,6 +804,132 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
730
804
|
projectionHash: z.ZodString;
|
|
731
805
|
projection: z.ZodType<import("./agent-home-projection").AgentHomeProjectionValue, unknown, z.core.$ZodTypeInternals<import("./agent-home-projection").AgentHomeProjectionValue, unknown>>;
|
|
732
806
|
}, z.core.$strict>;
|
|
807
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
808
|
+
v: z.ZodNumber;
|
|
809
|
+
id: z.ZodUUID;
|
|
810
|
+
ts: z.ZodISODateTime;
|
|
811
|
+
type: z.ZodLiteral<"agent.input.preparation">;
|
|
812
|
+
task_id: z.ZodOptional<z.ZodNever>;
|
|
813
|
+
session_ref: z.ZodOptional<z.ZodString>;
|
|
814
|
+
seq: z.ZodNumber;
|
|
815
|
+
payload: z.ZodObject<{
|
|
816
|
+
requestId: z.ZodUUID;
|
|
817
|
+
agentRef: z.ZodObject<{
|
|
818
|
+
agentId: z.ZodString;
|
|
819
|
+
profileRevision: z.ZodString;
|
|
820
|
+
}, z.core.$strict>;
|
|
821
|
+
profileId: z.ZodString;
|
|
822
|
+
policyRevision: z.ZodString;
|
|
823
|
+
source: z.ZodObject<{
|
|
824
|
+
revision: z.ZodString;
|
|
825
|
+
digest: z.ZodString;
|
|
826
|
+
}, z.core.$strict>;
|
|
827
|
+
selection: z.ZodObject<{
|
|
828
|
+
model: z.ZodObject<{
|
|
829
|
+
id: z.ZodString;
|
|
830
|
+
name: z.ZodString;
|
|
831
|
+
api: z.ZodLiteral<"openai-completions">;
|
|
832
|
+
provider: z.ZodString;
|
|
833
|
+
baseUrl: z.ZodString;
|
|
834
|
+
reasoning: z.ZodBoolean;
|
|
835
|
+
input: z.ZodArray<z.ZodEnum<{
|
|
836
|
+
image: "image";
|
|
837
|
+
text: "text";
|
|
838
|
+
}>>;
|
|
839
|
+
cost: z.ZodObject<{
|
|
840
|
+
input: z.ZodNumber;
|
|
841
|
+
output: z.ZodNumber;
|
|
842
|
+
cacheRead: z.ZodNumber;
|
|
843
|
+
cacheWrite: z.ZodNumber;
|
|
844
|
+
}, z.core.$strict>;
|
|
845
|
+
contextWindow: z.ZodNumber;
|
|
846
|
+
maxTokens: z.ZodNumber;
|
|
847
|
+
thinkingLevelMap: z.ZodOptional<z.ZodObject<{
|
|
848
|
+
off: z.ZodNullable<z.ZodString>;
|
|
849
|
+
minimal: z.ZodNullable<z.ZodString>;
|
|
850
|
+
low: z.ZodNullable<z.ZodString>;
|
|
851
|
+
medium: z.ZodNullable<z.ZodString>;
|
|
852
|
+
high: z.ZodNullable<z.ZodString>;
|
|
853
|
+
xhigh: z.ZodNullable<z.ZodString>;
|
|
854
|
+
max: z.ZodNullable<z.ZodString>;
|
|
855
|
+
}, z.core.$strict>>;
|
|
856
|
+
compat: z.ZodOptional<z.ZodObject<{
|
|
857
|
+
supportsStore: z.ZodOptional<z.ZodBoolean>;
|
|
858
|
+
supportsDeveloperRole: z.ZodOptional<z.ZodBoolean>;
|
|
859
|
+
supportsReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
860
|
+
supportsUsageInStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
861
|
+
maxTokensField: z.ZodOptional<z.ZodEnum<{
|
|
862
|
+
max_completion_tokens: "max_completion_tokens";
|
|
863
|
+
max_tokens: "max_tokens";
|
|
864
|
+
}>>;
|
|
865
|
+
thinkingFormat: z.ZodOptional<z.ZodEnum<{
|
|
866
|
+
"ant-ling": "ant-ling";
|
|
867
|
+
baseten: "baseten";
|
|
868
|
+
"chat-template": "chat-template";
|
|
869
|
+
deepseek: "deepseek";
|
|
870
|
+
openai: "openai";
|
|
871
|
+
openrouter: "openrouter";
|
|
872
|
+
qwen: "qwen";
|
|
873
|
+
"qwen-chat-template": "qwen-chat-template";
|
|
874
|
+
"string-thinking": "string-thinking";
|
|
875
|
+
together: "together";
|
|
876
|
+
zai: "zai";
|
|
877
|
+
}>>;
|
|
878
|
+
zaiToolStream: z.ZodOptional<z.ZodBoolean>;
|
|
879
|
+
}, z.core.$strict>>;
|
|
880
|
+
}, z.core.$strict>;
|
|
881
|
+
options: z.ZodObject<{
|
|
882
|
+
cacheRetention: z.ZodEnum<{
|
|
883
|
+
long: "long";
|
|
884
|
+
none: "none";
|
|
885
|
+
short: "short";
|
|
886
|
+
}>;
|
|
887
|
+
maxTokens: z.ZodNumber;
|
|
888
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
889
|
+
toolChoice: z.ZodOptional<z.ZodEnum<{
|
|
890
|
+
auto: "auto";
|
|
891
|
+
none: "none";
|
|
892
|
+
}>>;
|
|
893
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
894
|
+
high: "high";
|
|
895
|
+
low: "low";
|
|
896
|
+
max: "max";
|
|
897
|
+
medium: "medium";
|
|
898
|
+
minimal: "minimal";
|
|
899
|
+
xhigh: "xhigh";
|
|
900
|
+
}>>;
|
|
901
|
+
}, z.core.$strict>;
|
|
902
|
+
}, z.core.$strict>;
|
|
903
|
+
deadlineAt: z.ZodISODateTime;
|
|
904
|
+
context: z.ZodUnion<readonly [z.ZodObject<{
|
|
905
|
+
inline: z.ZodString;
|
|
906
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
907
|
+
blobRef: z.ZodObject<{
|
|
908
|
+
blobId: z.ZodString;
|
|
909
|
+
contentHash: z.ZodString;
|
|
910
|
+
size: z.ZodNumber;
|
|
911
|
+
contentType: z.ZodString;
|
|
912
|
+
url: z.ZodOptional<z.ZodString>;
|
|
913
|
+
}, z.core.$strip>;
|
|
914
|
+
contentHash: z.ZodString;
|
|
915
|
+
}, z.core.$strict>]>;
|
|
916
|
+
requiredToolsets: z.ZodArray<z.ZodString>;
|
|
917
|
+
permissionMode: z.ZodEnum<{
|
|
918
|
+
auto: "auto";
|
|
919
|
+
confirm: "confirm";
|
|
920
|
+
plan: "plan";
|
|
921
|
+
readonly: "readonly";
|
|
922
|
+
}>;
|
|
923
|
+
accountingPolicyRef: z.ZodOptional<z.ZodObject<{
|
|
924
|
+
revision: z.ZodString;
|
|
925
|
+
ruledRuntime: z.ZodString;
|
|
926
|
+
ruledTarget: z.ZodObject<{
|
|
927
|
+
endpoint: z.ZodString;
|
|
928
|
+
modelId: z.ZodString;
|
|
929
|
+
}, z.core.$strict>;
|
|
930
|
+
ruledResidualKeys: z.ZodArray<z.ZodString>;
|
|
931
|
+
}, z.core.$strict>>;
|
|
932
|
+
}, z.core.$strict>;
|
|
733
933
|
}, z.core.$strip>, z.ZodObject<{
|
|
734
934
|
v: z.ZodNumber;
|
|
735
935
|
id: z.ZodUUID;
|
|
@@ -1750,6 +1950,80 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1750
1950
|
maxBytes: z.ZodNumber;
|
|
1751
1951
|
}, z.core.$strict>>;
|
|
1752
1952
|
}, z.core.$strict>;
|
|
1953
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1954
|
+
v: z.ZodNumber;
|
|
1955
|
+
id: z.ZodUUID;
|
|
1956
|
+
ts: z.ZodISODateTime;
|
|
1957
|
+
type: z.ZodLiteral<"task.offer_prepared">;
|
|
1958
|
+
task_id: z.ZodString;
|
|
1959
|
+
session_ref: z.ZodOptional<z.ZodString>;
|
|
1960
|
+
seq: z.ZodNumber;
|
|
1961
|
+
payload: z.ZodObject<{
|
|
1962
|
+
policy: z.ZodObject<{
|
|
1963
|
+
mode: z.ZodEnum<{
|
|
1964
|
+
auto: "auto";
|
|
1965
|
+
confirm: "confirm";
|
|
1966
|
+
plan: "plan";
|
|
1967
|
+
readonly: "readonly";
|
|
1968
|
+
}>;
|
|
1969
|
+
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1970
|
+
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1971
|
+
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
1972
|
+
network: z.ZodOptional<z.ZodBoolean>;
|
|
1973
|
+
}, z.core.$strict>;
|
|
1974
|
+
agentRef: z.ZodObject<{
|
|
1975
|
+
agentId: z.ZodString;
|
|
1976
|
+
profileRevision: z.ZodString;
|
|
1977
|
+
}, z.core.$strict>;
|
|
1978
|
+
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1979
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1980
|
+
claude: "claude";
|
|
1981
|
+
codex: "codex";
|
|
1982
|
+
pi: "pi";
|
|
1983
|
+
}>>;
|
|
1984
|
+
harnessId: z.ZodOptional<z.ZodString>;
|
|
1985
|
+
dispatchSelection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1986
|
+
lane: z.ZodLiteral<"subscription">;
|
|
1987
|
+
runtimeId: z.ZodEnum<{
|
|
1988
|
+
claude: "claude";
|
|
1989
|
+
codex: "codex";
|
|
1990
|
+
}>;
|
|
1991
|
+
providerId: z.ZodNull;
|
|
1992
|
+
modelId: z.ZodString;
|
|
1993
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1994
|
+
lane: z.ZodLiteral<"byok">;
|
|
1995
|
+
runtimeId: z.ZodLiteral<"pi">;
|
|
1996
|
+
providerId: z.ZodString;
|
|
1997
|
+
modelId: z.ZodString;
|
|
1998
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1999
|
+
lane: z.ZodLiteral<"byok-profile">;
|
|
2000
|
+
runtimeId: z.ZodLiteral<"pi">;
|
|
2001
|
+
providerProfile: z.ZodObject<{
|
|
2002
|
+
profileRef: z.ZodString;
|
|
2003
|
+
profileRevision: z.ZodString;
|
|
2004
|
+
profileHash: z.ZodString;
|
|
2005
|
+
modelId: z.ZodString;
|
|
2006
|
+
requiredCapabilities: z.ZodArray<z.ZodEnum<{
|
|
2007
|
+
"image-input": "image-input";
|
|
2008
|
+
}>>;
|
|
2009
|
+
}, z.core.$strict>;
|
|
2010
|
+
}, z.core.$strict>], "lane">>;
|
|
2011
|
+
terminalProjection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2012
|
+
mode: z.ZodLiteral<"none">;
|
|
2013
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2014
|
+
mode: z.ZodLiteral<"result-document">;
|
|
2015
|
+
contract: z.ZodString;
|
|
2016
|
+
}, z.core.$strict>], "mode">>;
|
|
2017
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
2018
|
+
maxDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
2019
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
2020
|
+
}, z.core.$strip>>;
|
|
2021
|
+
preparation: z.ZodObject<{
|
|
2022
|
+
reference: z.ZodString;
|
|
2023
|
+
requestDigest: z.ZodString;
|
|
2024
|
+
artifactDigest: z.ZodOptional<z.ZodString>;
|
|
2025
|
+
}, z.core.$strict>;
|
|
2026
|
+
}, z.core.$strict>;
|
|
1753
2027
|
}, z.core.$strip>, z.ZodObject<{
|
|
1754
2028
|
v: z.ZodNumber;
|
|
1755
2029
|
id: z.ZodUUID;
|
|
@@ -1858,6 +2132,132 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1858
2132
|
projectionHash: z.ZodString;
|
|
1859
2133
|
projection: z.ZodType<import("./agent-home-projection").AgentHomeProjectionValue, unknown, z.core.$ZodTypeInternals<import("./agent-home-projection").AgentHomeProjectionValue, unknown>>;
|
|
1860
2134
|
}, z.core.$strict>;
|
|
2135
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2136
|
+
v: z.ZodNumber;
|
|
2137
|
+
id: z.ZodUUID;
|
|
2138
|
+
ts: z.ZodISODateTime;
|
|
2139
|
+
type: z.ZodLiteral<"agent.input.preparation">;
|
|
2140
|
+
task_id: z.ZodOptional<z.ZodNever>;
|
|
2141
|
+
session_ref: z.ZodOptional<z.ZodString>;
|
|
2142
|
+
seq: z.ZodNumber;
|
|
2143
|
+
payload: z.ZodObject<{
|
|
2144
|
+
requestId: z.ZodUUID;
|
|
2145
|
+
agentRef: z.ZodObject<{
|
|
2146
|
+
agentId: z.ZodString;
|
|
2147
|
+
profileRevision: z.ZodString;
|
|
2148
|
+
}, z.core.$strict>;
|
|
2149
|
+
profileId: z.ZodString;
|
|
2150
|
+
policyRevision: z.ZodString;
|
|
2151
|
+
source: z.ZodObject<{
|
|
2152
|
+
revision: z.ZodString;
|
|
2153
|
+
digest: z.ZodString;
|
|
2154
|
+
}, z.core.$strict>;
|
|
2155
|
+
selection: z.ZodObject<{
|
|
2156
|
+
model: z.ZodObject<{
|
|
2157
|
+
id: z.ZodString;
|
|
2158
|
+
name: z.ZodString;
|
|
2159
|
+
api: z.ZodLiteral<"openai-completions">;
|
|
2160
|
+
provider: z.ZodString;
|
|
2161
|
+
baseUrl: z.ZodString;
|
|
2162
|
+
reasoning: z.ZodBoolean;
|
|
2163
|
+
input: z.ZodArray<z.ZodEnum<{
|
|
2164
|
+
image: "image";
|
|
2165
|
+
text: "text";
|
|
2166
|
+
}>>;
|
|
2167
|
+
cost: z.ZodObject<{
|
|
2168
|
+
input: z.ZodNumber;
|
|
2169
|
+
output: z.ZodNumber;
|
|
2170
|
+
cacheRead: z.ZodNumber;
|
|
2171
|
+
cacheWrite: z.ZodNumber;
|
|
2172
|
+
}, z.core.$strict>;
|
|
2173
|
+
contextWindow: z.ZodNumber;
|
|
2174
|
+
maxTokens: z.ZodNumber;
|
|
2175
|
+
thinkingLevelMap: z.ZodOptional<z.ZodObject<{
|
|
2176
|
+
off: z.ZodNullable<z.ZodString>;
|
|
2177
|
+
minimal: z.ZodNullable<z.ZodString>;
|
|
2178
|
+
low: z.ZodNullable<z.ZodString>;
|
|
2179
|
+
medium: z.ZodNullable<z.ZodString>;
|
|
2180
|
+
high: z.ZodNullable<z.ZodString>;
|
|
2181
|
+
xhigh: z.ZodNullable<z.ZodString>;
|
|
2182
|
+
max: z.ZodNullable<z.ZodString>;
|
|
2183
|
+
}, z.core.$strict>>;
|
|
2184
|
+
compat: z.ZodOptional<z.ZodObject<{
|
|
2185
|
+
supportsStore: z.ZodOptional<z.ZodBoolean>;
|
|
2186
|
+
supportsDeveloperRole: z.ZodOptional<z.ZodBoolean>;
|
|
2187
|
+
supportsReasoningEffort: z.ZodOptional<z.ZodBoolean>;
|
|
2188
|
+
supportsUsageInStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2189
|
+
maxTokensField: z.ZodOptional<z.ZodEnum<{
|
|
2190
|
+
max_completion_tokens: "max_completion_tokens";
|
|
2191
|
+
max_tokens: "max_tokens";
|
|
2192
|
+
}>>;
|
|
2193
|
+
thinkingFormat: z.ZodOptional<z.ZodEnum<{
|
|
2194
|
+
"ant-ling": "ant-ling";
|
|
2195
|
+
baseten: "baseten";
|
|
2196
|
+
"chat-template": "chat-template";
|
|
2197
|
+
deepseek: "deepseek";
|
|
2198
|
+
openai: "openai";
|
|
2199
|
+
openrouter: "openrouter";
|
|
2200
|
+
qwen: "qwen";
|
|
2201
|
+
"qwen-chat-template": "qwen-chat-template";
|
|
2202
|
+
"string-thinking": "string-thinking";
|
|
2203
|
+
together: "together";
|
|
2204
|
+
zai: "zai";
|
|
2205
|
+
}>>;
|
|
2206
|
+
zaiToolStream: z.ZodOptional<z.ZodBoolean>;
|
|
2207
|
+
}, z.core.$strict>>;
|
|
2208
|
+
}, z.core.$strict>;
|
|
2209
|
+
options: z.ZodObject<{
|
|
2210
|
+
cacheRetention: z.ZodEnum<{
|
|
2211
|
+
long: "long";
|
|
2212
|
+
none: "none";
|
|
2213
|
+
short: "short";
|
|
2214
|
+
}>;
|
|
2215
|
+
maxTokens: z.ZodNumber;
|
|
2216
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
2217
|
+
toolChoice: z.ZodOptional<z.ZodEnum<{
|
|
2218
|
+
auto: "auto";
|
|
2219
|
+
none: "none";
|
|
2220
|
+
}>>;
|
|
2221
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
2222
|
+
high: "high";
|
|
2223
|
+
low: "low";
|
|
2224
|
+
max: "max";
|
|
2225
|
+
medium: "medium";
|
|
2226
|
+
minimal: "minimal";
|
|
2227
|
+
xhigh: "xhigh";
|
|
2228
|
+
}>>;
|
|
2229
|
+
}, z.core.$strict>;
|
|
2230
|
+
}, z.core.$strict>;
|
|
2231
|
+
deadlineAt: z.ZodISODateTime;
|
|
2232
|
+
context: z.ZodUnion<readonly [z.ZodObject<{
|
|
2233
|
+
inline: z.ZodString;
|
|
2234
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2235
|
+
blobRef: z.ZodObject<{
|
|
2236
|
+
blobId: z.ZodString;
|
|
2237
|
+
contentHash: z.ZodString;
|
|
2238
|
+
size: z.ZodNumber;
|
|
2239
|
+
contentType: z.ZodString;
|
|
2240
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2241
|
+
}, z.core.$strip>;
|
|
2242
|
+
contentHash: z.ZodString;
|
|
2243
|
+
}, z.core.$strict>]>;
|
|
2244
|
+
requiredToolsets: z.ZodArray<z.ZodString>;
|
|
2245
|
+
permissionMode: z.ZodEnum<{
|
|
2246
|
+
auto: "auto";
|
|
2247
|
+
confirm: "confirm";
|
|
2248
|
+
plan: "plan";
|
|
2249
|
+
readonly: "readonly";
|
|
2250
|
+
}>;
|
|
2251
|
+
accountingPolicyRef: z.ZodOptional<z.ZodObject<{
|
|
2252
|
+
revision: z.ZodString;
|
|
2253
|
+
ruledRuntime: z.ZodString;
|
|
2254
|
+
ruledTarget: z.ZodObject<{
|
|
2255
|
+
endpoint: z.ZodString;
|
|
2256
|
+
modelId: z.ZodString;
|
|
2257
|
+
}, z.core.$strict>;
|
|
2258
|
+
ruledResidualKeys: z.ZodArray<z.ZodString>;
|
|
2259
|
+
}, z.core.$strict>>;
|
|
2260
|
+
}, z.core.$strict>;
|
|
1861
2261
|
}, z.core.$strip>, z.ZodObject<{
|
|
1862
2262
|
v: z.ZodNumber;
|
|
1863
2263
|
id: z.ZodUUID;
|
|
@@ -2408,6 +2808,387 @@ export declare const AgentHomeProjectionReadbackSchema: z.ZodObject<{
|
|
|
2408
2808
|
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2409
2809
|
}, z.core.$strict>;
|
|
2410
2810
|
export type AgentHomeProjectionReadback = z.infer<typeof AgentHomeProjectionReadbackSchema>;
|
|
2811
|
+
export declare const InputPreparationCompletionRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2812
|
+
outcome: z.ZodLiteral<"prepared">;
|
|
2813
|
+
requestId: z.ZodUUID;
|
|
2814
|
+
agentRef: z.ZodObject<{
|
|
2815
|
+
agentId: z.ZodString;
|
|
2816
|
+
profileRevision: z.ZodString;
|
|
2817
|
+
}, z.core.$strict>;
|
|
2818
|
+
profileId: z.ZodString;
|
|
2819
|
+
policyRevision: z.ZodString;
|
|
2820
|
+
receipt: z.ZodObject<{
|
|
2821
|
+
reference: z.ZodString;
|
|
2822
|
+
state: z.ZodEnum<{
|
|
2823
|
+
cancelled: "cancelled";
|
|
2824
|
+
counted: "counted";
|
|
2825
|
+
counter_interrupted: "counter_interrupted";
|
|
2826
|
+
counting: "counting";
|
|
2827
|
+
failed: "failed";
|
|
2828
|
+
reserved: "reserved";
|
|
2829
|
+
}>;
|
|
2830
|
+
binding: z.ZodObject<{
|
|
2831
|
+
scopeId: z.ZodString;
|
|
2832
|
+
deviceId: z.ZodString;
|
|
2833
|
+
agentRef: z.ZodString;
|
|
2834
|
+
profileId: z.ZodString;
|
|
2835
|
+
profileRevision: z.ZodString;
|
|
2836
|
+
source: z.ZodObject<{
|
|
2837
|
+
revision: z.ZodString;
|
|
2838
|
+
digest: z.ZodString;
|
|
2839
|
+
}, z.core.$strict>;
|
|
2840
|
+
target: z.ZodObject<{
|
|
2841
|
+
endpoint: z.ZodString;
|
|
2842
|
+
modelId: z.ZodString;
|
|
2843
|
+
}, z.core.$strict>;
|
|
2844
|
+
policyRevision: z.ZodString;
|
|
2845
|
+
permissionMode: z.ZodEnum<{
|
|
2846
|
+
auto: "auto";
|
|
2847
|
+
confirm: "confirm";
|
|
2848
|
+
plan: "plan";
|
|
2849
|
+
readonly: "readonly";
|
|
2850
|
+
}>;
|
|
2851
|
+
runtime: z.ZodObject<{
|
|
2852
|
+
packageName: z.ZodString;
|
|
2853
|
+
packageVersion: z.ZodString;
|
|
2854
|
+
upstreamBase: z.ZodString;
|
|
2855
|
+
upstreamCommit: z.ZodString;
|
|
2856
|
+
forkBuild: z.ZodNumber;
|
|
2857
|
+
envelopeFormat: z.ZodString;
|
|
2858
|
+
requestFormat: z.ZodString;
|
|
2859
|
+
compilerVersion: z.ZodNumber;
|
|
2860
|
+
}, z.core.$strict>;
|
|
2861
|
+
requestDigest: z.ZodString;
|
|
2862
|
+
accountingPolicyRef: z.ZodOptional<z.ZodObject<{
|
|
2863
|
+
revision: z.ZodString;
|
|
2864
|
+
ruledRuntime: z.ZodString;
|
|
2865
|
+
ruledTarget: z.ZodObject<{
|
|
2866
|
+
endpoint: z.ZodString;
|
|
2867
|
+
modelId: z.ZodString;
|
|
2868
|
+
}, z.core.$strict>;
|
|
2869
|
+
ruledResidualKeys: z.ZodArray<z.ZodString>;
|
|
2870
|
+
}, z.core.$strict>>;
|
|
2871
|
+
}, z.core.$strict>;
|
|
2872
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
2873
|
+
requestDigest: z.ZodString;
|
|
2874
|
+
envelopeDigest: z.ZodString;
|
|
2875
|
+
toolManifestDigest: z.ZodString;
|
|
2876
|
+
requestBytes: z.ZodNumber;
|
|
2877
|
+
projectionBytes: z.ZodNumber;
|
|
2878
|
+
projection: z.ZodObject<{
|
|
2879
|
+
version: z.ZodLiteral<3>;
|
|
2880
|
+
kind: z.ZodEnum<{
|
|
2881
|
+
content_complete: "content_complete";
|
|
2882
|
+
unknown: "unknown";
|
|
2883
|
+
}>;
|
|
2884
|
+
digest: z.ZodString;
|
|
2885
|
+
}, z.core.$strict>;
|
|
2886
|
+
residual: z.ZodArray<z.ZodObject<{
|
|
2887
|
+
key: z.ZodString;
|
|
2888
|
+
valueClass: z.ZodEnum<{
|
|
2889
|
+
boolean: "boolean";
|
|
2890
|
+
bounded_integer: "bounded_integer";
|
|
2891
|
+
bounded_number: "bounded_number";
|
|
2892
|
+
closed_enum: "closed_enum";
|
|
2893
|
+
constant: "constant";
|
|
2894
|
+
finite_number: "finite_number";
|
|
2895
|
+
nonempty_string: "nonempty_string";
|
|
2896
|
+
object_shape: "object_shape";
|
|
2897
|
+
}>;
|
|
2898
|
+
}, z.core.$strict>>;
|
|
2899
|
+
observationDigest: z.ZodString;
|
|
2900
|
+
toolBindingDigest: z.ZodString;
|
|
2901
|
+
toolImplementationKinds: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2902
|
+
}, z.core.$strict>>;
|
|
2903
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
2904
|
+
method: z.ZodString;
|
|
2905
|
+
methodVersion: z.ZodString;
|
|
2906
|
+
authority: z.ZodEnum<{
|
|
2907
|
+
provider: "provider";
|
|
2908
|
+
test_fixture: "test_fixture";
|
|
2909
|
+
}>;
|
|
2910
|
+
kind: z.ZodEnum<{
|
|
2911
|
+
bound: "bound";
|
|
2912
|
+
count: "count";
|
|
2913
|
+
}>;
|
|
2914
|
+
value: z.ZodNumber;
|
|
2915
|
+
coverage: z.ZodObject<{
|
|
2916
|
+
covered: z.ZodBoolean;
|
|
2917
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2918
|
+
}, z.core.$strict>;
|
|
2919
|
+
providerEvidence: z.ZodObject<{
|
|
2920
|
+
projectionDigest: z.ZodString;
|
|
2921
|
+
endpoint: z.ZodString;
|
|
2922
|
+
modelId: z.ZodString;
|
|
2923
|
+
asserted: z.ZodObject<{
|
|
2924
|
+
httpStatus: z.ZodNumber;
|
|
2925
|
+
usageFields: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
2926
|
+
responseDigest: z.ZodString;
|
|
2927
|
+
}, z.core.$strict>;
|
|
2928
|
+
}, z.core.$strict>;
|
|
2929
|
+
target: z.ZodObject<{
|
|
2930
|
+
endpoint: z.ZodString;
|
|
2931
|
+
modelId: z.ZodString;
|
|
2932
|
+
}, z.core.$strict>;
|
|
2933
|
+
calledAt: z.ZodISODateTime;
|
|
2934
|
+
completedAt: z.ZodISODateTime;
|
|
2935
|
+
}, z.core.$strict>>;
|
|
2936
|
+
ready: z.ZodBoolean;
|
|
2937
|
+
readinessReasons: z.ZodArray<z.ZodEnum<{
|
|
2938
|
+
accounting_policy_inapplicable: "accounting_policy_inapplicable";
|
|
2939
|
+
accounting_policy_missing: "accounting_policy_missing";
|
|
2940
|
+
artifact_expired: "artifact_expired";
|
|
2941
|
+
cancelled: "cancelled";
|
|
2942
|
+
counter_authority_not_production: "counter_authority_not_production";
|
|
2943
|
+
counter_coverage_incomplete: "counter_coverage_incomplete";
|
|
2944
|
+
counter_interrupted: "counter_interrupted";
|
|
2945
|
+
counter_missing: "counter_missing";
|
|
2946
|
+
executor_identity_unproven: "executor_identity_unproven";
|
|
2947
|
+
failed: "failed";
|
|
2948
|
+
not_counted: "not_counted";
|
|
2949
|
+
projection_unknown: "projection_unknown";
|
|
2950
|
+
residual_not_ruled: "residual_not_ruled";
|
|
2951
|
+
runtime_contract_superseded: "runtime_contract_superseded";
|
|
2952
|
+
}>>;
|
|
2953
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
2954
|
+
artifactExpiresAt: z.ZodISODateTime;
|
|
2955
|
+
}, z.core.$strict>;
|
|
2956
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2957
|
+
outcome: z.ZodLiteral<"rejected">;
|
|
2958
|
+
requestId: z.ZodUUID;
|
|
2959
|
+
agentRef: z.ZodObject<{
|
|
2960
|
+
agentId: z.ZodString;
|
|
2961
|
+
profileRevision: z.ZodString;
|
|
2962
|
+
}, z.core.$strict>;
|
|
2963
|
+
profileId: z.ZodString;
|
|
2964
|
+
policyRevision: z.ZodString;
|
|
2965
|
+
reason: z.ZodEnum<{
|
|
2966
|
+
authority_unavailable: "authority_unavailable";
|
|
2967
|
+
bad_request: "bad_request";
|
|
2968
|
+
cancelled: "cancelled";
|
|
2969
|
+
context_hash_mismatch: "context_hash_mismatch";
|
|
2970
|
+
context_unresolvable: "context_unresolvable";
|
|
2971
|
+
counter_interrupted: "counter_interrupted";
|
|
2972
|
+
counter_unavailable: "counter_unavailable";
|
|
2973
|
+
deadline_elapsed: "deadline_elapsed";
|
|
2974
|
+
durable_write_failed: "durable_write_failed";
|
|
2975
|
+
input_preparation_unconfigured: "input_preparation_unconfigured";
|
|
2976
|
+
launch_boundary_unavailable: "launch_boundary_unavailable";
|
|
2977
|
+
limit_exceeded: "limit_exceeded";
|
|
2978
|
+
not_found: "not_found";
|
|
2979
|
+
observation_drift: "observation_drift";
|
|
2980
|
+
permission_mode_denied: "permission_mode_denied";
|
|
2981
|
+
policy_revision_mismatch: "policy_revision_mismatch";
|
|
2982
|
+
request_conflict: "request_conflict";
|
|
2983
|
+
rpc_frame_too_large: "rpc_frame_too_large";
|
|
2984
|
+
runtime_identity_unavailable: "runtime_identity_unavailable";
|
|
2985
|
+
scope_denied: "scope_denied";
|
|
2986
|
+
toolsets_unobservable: "toolsets_unobservable";
|
|
2987
|
+
unsupported_input: "unsupported_input";
|
|
2988
|
+
}>;
|
|
2989
|
+
}, z.core.$strict>], "outcome">;
|
|
2990
|
+
export type InputPreparationCompletionRequest = z.infer<typeof InputPreparationCompletionRequestSchema>;
|
|
2991
|
+
/** `pending` until the device records a terminal fact; the other two are terminal. */
|
|
2992
|
+
export declare const InputPreparationStatusSchema: z.ZodEnum<{
|
|
2993
|
+
pending: "pending";
|
|
2994
|
+
prepared: "prepared";
|
|
2995
|
+
rejected: "rejected";
|
|
2996
|
+
}>;
|
|
2997
|
+
export type InputPreparationStatus = z.infer<typeof InputPreparationStatusSchema>;
|
|
2998
|
+
/**
|
|
2999
|
+
* Tenant/device/request-bound durable readback. `receipt` and `reason` are
|
|
3000
|
+
* present only on their own terminal status, never together and never on
|
|
3001
|
+
* `pending`.
|
|
3002
|
+
*/
|
|
3003
|
+
export declare const InputPreparationReadbackSchema: z.ZodObject<{
|
|
3004
|
+
tenantId: z.ZodString;
|
|
3005
|
+
deviceId: z.ZodString;
|
|
3006
|
+
requestId: z.ZodUUID;
|
|
3007
|
+
agentRef: z.ZodObject<{
|
|
3008
|
+
agentId: z.ZodString;
|
|
3009
|
+
profileRevision: z.ZodString;
|
|
3010
|
+
}, z.core.$strict>;
|
|
3011
|
+
profileId: z.ZodString;
|
|
3012
|
+
policyRevision: z.ZodString;
|
|
3013
|
+
status: z.ZodEnum<{
|
|
3014
|
+
pending: "pending";
|
|
3015
|
+
prepared: "prepared";
|
|
3016
|
+
rejected: "rejected";
|
|
3017
|
+
}>;
|
|
3018
|
+
receipt: z.ZodOptional<z.ZodObject<{
|
|
3019
|
+
reference: z.ZodString;
|
|
3020
|
+
state: z.ZodEnum<{
|
|
3021
|
+
cancelled: "cancelled";
|
|
3022
|
+
counted: "counted";
|
|
3023
|
+
counter_interrupted: "counter_interrupted";
|
|
3024
|
+
counting: "counting";
|
|
3025
|
+
failed: "failed";
|
|
3026
|
+
reserved: "reserved";
|
|
3027
|
+
}>;
|
|
3028
|
+
binding: z.ZodObject<{
|
|
3029
|
+
scopeId: z.ZodString;
|
|
3030
|
+
deviceId: z.ZodString;
|
|
3031
|
+
agentRef: z.ZodString;
|
|
3032
|
+
profileId: z.ZodString;
|
|
3033
|
+
profileRevision: z.ZodString;
|
|
3034
|
+
source: z.ZodObject<{
|
|
3035
|
+
revision: z.ZodString;
|
|
3036
|
+
digest: z.ZodString;
|
|
3037
|
+
}, z.core.$strict>;
|
|
3038
|
+
target: z.ZodObject<{
|
|
3039
|
+
endpoint: z.ZodString;
|
|
3040
|
+
modelId: z.ZodString;
|
|
3041
|
+
}, z.core.$strict>;
|
|
3042
|
+
policyRevision: z.ZodString;
|
|
3043
|
+
permissionMode: z.ZodEnum<{
|
|
3044
|
+
auto: "auto";
|
|
3045
|
+
confirm: "confirm";
|
|
3046
|
+
plan: "plan";
|
|
3047
|
+
readonly: "readonly";
|
|
3048
|
+
}>;
|
|
3049
|
+
runtime: z.ZodObject<{
|
|
3050
|
+
packageName: z.ZodString;
|
|
3051
|
+
packageVersion: z.ZodString;
|
|
3052
|
+
upstreamBase: z.ZodString;
|
|
3053
|
+
upstreamCommit: z.ZodString;
|
|
3054
|
+
forkBuild: z.ZodNumber;
|
|
3055
|
+
envelopeFormat: z.ZodString;
|
|
3056
|
+
requestFormat: z.ZodString;
|
|
3057
|
+
compilerVersion: z.ZodNumber;
|
|
3058
|
+
}, z.core.$strict>;
|
|
3059
|
+
requestDigest: z.ZodString;
|
|
3060
|
+
accountingPolicyRef: z.ZodOptional<z.ZodObject<{
|
|
3061
|
+
revision: z.ZodString;
|
|
3062
|
+
ruledRuntime: z.ZodString;
|
|
3063
|
+
ruledTarget: z.ZodObject<{
|
|
3064
|
+
endpoint: z.ZodString;
|
|
3065
|
+
modelId: z.ZodString;
|
|
3066
|
+
}, z.core.$strict>;
|
|
3067
|
+
ruledResidualKeys: z.ZodArray<z.ZodString>;
|
|
3068
|
+
}, z.core.$strict>>;
|
|
3069
|
+
}, z.core.$strict>;
|
|
3070
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
3071
|
+
requestDigest: z.ZodString;
|
|
3072
|
+
envelopeDigest: z.ZodString;
|
|
3073
|
+
toolManifestDigest: z.ZodString;
|
|
3074
|
+
requestBytes: z.ZodNumber;
|
|
3075
|
+
projectionBytes: z.ZodNumber;
|
|
3076
|
+
projection: z.ZodObject<{
|
|
3077
|
+
version: z.ZodLiteral<3>;
|
|
3078
|
+
kind: z.ZodEnum<{
|
|
3079
|
+
content_complete: "content_complete";
|
|
3080
|
+
unknown: "unknown";
|
|
3081
|
+
}>;
|
|
3082
|
+
digest: z.ZodString;
|
|
3083
|
+
}, z.core.$strict>;
|
|
3084
|
+
residual: z.ZodArray<z.ZodObject<{
|
|
3085
|
+
key: z.ZodString;
|
|
3086
|
+
valueClass: z.ZodEnum<{
|
|
3087
|
+
boolean: "boolean";
|
|
3088
|
+
bounded_integer: "bounded_integer";
|
|
3089
|
+
bounded_number: "bounded_number";
|
|
3090
|
+
closed_enum: "closed_enum";
|
|
3091
|
+
constant: "constant";
|
|
3092
|
+
finite_number: "finite_number";
|
|
3093
|
+
nonempty_string: "nonempty_string";
|
|
3094
|
+
object_shape: "object_shape";
|
|
3095
|
+
}>;
|
|
3096
|
+
}, z.core.$strict>>;
|
|
3097
|
+
observationDigest: z.ZodString;
|
|
3098
|
+
toolBindingDigest: z.ZodString;
|
|
3099
|
+
toolImplementationKinds: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3100
|
+
}, z.core.$strict>>;
|
|
3101
|
+
counter: z.ZodOptional<z.ZodObject<{
|
|
3102
|
+
method: z.ZodString;
|
|
3103
|
+
methodVersion: z.ZodString;
|
|
3104
|
+
authority: z.ZodEnum<{
|
|
3105
|
+
provider: "provider";
|
|
3106
|
+
test_fixture: "test_fixture";
|
|
3107
|
+
}>;
|
|
3108
|
+
kind: z.ZodEnum<{
|
|
3109
|
+
bound: "bound";
|
|
3110
|
+
count: "count";
|
|
3111
|
+
}>;
|
|
3112
|
+
value: z.ZodNumber;
|
|
3113
|
+
coverage: z.ZodObject<{
|
|
3114
|
+
covered: z.ZodBoolean;
|
|
3115
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3116
|
+
}, z.core.$strict>;
|
|
3117
|
+
providerEvidence: z.ZodObject<{
|
|
3118
|
+
projectionDigest: z.ZodString;
|
|
3119
|
+
endpoint: z.ZodString;
|
|
3120
|
+
modelId: z.ZodString;
|
|
3121
|
+
asserted: z.ZodObject<{
|
|
3122
|
+
httpStatus: z.ZodNumber;
|
|
3123
|
+
usageFields: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
3124
|
+
responseDigest: z.ZodString;
|
|
3125
|
+
}, z.core.$strict>;
|
|
3126
|
+
}, z.core.$strict>;
|
|
3127
|
+
target: z.ZodObject<{
|
|
3128
|
+
endpoint: z.ZodString;
|
|
3129
|
+
modelId: z.ZodString;
|
|
3130
|
+
}, z.core.$strict>;
|
|
3131
|
+
calledAt: z.ZodISODateTime;
|
|
3132
|
+
completedAt: z.ZodISODateTime;
|
|
3133
|
+
}, z.core.$strict>>;
|
|
3134
|
+
ready: z.ZodBoolean;
|
|
3135
|
+
readinessReasons: z.ZodArray<z.ZodEnum<{
|
|
3136
|
+
accounting_policy_inapplicable: "accounting_policy_inapplicable";
|
|
3137
|
+
accounting_policy_missing: "accounting_policy_missing";
|
|
3138
|
+
artifact_expired: "artifact_expired";
|
|
3139
|
+
cancelled: "cancelled";
|
|
3140
|
+
counter_authority_not_production: "counter_authority_not_production";
|
|
3141
|
+
counter_coverage_incomplete: "counter_coverage_incomplete";
|
|
3142
|
+
counter_interrupted: "counter_interrupted";
|
|
3143
|
+
counter_missing: "counter_missing";
|
|
3144
|
+
executor_identity_unproven: "executor_identity_unproven";
|
|
3145
|
+
failed: "failed";
|
|
3146
|
+
not_counted: "not_counted";
|
|
3147
|
+
projection_unknown: "projection_unknown";
|
|
3148
|
+
residual_not_ruled: "residual_not_ruled";
|
|
3149
|
+
runtime_contract_superseded: "runtime_contract_superseded";
|
|
3150
|
+
}>>;
|
|
3151
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3152
|
+
artifactExpiresAt: z.ZodISODateTime;
|
|
3153
|
+
}, z.core.$strict>>;
|
|
3154
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
3155
|
+
authority_unavailable: "authority_unavailable";
|
|
3156
|
+
bad_request: "bad_request";
|
|
3157
|
+
cancelled: "cancelled";
|
|
3158
|
+
context_hash_mismatch: "context_hash_mismatch";
|
|
3159
|
+
context_unresolvable: "context_unresolvable";
|
|
3160
|
+
counter_interrupted: "counter_interrupted";
|
|
3161
|
+
counter_unavailable: "counter_unavailable";
|
|
3162
|
+
deadline_elapsed: "deadline_elapsed";
|
|
3163
|
+
durable_write_failed: "durable_write_failed";
|
|
3164
|
+
input_preparation_unconfigured: "input_preparation_unconfigured";
|
|
3165
|
+
launch_boundary_unavailable: "launch_boundary_unavailable";
|
|
3166
|
+
limit_exceeded: "limit_exceeded";
|
|
3167
|
+
not_found: "not_found";
|
|
3168
|
+
observation_drift: "observation_drift";
|
|
3169
|
+
permission_mode_denied: "permission_mode_denied";
|
|
3170
|
+
policy_revision_mismatch: "policy_revision_mismatch";
|
|
3171
|
+
request_conflict: "request_conflict";
|
|
3172
|
+
rpc_frame_too_large: "rpc_frame_too_large";
|
|
3173
|
+
runtime_identity_unavailable: "runtime_identity_unavailable";
|
|
3174
|
+
scope_denied: "scope_denied";
|
|
3175
|
+
toolsets_unobservable: "toolsets_unobservable";
|
|
3176
|
+
unsupported_input: "unsupported_input";
|
|
3177
|
+
}>>;
|
|
3178
|
+
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
3179
|
+
}, z.core.$strict>;
|
|
3180
|
+
export type InputPreparationReadback = z.infer<typeof InputPreparationReadbackSchema>;
|
|
3181
|
+
/**
|
|
3182
|
+
* Query identity for the status GET. The request key is
|
|
3183
|
+
* `(deviceId, agentRef, requestId)`; `deviceId` comes from bearer auth, the
|
|
3184
|
+
* path carries `requestId`, so only the AgentRef halves travel as query
|
|
3185
|
+
* parameters.
|
|
3186
|
+
*/
|
|
3187
|
+
export declare const InputPreparationStatusQuerySchema: z.ZodObject<{
|
|
3188
|
+
agentId: z.ZodString;
|
|
3189
|
+
profileRevision: z.ZodString;
|
|
3190
|
+
}, z.core.$strict>;
|
|
3191
|
+
export type InputPreparationStatusQuery = z.infer<typeof InputPreparationStatusQuerySchema>;
|
|
2411
3192
|
export declare const AgentMemoryProjectionCommitRequestSchema: z.ZodObject<{
|
|
2412
3193
|
taskId: z.ZodString;
|
|
2413
3194
|
agentRef: z.ZodObject<{
|
|
@@ -2480,6 +3261,12 @@ export declare const BYOK_MESSAGES_PATH = "/byok/messages";
|
|
|
2480
3261
|
export declare const BYOK_AGENT_HOME_PROJECTIONS_PATH = "/byok/agent-home-projections";
|
|
2481
3262
|
export declare const BYOK_AGENT_HOME_PROJECTION_COMPLETION_ROUTE = "/byok/agent-home-projections/:requestId/completion";
|
|
2482
3263
|
export declare function byokAgentHomeProjectionCompletionPath(requestId: string): string;
|
|
3264
|
+
/** `PUT /byok/input-preparations/:requestId/completion` and `GET /byok/input-preparations/:requestId`. */
|
|
3265
|
+
export declare const BYOK_INPUT_PREPARATIONS_PATH = "/byok/input-preparations";
|
|
3266
|
+
export declare const BYOK_INPUT_PREPARATION_COMPLETION_ROUTE = "/byok/input-preparations/:requestId/completion";
|
|
3267
|
+
export declare const BYOK_INPUT_PREPARATION_STATUS_ROUTE = "/byok/input-preparations/:requestId";
|
|
3268
|
+
export declare function byokInputPreparationCompletionPath(requestId: string): string;
|
|
3269
|
+
export declare function byokInputPreparationStatusPath(requestId: string): string;
|
|
2483
3270
|
/** `POST /byok/agent-memory-projections` — optional local-to-hosted redacted snapshot commit. */
|
|
2484
3271
|
export declare const BYOK_AGENT_MEMORY_PROJECTIONS_PATH = "/byok/agent-memory-projections";
|
|
2485
3272
|
/** `PUT /byok/presence` — presence heartbeat. */
|