@opengeni/contracts 3.0.2-canary.2 → 3.1.0-canary.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/atlassian.js +1 -1
- package/dist/{chunk-GJ5SNVJW.js → chunk-23GYI3LA.js} +2 -2
- package/dist/{chunk-YRCMZTY2.js → chunk-CMDU4K45.js} +26 -1
- package/dist/chunk-CMDU4K45.js.map +1 -0
- package/dist/connect.js +1 -1
- package/dist/connection-authority.js +2 -2
- package/dist/google-drive.js +1 -1
- package/dist/host-mcp-bindings.js +2 -2
- package/dist/index.d.ts +22 -0
- package/dist/index.js +5 -1
- package/dist/personal-github.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +42 -0
- package/dist/chunk-YRCMZTY2.js.map +0 -1
- /package/dist/{chunk-GJ5SNVJW.js.map → chunk-23GYI3LA.js.map} +0 -0
package/dist/connect.js
CHANGED
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
ListConnectionAuthoritiesQuery,
|
|
17
17
|
ListConnectionAuthoritiesResponse,
|
|
18
18
|
RevokeConnectionUseGrantQuery
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-23GYI3LA.js";
|
|
20
|
+
import "./chunk-CMDU4K45.js";
|
|
21
21
|
import "./chunk-WBYTNVIW.js";
|
|
22
22
|
import "./chunk-YBW5JSA3.js";
|
|
23
23
|
import "./chunk-O5LEQHDM.js";
|
package/dist/google-drive.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConnectionUseAuthoritySnapshot,
|
|
3
3
|
IssueConnectionUseGrantRequest
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-23GYI3LA.js";
|
|
5
5
|
import {
|
|
6
6
|
HostMcpCreateSelections,
|
|
7
7
|
McpServerConnectionRef,
|
|
8
8
|
SessionTenancyVisibility
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CMDU4K45.js";
|
|
10
10
|
import "./chunk-WBYTNVIW.js";
|
|
11
11
|
import "./chunk-YBW5JSA3.js";
|
|
12
12
|
import "./chunk-O5LEQHDM.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -6939,6 +6939,27 @@ export declare const SessionMcpCredentialUpdateInput: z.ZodObject<{
|
|
|
6939
6939
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
6940
6940
|
}, z.core.$strip>;
|
|
6941
6941
|
export type SessionMcpCredentialUpdateInput = z.infer<typeof SessionMcpCredentialUpdateInput>;
|
|
6942
|
+
/** Standalone credential maintenance; never admits or retries model work. */
|
|
6943
|
+
export declare const RotateSessionMcpCredentialsRequest: z.ZodObject<{
|
|
6944
|
+
operationKey: z.ZodString;
|
|
6945
|
+
updates: z.ZodArray<z.ZodObject<{
|
|
6946
|
+
id: z.ZodString;
|
|
6947
|
+
expectedCredentialVersion: z.ZodNumber;
|
|
6948
|
+
expectedServerUrl: z.ZodString;
|
|
6949
|
+
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
6950
|
+
}, z.core.$strict>>;
|
|
6951
|
+
}, z.core.$strict>;
|
|
6952
|
+
export type RotateSessionMcpCredentialsRequest = z.infer<typeof RotateSessionMcpCredentialsRequest>;
|
|
6953
|
+
export declare const RotateSessionMcpCredentialsReceipt: z.ZodObject<{
|
|
6954
|
+
operationKey: z.ZodString;
|
|
6955
|
+
sessionId: z.ZodString;
|
|
6956
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
6957
|
+
id: z.ZodString;
|
|
6958
|
+
credentialVersion: z.ZodNumber;
|
|
6959
|
+
}, z.core.$strict>>;
|
|
6960
|
+
appliedAt: z.ZodString;
|
|
6961
|
+
}, z.core.$strict>;
|
|
6962
|
+
export type RotateSessionMcpCredentialsReceipt = z.infer<typeof RotateSessionMcpCredentialsReceipt>;
|
|
6942
6963
|
export declare const SessionMcpServerMetadata: z.ZodObject<{
|
|
6943
6964
|
id: z.ZodString;
|
|
6944
6965
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -8183,6 +8204,7 @@ export declare const SessionAuthorizationOperation: z.ZodEnum<{
|
|
|
8183
8204
|
"session.human_input.write": "session.human_input.write";
|
|
8184
8205
|
"session.lineage.read": "session.lineage.read";
|
|
8185
8206
|
"session.mcp.approval_policy.write": "session.mcp.approval_policy.write";
|
|
8207
|
+
"session.mcp.credentials.rotate": "session.mcp.credentials.rotate";
|
|
8186
8208
|
"session.personal_resource.grant": "session.personal_resource.grant";
|
|
8187
8209
|
"session.pin.write": "session.pin.write";
|
|
8188
8210
|
"session.queue.control": "session.queue.control";
|
package/dist/index.js
CHANGED
|
@@ -1109,6 +1109,8 @@ import {
|
|
|
1109
1109
|
RollbackWorkspaceArtifactRequest,
|
|
1110
1110
|
RollbackWorkspaceInstructionPolicyRequest,
|
|
1111
1111
|
RollbackWorkspaceLearningPolicyRevisionRequest,
|
|
1112
|
+
RotateSessionMcpCredentialsReceipt,
|
|
1113
|
+
RotateSessionMcpCredentialsRequest,
|
|
1112
1114
|
RunDocumentDefaultCollectionBackfillRequest,
|
|
1113
1115
|
SANDBOX_FILE_ARTIFACT_MAX_BYTES,
|
|
1114
1116
|
SANDBOX_PROVIDER_INSTANCE_ID_FIELDS_BY_BACKEND,
|
|
@@ -1866,7 +1868,7 @@ import {
|
|
|
1866
1868
|
workspaceLearningPolicyRouterContext,
|
|
1867
1869
|
workspaceLearningSourceKey,
|
|
1868
1870
|
workspaceSlackReactionChannelAllowed
|
|
1869
|
-
} from "./chunk-
|
|
1871
|
+
} from "./chunk-CMDU4K45.js";
|
|
1870
1872
|
import {
|
|
1871
1873
|
mcpEndpointIdentity,
|
|
1872
1874
|
pluginMcpUnavailableReason
|
|
@@ -3426,6 +3428,8 @@ export {
|
|
|
3426
3428
|
RollbackWorkspaceArtifactRequest,
|
|
3427
3429
|
RollbackWorkspaceInstructionPolicyRequest,
|
|
3428
3430
|
RollbackWorkspaceLearningPolicyRevisionRequest,
|
|
3431
|
+
RotateSessionMcpCredentialsReceipt,
|
|
3432
|
+
RotateSessionMcpCredentialsRequest,
|
|
3429
3433
|
RunDocumentDefaultCollectionBackfillRequest,
|
|
3430
3434
|
SANDBOX_FILE_ARTIFACT_MAX_BYTES,
|
|
3431
3435
|
SANDBOX_PROVIDER_INSTANCE_ID_FIELDS_BY_BACKEND,
|
package/dist/personal-github.js
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -5748,6 +5748,47 @@ export const SessionMcpCredentialUpdateInput = z.object({
|
|
|
5748
5748
|
});
|
|
5749
5749
|
export type SessionMcpCredentialUpdateInput = z.infer<typeof SessionMcpCredentialUpdateInput>;
|
|
5750
5750
|
|
|
5751
|
+
/** Standalone credential maintenance; never admits or retries model work. */
|
|
5752
|
+
export const RotateSessionMcpCredentialsRequest = z
|
|
5753
|
+
.object({
|
|
5754
|
+
operationKey: z.string().uuid(),
|
|
5755
|
+
updates: z
|
|
5756
|
+
.array(
|
|
5757
|
+
z
|
|
5758
|
+
.object({
|
|
5759
|
+
id: SessionMcpServerId,
|
|
5760
|
+
expectedCredentialVersion: z.number().int().min(1).max(2_147_483_646),
|
|
5761
|
+
expectedServerUrl: httpsUrl,
|
|
5762
|
+
headers: z.record(z.string(), z.string()),
|
|
5763
|
+
})
|
|
5764
|
+
.strict(),
|
|
5765
|
+
)
|
|
5766
|
+
.min(1)
|
|
5767
|
+
.max(64),
|
|
5768
|
+
})
|
|
5769
|
+
.strict();
|
|
5770
|
+
export type RotateSessionMcpCredentialsRequest = z.infer<typeof RotateSessionMcpCredentialsRequest>;
|
|
5771
|
+
|
|
5772
|
+
export const RotateSessionMcpCredentialsReceipt = z
|
|
5773
|
+
.object({
|
|
5774
|
+
operationKey: z.string().uuid(),
|
|
5775
|
+
sessionId: z.string().uuid(),
|
|
5776
|
+
servers: z
|
|
5777
|
+
.array(
|
|
5778
|
+
z
|
|
5779
|
+
.object({
|
|
5780
|
+
id: SessionMcpServerId,
|
|
5781
|
+
credentialVersion: z.number().int().positive(),
|
|
5782
|
+
})
|
|
5783
|
+
.strict(),
|
|
5784
|
+
)
|
|
5785
|
+
.min(1)
|
|
5786
|
+
.max(64),
|
|
5787
|
+
appliedAt: z.string().datetime(),
|
|
5788
|
+
})
|
|
5789
|
+
.strict();
|
|
5790
|
+
export type RotateSessionMcpCredentialsReceipt = z.infer<typeof RotateSessionMcpCredentialsReceipt>;
|
|
5791
|
+
|
|
5751
5792
|
export const SessionMcpServerMetadata = z
|
|
5752
5793
|
.object({
|
|
5753
5794
|
id: SessionMcpServerId,
|
|
@@ -6778,6 +6819,7 @@ export const SessionAuthorizationOperation = z.enum([
|
|
|
6778
6819
|
"session.channel.write",
|
|
6779
6820
|
"session.variable_sets.write",
|
|
6780
6821
|
"session.mcp.approval_policy.write",
|
|
6822
|
+
"session.mcp.credentials.rotate",
|
|
6781
6823
|
"session.tool_policy.write",
|
|
6782
6824
|
"session.goal.read",
|
|
6783
6825
|
"session.goal.write",
|