picked 0.0.119-next.1 → 0.0.119-next.2
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.
|
@@ -130,7 +130,7 @@ An operation with `@auth` needs a caller that has authenticated. `@auth(only: US
|
|
|
130
130
|
| [`mcpServerDelete`](/reference/management-api/schema/mcp-server#mcpserverdelete) | Mutation | Deletes an MCP server with its stored URL and auth header. Cannot be undone; an unknown ID returns `NOT_FOUND`. Scope: `ORGANIZATION_INTEGRATIONS_DELETE`. |
|
|
131
131
|
| [`mcpServerRegister`](/reference/management-api/schema/mcp-server#mcpserverregister) | Mutation | Registers a third-party MCP server to a project. Scope: `ORGANIZATION_INTEGRATIONS_CREATE`. |
|
|
132
132
|
| [`mcpServerUpdate`](/reference/management-api/schema/mcp-server#mcpserverupdate) | Mutation | Renames an MCP server. Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`. |
|
|
133
|
-
| [`mcpServerUrlSet`](/reference/management-api/schema/mcp-server#mcpserverurlset) | Mutation | Replaces an MCP server's URL.
|
|
133
|
+
| [`mcpServerUrlSet`](/reference/management-api/schema/mcp-server#mcpserverurlset) | Mutation | Replaces an MCP server's URL. Of the URL, the result shows only `urlDisplay`. A URL on another origin (scheme, host and port) removes the auth header unless `authHeader` supplies one; `hasAuthHeaderValue` in the result shows whether the server holds one. Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`. |
|
|
134
134
|
| [`mfaChallengeCreate`](/reference/management-api/schema/auth#mfachallengecreate) | Mutation | Opens a challenge against one of the caller's factors. |
|
|
135
135
|
| [`mfaChallengeVerify`](/reference/management-api/schema/auth#mfachallengeverify) | Mutation | Verifies an authenticator code against a challenge and returns the caller's session at `AAL2`. The user's other sessions keep their level. A wrong code returns `MFA_CHALLENGE_FAILED`, and an expired challenge `TOKEN_EXPIRED`. |
|
|
136
136
|
| [`mfaFactorEnroll`](/reference/management-api/schema/auth#mfafactorenroll) | Mutation | Enrols an authenticator app for the caller and returns its secret, once. First deletes the caller's unverified factors, except the two newest enrolled in the last minute; one holding the given `friendlyName` is deleted however new. |
|
|
@@ -41,7 +41,9 @@ mcpServerUpdate(input: McpServerUpdateInput!): McpServerUpdatePayload! @auth(onl
|
|
|
41
41
|
|
|
42
42
|
### `mcpServerUrlSet`
|
|
43
43
|
|
|
44
|
-
Replaces an MCP server's URL.
|
|
44
|
+
Replaces an MCP server's URL. Of the URL, the result shows only `urlDisplay`. A URL on another
|
|
45
|
+
origin (scheme, host and port) removes the auth header unless `authHeader` supplies one;
|
|
46
|
+
`hasAuthHeaderValue` in the result shows whether the server holds one.
|
|
45
47
|
Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
|
|
46
48
|
|
|
47
49
|
```graphql
|
|
@@ -201,6 +203,11 @@ input McpServerUrlSetInput {
|
|
|
201
203
|
id: ID!
|
|
202
204
|
"""The new URL, held to the rules of `McpServerRegisterInput.url`."""
|
|
203
205
|
url: String!
|
|
206
|
+
"""
|
|
207
|
+
The auth header to store with the URL, replacing the server's current one. Null keeps the current
|
|
208
|
+
header when the URL stays on the same origin and removes it when the URL moves to another.
|
|
209
|
+
"""
|
|
210
|
+
authHeader: McpAuthHeaderInput
|
|
204
211
|
}
|
|
205
212
|
```
|
|
206
213
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "picked",
|
|
3
3
|
"description": "The Picked SDK front door: the client, the picked.config helpers, and the picked CLI in one install",
|
|
4
|
-
"version": "0.0.119-next.
|
|
4
|
+
"version": "0.0.119-next.2",
|
|
5
5
|
"bin": {
|
|
6
6
|
"picked": "dist/esm/bin.js"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@picked/cli": "0.0.119-next.
|
|
10
|
-
"@picked/config": "0.0.119-next.
|
|
9
|
+
"@picked/cli": "0.0.119-next.2",
|
|
10
|
+
"@picked/config": "0.0.119-next.2"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@picked/client": "workspace:*",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"main": "./dist/cjs/index.js",
|
|
75
75
|
"module": "./dist/esm/index.js",
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@picked/client": "0.0.119-next.
|
|
77
|
+
"@picked/client": "0.0.119-next.2"
|
|
78
78
|
},
|
|
79
79
|
"private": false,
|
|
80
80
|
"publishConfig": {
|