@agent-vm/agent-portal-sdk 0.0.148 → 0.0.150
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/contract-fixtures/portable-contracts/approval/managed-google-challenge.fixture.json +66 -0
- package/contract-fixtures/portable-contracts/discovery/describe-result.fixture.json +5 -1
- package/contract-fixtures/portable-contracts/discovery/google-describe-duplicate-availability.fixture.json +103 -0
- package/contract-fixtures/portable-contracts/discovery/google-describe-duplicate-requirements.fixture.json +83 -0
- package/contract-fixtures/portable-contracts/discovery/google-describe-unverified-ready.fixture.json +78 -0
- package/contract-fixtures/portable-contracts/discovery/google-describe-valid.fixture.json +144 -0
- package/contract-fixtures/portable-contracts/discovery/google-list-duplicate-availability.fixture.json +109 -0
- package/contract-fixtures/portable-contracts/discovery/google-list-duplicate-requirements.fixture.json +89 -0
- package/contract-fixtures/portable-contracts/discovery/google-list-unverified-ready.fixture.json +84 -0
- package/contract-fixtures/portable-contracts/discovery/google-list-valid.fixture.json +156 -0
- package/contract-fixtures/portable-contracts/discovery/google-search-duplicate-availability.fixture.json +108 -0
- package/contract-fixtures/portable-contracts/discovery/google-search-duplicate-requirements.fixture.json +88 -0
- package/contract-fixtures/portable-contracts/discovery/google-search-unverified-ready.fixture.json +83 -0
- package/contract-fixtures/portable-contracts/discovery/google-search-valid.fixture.json +154 -0
- package/contract-fixtures/portable-contracts/discovery/list-result.fixture.json +5 -1
- package/contract-fixtures/portable-contracts/discovery/search-result.fixture.json +5 -1
- package/contract-fixtures/portable-contracts/files/attachment-cleaned-result.fixture.json +16 -0
- package/contract-fixtures/portable-contracts/files/attachment-parent-path-rejected.fixture.json +17 -0
- package/contract-fixtures/portable-contracts/files/attachment-public-request.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/files/attachment-public-result.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/files/attachment-recipient-rejected.fixture.json +19 -0
- package/contract-fixtures/portable-contracts/files/attachment-settle-request.fixture.json +20 -0
- package/contract-fixtures/portable-contracts/files/attachment-stage-request.fixture.json +26 -0
- package/contract-fixtures/portable-contracts/files/attachment-staged-result.fixture.json +24 -0
- package/contract-fixtures/portable-contracts/files/file-list-request.fixture.json +14 -0
- package/contract-fixtures/portable-contracts/files/file-listed-result.fixture.json +21 -0
- package/contract-fixtures/portable-contracts/files/file-materialized-result.fixture.json +17 -0
- package/contract-fixtures/portable-contracts/files/file-request-root-rejected.fixture.json +15 -0
- package/contract-fixtures/portable-contracts/files/file-result-payload-rejected.fixture.json +18 -0
- package/contract-fixtures/portable-contracts/outcomes/completed-file-delivery-partial.fixture.json +84 -0
- package/contract-fixtures/portable-contracts/outcomes/invalid-retryable-file-delivery.fixture.json +40 -0
- package/dist/approval-surface/index.d.ts +1 -1
- package/dist/approval-surface/index.js +1 -1
- package/dist/{approval-surface-phfnKUSF.js → approval-surface-CfbAG-81.js} +4 -4
- package/dist/{approval-surface-phfnKUSF.js.map → approval-surface-CfbAG-81.js.map} +1 -1
- package/dist/artifact-surface/index.js +1 -1
- package/dist/{artifact-surface-CHEu4tDd.js → artifact-surface-Db5KQOA0.js} +2 -2
- package/dist/{artifact-surface-CHEu4tDd.js.map → artifact-surface-Db5KQOA0.js.map} +1 -1
- package/dist/capability-description-surface/index.d.ts +1 -1
- package/dist/capability-description-surface/index.js +2 -2
- package/dist/capability-description-surface-DKZLjpG4.js +2 -0
- package/dist/{capability-descriptor-schema-B_0vLQ3E.js → capability-descriptor-schema-5evBt6Hl.js} +2 -2
- package/dist/{capability-descriptor-schema-B_0vLQ3E.js.map → capability-descriptor-schema-5evBt6Hl.js.map} +1 -1
- package/dist/cli/tool-portal.js +5 -5
- package/dist/contracts/index.js +1 -1
- package/dist/{contracts-X9wWs2lP.js → contracts-K6l783Yb.js} +5 -5
- package/dist/{contracts-X9wWs2lP.js.map → contracts-K6l783Yb.js.map} +1 -1
- package/dist/gateway-runtime-client/index.d.ts +5 -3
- package/dist/gateway-runtime-client/index.d.ts.map +1 -1
- package/dist/gateway-runtime-client/index.js +13 -6
- package/dist/gateway-runtime-client/index.js.map +1 -1
- package/dist/{index-C2axvEYg.d.ts → index-B5Yuf_ir.d.ts} +3 -3
- package/dist/{index-C2axvEYg.d.ts.map → index-B5Yuf_ir.d.ts.map} +1 -1
- package/dist/{index-ex2lEawY.d.ts → index-BdK9cTP_.d.ts} +29 -7
- package/dist/index-BdK9cTP_.d.ts.map +1 -0
- package/dist/{index-uDfElZ9U.d.ts → index-ByBEiqZp.d.ts} +177 -93
- package/dist/index-ByBEiqZp.d.ts.map +1 -0
- package/dist/{index-DTTEu7ZT.d.ts → index-CLHNSgWL.d.ts} +120 -4
- package/dist/{index-DTTEu7ZT.d.ts.map → index-CLHNSgWL.d.ts.map} +1 -1
- package/dist/{index-C-QFWaH5.d.ts → index-E3B9TETl.d.ts} +11 -1
- package/dist/index-E3B9TETl.d.ts.map +1 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.js +15 -15
- package/dist/{json-value-schema-Br5M7d7X.js → json-value-schema-rxMrw9uZ.js} +2 -2
- package/dist/{json-value-schema-Br5M7d7X.js.map → json-value-schema-rxMrw9uZ.js.map} +1 -1
- package/dist/{namespace-discovery-schema-DwbJHVLu.js → namespace-discovery-schema-BBWRZZnD.js} +2 -2
- package/dist/{namespace-discovery-schema-DwbJHVLu.js.map → namespace-discovery-schema-BBWRZZnD.js.map} +1 -1
- package/dist/portable-contracts/index.d.ts +1 -1
- package/dist/portable-contracts/index.js +2 -2
- package/dist/{portable-contracts-CWLiYrVU.js → portable-contracts-D7axGgu1.js} +75 -15
- package/dist/portable-contracts-D7axGgu1.js.map +1 -0
- package/dist/{portable-refinement-authoring-C1Q92x2G.js → portable-refinement-authoring-oFICWLOo.js} +16 -2
- package/dist/portable-refinement-authoring-oFICWLOo.js.map +1 -0
- package/dist/{portal-call-request-schema-Cl0kTLaX.js → portal-call-request-schema-B1dbBjmW.js} +4 -4
- package/dist/{portal-call-request-schema-Cl0kTLaX.js.map → portal-call-request-schema-B1dbBjmW.js.map} +1 -1
- package/dist/{portal-call-result-schema-Mv2Dv1HJ.d.ts → portal-call-result-schema-BEPp8X4z.d.ts} +1003 -427
- package/dist/portal-call-result-schema-BEPp8X4z.d.ts.map +1 -0
- package/dist/{portal-call-result-schema-DM77S9CA.js → portal-call-result-schema-DVJ6FyTz.js} +24 -8
- package/dist/portal-call-result-schema-DVJ6FyTz.js.map +1 -0
- package/dist/portal-call-surface/index.d.ts +3 -3
- package/dist/portal-call-surface/index.js +4 -4
- package/dist/portal-call-surface-BPVX-rjw.js +175 -0
- package/dist/portal-call-surface-BPVX-rjw.js.map +1 -0
- package/dist/portal-event-surface/index.js +1 -1
- package/dist/{portal-event-surface-Bp3rXsBz.js → portal-event-surface-Z76kra2a.js} +2 -2
- package/dist/{portal-event-surface-Bp3rXsBz.js.map → portal-event-surface-Z76kra2a.js.map} +1 -1
- package/dist/{request-id-schema-Hq_6lSFV.js → request-id-schema-DQ84TX-D.js} +2 -2
- package/dist/{request-id-schema-Hq_6lSFV.js.map → request-id-schema-DQ84TX-D.js.map} +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +2 -2
- package/dist/tool-portal-mcp-client/index.d.ts +1 -1
- package/dist/tool-portal-mcp-client/index.js +1 -1
- package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.d.ts +1 -1
- package/dist/{tool-portal-mcp-client-DsDi2iJc.js → tool-portal-mcp-client-DSDLoZ5e.js} +5 -5
- package/dist/{tool-portal-mcp-client-DsDi2iJc.js.map → tool-portal-mcp-client-DSDLoZ5e.js.map} +1 -1
- package/package.json +2 -2
- package/portable-contract-schema-manifest.json +1614 -366
- package/dist/capability-description-surface-YqGm-nS_.js +0 -2
- package/dist/index-C-QFWaH5.d.ts.map +0 -1
- package/dist/index-ex2lEawY.d.ts.map +0 -1
- package/dist/index-uDfElZ9U.d.ts.map +0 -1
- package/dist/portable-contracts-CWLiYrVU.js.map +0 -1
- package/dist/portable-refinement-authoring-C1Q92x2G.js.map +0 -1
- package/dist/portal-call-result-schema-DM77S9CA.js.map +0 -1
- package/dist/portal-call-result-schema-Mv2Dv1HJ.d.ts.map +0 -1
- package/dist/portal-call-surface-B952nh-H.js +0 -84
- package/dist/portal-call-surface-B952nh-H.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as PortalArtifactReadRequest, i as PortalArtifactReadResourceRequest, u as PortalArtifactReadResult } from "./index-DDLN0DE_.js";
|
|
2
|
-
import { P as PortalCallRequest, T as PortalListResult, b as PortalDescribeResult, g as PortalCallResult, k as PortalSearchResult } from "./portal-call-result-schema-
|
|
3
|
-
import {
|
|
2
|
+
import { P as PortalCallRequest, T as PortalListResult, b as PortalDescribeResult, g as PortalCallResult, k as PortalSearchResult } from "./portal-call-result-schema-BEPp8X4z.js";
|
|
3
|
+
import { C as PortalDescribeRequest, g as PortalListRequest, p as PortalSearchRequest } from "./index-CLHNSgWL.js";
|
|
4
4
|
|
|
5
5
|
//#region src/tool-portal-mcp-client/index.d.ts
|
|
6
6
|
type ToolPortalMcpResourceContent = {
|
|
@@ -66,4 +66,4 @@ declare class ToolPortalMcpClient {
|
|
|
66
66
|
}
|
|
67
67
|
//#endregion
|
|
68
68
|
export { ToolPortalMcpTransport as a, ToolPortalMcpResourceContent as i, ToolPortalMcpClient as n, ToolPortalMcpClientOptions as r, ToolPortalClientRequestOptions as t };
|
|
69
|
-
//# sourceMappingURL=index-
|
|
69
|
+
//# sourceMappingURL=index-B5Yuf_ir.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-B5Yuf_ir.d.ts","names":[],"sources":["../src/tool-portal-mcp-client/index.ts"],"mappings":";;;;;KA2BY,4BAAA;EAAA,SAEA,IAAA;EAAA,SACA,IAAA;EAAA,SACA,SAAA;EAAA,SACA,GAAA;AAAA;EAAA,SAGA,IAAA;EAAA,SACA,SAAA;EAAA,SACA,IAAA;EAAA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,17 +6,28 @@ declare const ApprovalDecisionReferenceSchema: z.ZodObject<{
|
|
|
6
6
|
callId: z.ZodString;
|
|
7
7
|
expiresAt: z.ZodString;
|
|
8
8
|
status: z.ZodEnum<{
|
|
9
|
-
approved: "approved";
|
|
10
9
|
denied: "denied";
|
|
11
10
|
expired: "expired";
|
|
11
|
+
approved: "approved";
|
|
12
12
|
}>;
|
|
13
13
|
}, z.core.$strict>;
|
|
14
14
|
type ApprovalDecisionReference = z.infer<typeof ApprovalDecisionReferenceSchema>;
|
|
15
15
|
declare const ApprovalRequiredResultSchema: z.ZodObject<{
|
|
16
|
-
approvalChallenge: z.ZodObject<{
|
|
16
|
+
approvalChallenge: z.ZodUnion<readonly [z.ZodObject<{
|
|
17
17
|
challengeId: z.ZodString;
|
|
18
18
|
expiresAt: z.ZodString;
|
|
19
|
-
}, z.core.$strict
|
|
19
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20
|
+
challengeId: z.ZodString;
|
|
21
|
+
expiresAt: z.ZodString;
|
|
22
|
+
kind: z.ZodLiteral<"managed_google">;
|
|
23
|
+
managedGoogleDisplay: z.ZodObject<{
|
|
24
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
25
|
+
authorizationId: z.core.$ZodBranded<z.ZodUUID, "OAuthAuthorizationId", "out">;
|
|
26
|
+
accountAlias: z.ZodString;
|
|
27
|
+
applicationLabel: z.ZodString;
|
|
28
|
+
authorizationMetadataRevision: z.ZodNumber;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
}, z.core.$strict>]>;
|
|
20
31
|
error: z.ZodObject<{
|
|
21
32
|
message: z.ZodString;
|
|
22
33
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -53,10 +64,21 @@ declare const ApprovalRequiredResultSchema: z.ZodObject<{
|
|
|
53
64
|
owningGeneration: z.ZodString;
|
|
54
65
|
status: z.ZodLiteral<"approval_required">;
|
|
55
66
|
}, z.core.$strict>;
|
|
56
|
-
declare const ApprovalChallengeReferenceSchema: z.ZodObject<{
|
|
67
|
+
declare const ApprovalChallengeReferenceSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
57
68
|
challengeId: z.ZodString;
|
|
58
69
|
expiresAt: z.ZodString;
|
|
59
|
-
}, z.core.$strict
|
|
70
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
71
|
+
challengeId: z.ZodString;
|
|
72
|
+
expiresAt: z.ZodString;
|
|
73
|
+
kind: z.ZodLiteral<"managed_google">;
|
|
74
|
+
managedGoogleDisplay: z.ZodObject<{
|
|
75
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
76
|
+
authorizationId: z.core.$ZodBranded<z.ZodUUID, "OAuthAuthorizationId", "out">;
|
|
77
|
+
accountAlias: z.ZodString;
|
|
78
|
+
applicationLabel: z.ZodString;
|
|
79
|
+
authorizationMetadataRevision: z.ZodNumber;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
}, z.core.$strict>]>;
|
|
60
82
|
type ApprovalRequiredResult = z.infer<typeof ApprovalRequiredResultSchema>;
|
|
61
83
|
type ApprovalChallengeReference = z.infer<typeof ApprovalChallengeReferenceSchema>;
|
|
62
84
|
//#endregion
|
|
@@ -100,8 +122,8 @@ declare const GatewayApprovalDecisionRequestSchema: z.ZodObject<{
|
|
|
100
122
|
declare const GatewayApprovalDecisionResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
101
123
|
kind: z.ZodLiteral<"recorded">;
|
|
102
124
|
state: z.ZodEnum<{
|
|
103
|
-
approved: "approved";
|
|
104
125
|
denied: "denied";
|
|
126
|
+
approved: "approved";
|
|
105
127
|
}>;
|
|
106
128
|
}, z.core.$strict>, z.ZodObject<{
|
|
107
129
|
kind: z.ZodLiteral<"rejected">;
|
|
@@ -121,4 +143,4 @@ type GatewayApprovalDecisionResult = z.infer<typeof GatewayApprovalDecisionResul
|
|
|
121
143
|
declare function sanitizeGatewayApprovalArguments(argumentsValue: unknown): string;
|
|
122
144
|
//#endregion
|
|
123
145
|
export { GatewayApprovalDecisionResult as a, GatewayApprovalPresentationRequestSchema as c, ApprovalChallengeReferenceSchema as d, ApprovalDecisionReference as f, ApprovalRequiredResultSchema as h, GatewayApprovalDecisionRequestSchema as i, sanitizeGatewayApprovalArguments as l, ApprovalRequiredResult as m, ApprovalPresentationOutcomeSchema as n, GatewayApprovalDecisionResultSchema as o, ApprovalDecisionReferenceSchema as p, GatewayApprovalDecisionRequest as r, GatewayApprovalPresentationRequest as s, ApprovalPresentationOutcome as t, ApprovalChallengeReference as u };
|
|
124
|
-
//# sourceMappingURL=index-
|
|
146
|
+
//# sourceMappingURL=index-BdK9cTP_.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BdK9cTP_.d.ts","names":[],"sources":["../src/approval-surface/models/approval-decision-reference-schema.ts","../src/approval-surface/models/gateway-approval-presentation-schema.ts"],"mappings":";;;cAQa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;KAShC,yBAAA,GAA4B,CAAA,CAAE,KAAA,QAAa,+BAAA;AAAA,cAE1C,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAE5B,gCAAA,EAAgC,CAAA,CAAA,QAAA,WAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;KAEjC,sBAAA,GAAyB,CAAA,CAAE,KAAA,QAAa,4BAAA;AAAA,KACxC,0BAAA,GAA6B,CAAA,CAAE,KAAA,QAAa,gCAAA;;;cCN3C,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;cA+BxC,iCAAA,EAAiC,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAiBjC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAOpC,mCAAA,EAAmC,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;KAsBpC,kCAAA,GAAqC,CAAA,CAAE,KAAA,QAC3C,wCAAA;AAAA,KAEI,2BAAA,GAA8B,CAAA,CAAE,KAAA,QAAa,iCAAA;AAAA,KAC7C,8BAAA,GAAiC,CAAA,CAAE,KAAA,QAAa,oCAAA;AAAA,KAChD,6BAAA,GAAgC,CAAA,CAAE,KAAA,QAAa,mCAAA;AAAA,iBA+E3C,gCAAA,CAAiC,cAAA"}
|
|
@@ -42,33 +42,54 @@ declare const CapabilityDiscoveryMetadataSchema: z.ZodObject<{
|
|
|
42
42
|
kind: z.ZodLiteral<"invocation-dependent">;
|
|
43
43
|
}, z.core.$strict>], "kind">;
|
|
44
44
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
46
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
47
|
+
requirement: z.ZodObject<{
|
|
48
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
49
|
+
operationId: z.ZodString;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
52
|
+
kind: z.ZodLiteral<"accounts">;
|
|
53
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
54
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
55
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
56
|
+
kind: z.ZodLiteral<"verified">;
|
|
57
|
+
accountAlias: z.ZodString;
|
|
58
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
59
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
60
|
+
}, z.core.$strict>], "kind">;
|
|
61
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
62
|
+
kind: z.ZodLiteral<"ready">;
|
|
63
|
+
disposition: z.ZodEnum<{
|
|
64
|
+
ask: "ask";
|
|
65
|
+
allow: "allow";
|
|
66
|
+
}>;
|
|
67
|
+
overrideRevision: z.ZodNumber;
|
|
68
|
+
defaultsRevision: z.ZodString;
|
|
69
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
70
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
71
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
72
|
+
kind: z.ZodLiteral<"denied">;
|
|
73
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
74
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
75
|
+
}, z.core.$strict>], "kind">;
|
|
76
|
+
}, z.core.$strict>>>;
|
|
77
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
78
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
79
|
+
}, z.core.$strict>], "kind">;
|
|
48
80
|
}, z.core.$strict>>>;
|
|
49
|
-
kind: z.ZodLiteral<"ready">;
|
|
50
81
|
}, z.core.$strict>, z.ZodObject<{
|
|
51
|
-
kind: z.ZodLiteral<"
|
|
52
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
53
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
54
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
55
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
56
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
57
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
82
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
58
83
|
}, z.core.$strict>], "kind">>;
|
|
59
|
-
oauthRequirement: z.ZodOptional<z.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
minimumPermission: z.ZodEnum<{
|
|
63
|
-
read: "read";
|
|
64
|
-
write: "write";
|
|
65
|
-
}>;
|
|
66
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
67
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
68
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
84
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
kind: z.ZodLiteral<"google-account">;
|
|
86
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
69
87
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
70
|
-
|
|
71
|
-
|
|
88
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
89
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
90
|
+
operationId: z.ZodString;
|
|
91
|
+
}, z.core.$strict>>>;
|
|
92
|
+
}, z.core.$strict>>;
|
|
72
93
|
}, z.core.$strict>;
|
|
73
94
|
type CapabilityDiscoveryMetadata = z.infer<typeof CapabilityDiscoveryMetadataSchema>;
|
|
74
95
|
declare const CapabilitySummarySchema: z.ZodObject<{
|
|
@@ -109,33 +130,54 @@ declare const CapabilitySummarySchema: z.ZodObject<{
|
|
|
109
130
|
title: z.ZodOptional<z.ZodString>;
|
|
110
131
|
name: z.ZodString;
|
|
111
132
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
133
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
134
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
135
|
+
requirement: z.ZodObject<{
|
|
136
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
137
|
+
operationId: z.ZodString;
|
|
138
|
+
}, z.core.$strict>;
|
|
139
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
140
|
+
kind: z.ZodLiteral<"accounts">;
|
|
141
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
142
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
143
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
144
|
+
kind: z.ZodLiteral<"verified">;
|
|
145
|
+
accountAlias: z.ZodString;
|
|
146
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
147
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
148
|
+
}, z.core.$strict>], "kind">;
|
|
149
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
150
|
+
kind: z.ZodLiteral<"ready">;
|
|
151
|
+
disposition: z.ZodEnum<{
|
|
152
|
+
ask: "ask";
|
|
153
|
+
allow: "allow";
|
|
154
|
+
}>;
|
|
155
|
+
overrideRevision: z.ZodNumber;
|
|
156
|
+
defaultsRevision: z.ZodString;
|
|
157
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
158
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
159
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
160
|
+
kind: z.ZodLiteral<"denied">;
|
|
161
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
162
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
163
|
+
}, z.core.$strict>], "kind">;
|
|
164
|
+
}, z.core.$strict>>>;
|
|
165
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
166
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
167
|
+
}, z.core.$strict>], "kind">;
|
|
115
168
|
}, z.core.$strict>>>;
|
|
116
|
-
kind: z.ZodLiteral<"ready">;
|
|
117
169
|
}, z.core.$strict>, z.ZodObject<{
|
|
118
|
-
kind: z.ZodLiteral<"
|
|
119
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
120
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
121
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
122
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
123
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
124
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
170
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
125
171
|
}, z.core.$strict>], "kind">>;
|
|
126
|
-
oauthRequirement: z.ZodOptional<z.
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
minimumPermission: z.ZodEnum<{
|
|
130
|
-
read: "read";
|
|
131
|
-
write: "write";
|
|
132
|
-
}>;
|
|
133
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
134
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
135
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
172
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
173
|
+
kind: z.ZodLiteral<"google-account">;
|
|
174
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
136
175
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
137
|
-
|
|
138
|
-
|
|
176
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
177
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
178
|
+
operationId: z.ZodString;
|
|
179
|
+
}, z.core.$strict>>>;
|
|
180
|
+
}, z.core.$strict>>;
|
|
139
181
|
toolRef: z.ZodString;
|
|
140
182
|
}, z.core.$strict>;
|
|
141
183
|
type CapabilitySummary = z.infer<typeof CapabilitySummarySchema>;
|
|
@@ -208,33 +250,54 @@ declare const CapabilitySearchMatchSchema: z.ZodObject<{
|
|
|
208
250
|
title: z.ZodOptional<z.ZodString>;
|
|
209
251
|
name: z.ZodString;
|
|
210
252
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
253
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
254
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
255
|
+
requirement: z.ZodObject<{
|
|
256
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
257
|
+
operationId: z.ZodString;
|
|
258
|
+
}, z.core.$strict>;
|
|
259
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
260
|
+
kind: z.ZodLiteral<"accounts">;
|
|
261
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
262
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
263
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
264
|
+
kind: z.ZodLiteral<"verified">;
|
|
265
|
+
accountAlias: z.ZodString;
|
|
266
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
267
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
268
|
+
}, z.core.$strict>], "kind">;
|
|
269
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
270
|
+
kind: z.ZodLiteral<"ready">;
|
|
271
|
+
disposition: z.ZodEnum<{
|
|
272
|
+
ask: "ask";
|
|
273
|
+
allow: "allow";
|
|
274
|
+
}>;
|
|
275
|
+
overrideRevision: z.ZodNumber;
|
|
276
|
+
defaultsRevision: z.ZodString;
|
|
277
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
278
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
279
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
280
|
+
kind: z.ZodLiteral<"denied">;
|
|
281
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
282
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
283
|
+
}, z.core.$strict>], "kind">;
|
|
284
|
+
}, z.core.$strict>>>;
|
|
285
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
286
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
287
|
+
}, z.core.$strict>], "kind">;
|
|
214
288
|
}, z.core.$strict>>>;
|
|
215
|
-
kind: z.ZodLiteral<"ready">;
|
|
216
289
|
}, z.core.$strict>, z.ZodObject<{
|
|
217
|
-
kind: z.ZodLiteral<"
|
|
218
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
219
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
220
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
221
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
222
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
223
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
290
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
224
291
|
}, z.core.$strict>], "kind">>;
|
|
225
|
-
oauthRequirement: z.ZodOptional<z.
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
minimumPermission: z.ZodEnum<{
|
|
229
|
-
read: "read";
|
|
230
|
-
write: "write";
|
|
231
|
-
}>;
|
|
232
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
233
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
234
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
292
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
293
|
+
kind: z.ZodLiteral<"google-account">;
|
|
294
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
235
295
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
236
|
-
|
|
237
|
-
|
|
296
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
297
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
298
|
+
operationId: z.ZodString;
|
|
299
|
+
}, z.core.$strict>>>;
|
|
300
|
+
}, z.core.$strict>>;
|
|
238
301
|
toolRef: z.ZodString;
|
|
239
302
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
240
303
|
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -267,33 +330,54 @@ declare const CapabilityDescriptorSchema: z.ZodObject<{
|
|
|
267
330
|
title: z.ZodOptional<z.ZodString>;
|
|
268
331
|
name: z.ZodString;
|
|
269
332
|
oauthAvailability: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
333
|
+
kind: z.ZodLiteral<"operation-options">;
|
|
334
|
+
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
335
|
+
requirement: z.ZodObject<{
|
|
336
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
337
|
+
operationId: z.ZodString;
|
|
338
|
+
}, z.core.$strict>;
|
|
339
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
340
|
+
kind: z.ZodLiteral<"accounts">;
|
|
341
|
+
accounts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
342
|
+
accountId: z.core.$ZodBranded<z.ZodUUID, "OAuthAccountId", "out">;
|
|
343
|
+
metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
344
|
+
kind: z.ZodLiteral<"verified">;
|
|
345
|
+
accountAlias: z.ZodString;
|
|
346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
347
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
348
|
+
}, z.core.$strict>], "kind">;
|
|
349
|
+
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
350
|
+
kind: z.ZodLiteral<"ready">;
|
|
351
|
+
disposition: z.ZodEnum<{
|
|
352
|
+
ask: "ask";
|
|
353
|
+
allow: "allow";
|
|
354
|
+
}>;
|
|
355
|
+
overrideRevision: z.ZodNumber;
|
|
356
|
+
defaultsRevision: z.ZodString;
|
|
357
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
358
|
+
kind: z.ZodLiteral<"consent-required">;
|
|
359
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
360
|
+
kind: z.ZodLiteral<"denied">;
|
|
361
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
362
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
363
|
+
}, z.core.$strict>], "kind">;
|
|
364
|
+
}, z.core.$strict>>>;
|
|
365
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
366
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
367
|
+
}, z.core.$strict>], "kind">;
|
|
273
368
|
}, z.core.$strict>>>;
|
|
274
|
-
kind: z.ZodLiteral<"ready">;
|
|
275
369
|
}, z.core.$strict>, z.ZodObject<{
|
|
276
|
-
kind: z.ZodLiteral<"
|
|
277
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
278
|
-
kind: z.ZodLiteral<"reauthorization-required">;
|
|
279
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
280
|
-
kind: z.ZodLiteral<"scope-insufficient">;
|
|
281
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
282
|
-
kind: z.ZodLiteral<"authorization-status-unavailable">;
|
|
370
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
283
371
|
}, z.core.$strict>], "kind">>;
|
|
284
|
-
oauthRequirement: z.ZodOptional<z.
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
minimumPermission: z.ZodEnum<{
|
|
288
|
-
read: "read";
|
|
289
|
-
write: "write";
|
|
290
|
-
}>;
|
|
291
|
-
serviceId: z.core.$ZodBranded<z.ZodString, "OAuthServiceId", "out">;
|
|
292
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
293
|
-
accountProfileArgument: z.ZodLiteral<"accountProfile">;
|
|
372
|
+
oauthRequirement: z.ZodOptional<z.ZodObject<{
|
|
373
|
+
kind: z.ZodLiteral<"google-account">;
|
|
374
|
+
accountArgument: z.ZodLiteral<"accountId">;
|
|
294
375
|
describeBeforeCall: z.ZodLiteral<true>;
|
|
295
|
-
|
|
296
|
-
|
|
376
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
377
|
+
applicationId: z.core.$ZodBranded<z.ZodString, "OAuthApplicationId", "out">;
|
|
378
|
+
operationId: z.ZodString;
|
|
379
|
+
}, z.core.$strict>>>;
|
|
380
|
+
}, z.core.$strict>>;
|
|
297
381
|
toolRef: z.ZodString;
|
|
298
382
|
typescriptHelper: z.ZodOptional<z.ZodString>;
|
|
299
383
|
zod: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
@@ -301,4 +385,4 @@ declare const CapabilityDescriptorSchema: z.ZodObject<{
|
|
|
301
385
|
type CapabilityDescriptor = z.infer<typeof CapabilityDescriptorSchema>;
|
|
302
386
|
//#endregion
|
|
303
387
|
export { compactCapabilitySummaryDescription as C, ToolSchemaSummarySchema as S, ToolSafetySummary as _, CapabilitySearchMatch as a, ToolSchemaHintSchema as b, CapabilitySummarySchema as c, ResultExpectation as d, ResultExpectationSchema as f, ToolCallDispositionSchema as g, ToolCallDisposition as h, CapabilityDiscoveryMetadataSchema as i, CompactCapabilityDescriptionCodePointLimit as l, SafeCallingHintSchema as m, CapabilityDescriptorSchema as n, CapabilitySearchMatchSchema as o, SafeCallingHint as p, CapabilityDiscoveryMetadata as r, CapabilitySummary as s, CapabilityDescriptor as t, JsonSchemaDocumentSchema as u, ToolSafetySummarySchema as v, ToolSchemaSummary as x, ToolSchemaHint as y };
|
|
304
|
-
//# sourceMappingURL=index-
|
|
388
|
+
//# sourceMappingURL=index-ByBEiqZp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-ByBEiqZp.d.ts","names":[],"sources":["../src/capability-description-surface/models/capability-descriptor-schema.ts"],"mappings":";;;;cAYa,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,OAAA,CAAA,SAAA,WAAA,CAAA,CAAA,IAAA,CAAA,iBAAA,CAAA,SAAA;AAAA,cAExB,uBAAA,EAAuB,CAAA,CAAA,SA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5B,qBAAA,GAAwB,CAAA,CAAE,KAAA,QAAa,2BAAA;AAAA,cAEtC,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAoB3B,oBAAA,GAAuB,CAAA,CAAE,KAAA,QAAa,0BAAA"}
|
|
@@ -118,8 +118,8 @@ declare const PortalSearchItemRequestSchema: z.ZodObject<{
|
|
|
118
118
|
namespaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
119
119
|
query: z.ZodOptional<z.ZodString>;
|
|
120
120
|
schemaDetail: z.ZodDefault<z.ZodEnum<{
|
|
121
|
-
summary: "summary";
|
|
122
121
|
none: "none";
|
|
122
|
+
summary: "summary";
|
|
123
123
|
full: "full";
|
|
124
124
|
}>>;
|
|
125
125
|
}, z.core.$strict>;
|
|
@@ -131,8 +131,8 @@ declare const PortalSearchRequestSchema: z.ZodObject<{
|
|
|
131
131
|
namespaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
132
132
|
query: z.ZodOptional<z.ZodString>;
|
|
133
133
|
schemaDetail: z.ZodDefault<z.ZodEnum<{
|
|
134
|
-
summary: "summary";
|
|
135
134
|
none: "none";
|
|
135
|
+
summary: "summary";
|
|
136
136
|
full: "full";
|
|
137
137
|
}>>;
|
|
138
138
|
}, z.core.$strict>>;
|
|
@@ -148,5 +148,121 @@ interface PortalCallSurfaceJsonSchemas {
|
|
|
148
148
|
}
|
|
149
149
|
declare function createPortalCallSurfaceJsonSchemas(): PortalCallSurfaceJsonSchemas;
|
|
150
150
|
//#endregion
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
//#region src/portal-call-surface/models/portal-file-contracts.d.ts
|
|
152
|
+
/** The reference selects the source; no caller may supply its VM, root or owner. */
|
|
153
|
+
declare const PortalFileRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
154
|
+
action: z.ZodLiteral<"attach">;
|
|
155
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
156
|
+
kind: z.ZodLiteral<"operation-file">;
|
|
157
|
+
referenceId: z.ZodString;
|
|
158
|
+
path: z.ZodString;
|
|
159
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
160
|
+
kind: z.ZodLiteral<"tool-vm-file">;
|
|
161
|
+
path: z.ZodString;
|
|
162
|
+
}, z.core.$strict>], "kind">;
|
|
163
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
164
|
+
}, z.core.$strict>], "action">;
|
|
165
|
+
type PortalFileRequest = z.infer<typeof PortalFileRequestSchema>;
|
|
166
|
+
declare const PortalFileResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
167
|
+
kind: z.ZodLiteral<"attached">;
|
|
168
|
+
messageId: z.ZodString;
|
|
169
|
+
fileName: z.ZodString;
|
|
170
|
+
byteLength: z.ZodNumber;
|
|
171
|
+
sha256: z.ZodString;
|
|
172
|
+
cleanup: z.ZodEnum<{
|
|
173
|
+
pending: "pending";
|
|
174
|
+
complete: "complete";
|
|
175
|
+
}>;
|
|
176
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
177
|
+
kind: z.ZodLiteral<"attachment-failed">;
|
|
178
|
+
reason: z.ZodEnum<{
|
|
179
|
+
"route-unavailable": "route-unavailable";
|
|
180
|
+
"staging-failed": "staging-failed";
|
|
181
|
+
"native-send-failed": "native-send-failed";
|
|
182
|
+
}>;
|
|
183
|
+
cleanup: z.ZodEnum<{
|
|
184
|
+
pending: "pending";
|
|
185
|
+
complete: "complete";
|
|
186
|
+
}>;
|
|
187
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
188
|
+
kind: z.ZodLiteral<"attachment-unconfirmed">;
|
|
189
|
+
reason: z.ZodEnum<{
|
|
190
|
+
"send-timeout": "send-timeout";
|
|
191
|
+
"send-error": "send-error";
|
|
192
|
+
}>;
|
|
193
|
+
cleanup: z.ZodEnum<{
|
|
194
|
+
pending: "pending";
|
|
195
|
+
complete: "complete";
|
|
196
|
+
}>;
|
|
197
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
198
|
+
kind: z.ZodLiteral<"failed">;
|
|
199
|
+
reason: z.ZodEnum<{
|
|
200
|
+
unavailable: "unavailable";
|
|
201
|
+
"transfer-failed": "transfer-failed";
|
|
202
|
+
"cleanup-pending": "cleanup-pending";
|
|
203
|
+
busy: "busy";
|
|
204
|
+
expired: "expired";
|
|
205
|
+
"stale-authority": "stale-authority";
|
|
206
|
+
"invalid-path": "invalid-path";
|
|
207
|
+
"size-limit": "size-limit";
|
|
208
|
+
"destination-conflict": "destination-conflict";
|
|
209
|
+
}>;
|
|
210
|
+
}, z.core.$strict>], "kind">;
|
|
211
|
+
type PortalFileResult = z.infer<typeof PortalFileResultSchema>;
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region src/portal-call-surface/models/portal-attachment-contracts.d.ts
|
|
214
|
+
declare const PortalAttachmentSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
215
|
+
kind: z.ZodLiteral<"operation-file">;
|
|
216
|
+
referenceId: z.ZodString;
|
|
217
|
+
path: z.ZodString;
|
|
218
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
219
|
+
kind: z.ZodLiteral<"tool-vm-file">;
|
|
220
|
+
path: z.ZodString;
|
|
221
|
+
}, z.core.$strict>], "kind">;
|
|
222
|
+
/** Private plugin orchestration. Recipient/profile/session come from the trusted invocation. */
|
|
223
|
+
declare const PortalAttachmentRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
224
|
+
action: z.ZodLiteral<"stage">;
|
|
225
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
226
|
+
kind: z.ZodLiteral<"operation-file">;
|
|
227
|
+
referenceId: z.ZodString;
|
|
228
|
+
path: z.ZodString;
|
|
229
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
230
|
+
kind: z.ZodLiteral<"tool-vm-file">;
|
|
231
|
+
path: z.ZodString;
|
|
232
|
+
}, z.core.$strict>], "kind">;
|
|
233
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
234
|
+
action: z.ZodLiteral<"settle">;
|
|
235
|
+
stagingId: z.ZodString;
|
|
236
|
+
outcome: z.ZodEnum<{
|
|
237
|
+
failed: "failed";
|
|
238
|
+
sent: "sent";
|
|
239
|
+
unconfirmed: "unconfirmed";
|
|
240
|
+
"sender-pending": "sender-pending";
|
|
241
|
+
}>;
|
|
242
|
+
}, z.core.$strict>], "action">;
|
|
243
|
+
type PortalAttachmentRequest = z.infer<typeof PortalAttachmentRequestSchema>;
|
|
244
|
+
declare const PortalAttachmentResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
245
|
+
kind: z.ZodLiteral<"staged">;
|
|
246
|
+
stagingId: z.ZodString;
|
|
247
|
+
path: z.ZodString;
|
|
248
|
+
byteLength: z.ZodNumber;
|
|
249
|
+
sha256: z.ZodString;
|
|
250
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
251
|
+
kind: z.ZodLiteral<"failed">;
|
|
252
|
+
reason: z.ZodEnum<{
|
|
253
|
+
unavailable: "unavailable";
|
|
254
|
+
capacity: "capacity";
|
|
255
|
+
"transfer-failed": "transfer-failed";
|
|
256
|
+
"cleanup-pending": "cleanup-pending";
|
|
257
|
+
}>;
|
|
258
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
259
|
+
kind: z.ZodLiteral<"cleaned">;
|
|
260
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
261
|
+
kind: z.ZodLiteral<"retained">;
|
|
262
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
263
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
264
|
+
}, z.core.$strict>], "kind">;
|
|
265
|
+
type PortalAttachmentResult = z.infer<typeof PortalAttachmentResultSchema>;
|
|
266
|
+
//#endregion
|
|
267
|
+
export { PortalDescribeRequest as C, PortalDescribeItemRequestSchema as S, PortalListRequestSchema as _, PortalAttachmentSourceSchema as a, PortalErrorCodeSchema as b, PortalFileResult as c, createPortalCallSurfaceJsonSchemas as d, PortalSearchItemRequestSchema as f, PortalListRequest as g, PortalListItemRequestSchema as h, PortalAttachmentResultSchema as i, PortalFileResultSchema as l, PortalSearchRequestSchema as m, PortalAttachmentRequestSchema as n, PortalFileRequest as o, PortalSearchRequest as p, PortalAttachmentResult as r, PortalFileRequestSchema as s, PortalAttachmentRequest as t, PortalCallSurfaceJsonSchemas as u, PortalError as v, PortalDescribeRequestSchema as w, PortalErrorSchema as x, PortalErrorCode as y };
|
|
268
|
+
//# sourceMappingURL=index-CLHNSgWL.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-CLHNSgWL.d.ts","names":[],"sources":["../src/portal-call-surface/models/portal-describe-request-schema.ts","../src/portal-call-surface/models/portal-error-schema.ts","../src/portal-call-surface/models/portal-list-request-schema.ts","../src/portal-call-surface/models/portal-search-request-schema.ts","../src/portal-call-surface/portal-call-json-schema-exporter.ts","../src/portal-call-surface/models/portal-file-contracts.ts","../src/portal-call-surface/models/portal-attachment-contracts.ts"],"mappings":";;;cAQa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAY/B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;KAa5B,qBAAA,GAAwB,CAAA,CAAE,KAAA,QAAa,2BAAA;;;cC7BtC,qBAAA,EAAqB,CAAA,CAAA,OAAA;;;;;;;;;;;;KAatB,eAAA,GAAkB,CAAA,CAAE,KAAA,QAAa,qBAAA;AAAA,cAEhC,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KASlB,WAAA,GAAc,CAAA,CAAE,KAAA,QAAa,iBAAA;;;cCpB5B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW3B,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;KAaxB,iBAAA,GAAoB,CAAA,CAAE,KAAA,QAAa,uBAAA;;;cCzBlC,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAU7B,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;KAa1B,mBAAA,GAAsB,CAAA,CAAE,KAAA,QAAa,yBAAA;;;UCvBhC,4BAAA;EAAA,SACP,IAAA,EAAM,MAAA;EAAA,SACN,QAAA,EAAU,MAAA;EAAA,SACV,IAAA,EAAM,MAAA;EAAA,SACN,MAAA,EAAQ,MAAA;AAAA;AAAA,iBAGF,kCAAA,CAAA,GAAsC,4BAAA;;;;cCTzC,uBAAA,EAAuB,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;KASxB,iBAAA,GAAoB,CAAA,CAAE,KAAA,QAAa,uBAAA;AAAA,cAElC,sBAAA,EAAsB,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8CvB,gBAAA,GAAmB,CAAA,CAAE,KAAA,QAAa,sBAAA;;;cC5DjC,4BAAA,EAA4B,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;KAU9B,uBAAA,GAA0B,CAAA,CAAE,KAAA,QAAa,6BAAA;AAAA,cAExC,4BAAA,EAA4B,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;KA2B7B,sBAAA,GAAyB,CAAA,CAAE,KAAA,QAAa,4BAAA"}
|
|
@@ -3,6 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/portable-contracts/portable-refinement-descriptors.d.ts
|
|
4
4
|
type PortableRefinementKind = 'canonical-normalization' | 'cross-field-validation' | 'default' | 'structural-validation';
|
|
5
5
|
type PortableRefinementOperation = {
|
|
6
|
+
readonly kind: 'google-discovery-policy';
|
|
7
|
+
} | {
|
|
6
8
|
readonly kind: 'aggregate-status';
|
|
7
9
|
readonly itemsField: string;
|
|
8
10
|
readonly okField: string;
|
|
@@ -64,6 +66,14 @@ interface PortableRefinementDescriptor {
|
|
|
64
66
|
readonly operation: PortableRefinementOperation;
|
|
65
67
|
}
|
|
66
68
|
declare const PORTABLE_REFINEMENT_DESCRIPTORS: readonly [{
|
|
69
|
+
readonly identity: "portal.google.discovery-policy";
|
|
70
|
+
readonly description: "Google discovery has unique operation identities and never advertises ready access with unauthenticated account metadata.";
|
|
71
|
+
readonly errorCode: "portal.google.discovery-policy";
|
|
72
|
+
readonly kind: "cross-field-validation";
|
|
73
|
+
readonly operation: {
|
|
74
|
+
readonly kind: "google-discovery-policy";
|
|
75
|
+
};
|
|
76
|
+
}, {
|
|
67
77
|
readonly description: "Artifact reads default omitted truncation state to false.";
|
|
68
78
|
readonly identity: "portal.artifact-read.default-truncated";
|
|
69
79
|
readonly kind: "default";
|
|
@@ -281,4 +291,4 @@ declare const PORTABLE_CONTRACT_ADAPTERS: {
|
|
|
281
291
|
};
|
|
282
292
|
//#endregion
|
|
283
293
|
export { assertPortableContractSchemaIsExportable as a, PORTABLE_REFINEMENT_DESCRIPTORS as c, PortableRefinementKind as d, PortableRefinementOperation as f, PortableContractParseResult as i, PORTABLE_REFINEMENT_IDENTITIES as l, PORTABLE_CONTRACT_PROTOCOL_VERSION as n, createPortableContractSchemaManifest as o, PortableContractAdapter as r, encodeCanonicalJson as s, PORTABLE_CONTRACT_ADAPTERS as t, PortableRefinementDescriptor as u };
|
|
284
|
-
//# sourceMappingURL=index-
|
|
294
|
+
//# sourceMappingURL=index-E3B9TETl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-E3B9TETl.d.ts","names":[],"sources":["../src/portable-contracts/portable-refinement-descriptors.ts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