@meetkai/mka1 0.54.64 → 0.54.65
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/bin/mcp-server.js +16 -11
- package/bin/mcp-server.js.map +8 -8
- package/dist/commonjs/funcs/datasetsCreateGeneration.d.ts +3 -2
- package/dist/commonjs/funcs/datasetsCreateGeneration.d.ts.map +1 -1
- package/dist/commonjs/funcs/datasetsCreateGeneration.js +3 -2
- package/dist/commonjs/funcs/datasetsCreateGeneration.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 +1 -1
- package/dist/commonjs/mcp-server/tools/datasetsCreateGeneration.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/datasetsCreateGeneration.js +3 -2
- package/dist/commonjs/mcp-server/tools/datasetsCreateGeneration.js.map +1 -1
- package/dist/commonjs/models/components/createdby.d.ts +2 -0
- package/dist/commonjs/models/components/createdby.d.ts.map +1 -1
- package/dist/commonjs/models/components/createdby.js +4 -0
- package/dist/commonjs/models/components/createdby.js.map +1 -1
- package/dist/commonjs/react-query/datasetsCreateGeneration.d.ts +3 -2
- package/dist/commonjs/react-query/datasetsCreateGeneration.d.ts.map +1 -1
- package/dist/commonjs/react-query/datasetsCreateGeneration.js +3 -2
- package/dist/commonjs/react-query/datasetsCreateGeneration.js.map +1 -1
- package/dist/commonjs/sdk/datasets.d.ts +3 -2
- package/dist/commonjs/sdk/datasets.d.ts.map +1 -1
- package/dist/commonjs/sdk/datasets.js +3 -2
- package/dist/commonjs/sdk/datasets.js.map +1 -1
- package/dist/esm/funcs/datasetsCreateGeneration.d.ts +3 -2
- package/dist/esm/funcs/datasetsCreateGeneration.d.ts.map +1 -1
- package/dist/esm/funcs/datasetsCreateGeneration.js +3 -2
- package/dist/esm/funcs/datasetsCreateGeneration.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 +1 -1
- package/dist/esm/mcp-server/tools/datasetsCreateGeneration.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/datasetsCreateGeneration.js +3 -2
- package/dist/esm/mcp-server/tools/datasetsCreateGeneration.js.map +1 -1
- package/dist/esm/models/components/createdby.d.ts +2 -0
- package/dist/esm/models/components/createdby.d.ts.map +1 -1
- package/dist/esm/models/components/createdby.js +4 -0
- package/dist/esm/models/components/createdby.js.map +1 -1
- package/dist/esm/react-query/datasetsCreateGeneration.d.ts +3 -2
- package/dist/esm/react-query/datasetsCreateGeneration.d.ts.map +1 -1
- package/dist/esm/react-query/datasetsCreateGeneration.js +3 -2
- package/dist/esm/react-query/datasetsCreateGeneration.js.map +1 -1
- package/dist/esm/sdk/datasets.d.ts +3 -2
- package/dist/esm/sdk/datasets.d.ts.map +1 -1
- package/dist/esm/sdk/datasets.js +3 -2
- package/dist/esm/sdk/datasets.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/datasetsCreateGeneration.ts +3 -2
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/datasetsCreateGeneration.ts +3 -2
- package/src/models/components/createdby.ts +6 -0
- package/src/react-query/datasetsCreateGeneration.ts +3 -2
- package/src/sdk/datasets.ts +3 -2
package/package.json
CHANGED
|
@@ -31,8 +31,9 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* Create Generation
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
-
* The components.md §6 D.1 sequence, in its order:
|
|
35
|
-
*
|
|
34
|
+
* The components.md §6 D.1 sequence, in its order: the run credential is minted before
|
|
35
|
+
* anything is spent, nothing is written before the digest is pinned, and the workflow starts
|
|
36
|
+
* only after the row is committed.
|
|
36
37
|
*
|
|
37
38
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
38
39
|
*/
|
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.1.0",
|
|
68
|
-
sdkVersion: "0.54.
|
|
68
|
+
sdkVersion: "0.54.65",
|
|
69
69
|
genVersion: "2.943.0",
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.54.65 2.943.0 1.1.0 @meetkai/mka1",
|
|
71
71
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -16,8 +16,9 @@ export const tool$datasetsCreateGeneration: ToolDefinition<typeof args> = {
|
|
|
16
16
|
name: "datasets-create-generation",
|
|
17
17
|
description: `Create Generation
|
|
18
18
|
|
|
19
|
-
The components.md §6 D.1 sequence, in its order:
|
|
20
|
-
|
|
19
|
+
The components.md §6 D.1 sequence, in its order: the run credential is minted before
|
|
20
|
+
anything is spent, nothing is written before the digest is pinned, and the workflow starts
|
|
21
|
+
only after the row is committed.`,
|
|
21
22
|
args,
|
|
22
23
|
tool: async (client, args, ctx) => {
|
|
23
24
|
const [result, apiCall] = await datasetsCreateGeneration(
|
|
@@ -12,6 +12,7 @@ export type CreatedBy = {
|
|
|
12
12
|
userId: string;
|
|
13
13
|
teamId: string | null;
|
|
14
14
|
apiKeyId: string | null;
|
|
15
|
+
delegationId: string | null;
|
|
15
16
|
};
|
|
16
17
|
|
|
17
18
|
/** @internal */
|
|
@@ -23,11 +24,13 @@ export const CreatedBy$inboundSchema: z.ZodType<
|
|
|
23
24
|
user_id: z.string(),
|
|
24
25
|
team_id: z.nullable(z.string()),
|
|
25
26
|
api_key_id: z.nullable(z.string()),
|
|
27
|
+
delegation_id: z.nullable(z.string()),
|
|
26
28
|
}).transform((v) => {
|
|
27
29
|
return remap$(v, {
|
|
28
30
|
"user_id": "userId",
|
|
29
31
|
"team_id": "teamId",
|
|
30
32
|
"api_key_id": "apiKeyId",
|
|
33
|
+
"delegation_id": "delegationId",
|
|
31
34
|
});
|
|
32
35
|
});
|
|
33
36
|
/** @internal */
|
|
@@ -35,6 +38,7 @@ export type CreatedBy$Outbound = {
|
|
|
35
38
|
user_id: string;
|
|
36
39
|
team_id: string | null;
|
|
37
40
|
api_key_id: string | null;
|
|
41
|
+
delegation_id: string | null;
|
|
38
42
|
};
|
|
39
43
|
|
|
40
44
|
/** @internal */
|
|
@@ -46,11 +50,13 @@ export const CreatedBy$outboundSchema: z.ZodType<
|
|
|
46
50
|
userId: z.string(),
|
|
47
51
|
teamId: z.nullable(z.string()),
|
|
48
52
|
apiKeyId: z.nullable(z.string()),
|
|
53
|
+
delegationId: z.nullable(z.string()),
|
|
49
54
|
}).transform((v) => {
|
|
50
55
|
return remap$(v, {
|
|
51
56
|
userId: "user_id",
|
|
52
57
|
teamId: "team_id",
|
|
53
58
|
apiKeyId: "api_key_id",
|
|
59
|
+
delegationId: "delegation_id",
|
|
54
60
|
});
|
|
55
61
|
});
|
|
56
62
|
|
|
@@ -50,8 +50,9 @@ export type DatasetsCreateGenerationMutationError =
|
|
|
50
50
|
* Create Generation
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* The components.md §6 D.1 sequence, in its order:
|
|
54
|
-
*
|
|
53
|
+
* The components.md §6 D.1 sequence, in its order: the run credential is minted before
|
|
54
|
+
* anything is spent, nothing is written before the digest is pinned, and the workflow starts
|
|
55
|
+
* only after the row is committed.
|
|
55
56
|
*/
|
|
56
57
|
export function useDatasetsCreateGenerationMutation(
|
|
57
58
|
options?: MutationHookOptions<
|
package/src/sdk/datasets.ts
CHANGED
|
@@ -81,8 +81,9 @@ export class Datasets extends ClientSDK {
|
|
|
81
81
|
* Create Generation
|
|
82
82
|
*
|
|
83
83
|
* @remarks
|
|
84
|
-
* The components.md §6 D.1 sequence, in its order:
|
|
85
|
-
*
|
|
84
|
+
* The components.md §6 D.1 sequence, in its order: the run credential is minted before
|
|
85
|
+
* anything is spent, nothing is written before the digest is pinned, and the workflow starts
|
|
86
|
+
* only after the row is committed.
|
|
86
87
|
*/
|
|
87
88
|
async createGeneration(
|
|
88
89
|
request: operations.CreateGenerationApiV1DatasetsGenerationsPostRequest,
|