@meetkai/mka1 0.54.71 → 0.54.72

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.
Files changed (75) hide show
  1. package/bin/mcp-server.js +16 -16
  2. package/bin/mcp-server.js.map +13 -13
  3. package/dist/commonjs/funcs/reposCreate.d.ts +5 -5
  4. package/dist/commonjs/funcs/reposCreate.js +5 -5
  5. package/dist/commonjs/funcs/reposDelete.d.ts +2 -2
  6. package/dist/commonjs/funcs/reposDelete.js +2 -2
  7. package/dist/commonjs/funcs/reposList.d.ts +1 -1
  8. package/dist/commonjs/funcs/reposList.js +1 -1
  9. package/dist/commonjs/funcs/reposUpdate.d.ts +3 -3
  10. package/dist/commonjs/funcs/reposUpdate.js +3 -3
  11. package/dist/commonjs/lib/config.d.ts +2 -2
  12. package/dist/commonjs/lib/config.js +2 -2
  13. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  14. package/dist/commonjs/mcp-server/server.js +1 -1
  15. package/dist/commonjs/mcp-server/tools/reposCreate.js +5 -5
  16. package/dist/commonjs/mcp-server/tools/reposDelete.js +2 -2
  17. package/dist/commonjs/mcp-server/tools/reposList.js +1 -1
  18. package/dist/commonjs/mcp-server/tools/reposUpdate.js +3 -3
  19. package/dist/commonjs/models/components/repo.d.ts +1 -1
  20. package/dist/commonjs/react-query/reposCreate.d.ts +5 -5
  21. package/dist/commonjs/react-query/reposCreate.js +5 -5
  22. package/dist/commonjs/react-query/reposDelete.d.ts +2 -2
  23. package/dist/commonjs/react-query/reposDelete.js +2 -2
  24. package/dist/commonjs/react-query/reposList.d.ts +2 -2
  25. package/dist/commonjs/react-query/reposList.js +2 -2
  26. package/dist/commonjs/react-query/reposUpdate.d.ts +3 -3
  27. package/dist/commonjs/react-query/reposUpdate.js +3 -3
  28. package/dist/commonjs/sdk/repos.d.ts +11 -11
  29. package/dist/commonjs/sdk/repos.js +11 -11
  30. package/dist/esm/funcs/reposCreate.d.ts +5 -5
  31. package/dist/esm/funcs/reposCreate.js +5 -5
  32. package/dist/esm/funcs/reposDelete.d.ts +2 -2
  33. package/dist/esm/funcs/reposDelete.js +2 -2
  34. package/dist/esm/funcs/reposList.d.ts +1 -1
  35. package/dist/esm/funcs/reposList.js +1 -1
  36. package/dist/esm/funcs/reposUpdate.d.ts +3 -3
  37. package/dist/esm/funcs/reposUpdate.js +3 -3
  38. package/dist/esm/lib/config.d.ts +2 -2
  39. package/dist/esm/lib/config.js +2 -2
  40. package/dist/esm/mcp-server/mcp-server.js +1 -1
  41. package/dist/esm/mcp-server/server.js +1 -1
  42. package/dist/esm/mcp-server/tools/reposCreate.js +5 -5
  43. package/dist/esm/mcp-server/tools/reposDelete.js +2 -2
  44. package/dist/esm/mcp-server/tools/reposList.js +1 -1
  45. package/dist/esm/mcp-server/tools/reposUpdate.js +3 -3
  46. package/dist/esm/models/components/repo.d.ts +1 -1
  47. package/dist/esm/react-query/reposCreate.d.ts +5 -5
  48. package/dist/esm/react-query/reposCreate.js +5 -5
  49. package/dist/esm/react-query/reposDelete.d.ts +2 -2
  50. package/dist/esm/react-query/reposDelete.js +2 -2
  51. package/dist/esm/react-query/reposList.d.ts +2 -2
  52. package/dist/esm/react-query/reposList.js +2 -2
  53. package/dist/esm/react-query/reposUpdate.d.ts +3 -3
  54. package/dist/esm/react-query/reposUpdate.js +3 -3
  55. package/dist/esm/sdk/repos.d.ts +11 -11
  56. package/dist/esm/sdk/repos.js +11 -11
  57. package/jsr.json +1 -1
  58. package/package.json +1 -1
  59. package/src/funcs/reposCreate.ts +5 -5
  60. package/src/funcs/reposDelete.ts +2 -2
  61. package/src/funcs/reposList.ts +1 -1
  62. package/src/funcs/reposUpdate.ts +3 -3
  63. package/src/lib/config.ts +2 -2
  64. package/src/mcp-server/mcp-server.ts +1 -1
  65. package/src/mcp-server/server.ts +1 -1
  66. package/src/mcp-server/tools/reposCreate.ts +5 -5
  67. package/src/mcp-server/tools/reposDelete.ts +2 -2
  68. package/src/mcp-server/tools/reposList.ts +1 -1
  69. package/src/mcp-server/tools/reposUpdate.ts +3 -3
  70. package/src/models/components/repo.ts +1 -1
  71. package/src/react-query/reposCreate.ts +5 -5
  72. package/src/react-query/reposDelete.ts +2 -2
  73. package/src/react-query/reposList.ts +2 -2
  74. package/src/react-query/reposUpdate.ts +3 -3
  75. package/src/sdk/repos.ts +11 -11
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
31
31
  export const SDK_METADATA = {
32
32
  language: "typescript",
33
33
  openapiDocVersion: "1.1.0",
34
- sdkVersion: "0.54.71",
34
+ sdkVersion: "0.54.72",
35
35
  genVersion: "2.943.0",
36
- userAgent: "speakeasy-sdk/typescript 0.54.71 2.943.0 1.1.0 @meetkai/mka1",
36
+ userAgent: "speakeasy-sdk/typescript 0.54.72 2.943.0 1.1.0 @meetkai/mka1",
37
37
  };
