@meetkai/mka1 0.54.3 → 0.54.4
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 +2 -2
- package/bin/mcp-server.js +23 -9
- package/bin/mcp-server.js.map +8 -8
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +2 -1
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +9 -1
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +2 -2
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/models/components/connection.d.ts +2 -0
- package/dist/commonjs/models/components/connection.d.ts.map +1 -1
- package/dist/commonjs/models/components/connection.js +5 -0
- package/dist/commonjs/models/components/connection.js.map +1 -1
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts +2 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js +2 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js.map +1 -1
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js.map +1 -1
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +9 -4
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -1
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -1
- package/dist/commonjs/sdk/schema3other.d.ts +4 -4
- package/dist/commonjs/sdk/schema3other.d.ts.map +1 -1
- package/dist/commonjs/sdk/schema3other.js +6 -6
- package/dist/commonjs/sdk/schema3other.js.map +1 -1
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +2 -1
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -1
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +10 -2
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +2 -2
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/models/components/connection.d.ts +2 -0
- package/dist/esm/models/components/connection.d.ts.map +1 -1
- package/dist/esm/models/components/connection.js +5 -0
- package/dist/esm/models/components/connection.js.map +1 -1
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts +2 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts.map +1 -1
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js +2 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js.map +1 -1
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts.map +1 -1
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js.map +1 -1
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +9 -4
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -1
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -1
- package/dist/esm/sdk/schema3other.d.ts +4 -4
- package/dist/esm/sdk/schema3other.d.ts.map +1 -1
- package/dist/esm/sdk/schema3other.js +6 -6
- package/dist/esm/sdk/schema3other.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts +16 -2
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -2
- package/src/models/components/connection.ts +9 -0
- package/src/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.ts +4 -0
- package/src/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.ts +5 -1
- package/src/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts +12 -2
- package/src/sdk/schema3other.ts +11 -11
package/README.md
CHANGED
|
@@ -878,8 +878,8 @@ run();
|
|
|
878
878
|
### [Schema3Other](docs/sdks/schema3other/README.md)
|
|
879
879
|
|
|
880
880
|
* [createIntentApiV1SandboxGithubOauthIntentsPost](docs/sdks/schema3other/README.md#createintentapiv1sandboxgithuboauthintentspost) - Create Intent
|
|
881
|
-
* [getConnectionApiV1SandboxGithubOauthConnectionsGet](docs/sdks/schema3other/README.md#getconnectionapiv1sandboxgithuboauthconnectionsget) - Get Connection
|
|
882
881
|
* [connectApiV1SandboxGithubOauthConnectionsPost](docs/sdks/schema3other/README.md#connectapiv1sandboxgithuboauthconnectionspost) - Connect
|
|
882
|
+
* [getConnectionApiV1SandboxGithubOauthConnectionsGet](docs/sdks/schema3other/README.md#getconnectionapiv1sandboxgithuboauthconnectionsget) - Get Connection
|
|
883
883
|
* [disconnectApiV1SandboxGithubOauthConnectionsDelete](docs/sdks/schema3other/README.md#disconnectapiv1sandboxgithuboauthconnectionsdelete) - Disconnect
|
|
884
884
|
* [listRepositoriesApiV1SandboxGithubRepositoriesGet](docs/sdks/schema3other/README.md#listrepositoriesapiv1sandboxgithubrepositoriesget) - List Repositories
|
|
885
885
|
* [refreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost](docs/sdks/schema3other/README.md#refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost) - Refresh Repositories
|
|
@@ -1879,7 +1879,7 @@ run();
|
|
|
1879
1879
|
|
|
1880
1880
|
**Inherit from [`SDKError`](./src/models/errors/sdkerror.ts)**:
|
|
1881
1881
|
* [`ErrorEnvelope`](./src/models/errors/errorenvelope.ts): Error response. Applicable to 27 of 360 methods.*
|
|
1882
|
-
* [`HTTPValidationError`](./src/models/errors/httpvalidationerror.ts): Validation Error. Status code `422`. Applicable to
|
|
1882
|
+
* [`HTTPValidationError`](./src/models/errors/httpvalidationerror.ts): Validation Error. Status code `422`. Applicable to 22 of 360 methods.*
|
|
1883
1883
|
* [`RepoError`](./src/models/errors/repoerror.ts): The uniform error envelope. `error` is a stable machine-readable code (never an internal reason); `correlation_id` echoes the request's `X-Correlation-ID` for log correlation. Applicable to 5 of 360 methods.*
|
|
1884
1884
|
* [`ExchangeSessionTokenResponseBody`](./src/models/errors/exchangesessiontokenresponsebody.ts): Invalid request. Status code `400`. Applicable to 1 of 360 methods.*
|
|
1885
1885
|
* [`GetFileContentResponseBody`](./src/models/errors/getfilecontentresponsebody.ts): Invalid request - File ID is required. Status code `400`. Applicable to 1 of 360 methods.*
|
package/bin/mcp-server.js
CHANGED
|
@@ -52876,9 +52876,9 @@ var init_config = __esm(() => {
|
|
|
52876
52876
|
SDK_METADATA = {
|
|
52877
52877
|
language: "typescript",
|
|
52878
52878
|
openapiDocVersion: "1.1.0",
|
|
52879
|
-
sdkVersion: "0.54.
|
|
52879
|
+
sdkVersion: "0.54.4",
|
|
52880
52880
|
genVersion: "2.932.9",
|
|
52881
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
52881
|
+
userAgent: "speakeasy-sdk/typescript 0.54.4 2.932.9 1.1.0 @meetkai/mka1"
|
|
52882
52882
|
};
|
|
52883
52883
|
});
|
|
52884
52884
|
|
|
@@ -61828,12 +61828,14 @@ var init_connection = __esm(() => {
|
|
|
61828
61828
|
github_user_id: numberType().int(),
|
|
61829
61829
|
scopes: stringType(),
|
|
61830
61830
|
synced_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
61831
|
+
token_invalid_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
61831
61832
|
repositories: arrayType(ConnectedRepository$inboundSchema)
|
|
61832
61833
|
}).transform((v2) => {
|
|
61833
61834
|
return remap(v2, {
|
|
61834
61835
|
github_login: "githubLogin",
|
|
61835
61836
|
github_user_id: "githubUserId",
|
|
61836
|
-
synced_at: "syncedAt"
|
|
61837
|
+
synced_at: "syncedAt",
|
|
61838
|
+
token_invalid_at: "tokenInvalidAt"
|
|
61837
61839
|
});
|
|
61838
61840
|
});
|
|
61839
61841
|
Connection$outboundSchema = objectType({
|
|
@@ -61841,12 +61843,14 @@ var init_connection = __esm(() => {
|
|
|
61841
61843
|
githubUserId: numberType().int(),
|
|
61842
61844
|
scopes: stringType(),
|
|
61843
61845
|
syncedAt: dateType().transform((v2) => v2.toISOString()),
|
|
61846
|
+
tokenInvalidAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
61844
61847
|
repositories: arrayType(ConnectedRepository$outboundSchema)
|
|
61845
61848
|
}).transform((v2) => {
|
|
61846
61849
|
return remap(v2, {
|
|
61847
61850
|
githubLogin: "github_login",
|
|
61848
61851
|
githubUserId: "github_user_id",
|
|
61849
|
-
syncedAt: "synced_at"
|
|
61852
|
+
syncedAt: "synced_at",
|
|
61853
|
+
tokenInvalidAt: "token_invalid_at"
|
|
61850
61854
|
});
|
|
61851
61855
|
});
|
|
61852
61856
|
});
|
|
@@ -91581,6 +91585,7 @@ var init_getconnectionapiv1sandboxgithuboauthconnectionsget = __esm(() => {
|
|
|
91581
91585
|
init_esm();
|
|
91582
91586
|
init_primitives();
|
|
91583
91587
|
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema = objectType({
|
|
91588
|
+
verify: booleanType().default(false),
|
|
91584
91589
|
"X-On-Behalf-Of": stringType().optional()
|
|
91585
91590
|
}).transform((v2) => {
|
|
91586
91591
|
return remap(v2, {
|
|
@@ -91588,6 +91593,7 @@ var init_getconnectionapiv1sandboxgithuboauthconnectionsget = __esm(() => {
|
|
|
91588
91593
|
});
|
|
91589
91594
|
});
|
|
91590
91595
|
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema = objectType({
|
|
91596
|
+
verify: booleanType().default(false),
|
|
91591
91597
|
xOnBehalfOf: stringType().optional()
|
|
91592
91598
|
}).transform((v2) => {
|
|
91593
91599
|
return remap(v2, {
|
|
@@ -145816,6 +145822,9 @@ async function $do351(client, request, options) {
|
|
|
145816
145822
|
const payload = parsed.value;
|
|
145817
145823
|
const body = null;
|
|
145818
145824
|
const path = pathToFunc("/api/v1/sandbox/github/oauth/connections")();
|
|
145825
|
+
const query = encodeFormQuery({
|
|
145826
|
+
verify: payload.verify
|
|
145827
|
+
});
|
|
145819
145828
|
const headers = new Headers(compactMap({
|
|
145820
145829
|
Accept: "application/json",
|
|
145821
145830
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -145848,6 +145857,7 @@ async function $do351(client, request, options) {
|
|
|
145848
145857
|
baseURL: options?.serverURL,
|
|
145849
145858
|
path,
|
|
145850
145859
|
headers,
|
|
145860
|
+
query,
|
|
145851
145861
|
body,
|
|
145852
145862
|
userAgent: client._options.userAgent,
|
|
145853
145863
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -145866,7 +145876,10 @@ async function $do351(client, request, options) {
|
|
|
145866
145876
|
return [doResult, { status: "request-error", request: req }];
|
|
145867
145877
|
}
|
|
145868
145878
|
const response = doResult.value;
|
|
145869
|
-
const
|
|
145879
|
+
const responseFields = {
|
|
145880
|
+
HttpMeta: { Response: response, Request: req }
|
|
145881
|
+
};
|
|
145882
|
+
const [result] = await match(json(200, ConnectionEnvelope$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
145870
145883
|
if (!result.ok) {
|
|
145871
145884
|
return [result, { status: "complete", request: req, response }];
|
|
145872
145885
|
}
|
|
@@ -145881,6 +145894,7 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(
|
|
|
145881
145894
|
init_security();
|
|
145882
145895
|
init_url();
|
|
145883
145896
|
init_components();
|
|
145897
|
+
init_errors4();
|
|
145884
145898
|
init_operations();
|
|
145885
145899
|
init_async();
|
|
145886
145900
|
});
|
|
@@ -146725,7 +146739,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
146725
146739
|
function createMCPServer(deps) {
|
|
146726
146740
|
const server = new McpServer({
|
|
146727
146741
|
name: "SDK",
|
|
146728
|
-
version: "0.54.
|
|
146742
|
+
version: "0.54.4"
|
|
146729
146743
|
});
|
|
146730
146744
|
const client = new SDKCore({
|
|
146731
146745
|
bearerAuth: deps.bearerAuth,
|
|
@@ -146745,8 +146759,8 @@ function createMCPServer(deps) {
|
|
|
146745
146759
|
tool(tool$guardrailsListGuardrailsPolicies);
|
|
146746
146760
|
tool(tool$guardrailsTestGuardrails);
|
|
146747
146761
|
tool(tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost);
|
|
146748
|
-
tool(tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet);
|
|
146749
146762
|
tool(tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost);
|
|
146763
|
+
tool(tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet);
|
|
146750
146764
|
tool(tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete);
|
|
146751
146765
|
tool(tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet);
|
|
146752
146766
|
tool(tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost);
|
|
@@ -148639,7 +148653,7 @@ var routes = rn({
|
|
|
148639
148653
|
var app = Ve(routes, {
|
|
148640
148654
|
name: "mcp",
|
|
148641
148655
|
versionInfo: {
|
|
148642
|
-
currentVersion: "0.54.
|
|
148656
|
+
currentVersion: "0.54.4"
|
|
148643
148657
|
}
|
|
148644
148658
|
});
|
|
148645
148659
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -148647,5 +148661,5 @@ export {
|
|
|
148647
148661
|
app
|
|
148648
148662
|
};
|
|
148649
148663
|
|
|
148650
|
-
//# debugId=
|
|
148664
|
+
//# debugId=8304397CE0FC72BE64756E2164756E21
|
|
148651
148665
|
//# sourceMappingURL=mcp-server.js.map
|