@meetkai/mka1 0.54.49 → 0.54.50

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 (191) hide show
  1. package/bin/mcp-server.js +71 -13
  2. package/bin/mcp-server.js.map +21 -20
  3. package/dist/commonjs/funcs/flagsEnvironmentsGenerateEvaluationKey.d.ts +1 -1
  4. package/dist/commonjs/funcs/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
  5. package/dist/commonjs/funcs/reposCreate.d.ts +3 -1
  6. package/dist/commonjs/funcs/reposCreate.d.ts.map +1 -1
  7. package/dist/commonjs/funcs/reposCreate.js +3 -1
  8. package/dist/commonjs/funcs/reposCreate.js.map +1 -1
  9. package/dist/commonjs/funcs/reposList.d.ts +3 -1
  10. package/dist/commonjs/funcs/reposList.d.ts.map +1 -1
  11. package/dist/commonjs/funcs/reposList.js +8 -2
  12. package/dist/commonjs/funcs/reposList.js.map +1 -1
  13. package/dist/commonjs/funcs/reposUpdate.d.ts +12 -3
  14. package/dist/commonjs/funcs/reposUpdate.d.ts.map +1 -1
  15. package/dist/commonjs/funcs/reposUpdate.js +12 -3
  16. package/dist/commonjs/funcs/reposUpdate.js.map +1 -1
  17. package/dist/commonjs/lib/config.d.ts +2 -2
  18. package/dist/commonjs/lib/config.js +2 -2
  19. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  20. package/dist/commonjs/mcp-server/server.js +1 -1
  21. package/dist/commonjs/mcp-server/tools/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
  22. package/dist/commonjs/mcp-server/tools/flagsEnvironmentsGenerateEvaluationKey.js.map +1 -1
  23. package/dist/commonjs/mcp-server/tools/reposCreate.d.ts.map +1 -1
  24. package/dist/commonjs/mcp-server/tools/reposCreate.js +3 -1
  25. package/dist/commonjs/mcp-server/tools/reposCreate.js.map +1 -1
  26. package/dist/commonjs/mcp-server/tools/reposList.d.ts.map +1 -1
  27. package/dist/commonjs/mcp-server/tools/reposList.js +3 -1
  28. package/dist/commonjs/mcp-server/tools/reposList.js.map +1 -1
  29. package/dist/commonjs/mcp-server/tools/reposUpdate.d.ts.map +1 -1
  30. package/dist/commonjs/mcp-server/tools/reposUpdate.js +12 -3
  31. package/dist/commonjs/mcp-server/tools/reposUpdate.js.map +1 -1
  32. package/dist/commonjs/models/components/createreporequest.d.ts +23 -0
  33. package/dist/commonjs/models/components/createreporequest.d.ts.map +1 -1
  34. package/dist/commonjs/models/components/createreporequest.js +16 -1
  35. package/dist/commonjs/models/components/createreporequest.js.map +1 -1
  36. package/dist/commonjs/models/components/featureflagenvironment.d.ts +10 -0
  37. package/dist/commonjs/models/components/featureflagenvironment.d.ts.map +1 -1
  38. package/dist/commonjs/models/components/featureflagenvironment.js +8 -0
  39. package/dist/commonjs/models/components/featureflagenvironment.js.map +1 -1
  40. package/dist/commonjs/models/components/index.d.ts +1 -0
  41. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  42. package/dist/commonjs/models/components/index.js +1 -0
  43. package/dist/commonjs/models/components/index.js.map +1 -1
  44. package/dist/commonjs/models/components/patchreporequest.d.ts +9 -0
  45. package/dist/commonjs/models/components/patchreporequest.d.ts.map +1 -1
  46. package/dist/commonjs/models/components/patchreporequest.js +3 -0
  47. package/dist/commonjs/models/components/patchreporequest.js.map +1 -1
  48. package/dist/commonjs/models/components/repo.d.ts +10 -0
  49. package/dist/commonjs/models/components/repo.d.ts.map +1 -1
  50. package/dist/commonjs/models/components/repo.js +3 -0
  51. package/dist/commonjs/models/components/repo.js.map +1 -1
  52. package/dist/commonjs/models/components/repokind.d.ts +36 -0
  53. package/dist/commonjs/models/components/repokind.d.ts.map +1 -0
  54. package/dist/commonjs/models/components/repokind.js +63 -0
  55. package/dist/commonjs/models/components/repokind.js.map +1 -0
  56. package/dist/commonjs/models/operations/listrepos.d.ts +8 -0
  57. package/dist/commonjs/models/operations/listrepos.d.ts.map +1 -1
  58. package/dist/commonjs/models/operations/listrepos.js +2 -0
  59. package/dist/commonjs/models/operations/listrepos.js.map +1 -1
  60. package/dist/commonjs/react-query/flagsEnvironmentsGenerateEvaluationKey.d.ts +1 -1
  61. package/dist/commonjs/react-query/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
  62. package/dist/commonjs/react-query/reposCreate.d.ts +3 -1
  63. package/dist/commonjs/react-query/reposCreate.d.ts.map +1 -1
  64. package/dist/commonjs/react-query/reposCreate.js +3 -1
  65. package/dist/commonjs/react-query/reposCreate.js.map +1 -1
  66. package/dist/commonjs/react-query/reposList.core.d.ts +2 -0
  67. package/dist/commonjs/react-query/reposList.core.d.ts.map +1 -1
  68. package/dist/commonjs/react-query/reposList.core.js +4 -1
  69. package/dist/commonjs/react-query/reposList.core.js.map +1 -1
  70. package/dist/commonjs/react-query/reposList.d.ts +14 -5
  71. package/dist/commonjs/react-query/reposList.d.ts.map +1 -1
  72. package/dist/commonjs/react-query/reposList.js +6 -2
  73. package/dist/commonjs/react-query/reposList.js.map +1 -1
  74. package/dist/commonjs/react-query/reposUpdate.d.ts +12 -3
  75. package/dist/commonjs/react-query/reposUpdate.d.ts.map +1 -1
  76. package/dist/commonjs/react-query/reposUpdate.js +12 -3
  77. package/dist/commonjs/react-query/reposUpdate.js.map +1 -1
  78. package/dist/commonjs/sdk/environments.d.ts +1 -1
  79. package/dist/commonjs/sdk/environments.js +1 -1
  80. package/dist/commonjs/sdk/repos.d.ts +18 -5
  81. package/dist/commonjs/sdk/repos.d.ts.map +1 -1
  82. package/dist/commonjs/sdk/repos.js +18 -5
  83. package/dist/commonjs/sdk/repos.js.map +1 -1
  84. package/dist/esm/funcs/flagsEnvironmentsGenerateEvaluationKey.d.ts +1 -1
  85. package/dist/esm/funcs/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
  86. package/dist/esm/funcs/reposCreate.d.ts +3 -1
  87. package/dist/esm/funcs/reposCreate.d.ts.map +1 -1
  88. package/dist/esm/funcs/reposCreate.js +3 -1
  89. package/dist/esm/funcs/reposCreate.js.map +1 -1
  90. package/dist/esm/funcs/reposList.d.ts +3 -1
  91. package/dist/esm/funcs/reposList.d.ts.map +1 -1
  92. package/dist/esm/funcs/reposList.js +9 -3
  93. package/dist/esm/funcs/reposList.js.map +1 -1
  94. package/dist/esm/funcs/reposUpdate.d.ts +12 -3
  95. package/dist/esm/funcs/reposUpdate.d.ts.map +1 -1
  96. package/dist/esm/funcs/reposUpdate.js +12 -3
  97. package/dist/esm/funcs/reposUpdate.js.map +1 -1
  98. package/dist/esm/lib/config.d.ts +2 -2
  99. package/dist/esm/lib/config.js +2 -2
  100. package/dist/esm/mcp-server/mcp-server.js +1 -1
  101. package/dist/esm/mcp-server/server.js +1 -1
  102. package/dist/esm/mcp-server/tools/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
  103. package/dist/esm/mcp-server/tools/flagsEnvironmentsGenerateEvaluationKey.js.map +1 -1
  104. package/dist/esm/mcp-server/tools/reposCreate.d.ts.map +1 -1
  105. package/dist/esm/mcp-server/tools/reposCreate.js +3 -1
  106. package/dist/esm/mcp-server/tools/reposCreate.js.map +1 -1
  107. package/dist/esm/mcp-server/tools/reposList.d.ts.map +1 -1
  108. package/dist/esm/mcp-server/tools/reposList.js +3 -1
  109. package/dist/esm/mcp-server/tools/reposList.js.map +1 -1
  110. package/dist/esm/mcp-server/tools/reposUpdate.d.ts.map +1 -1
  111. package/dist/esm/mcp-server/tools/reposUpdate.js +12 -3
  112. package/dist/esm/mcp-server/tools/reposUpdate.js.map +1 -1
  113. package/dist/esm/models/components/createreporequest.d.ts +23 -0
  114. package/dist/esm/models/components/createreporequest.d.ts.map +1 -1
  115. package/dist/esm/models/components/createreporequest.js +15 -0
  116. package/dist/esm/models/components/createreporequest.js.map +1 -1
  117. package/dist/esm/models/components/featureflagenvironment.d.ts +10 -0
  118. package/dist/esm/models/components/featureflagenvironment.d.ts.map +1 -1
  119. package/dist/esm/models/components/featureflagenvironment.js +8 -0
  120. package/dist/esm/models/components/featureflagenvironment.js.map +1 -1
  121. package/dist/esm/models/components/index.d.ts +1 -0
  122. package/dist/esm/models/components/index.d.ts.map +1 -1
  123. package/dist/esm/models/components/index.js +1 -0
  124. package/dist/esm/models/components/index.js.map +1 -1
  125. package/dist/esm/models/components/patchreporequest.d.ts +9 -0
  126. package/dist/esm/models/components/patchreporequest.d.ts.map +1 -1
  127. package/dist/esm/models/components/patchreporequest.js +3 -0
  128. package/dist/esm/models/components/patchreporequest.js.map +1 -1
  129. package/dist/esm/models/components/repo.d.ts +10 -0
  130. package/dist/esm/models/components/repo.d.ts.map +1 -1
  131. package/dist/esm/models/components/repo.js +3 -0
  132. package/dist/esm/models/components/repo.js.map +1 -1
  133. package/dist/esm/models/components/repokind.d.ts +36 -0
  134. package/dist/esm/models/components/repokind.d.ts.map +1 -0
  135. package/dist/esm/models/components/repokind.js +27 -0
  136. package/dist/esm/models/components/repokind.js.map +1 -0
  137. package/dist/esm/models/operations/listrepos.d.ts +8 -0
  138. package/dist/esm/models/operations/listrepos.d.ts.map +1 -1
  139. package/dist/esm/models/operations/listrepos.js +2 -0
  140. package/dist/esm/models/operations/listrepos.js.map +1 -1
  141. package/dist/esm/react-query/flagsEnvironmentsGenerateEvaluationKey.d.ts +1 -1
  142. package/dist/esm/react-query/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
  143. package/dist/esm/react-query/reposCreate.d.ts +3 -1
  144. package/dist/esm/react-query/reposCreate.d.ts.map +1 -1
  145. package/dist/esm/react-query/reposCreate.js +3 -1
  146. package/dist/esm/react-query/reposCreate.js.map +1 -1
  147. package/dist/esm/react-query/reposList.core.d.ts +2 -0
  148. package/dist/esm/react-query/reposList.core.d.ts.map +1 -1
  149. package/dist/esm/react-query/reposList.core.js +4 -1
  150. package/dist/esm/react-query/reposList.core.js.map +1 -1
  151. package/dist/esm/react-query/reposList.d.ts +14 -5
  152. package/dist/esm/react-query/reposList.d.ts.map +1 -1
  153. package/dist/esm/react-query/reposList.js +6 -2
  154. package/dist/esm/react-query/reposList.js.map +1 -1
  155. package/dist/esm/react-query/reposUpdate.d.ts +12 -3
  156. package/dist/esm/react-query/reposUpdate.d.ts.map +1 -1
  157. package/dist/esm/react-query/reposUpdate.js +12 -3
  158. package/dist/esm/react-query/reposUpdate.js.map +1 -1
  159. package/dist/esm/sdk/environments.d.ts +1 -1
  160. package/dist/esm/sdk/environments.js +1 -1
  161. package/dist/esm/sdk/repos.d.ts +18 -5
  162. package/dist/esm/sdk/repos.d.ts.map +1 -1
  163. package/dist/esm/sdk/repos.js +18 -5
  164. package/dist/esm/sdk/repos.js.map +1 -1
  165. package/jsr.json +1 -1
  166. package/package.json +1 -1
  167. package/src/funcs/flagsEnvironmentsGenerateEvaluationKey.ts +1 -1
  168. package/src/funcs/reposCreate.ts +3 -1
  169. package/src/funcs/reposList.ts +10 -3
  170. package/src/funcs/reposUpdate.ts +12 -3
  171. package/src/lib/config.ts +2 -2
  172. package/src/mcp-server/mcp-server.ts +1 -1
  173. package/src/mcp-server/server.ts +1 -1
  174. package/src/mcp-server/tools/flagsEnvironmentsGenerateEvaluationKey.ts +1 -1
  175. package/src/mcp-server/tools/reposCreate.ts +3 -1
  176. package/src/mcp-server/tools/reposList.ts +3 -1
  177. package/src/mcp-server/tools/reposUpdate.ts +12 -3
  178. package/src/models/components/createreporequest.ts +31 -0
  179. package/src/models/components/featureflagenvironment.ts +18 -0
  180. package/src/models/components/index.ts +1 -0
  181. package/src/models/components/patchreporequest.ts +15 -0
  182. package/src/models/components/repo.ts +16 -0
  183. package/src/models/components/repokind.ts +43 -0
  184. package/src/models/operations/listrepos.ts +10 -0
  185. package/src/react-query/flagsEnvironmentsGenerateEvaluationKey.ts +1 -1
  186. package/src/react-query/reposCreate.ts +3 -1
  187. package/src/react-query/reposList.core.ts +9 -2
  188. package/src/react-query/reposList.ts +17 -4
  189. package/src/react-query/reposUpdate.ts +12 -3
  190. package/src/sdk/environments.ts +1 -1
  191. package/src/sdk/repos.ts +18 -5