38
38
  //# sourceMappingURL=config.js.map
@@ -16,7 +16,7 @@ const routes = buildRouteMap({
16
16
  export const app = buildApplication(routes, {
17
17
  name: "mcp",
18
18
  versionInfo: {
19
- currentVersion: "0.54.71",
19
+ currentVersion: "0.54.72",
20
20
  },
21
21
  });
22
22
  run(app, process.argv.slice(2), buildContext(process));
@@ -458,7 +458,7 @@ import { tool$usageSandbox } from "./tools/usageSandbox.js";
458
458
  export function createMCPServer(deps) {
459
459
  const server = new McpServer({
460
460
  name: "SDK",
461
- version: "0.54.71",
461
+ version: "0.54.72",
462
462
  });
463
463
  const client = new SDKCore({
464
464
  bearerAuth: deps.bearerAuth,
@@ -11,11 +11,11 @@ export const tool$reposCreate = {
11
11
  name: "repos-create",
12
12
  description: `Create a repository
13
13
 
14
- Provisions a repository (org owner/admin only): DB insert
15
- (authoritative) → Gitea create (rolled back on failure). The repository
16
- belongs to the caller's org. \`kind\` says what it will hold and defaults
17
- to \`repo\` (a plain git repository); it decides which protocol planes
18
- answer for the name (see the \`Repo\` schema).
14
+ Provisions a repository (org owner/admin only); a failed provision is
15
+ rolled back best-effort (see the \`502\`). The repository belongs to the
16
+ caller's org. \`kind\` says what it will hold and defaults to \`repo\` (a
17
+ plain git repository); it decides which protocol planes answer for the
18
+ name (see the \`Repo\` schema).
19
19
  `,
20
20
  args,
21
21
  tool: async (client, args, ctx) => {
@@ -11,8 +11,8 @@ export const tool$reposDelete = {
11
11
  name: "repos-delete",
12
12
  description: `Delete a repository
13
13
 
14
- Removes a repository; org owner/admin only. The DB delete is
15
- authoritative; the Gitea teardown is best-effort cleanup.
14
+ Removes a repository; org owner/admin only. The deletion is
15
+ authoritative; the contents are cleaned up best-effort.
16
16
  `,
17
17
  args,
18
18
  tool: async (client, args, ctx) => {
@@ -12,7 +12,7 @@ export const tool$reposList = {
12
12
  description: `List the caller's org's repositories
13
13
 
14
14
  Returns every repository in the caller's org (org owner/admin only).
15
- Pure DB read. With \`kind\`, only repositories of that kind; an untyped
15
+ Read-only. With \`kind\`, only repositories of that kind; an untyped
16
16
  (legacy, \`kind: null\`) repository appears in the unfiltered listing
17
17
  only.
18
18
  `,
@@ -12,15 +12,15 @@ export const tool$reposUpdate = {
12
12
  description: `Update a repository's labels
13
13
 
14
14
  Applies a label-only update (name/description/kind); org owner/admin
15
- only. The repository id is stable, so a rename is a one-row DB update
16
- — no Gitea write. Omitted fields are left unchanged.
15
+ only. The repository id is stable, so a rename touches no contents.
16
+ Omitted fields are left unchanged.
17
17
 
18
18
  \`kind\` is the ONE way a repository's kind changes after creation (the
19
19
  protocol planes never change it): it types a legacy \`kind: null\`
20
20
  repository and corrects a wrong kind. \`repo\`, \`model\` and \`dataset\`
21
21
  convert freely and any repository may become \`image\`; a repository
22
22
  whose container images are still named by a tag can be given no
23
- other kind — leaving \`image\`, or typing a legacy \`null\` row as
23
+ other kind — leaving \`image\`, or typing a legacy \`null\` repository as
24
24
  anything else, is refused with \`409 kind_has_content\` (list and
25
25
  delete the tags through this API first). A switch away from \`image\`
26
26
  collects every image no tag reaches before it is judged, so an image
@@ -11,7 +11,7 @@ export type Repo = {
11
11
  * (the API, `git push`, the HF client, the OCI registry). It is the
12
12
  * same id the platform session and mk-authentication's members
13
13
  * directory use, so a name is one directory lookup away. `null`
14
- * for a row that records no user id; never an empty string.
14
+ * for a repository that records no user id; never an empty string.
15
15
  */
16
16
  creator: string | null;
17
17
  description: string;
@@ -19,11 +19,11 @@ export type ReposCreateMutationError = errors.RepoError | SDKError | ResponseVal
19
19
  * Create a repository
20
20
  *
21
21
  * @remarks
22
- * Provisions a repository (org owner/admin only): DB insert
23
- * (authoritative) → Gitea create (rolled back on failure). The repository
24
- * belongs to the caller's org. `kind` says what it will hold and defaults
25
- * to `repo` (a plain git repository); it decides which protocol planes
26
- * answer for the name (see the `Repo` schema).
22
+ * Provisions a repository (org owner/admin only); a failed provision is
23
+ * rolled back best-effort (see the `502`). The repository belongs to the
24
+ * caller's org. `kind` says what it will hold and defaults to `repo` (a
25
+ * plain git repository); it decides which protocol planes answer for the
26
+ * name (see the `Repo` schema).
27
27
  */
28
28
  export declare function useReposCreateMutation(options?: MutationHookOptions<ReposCreateMutationData, ReposCreateMutationError, ReposCreateMutationVariables>): UseMutationResult<ReposCreateMutationData, ReposCreateMutationError, ReposCreateMutationVariables>;
29
29
  export declare function mutationKeyReposCreate(): MutationKey;
@@ -10,11 +10,11 @@ import { useSDKContext } from "./_context.js";
10
10
  * Create a repository
11
11
  *
12
12
  * @remarks
13
- * Provisions a repository (org owner/admin only): DB insert
14
- * (authoritative) → Gitea create (rolled back on failure). The repository
15
- * belongs to the caller's org. `kind` says what it will hold and defaults
16
- * to `repo` (a plain git repository); it decides which protocol planes
17
- * answer for the name (see the `Repo` schema).
13
+ * Provisions a repository (org owner/admin only); a failed provision is
14
+ * rolled back best-effort (see the `502`). The repository belongs to the
15
+ * caller's org. `kind` says what it will hold and defaults to `repo` (a
16
+ * plain git repository); it decides which protocol planes answer for the
17
+ * name (see the `Repo` schema).
18
18
  */
19
19
  export function useReposCreateMutation(options) {
20
20
  const client = useSDKContext();
@@ -18,8 +18,8 @@ export type ReposDeleteMutationError = errors.RepoError | SDKError | ResponseVal
18
18
  * Delete a repository
19
19
  *
20
20
  * @remarks
21
- * Removes a repository; org owner/admin only. The DB delete is
22
- * authoritative; the Gitea teardown is best-effort cleanup.
21
+ * Removes a repository; org owner/admin only. The deletion is
22
+ * authoritative; the contents are cleaned up best-effort.
23
23
  */
24
24
  export declare function useReposDeleteMutation(options?: MutationHookOptions<ReposDeleteMutationData, ReposDeleteMutationError, ReposDeleteMutationVariables>): UseMutationResult<ReposDeleteMutationData, ReposDeleteMutationError, ReposDeleteMutationVariables>;
25
25
  export declare function mutationKeyReposDelete(): MutationKey;
@@ -10,8 +10,8 @@ import { useSDKContext } from "./_context.js";
10
10
  * Delete a repository
11
11
  *
12
12
  * @remarks
13
- * Removes a repository; org owner/admin only. The DB delete is
14
- * authoritative; the Gitea teardown is best-effort cleanup.
13
+ * Removes a repository; org owner/admin only. The deletion is
14
+ * authoritative; the contents are cleaned up best-effort.
15
15
  */
16
16
  export function useReposDeleteMutation(options) {
17
17
  const client = useSDKContext();
@@ -15,7 +15,7 @@ export type ReposListQueryError = errors.RepoError | SDKError | ResponseValidati
15
15
  *
16
16
  * @remarks
17
17
  * Returns every repository in the caller's org (org owner/admin only).
18
- * Pure DB read. With `kind`, only repositories of that kind; an untyped
18
+ * Read-only. With `kind`, only repositories of that kind; an untyped
19
19
  * (legacy, `kind: null`) repository appears in the unfiltered listing
20
20
  * only.
21
21
  */
@@ -25,7 +25,7 @@ export declare function useReposList(request: operations.ListReposRequest, optio
25
25
  *
26
26
  * @remarks
27
27
  * Returns every repository in the caller's org (org owner/admin only).
28
- * Pure DB read. With `kind`, only repositories of that kind; an untyped
28
+ * Read-only. With `kind`, only repositories of that kind; an untyped
29
29
  * (legacy, `kind: null`) repository appears in the unfiltered listing
30
30
  * only.
31
31
  */
@@ -10,7 +10,7 @@ export { buildReposListQuery, prefetchReposList, queryKeyReposList, };
10
10
  *
11
11
  * @remarks
12
12
  * Returns every repository in the caller's org (org owner/admin only).
13
- * Pure DB read. With `kind`, only repositories of that kind; an untyped
13
+ * Read-only. With `kind`, only repositories of that kind; an untyped
14
14
  * (legacy, `kind: null`) repository appears in the unfiltered listing
15
15
  * only.
16
16
  */
@@ -26,7 +26,7 @@ export function useReposList(request, options) {
26
26
  *
27
27
  * @remarks
28
28
  * Returns every repository in the caller's org (org owner/admin only).
29
- * Pure DB read. With `kind`, only repositories of that kind; an untyped
29
+ * Read-only. With `kind`, only repositories of that kind; an untyped
30
30
  * (legacy, `kind: null`) repository appears in the unfiltered listing
31
31
  * only.
32
32
  */
@@ -20,15 +20,15 @@ export type ReposUpdateMutationError = errors.RepoError | SDKError | ResponseVal
20
20
  *
21
21
  * @remarks
22
22
  * Applies a label-only update (name/description/kind); org owner/admin
23
- * only. The repository id is stable, so a rename is a one-row DB update
24
- * — no Gitea write. Omitted fields are left unchanged.
23
+ * only. The repository id is stable, so a rename touches no contents.
24
+ * Omitted fields are left unchanged.
25
25
  *
26
26
  * `kind` is the ONE way a repository's kind changes after creation (the
27
27
  * protocol planes never change it): it types a legacy `kind: null`
28
28
  * repository and corrects a wrong kind. `repo`, `model` and `dataset`
29
29
  * convert freely and any repository may become `image`; a repository
30
30
  * whose container images are still named by a tag can be given no
31
- * other kind — leaving `image`, or typing a legacy `null` row as
31
+ * other kind — leaving `image`, or typing a legacy `null` repository as
32
32
  * anything else, is refused with `409 kind_has_content` (list and
33
33
  * delete the tags through this API first). A switch away from `image`
34
34
  * collects every image no tag reaches before it is judged, so an image
@@ -11,15 +11,15 @@ import { useSDKContext } from "./_context.js";
11
11
  *
12
12
  * @remarks
13
13
  * Applies a label-only update (name/description/kind); org owner/admin
14
- * only. The repository id is stable, so a rename is a one-row DB update
15
- * — no Gitea write. Omitted fields are left unchanged.
14
+ * only. The repository id is stable, so a rename touches no contents.
15
+ * Omitted fields are left unchanged.
16
16
  *
17
17
  * `kind` is the ONE way a repository's kind changes after creation (the
18
18
  * protocol planes never change it): it types a legacy `kind: null`
19
19
  * repository and corrects a wrong kind. `repo`, `model` and `dataset`
20
20
  * convert freely and any repository may become `image`; a repository
21
21
  * whose container images are still named by a tag can be given no
22
- * other kind — leaving `image`, or typing a legacy `null` row as
22
+ * other kind — leaving `image`, or typing a legacy `null` repository as
23
23
  * anything else, is refused with `409 kind_has_content` (list and
24
24
  * delete the tags through this API first). A switch away from `image`
25
25
  * collects every image no tag reaches before it is judged, so an image
@@ -10,7 +10,7 @@ export declare class Repos extends ClientSDK {
10
10
  *
11
11
  * @remarks
12
12
  * Returns every repository in the caller's org (org owner/admin only).
13
- * Pure DB read. With `kind`, only repositories of that kind; an untyped
13
+ * Read-only. With `kind`, only repositories of that kind; an untyped
14
14
  * (legacy, `kind: null`) repository appears in the unfiltered listing
15
15
  * only.
16
16
  */
@@ -19,19 +19,19 @@ export declare class Repos extends ClientSDK {
19
19
  * Create a repository
20
20
  *
21
21
  * @remarks
22
- * Provisions a repository (org owner/admin only): DB insert
23
- * (authoritative) → Gitea create (rolled back on failure). The repository
24
- * belongs to the caller's org. `kind` says what it will hold and defaults
25
- * to `repo` (a plain git repository); it decides which protocol planes
26
- * answer for the name (see the `Repo` schema).
22
+ * Provisions a repository (org owner/admin only); a failed provision is
23
+ * rolled back best-effort (see the `502`). The repository belongs to the
24
+ * caller's org. `kind` says what it will hold and defaults to `repo` (a
25
+ * plain git repository); it decides which protocol planes answer for the
26
+ * name (see the `Repo` schema).
27
27
  */
28
28
  create(request: operations.CreateRepoRequest, options?: RequestOptions): Promise<components.Repo>;
29
29
  /**
30
30
  * Delete a repository
31
31
  *
32
32
  * @remarks
33
- * Removes a repository; org owner/admin only. The DB delete is
34
- * authoritative; the Gitea teardown is best-effort cleanup.
33
+ * Removes a repository; org owner/admin only. The deletion is
34
+ * authoritative; the contents are cleaned up best-effort.
35
35
  */
36
36
  delete(request: operations.DeleteRepoRequest, options?: RequestOptions): Promise<void>;
37
37
  /**
@@ -47,15 +47,15 @@ export declare class Repos extends ClientSDK {
47
47
  *
48
48
  * @remarks
49
49
  * Applies a label-only update (name/description/kind); org owner/admin
50
- * only. The repository id is stable, so a rename is a one-row DB update
51
- * — no Gitea write. Omitted fields are left unchanged.
50
+ * only. The repository id is stable, so a rename touches no contents.
51
+ * Omitted fields are left unchanged.
52
52
  *
53
53
  * `kind` is the ONE way a repository's kind changes after creation (the
54
54
  * protocol planes never change it): it types a legacy `kind: null`
55
55
  * repository and corrects a wrong kind. `repo`, `model` and `dataset`
56
56
  * convert freely and any repository may become `image`; a repository
57
57
  * whose container images are still named by a tag can be given no
58
- * other kind — leaving `image`, or typing a legacy `null` row as
58
+ * other kind — leaving `image`, or typing a legacy `null` repository as
59
59
  * anything else, is refused with `409 kind_has_content` (list and
60
60
  * delete the tags through this API first). A switch away from `image`
61
61
  * collects every image no tag reaches before it is judged, so an image
@@ -18,7 +18,7 @@ export class Repos extends ClientSDK {
18
18
  *
19
19
  * @remarks
20
20
  * Returns every repository in the caller's org (org owner/admin only).
21
- * Pure DB read. With `kind`, only repositories of that kind; an untyped
21
+ * Read-only. With `kind`, only repositories of that kind; an untyped
22
22
  * (legacy, `kind: null`) repository appears in the unfiltered listing
23
23
  * only.
24
24
  */
@@ -29,11 +29,11 @@ export class Repos extends ClientSDK {
29
29
  * Create a repository
30
30
  *
31
31
  * @remarks
32
- * Provisions a repository (org owner/admin only): DB insert
33
- * (authoritative) → Gitea create (rolled back on failure). The repository
34
- * belongs to the caller's org. `kind` says what it will hold and defaults
35
- * to `repo` (a plain git repository); it decides which protocol planes
36
- * answer for the name (see the `Repo` schema).
32
+ * Provisions a repository (org owner/admin only); a failed provision is
33
+ * rolled back best-effort (see the `502`). The repository belongs to the
34
+ * caller's org. `kind` says what it will hold and defaults to `repo` (a
35
+ * plain git repository); it decides which protocol planes answer for the
36
+ * name (see the `Repo` schema).
37
37
  */
38
38
  async create(request, options) {
39
39
  return unwrapAsync(reposCreate(this, request, options));
@@ -42,8 +42,8 @@ export class Repos extends ClientSDK {
42
42
  * Delete a repository
43
43
  *
44
44
  * @remarks
45
- * Removes a repository; org owner/admin only. The DB delete is
46
- * authoritative; the Gitea teardown is best-effort cleanup.
45
+ * Removes a repository; org owner/admin only. The deletion is
46
+ * authoritative; the contents are cleaned up best-effort.
47
47
  */
48
48
  async delete(request, options) {
49
49
  return unwrapAsync(reposDelete(this, request, options));
@@ -63,15 +63,15 @@ export class Repos extends ClientSDK {
63
63
  *
64
64
  * @remarks
65
65
  * Applies a label-only update (name/description/kind); org owner/admin
66
- * only. The repository id is stable, so a rename is a one-row DB update
67
- * — no Gitea write. Omitted fields are left unchanged.
66
+ * only. The repository id is stable, so a rename touches no contents.
67
+ * Omitted fields are left unchanged.
68
68
  *
69
69
  * `kind` is the ONE way a repository's kind changes after creation (the
70
70
  * protocol planes never change it): it types a legacy `kind: null`
71
71
  * repository and corrects a wrong kind. `repo`, `model` and `dataset`
72
72
  * convert freely and any repository may become `image`; a repository
73
73
  * whose container images are still named by a tag can be given no
74
- * other kind — leaving `image`, or typing a legacy `null` row as
74
+ * other kind — leaving `image`, or typing a legacy `null` repository as
75
75
  * anything else, is refused with `409 kind_has_content` (list and
76
76
  * delete the tags through this API first). A switch away from `image`
77
77
  * collects every image no tag reaches before it is judged, so an image
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@meetkai/mka1",
5
- "version": "0.54.71",
5
+ "version": "0.54.72",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetkai/mka1",
3
- "version": "0.54.71",
3
+ "version": "0.54.72",
4
4
  "author": "Daniel Wilder <dauncy@gmail.com>",
5
5
  "homepage": "https://docs.mka1.com",
6
6
  "publishConfig": {
@@ -31,11 +31,11 @@ import { Result } from "../types/fp.js";
31
31
  * Create a repository
32
32
  *
33
33
  * @remarks
34
- * Provisions a repository (org owner/admin only): DB insert
35
- * (authoritative) → Gitea create (rolled back on failure). The repository
36
- * belongs to the caller's org. `kind` says what it will hold and defaults
37
- * to `repo` (a plain git repository); it decides which protocol planes
38
- * answer for the name (see the `Repo` schema).
34
+ * Provisions a repository (org owner/admin only); a failed provision is
35
+ * rolled back best-effort (see the `502`). The repository belongs to the
36
+ * caller's org. `kind` says what it will hold and defaults to `repo` (a
37
+ * plain git repository); it decides which protocol planes answer for the
38
+ * name (see the `Repo` schema).
39
39
  *
40
40
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
41
41
  */
@@ -31,8 +31,8 @@ import { Result } from "../types/fp.js";
31
31
  * Delete a repository
32
32
  *
33
33
  * @remarks
34
- * Removes a repository; org owner/admin only. The DB delete is
35
- * authoritative; the Gitea teardown is best-effort cleanup.
34
+ * Removes a repository; org owner/admin only. The deletion is
35
+ * authoritative; the contents are cleaned up best-effort.
36
36
  *
37
37
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
38
38
  */
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
31
31
  *
32
32
  * @remarks
33
33
  * Returns every repository in the caller's org (org owner/admin only).
34
- * Pure DB read. With `kind`, only repositories of that kind; an untyped
34
+ * Read-only. With `kind`, only repositories of that kind; an untyped
35
35
  * (legacy, `kind: null`) repository appears in the unfiltered listing
36
36
  * only.
37
37
  *
@@ -32,15 +32,15 @@ import { Result } from "../types/fp.js";
32
32
  *
33
33
  * @remarks
34
34
  * Applies a label-only update (name/description/kind); org owner/admin
35
- * only. The repository id is stable, so a rename is a one-row DB update
36
- * — no Gitea write. Omitted fields are left unchanged.
35
+ * only. The repository id is stable, so a rename touches no contents.
36
+ * Omitted fields are left unchanged.
37
37
  *
38
38
  * `kind` is the ONE way a repository's kind changes after creation (the
39
39
  * protocol planes never change it): it types a legacy `kind: null`
40
40
  * repository and corrects a wrong kind. `repo`, `model` and `dataset`
41
41
  * convert freely and any repository may become `image`; a repository
42
42
  * whose container images are still named by a tag can be given no
43
- * other kind — leaving `image`, or typing a legacy `null` row as
43
+ * other kind — leaving `image`, or typing a legacy `null` repository as
44
44
  * anything else, is refused with `409 kind_has_content` (list and
45
45
  * delete the tags through this API first). A switch away from `image`
46
46
  * collects every image no tag reaches before it is judged, so an image
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.71",
68
+ sdkVersion: "0.54.72",
69
69
  genVersion: "2.943.0",
70
- userAgent: "speakeasy-sdk/typescript 0.54.71 2.943.0 1.1.0 @meetkai/mka1",
70
+ userAgent: "speakeasy-sdk/typescript 0.54.72 2.943.0 1.1.0 @meetkai/mka1",
71
71
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.54.71",
22
+ currentVersion: "0.54.72",
23
23
  },
24
24
  });
25
25
 
@@ -473,7 +473,7 @@ export function createMCPServer(deps: {
473
473
  }) {
474
474
  const server = new McpServer({
475
475
  name: "SDK",
476
- version: "0.54.71",
476
+ version: "0.54.72",
477
477
  });
478
478
 
479
479
  const client = new SDKCore({
@@ -14,11 +14,11 @@ export const tool$reposCreate: ToolDefinition<typeof args> = {
14
14
  name: "repos-create",
15
15
  description: `Create a repository
16
16
 
17
- Provisions a repository (org owner/admin only): DB insert
18
- (authoritative) → Gitea create (rolled back on failure). The repository
19
- belongs to the caller's org. \`kind\` says what it will hold and defaults
20
- to \`repo\` (a plain git repository); it decides which protocol planes
21
- answer for the name (see the \`Repo\` schema).
17
+ Provisions a repository (org owner/admin only); a failed provision is
18
+ rolled back best-effort (see the \`502\`). The repository belongs to the
19
+ caller's org. \`kind\` says what it will hold and defaults to \`repo\` (a
20
+ plain git repository); it decides which protocol planes answer for the
21
+ name (see the \`Repo\` schema).
22
22
  `,
23
23
  args,
24
24
  tool: async (client, args, ctx) => {
@@ -14,8 +14,8 @@ export const tool$reposDelete: ToolDefinition<typeof args> = {
14
14
  name: "repos-delete",
15
15
  description: `Delete a repository
16
16
 
17
- Removes a repository; org owner/admin only. The DB delete is
18
- authoritative; the Gitea teardown is best-effort cleanup.
17
+ Removes a repository; org owner/admin only. The deletion is
18
+ authoritative; the contents are cleaned up best-effort.
19
19
  `,
20
20
  args,
21
21
  tool: async (client, args, ctx) => {
@@ -15,7 +15,7 @@ export const tool$reposList: ToolDefinition<typeof args> = {
15
15
  description: `List the caller's org's repositories
16
16
 
17
17
  Returns every repository in the caller's org (org owner/admin only).
18
- Pure DB read. With \`kind\`, only repositories of that kind; an untyped
18
+ Read-only. With \`kind\`, only repositories of that kind; an untyped
19
19
  (legacy, \`kind: null\`) repository appears in the unfiltered listing
20
20
  only.
21
21
  `,
@@ -15,15 +15,15 @@ export const tool$reposUpdate: ToolDefinition<typeof args> = {
15
15
  description: `Update a repository's labels
16
16
 
17
17
  Applies a label-only update (name/description/kind); org owner/admin
18
- only. The repository id is stable, so a rename is a one-row DB update
19
- — no Gitea write. Omitted fields are left unchanged.
18
+ only. The repository id is stable, so a rename touches no contents.
19
+ Omitted fields are left unchanged.
20
20
 
21
21
  \`kind\` is the ONE way a repository's kind changes after creation (the
22
22
  protocol planes never change it): it types a legacy \`kind: null\`
23
23
  repository and corrects a wrong kind. \`repo\`, \`model\` and \`dataset\`
24
24
  convert freely and any repository may become \`image\`; a repository
25
25
  whose container images are still named by a tag can be given no
26
- other kind — leaving \`image\`, or typing a legacy \`null\` row as
26
+ other kind — leaving \`image\`, or typing a legacy \`null\` repository as
27
27
  anything else, is refused with \`409 kind_has_content\` (list and
28
28
  delete the tags through this API first). A switch away from \`image\`
29
29
  collects every image no tag reaches before it is judged, so an image
@@ -22,7 +22,7 @@ export type Repo = {
22
22
  * (the API, `git push`, the HF client, the OCI registry). It is the
23
23
  * same id the platform session and mk-authentication's members
24
24
  * directory use, so a name is one directory lookup away. `null`
25
- * for a row that records no user id; never an empty string.
25
+ * for a repository that records no user id; never an empty string.
26
26
  */
27
27
  creator: string | null;
28
28
  description: string;
@@ -50,11 +50,11 @@ export type ReposCreateMutationError =
50
50
  * Create a repository
51
51
  *
52
52
  * @remarks
53
- * Provisions a repository (org owner/admin only): DB insert
54
- * (authoritative) → Gitea create (rolled back on failure). The repository
55
- * belongs to the caller's org. `kind` says what it will hold and defaults
56
- * to `repo` (a plain git repository); it decides which protocol planes
57
- * answer for the name (see the `Repo` schema).
53
+ * Provisions a repository (org owner/admin only); a failed provision is
54
+ * rolled back best-effort (see the `502`). The repository belongs to the
55
+ * caller's org. `kind` says what it will hold and defaults to `repo` (a
56
+ * plain git repository); it decides which protocol planes answer for the
57
+ * name (see the `Repo` schema).
58
58
  */
59
59
  export function useReposCreateMutation(
60
60
  options?: MutationHookOptions<
@@ -49,8 +49,8 @@ export type ReposDeleteMutationError =
49
49
  * Delete a repository
50
50
  *
51
51
  * @remarks
52
- * Removes a repository; org owner/admin only. The DB delete is
53
- * authoritative; the Gitea teardown is best-effort cleanup.
52
+ * Removes a repository; org owner/admin only. The deletion is
53
+ * authoritative; the contents are cleaned up best-effort.
54
54
  */
55
55
  export function useReposDeleteMutation(
56
56
  options?: MutationHookOptions<
@@ -58,7 +58,7 @@ export type ReposListQueryError =
58
58
  *
59
59
  * @remarks
60
60
  * Returns every repository in the caller's org (org owner/admin only).
61
- * Pure DB read. With `kind`, only repositories of that kind; an untyped
61
+ * Read-only. With `kind`, only repositories of that kind; an untyped
62
62
  * (legacy, `kind: null`) repository appears in the unfiltered listing
63
63
  * only.
64
64
  */
@@ -82,7 +82,7 @@ export function useReposList(
82
82
  *
83
83
  * @remarks
84
84
  * Returns every repository in the caller's org (org owner/admin only).
85
- * Pure DB read. With `kind`, only repositories of that kind; an untyped
85
+ * Read-only. With `kind`, only repositories of that kind; an untyped
86
86
  * (legacy, `kind: null`) repository appears in the unfiltered listing
87
87
  * only.
88
88
  */
@@ -51,15 +51,15 @@ export type ReposUpdateMutationError =
51
51
  *
52
52
  * @remarks
53
53
  * Applies a label-only update (name/description/kind); org owner/admin
54
- * only. The repository id is stable, so a rename is a one-row DB update
55
- * — no Gitea write. Omitted fields are left unchanged.
54
+ * only. The repository id is stable, so a rename touches no contents.
55
+ * Omitted fields are left unchanged.
56
56
  *
57
57
  * `kind` is the ONE way a repository's kind changes after creation (the
58
58
  * protocol planes never change it): it types a legacy `kind: null`
59
59
  * repository and corrects a wrong kind. `repo`, `model` and `dataset`
60
60
  * convert freely and any repository may become `image`; a repository
61
61
  * whose container images are still named by a tag can be given no
62
- * other kind — leaving `image`, or typing a legacy `null` row as
62
+ * other kind — leaving `image`, or typing a legacy `null` repository as
63
63
  * anything else, is refused with `409 kind_has_content` (list and
64
64
  * delete the tags through this API first). A switch away from `image`
65
65
  * collects every image no tag reaches before it is judged, so an image