@@ -3,6 +3,13 @@ import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import * as components from "../components/index.js";
4
4
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
5
  export type ListReposRequest = {
6
+ /**
7
+ * Narrow the listing to one kind. Omit it for every repository,
8
+ *
9
+ * @remarks
10
+ * untyped ones included.
11
+ */
12
+ kind?: components.RepoKind | undefined;
6
13
  /**
7
14
  * Optional external end-user identifier forwarded by the API gateway.
8
15
  */
@@ -18,6 +25,7 @@ export type ListReposResponseBody = {
18
25
  export declare const ListReposRequest$inboundSchema: z.ZodType<ListReposRequest, z.ZodTypeDef, unknown>;
19
26
  /** @internal */
20
27
  export type ListReposRequest$Outbound = {
28
+ kind?: string | undefined;
21
29
  "X-On-Behalf-Of"?: string | undefined;
22
30
  };
23
31
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"listrepos.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/listrepos.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gB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CAIR;AACD,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -7,6 +7,7 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import * as components from "../components/index.js";
8
8
  /** @internal */
9
9
  export const ListReposRequest$inboundSchema = z.object({
10
+ kind: components.RepoKind$inboundSchema.optional(),
10
11
  "X-On-Behalf-Of": z.string().optional(),
11
12
  }).transform((v) => {
12
13
  return remap$(v, {
@@ -15,6 +16,7 @@ export const ListReposRequest$inboundSchema = z.object({
15
16
  });
16
17
  /** @internal */
17
18
  export const ListReposRequest$outboundSchema = z.object({
19
+ kind: components.RepoKind$outboundSchema.optional(),
18
20
  xOnBehalfOf: z.string().optional(),
19
21
  }).transform((v) => {
20
22
  return remap$(v, {
@@ -1 +1 @@
1
- {"version":3,"file":"listrepos.js","sourceRoot":"","sources":["../../../../src/models/operations/listrepos.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAiBrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,aAAa;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAMH,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,C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C,EAAE,EAAE,CAAC,8BAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,kBAAkB,CAAC;CAC9C,CAAC,CAAC;AAMH,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC;CAC/C,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -18,7 +18,7 @@ export type FlagsEnvironmentsGenerateEvaluationKeyMutationError = errors.Feature
18
18
  * Generate or replace an environment evaluation key
19
19
  *
20
20
  * @remarks
21
- * Returns the new plaintext key once. Only its SHA-256 digest is stored; generating another key immediately replaces the previous credential on this replica.
21
+ * Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.
22
22
  */
23
23
  export declare function useFlagsEnvironmentsGenerateEvaluationKeyMutation(options?: MutationHookOptions<FlagsEnvironmentsGenerateEvaluationKeyMutationData, FlagsEnvironmentsGenerateEvaluationKeyMutationError, FlagsEnvironmentsGenerateEvaluationKeyMutationVariables>): UseMutationResult<FlagsEnvironmentsGenerateEvaluationKeyMutationData, FlagsEnvironmentsGenerateEvaluationKeyMutationError, FlagsEnvironmentsGenerateEvaluationKeyMutationVariables>;
24
24
  export declare function mutationKeyFlagsEnvironmentsGenerateEvaluationKey(): MutationKey;
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
10
10
  * Generate or replace an environment evaluation key
11
11
  *
12
12
  * @remarks
13
- * Returns the new plaintext key once. Only its SHA-256 digest is stored; generating another key immediately replaces the previous credential on this replica.
13
+ * Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.
14
14
  */
15
15
  export function useFlagsEnvironmentsGenerateEvaluationKeyMutation(options) {
16
16
  const client = useSDKContext();
@@ -21,7 +21,9 @@ export type ReposCreateMutationError = errors.RepoError | SDKError | ResponseVal
21
21
  * @remarks
22
22
  * Provisions a repository (org owner/admin only): DB insert
23
23
  * (authoritative) → Gitea create (rolled back on failure). The repository
24
- * belongs to the caller's org.
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).
25
27
  */
26
28
  export declare function useReposCreateMutation(options?: MutationHookOptions<ReposCreateMutationData, ReposCreateMutationError, ReposCreateMutationVariables>): UseMutationResult<ReposCreateMutationData, ReposCreateMutationError, ReposCreateMutationVariables>;
27
29
  export declare function mutationKeyReposCreate(): MutationKey;
@@ -1 +1 @@
1
- {"version":3,"file":"reposCreate.d.ts","sourceRoot":"","sources":["../../../src/react-query/reposCreate.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,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AED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,OAAO,EAChB,WAAW,CAAC,EAAE,cAAc,GAC3B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,CACV,SAAS,EAAE,4BAA4B,KACpC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACvC,CA0BA"}
@@ -12,7 +12,9 @@ import { useSDKContext } from "./_context.js";
12
12
  * @remarks
13
13
  * Provisions a repository (org owner/admin only): DB insert
14
14
  * (authoritative) → Gitea create (rolled back on failure). The repository
15
- * belongs to the caller's org.
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).
16
18
  */
17
19
  export function useReposCreateMutation(options) {
18
20
  const client = useSDKContext();
@@ -1 +1 @@
1
- {"version":3,"file":"reposCreate.js","sourceRoot":"","sources":["../../../src/react-query/reposCreate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAEL,WAAW,GAEZ,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAetD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAqB9C;;;;;;;GAOG;AACH,MAAM,UAAU,sBAAsB,CACpC,OAIC;IAMD,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,OAAO,WAAW,CAAC;QACjB,GAAG,wBAAwB,CAAC,MAAM,EAAE,OAAO,CAAC;QAC5C,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,sBAAsB;IACpC,OAAO,CAAC,eAAe,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,OAAgB,EAChB,WAA4B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WAAW,EAAE,sBAAsB,EAAE;QACrC,UAAU,EAAE,SAAS,qBAAqB,CAAC,EACzC,OAAO,EACP,OAAO,GACR;YACC,MAAM,aAAa,GAAG;gBACpB,GAAG,WAAW;gBACd,GAAG,OAAO;gBACV,YAAY,EAAE;oBACZ,GAAG,WAAW,EAAE,YAAY;oBAC5B,GAAG,OAAO,EAAE,YAAY;oBACxB,MAAM,EAAE,cAAc,CACpB,WAAW,EAAE,YAAY,EAAE,MAAM,EACjC,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B;iBACF;aACF,CAAC;YACF,OAAO,WAAW,CAAC,WAAW,CAC5B,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { QueryClient, QueryFunctionContext, QueryKey } from "@tanstack/react-query";
2
2
  import { SDKCore } from "../core.js";
3
3
  import { RequestOptions } from "../lib/sdks.js";
4
+ import * as components from "../models/components/index.js";
4
5
  import * as operations from "../models/operations/index.js";
5
6
  export type ReposListQueryData = operations.ListReposResponseBody;
6
7
  export declare function prefetchReposList(queryClient: QueryClient, client$: SDKCore, request: operations.ListReposRequest, options?: RequestOptions): Promise<void>;
@@ -9,6 +10,7 @@ export declare function buildReposListQuery(client$: SDKCore, request: operation
9
10
  queryFn: (context: QueryFunctionContext) => Promise<ReposListQueryData>;
10
11
  };
11
12
  export declare function queryKeyReposList(parameters: {
13
+ kind?: components.RepoKind | undefined;
12
14
  xOnBehalfOf?: string | undefined;
13
15
  }): QueryKey;
14
16
  //# sourceMappingURL=reposList.core.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reposList.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/reposList.core.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACT,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AA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,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CAQf;AAED,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACzE,CAyBA;AAED,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE;IACV,IAAI,CAAC,EAAE,UAAU,CAAC,QAAQ,GAAG,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,GACA,QAAQ,CAEV"}
@@ -11,7 +11,10 @@ export function prefetchReposList(queryClient, client$, request, options) {
11
11
  }
12
12
  export function buildReposListQuery(client$, request, options) {
13
13
  return {
14
- queryKey: queryKeyReposList({ xOnBehalfOf: request.xOnBehalfOf }),
14
+ queryKey: queryKeyReposList({
15
+ kind: request.kind,
16
+ xOnBehalfOf: request.xOnBehalfOf,
17
+ }),
15
18
  queryFn: async function reposListQueryFn(ctx) {
16
19
  const sig = combineSignals(ctx.signal, options?.signal, options?.fetchOptions?.signal);
17
20
  const mergedOptions = {
@@ -1 +1 @@
1
- {"version":3,"file":"reposList.core.js","sourceRoot":"","sources":["../../../src/react-query/reposList.core.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,iBAAiB,CAC/B,WAAwB,EACxB,OAAgB,EAChB,OAAoC,EACpC,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,mBAAmB,CACpB,OAAO,EACP,OAAO,EACP,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,OAAgB,EAChB,OAAoC,EACpC,OAAwB;IAKxB,OAAO;QACL,QAAQ,EAAE,iBAAiB,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,WAAW,EAAE,CAAC;QACjE,OAAO,EAAE,KAAK,UAAU,gBAAgB,CAAC,GAAG;YAC1C,MAAM,GAAG,GAAG,cAAc,CACxB,GAAG,CAAC,MAAM,EACV,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B,CAAC;YACF,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO,EAAE,YAAY;gBACxB,GAAG,OAAO;gBACV,MAAM,EAAE,GAAG;aACZ,CAAC;YAEF,OAAO,WAAW,CAAC,SAAS,CAC1B,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iBAAiB,CAC/B,UAAgD;IAEhD,OAAO,CAAC,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AACxD,CAAC"}
1
+ {"version":3,"file":"reposList.core.js","sourceRoot":"","sources":["../../../src/react-query/reposList.core.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAItD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,iBAAiB,CAC/B,WAAwB,EACxB,OAAgB,EAChB,OAAoC,EACpC,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,mBAAmB,CACpB,OAAO,EACP,OAAO,EACP,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,OAAgB,EAChB,OAAoC,EACpC,OAAwB;IAKxB,OAAO;QACL,QAAQ,EAAE,iBAAiB,CAAC;YAC1B,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,WAAW,EAAE,OAAO,CAAC,WAAW;SACjC,CAAC;QACF,OAAO,EAAE,KAAK,UAAU,gBAAgB,CAAC,GAAG;YAC1C,MAAM,GAAG,GAAG,cAAc,CACxB,GAAG,CAAC,MAAM,EACV,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B,CAAC;YACF,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO,EAAE,YAAY;gBACxB,GAAG,OAAO;gBACV,MAAM,EAAE,GAAG;aACZ,CAAC;YAEF,OAAO,WAAW,CAAC,SAAS,CAC1B,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iBAAiB,CAC/B,UAGC;IAED,OAAO,CAAC,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AACxD,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
2
+ import * as components from "../models/components/index.js";
2
3
  import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
3
4
  import * as errors from "../models/errors/index.js";
4
5
  import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
@@ -14,7 +15,9 @@ export type ReposListQueryError = errors.RepoError | SDKError | ResponseValidati
14
15
  *
15
16
  * @remarks
16
17
  * Returns every repository in the caller's org (org owner/admin only).
17
- * Pure DB read.
18
+ * Pure DB read. With `kind`, only repositories of that kind; an untyped
19
+ * (legacy, `kind: null`) repository appears in the unfiltered listing
20
+ * only.
18
21
  */
19
22
  export declare function useReposList(request: operations.ListReposRequest, options?: QueryHookOptions<ReposListQueryData, ReposListQueryError>): UseQueryResult<ReposListQueryData, ReposListQueryError>;
20
23
  /**
@@ -22,14 +25,20 @@ export declare function useReposList(request: operations.ListReposRequest, optio
22
25
  *
23
26
  * @remarks
24
27
  * Returns every repository in the caller's org (org owner/admin only).
25
- * Pure DB read.
28
+ * Pure DB read. With `kind`, only repositories of that kind; an untyped
29
+ * (legacy, `kind: null`) repository appears in the unfiltered listing
30
+ * only.
26
31
  */
27
32
  export declare function useReposListSuspense(request: operations.ListReposRequest, options?: SuspenseQueryHookOptions<ReposListQueryData, ReposListQueryError>): UseSuspenseQueryResult<ReposListQueryData, ReposListQueryError>;
28
- export declare function setReposListData(client: QueryClient, queryKeyBase: [parameters: {
29
- xOnBehalfOf?: string | undefined;
30
- }], data: ReposListQueryData): ReposListQueryData | undefined;
33
+ export declare function setReposListData(client: QueryClient, queryKeyBase: [
34
+ parameters: {
35
+ kind?: components.RepoKind | undefined;
36
+ xOnBehalfOf?: string | undefined;
37
+ }
38
+ ], data: ReposListQueryData): ReposListQueryData | undefined;
31
39
  export declare function invalidateReposList(client: QueryClient, queryKeyBase: TupleToPrefixes<[
32
40
  parameters: {
41
+ kind?: components.RepoKind | undefined;
33
42
  xOnBehalfOf?: string | undefined;
34
43
  }
35
44
  ]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"reposList.d.ts","sourceRoot":"","sources":["../../../src/react-query/reposList.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EAEX,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAA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,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf"}
@@ -10,7 +10,9 @@ 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.
13
+ * Pure DB read. With `kind`, only repositories of that kind; an untyped
14
+ * (legacy, `kind: null`) repository appears in the unfiltered listing
15
+ * only.
14
16
  */
15
17
  export function useReposList(request, options) {
16
18
  const client = useSDKContext();
@@ -24,7 +26,9 @@ export function useReposList(request, options) {
24
26
  *
25
27
  * @remarks
26
28
  * Returns every repository in the caller's org (org owner/admin only).
27
- * Pure DB read.
29
+ * Pure DB read. With `kind`, only repositories of that kind; an untyped
30
+ * (legacy, `kind: null`) repository appears in the unfiltered listing
31
+ * only.
28
32
  */
29
33
  export function useReposListSuspense(request, options) {
30
34
  const client = useSDKContext();
@@ -1 +1 @@
1
- {"version":3,"file":"reposList.js","sourceRoot":"","sources":["../../../src/react-query/reposList.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAGL,QAAQ,EAER,gBAAgB,GAEjB,MAAM,uBAAuB,CAAC;AAa/B,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAM9C,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,GAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,GAElB,CAAC;AAaF;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAC1B,OAAoC,EACpC,OAAmE;IAEnE,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,OAAO,QAAQ,CAAC;QACd,GAAG,mBAAmB,CACpB,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB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U,YAAY,CAC1B,OAAoC,EACpC,OAAmE;IAEnE,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,OAAO,QAAQ,CAAC;QACd,GAAG,mBAAmB,CACpB,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,oBAAoB,CAClC,OAAoC,EACpC,OAA2E;IAE3E,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,OAAO,gBAAgB,CAAC;QACtB,GAAG,mBAAmB,CACpB,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,gBAAgB,CAC9B,MAAmB,EACnB,YAKC,EACD,IAAwB;IAExB,MAAM,GAAG,GAAG,iBAAiB,CAAC,GAAG,YAAY,CAAC,CAAC;IAE/C,OAAO,MAAM,CAAC,YAAY,CAAqB,GAAG,EAAE,IAAI,CAAC,CAAC;AAC5D,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,MAAmB,EACnB,YAKC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC;KAC9D,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,eAAe,EAAE,OAAO,EAAE,MAAM,CAAC;KAC7C,CAAC,CAAC;AACL,CAAC"}
@@ -19,9 +19,18 @@ export type ReposUpdateMutationError = errors.RepoError | SDKError | ResponseVal
19
19
  * Update a repository's labels
20
20
  *
21
21
  * @remarks
22
- * Applies a label-only update (name/description); org owner/admin only.
23
- * The repository id is stable, so a rename is a one-row DB update — no
24
- * Gitea write. Omitted fields are left unchanged.
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.
25
+ *
26
+ * `kind` is the ONE way a repository's kind changes after creation (the
27
+ * protocol planes never change it): it types a legacy `kind: null`
28
+ * repository and corrects a wrong kind. `repo`, `model` and `dataset`
29
+ * convert freely and any repository may become `image`; a repository
30
+ * that still holds container-image content can be given no other kind
31
+ * — leaving `image`, or typing a legacy `null` row as anything else, is
32
+ * refused with `409 kind_has_content` (delete the tags through the
33
+ * registry first). A kind is never un-set.
25
34
  */
26
35
  export declare function useReposUpdateMutation(options?: MutationHookOptions<ReposUpdateMutationData, ReposUpdateMutationError, ReposUpdateMutationVariables>): UseMutationResult<ReposUpdateMutationData, ReposUpdateMutationError, ReposUpdateMutationVariables>;
27
36
  export declare function mutationKeyReposUpdate(): MutationKey;
@@ -1 +1 @@
1
- {"version":3,"file":"reposUpdate.d.ts","sourceRoot":"","sources":["../../../src/react-query/reposUpdate.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO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  * @remarks
13
- * Applies a label-only update (name/description); org owner/admin only.
14
- * The repository id is stable, so a rename is a one-row DB update — no
15
- * Gitea write. Omitted fields are left unchanged.
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.
16
+ *
17
+ * `kind` is the ONE way a repository's kind changes after creation (the
18
+ * protocol planes never change it): it types a legacy `kind: null`
19
+ * repository and corrects a wrong kind. `repo`, `model` and `dataset`
20
+ * convert freely and any repository may become `image`; a repository
21
+ * that still holds container-image content can be given no other kind
22
+ * — leaving `image`, or typing a legacy `null` row as anything else, is
23
+ * refused with `409 kind_has_content` (delete the tags through the
24
+ * registry first). A kind is never un-set.
16
25
  */
17
26
  export function useReposUpdateMutation(options) {
18
27
  const client = useSDKContext();
@@ -1 +1 @@
1
- {"version":3,"file":"reposUpdate.js","sourceRoot":"","sources":["../../../src/react-query/reposUpdate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAEL,WAAW,GAEZ,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAetD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAqB9C;;;;;;;GAOG;AACH,MAAM,UAAU,sBAAsB,CACpC,OAIC;IAMD,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,OAAO,WAAW,CAAC;QACjB,GAAG,wBAAwB,CAAC,MAAM,EAAE,OAAO,CAAC;QAC5C,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,sBAAsB;IACpC,OAAO,CAAC,eAAe,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,O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EAChB,WAA4B;IAO5B,OAAO;QACL,WAAW,EAAE,sBAAsB,EAAE;QACrC,UAAU,EAAE,SAAS,qBAAqB,CAAC,EACzC,OAAO,EACP,OAAO,GACR;YACC,MAAM,aAAa,GAAG;gBACpB,GAAG,WAAW;gBACd,GAAG,OAAO;gBACV,YAAY,EAAE;oBACZ,GAAG,WAAW,EAAE,YAAY;oBAC5B,GAAG,OAAO,EAAE,YAAY;oBACxB,MAAM,EAAE,cAAc,CACpB,WAAW,EAAE,YAAY,EAAE,MAAM,EACjC,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B;iBACF;aACF,CAAC;YACF,OAAO,WAAW,CAAC,WAAW,CAC5B,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -43,7 +43,7 @@ export declare class Environments extends ClientSDK {
43
43
  * Generate or replace an environment evaluation key
44
44
  *
45
45
  * @remarks
46
- * Returns the new plaintext key once. Only its SHA-256 digest is stored; generating another key immediately replaces the previous credential on this replica.
46
+ * Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.
47
47
  */
48
48
  generateEvaluationKey(request: operations.GenerateFeatureFlagEvaluationKeyRequest, options?: RequestOptions): Promise<operations.GenerateFeatureFlagEvaluationKeyResponse>;
49
49
  }
@@ -67,7 +67,7 @@ export class Environments extends ClientSDK {
67
67
  * Generate or replace an environment evaluation key
68
68
  *
69
69
  * @remarks
70
- * Returns the new plaintext key once. Only its SHA-256 digest is stored; generating another key immediately replaces the previous credential on this replica.
70
+ * Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.
71
71
  */
72
72
  async generateEvaluationKey(request, options) {
73
73
  return unwrapAsync(flagsEnvironmentsGenerateEvaluationKey(this, request, options));
@@ -7,7 +7,9 @@ export declare class Repos extends ClientSDK {
7
7
  *
8
8
  * @remarks
9
9
  * Returns every repository in the caller's org (org owner/admin only).
10
- * Pure DB read.
10
+ * Pure DB read. With `kind`, only repositories of that kind; an untyped
11
+ * (legacy, `kind: null`) repository appears in the unfiltered listing
12
+ * only.
11
13
  */
12
14
  list(request: operations.ListReposRequest, options?: RequestOptions): Promise<operations.ListReposResponseBody>;
13
15
  /**
@@ -16,7 +18,9 @@ export declare class Repos extends ClientSDK {
16
18
  * @remarks
17
19
  * Provisions a repository (org owner/admin only): DB insert
18
20
  * (authoritative) → Gitea create (rolled back on failure). The repository
19
- * belongs to the caller's org.
21
+ * belongs to the caller's org. `kind` says what it will hold and defaults
22
+ * to `repo` (a plain git repository); it decides which protocol planes
23
+ * answer for the name (see the `Repo` schema).
20
24
  */
21
25
  create(request: operations.CreateRepoRequest, options?: RequestOptions): Promise<components.Repo>;
22
26
  /**
@@ -39,9 +43,18 @@ export declare class Repos extends ClientSDK {
39
43
  * Update a repository's labels
40
44
  *
41
45
  * @remarks
42
- * Applies a label-only update (name/description); org owner/admin only.
43
- * The repository id is stable, so a rename is a one-row DB update — no
44
- * Gitea write. Omitted fields are left unchanged.
46
+ * Applies a label-only update (name/description/kind); org owner/admin
47
+ * only. The repository id is stable, so a rename is a one-row DB update
48
+ * — no Gitea write. Omitted fields are left unchanged.
49
+ *
50
+ * `kind` is the ONE way a repository's kind changes after creation (the
51
+ * protocol planes never change it): it types a legacy `kind: null`
52
+ * repository and corrects a wrong kind. `repo`, `model` and `dataset`
53
+ * convert freely and any repository may become `image`; a repository
54
+ * that still holds container-image content can be given no other kind
55
+ * — leaving `image`, or typing a legacy `null` row as anything else, is
56
+ * refused with `409 kind_has_content` (delete the tags through the
57
+ * registry first). A kind is never un-set.
45
58
  */
46
59
  update(request: operations.PatchRepoRequest, options?: RequestOptions): Promise<components.Repo>;
47
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"repos.d.ts","sourceRoot":"","sources":["../../../src/sdk/repos.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gB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qB,CAAC;IAQ5C;;;;;;;;;OASG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC;IAQ3B;;;;;;OAMG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAQhB;;;;;;OAMG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,cAAc,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC;IAQ3B;;;;;;;;;;;;;;;;OAgBG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC;CAO5B"}
@@ -14,7 +14,9 @@ export class Repos extends ClientSDK {
14
14
  *
15
15
  * @remarks
16
16
  * Returns every repository in the caller's org (org owner/admin only).
17
- * Pure DB read.
17
+ * Pure DB read. With `kind`, only repositories of that kind; an untyped
18
+ * (legacy, `kind: null`) repository appears in the unfiltered listing
19
+ * only.
18
20
  */
19
21
  async list(request, options) {
20
22
  return unwrapAsync(reposList(this, request, options));
@@ -25,7 +27,9 @@ export class Repos extends ClientSDK {
25
27
  * @remarks
26
28
  * Provisions a repository (org owner/admin only): DB insert
27
29
  * (authoritative) → Gitea create (rolled back on failure). The repository
28
- * belongs to the caller's org.
30
+ * belongs to the caller's org. `kind` says what it will hold and defaults
31
+ * to `repo` (a plain git repository); it decides which protocol planes
32
+ * answer for the name (see the `Repo` schema).
29
33
  */
30
34
  async create(request, options) {
31
35
  return unwrapAsync(reposCreate(this, request, options));
@@ -54,9 +58,18 @@ export class Repos extends ClientSDK {
54
58
  * Update a repository's labels
55
59
  *
56
60
  * @remarks
57
- * Applies a label-only update (name/description); org owner/admin only.
58
- * The repository id is stable, so a rename is a one-row DB update — no
59
- * Gitea write. Omitted fields are left unchanged.
61
+ * Applies a label-only update (name/description/kind); org owner/admin
62
+ * only. The repository id is stable, so a rename is a one-row DB update
63
+ * — no Gitea write. Omitted fields are left unchanged.
64
+ *
65
+ * `kind` is the ONE way a repository's kind changes after creation (the
66
+ * protocol planes never change it): it types a legacy `kind: null`
67
+ * repository and corrects a wrong kind. `repo`, `model` and `dataset`
68
+ * convert freely and any repository may become `image`; a repository
69
+ * that still holds container-image content can be given no other kind
70
+ * — leaving `image`, or typing a legacy `null` row as anything else, is
71
+ * refused with `409 kind_has_content` (delete the tags through the
72
+ * registry first). A kind is never un-set.
60
73
  */
61
74
  async update(request, options) {
62
75
  return unwrapAsync(reposUpdate(this, request, options));
@@ -1 +1 @@
1
- {"version":3,"file":"repos.js","sourceRoot":"","sources":["../../../src/sdk/repos.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,KAAM,SAAQ,SAAS;IAClC;;;;;;OAMG;IACH,KAAK,CAAC,IAAI,CACR,OAAoC,EACpC,OAAwB;QAExB,OAAO,WAAW,CAAC,SAAS,CAC1B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CACV,OAAqC,EACrC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC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V,OAAqC,EACrC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,OAAqC,EACrC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,GAAG,CACP,OAAkC,EAClC,OAAwB;QAExB,OAAO,WAAW,CAAC,QAAQ,CACzB,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,MAAM,CACV,OAAoC,EACpC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@meetkai/mka1",
5
- "version": "0.54.49",
5
+ "version": "0.54.50",
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.49",
3
+ "version": "0.54.50",
4
4
  "author": "Daniel Wilder <dauncy@gmail.com>",
5
5
  "homepage": "https://docs.mka1.com",
6
6
  "publishConfig": {
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * Generate or replace an environment evaluation key
31
31
  *
32
32
  * @remarks
33
- * Returns the new plaintext key once. Only its SHA-256 digest is stored; generating another key immediately replaces the previous credential on this replica.
33
+ * Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.
34
34
  *
35
35
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
36
36
  */
@@ -33,7 +33,9 @@ import { Result } from "../types/fp.js";
33
33
  * @remarks
34
34
  * Provisions a repository (org owner/admin only): DB insert
35
35
  * (authoritative) → Gitea create (rolled back on failure). The repository
36
- * belongs to the caller's org.
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).
37
39
  *
38
40
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
39
41
  */
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import { SDKCore } from "../core.js";
6
- import { encodeSimple } from "../lib/encodings.js";
6
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
7
7
  import { matchStatusCode } from "../lib/http.js";
8
8
  import * as M from "../lib/matchers.js";
9
9
  import { compactMap } from "../lib/primitives.js";
@@ -31,7 +31,9 @@ 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.
34
+ * Pure DB read. With `kind`, only repositories of that kind; an untyped
35
+ * (legacy, `kind: null`) repository appears in the unfiltered listing
36
+ * only.
35
37
  *
36
38
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
37
39
  */
@@ -94,6 +96,10 @@ async function $do(
94
96
 
95
97
  const path = pathToFunc("/api/v1/repos")();
96
98
 
99
+ const query = encodeFormQuery({
100
+ "kind": payload.kind,
101
+ });
102
+
97
103
  const headers = new Headers(compactMap({
98
104
  Accept: "application/json",
99
105
  "X-On-Behalf-Of": encodeSimple(
@@ -138,6 +144,7 @@ async function $do(
138
144
  baseURL: options?.serverURL,
139
145
  path: path,
140
146
  headers: headers,
147
+ query: query,
141
148
  body: body,
142
149
  userAgent: client._options.userAgent,
143
150
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
@@ -176,7 +183,7 @@ async function $do(
176
183
  | SDKValidationError
177
184
  >(
178
185
  M.json(200, operations.ListReposResponseBody$inboundSchema),
179
- M.jsonErr([401, 403], errors.RepoError$inboundSchema),
186
+ M.jsonErr([400, 401, 403], errors.RepoError$inboundSchema),
180
187
  M.jsonErr([500, 503], errors.RepoError$inboundSchema),
181
188
  M.fail("4XX"),
182
189
  M.fail("5XX"),
@@ -31,9 +31,18 @@ import { Result } from "../types/fp.js";
31
31
  * Update a repository's labels
32
32
  *
33
33
  * @remarks
34
- * Applies a label-only update (name/description); org owner/admin only.
35
- * The repository id is stable, so a rename is a one-row DB update — no
36
- * Gitea write. Omitted fields are left unchanged.
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.
37
+ *
38
+ * `kind` is the ONE way a repository's kind changes after creation (the
39
+ * protocol planes never change it): it types a legacy `kind: null`
40
+ * repository and corrects a wrong kind. `repo`, `model` and `dataset`
41
+ * convert freely and any repository may become `image`; a repository
42
+ * that still holds container-image content can be given no other kind
43
+ * — leaving `image`, or typing a legacy `null` row as anything else, is
44
+ * refused with `409 kind_has_content` (delete the tags through the
45
+ * registry first). A kind is never un-set.
37
46
  *
38
47
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
39
48
  */
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.49",
68
+ sdkVersion: "0.54.50",
69
69
  genVersion: "2.938.0",
70
- userAgent: "speakeasy-sdk/typescript 0.54.49 2.938.0 1.1.0 @meetkai/mka1",
70
+ userAgent: "speakeasy-sdk/typescript 0.54.50 2.938.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.49",
22
+ currentVersion: "0.54.50",
23
23
  },
24
24
  });
25
25
 
@@ -468,7 +468,7 @@ export function createMCPServer(deps: {
468
468
  }) {
469
469
  const server = new McpServer({
470
470
  name: "SDK",
471
- version: "0.54.49",
471
+ version: "0.54.50",
472
472
  });
473
473
 
474
474
  const client = new SDKCore({
@@ -16,7 +16,7 @@ export const tool$flagsEnvironmentsGenerateEvaluationKey: ToolDefinition<
16
16
  name: "flags-environments-generate-evaluation-key",
17
17
  description: `Generate or replace an environment evaluation key
18
18
 
19
- Returns the new plaintext key once. Only its SHA-256 digest is stored; generating another key immediately replaces the previous credential on this replica.`,
19
+ Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.`,
20
20
  args,
21
21
  tool: async (client, args, ctx) => {
22
22
  const [result, apiCall] = await flagsEnvironmentsGenerateEvaluationKey(