@xemahq/llm-registry-internal-api-client 0.2.0 → 0.5.0

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 (86) hide show
  1. package/LICENSE +0 -1
  2. package/dist/endpoints/contribution-sync/contribution-sync.d.ts +2 -0
  3. package/dist/endpoints/contribution-sync/contribution-sync.js +22 -0
  4. package/dist/endpoints/describe-objects/describe-objects.d.ts +3 -3
  5. package/dist/endpoints/internal-agent-invocation/internal-agent-invocation.d.ts +3 -3
  6. package/dist/endpoints/internal-agent-invocation/internal-agent-invocation.js +2 -2
  7. package/dist/endpoints/internal-managed-model-resolution-rules/internal-managed-model-resolution-rules.d.ts +32 -0
  8. package/dist/endpoints/internal-managed-model-resolution-rules/internal-managed-model-resolution-rules.js +68 -0
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.js +2 -0
  11. package/dist/models/{compositionInvokeRequestDto.d.ts → agentInvokeRequestDto.d.ts} +4 -4
  12. package/dist/models/{compositionInvokeRequestDtoInput.d.ts → agentInvokeRequestDtoInput.d.ts} +2 -2
  13. package/dist/models/{compositionInvokeRequestDtoInput.js → agentInvokeRequestDtoInput.js} +1 -1
  14. package/dist/models/defaultTargetRefDto.d.ts +13 -0
  15. package/dist/models/defaultTargetRefDto.js +9 -0
  16. package/dist/models/describeObjectsResponseDto.d.ts +1 -1
  17. package/dist/models/describeObjectsResponseDtoDataEnvelope.d.ts +11 -0
  18. package/dist/models/describeObjectsResponseDtoDataEnvelope.js +2 -0
  19. package/dist/models/errorDetailsDto.d.ts +1 -1
  20. package/dist/models/errorDetailsDtoDetails.d.ts +1 -1
  21. package/dist/models/errorDetailsDtoDetails.js +1 -1
  22. package/dist/models/errorPayloadDto.d.ts +1 -1
  23. package/dist/models/errorResponseDto.d.ts +1 -1
  24. package/dist/models/executionRequirementsDto.d.ts +3 -3
  25. package/dist/models/executionRequirementsDtoMode.d.ts +1 -1
  26. package/dist/models/executionRequirementsDtoMode.js +1 -1
  27. package/dist/models/executionRequirementsDtoPriority.d.ts +1 -1
  28. package/dist/models/executionRequirementsDtoPriority.js +1 -1
  29. package/dist/models/index.d.ts +23 -3
  30. package/dist/models/index.js +23 -3
  31. package/dist/models/invocationLimitsDto.d.ts +1 -1
  32. package/dist/models/invocationLimitsDto.js +1 -1
  33. package/dist/models/{executionRequirementsDtoIsolation.d.ts → isolationLevel.d.ts} +3 -3
  34. package/dist/models/{executionRequirementsDtoIsolation.js → isolationLevel.js} +3 -3
  35. package/dist/models/modelResolutionRuleResponseDto.d.ts +76 -0
  36. package/dist/models/modelResolutionRuleResponseDto.js +2 -0
  37. package/dist/models/modelResolutionRuleResponseDtoDataEnvelope.d.ts +11 -0
  38. package/dist/models/modelResolutionRuleResponseDtoDataEnvelope.js +2 -0
  39. package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.d.ts +19 -0
  40. package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.js +17 -0
  41. package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.d.ts +16 -0
  42. package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.js +14 -0
  43. package/dist/models/modelResolutionRuleResponseDtoTargetKind.d.ts +12 -0
  44. package/dist/models/modelResolutionRuleResponseDtoTargetKind.js +14 -0
  45. package/dist/models/modelResolutionRuleResponseDtoTargetModelClass.d.ts +18 -0
  46. package/dist/models/modelResolutionRuleResponseDtoTargetModelClass.js +17 -0
  47. package/dist/models/modelResolutionSelectorDto.d.ts +28 -0
  48. package/dist/models/modelResolutionSelectorDto.js +2 -0
  49. package/dist/models/modelResolutionSelectorDtoExtra.d.ts +13 -0
  50. package/dist/models/modelResolutionSelectorDtoExtra.js +9 -0
  51. package/dist/models/modelResolutionSelectorDtoModelCapability.d.ts +19 -0
  52. package/dist/models/modelResolutionSelectorDtoModelCapability.js +18 -0
  53. package/dist/models/modelResolutionSelectorDtoModelClass.d.ts +18 -0
  54. package/dist/models/modelResolutionSelectorDtoModelClass.js +17 -0
  55. package/dist/models/modelResolutionSelectorResponseDto.d.ts +28 -0
  56. package/dist/models/modelResolutionSelectorResponseDto.js +2 -0
  57. package/dist/models/modelResolutionSelectorResponseDtoExtra.d.ts +13 -0
  58. package/dist/models/modelResolutionSelectorResponseDtoExtra.js +9 -0
  59. package/dist/models/modelResolutionSelectorResponseDtoModelCapability.d.ts +19 -0
  60. package/dist/models/modelResolutionSelectorResponseDtoModelCapability.js +18 -0
  61. package/dist/models/modelResolutionSelectorResponseDtoModelClass.d.ts +18 -0
  62. package/dist/models/modelResolutionSelectorResponseDtoModelClass.js +17 -0
  63. package/dist/models/objectLifecycle.d.ts +1 -1
  64. package/dist/models/objectLifecycle.js +1 -1
  65. package/dist/models/repointDefaultTargetDto.d.ts +12 -0
  66. package/dist/models/repointDefaultTargetDto.js +2 -0
  67. package/dist/models/spaceKind.d.ts +1 -1
  68. package/dist/models/spaceKind.js +1 -1
  69. package/dist/models/upsertManagedModelResolutionRuleDto.d.ts +28 -0
  70. package/dist/models/upsertManagedModelResolutionRuleDto.js +2 -0
  71. package/dist/models/upsertManagedModelResolutionRuleDtoTargetKind.d.ts +15 -0
  72. package/dist/models/upsertManagedModelResolutionRuleDtoTargetKind.js +14 -0
  73. package/dist/models/upsertManagedModelResolutionRuleDtoTargetModelClass.d.ts +18 -0
  74. package/dist/models/upsertManagedModelResolutionRuleDtoTargetModelClass.js +17 -0
  75. package/dist/models/xemaObjectKind.d.ts +1 -2
  76. package/dist/models/xemaObjectKind.js +1 -2
  77. package/dist/models/xemaObjectResponseDto.d.ts +2 -2
  78. package/dist/models/xemaObjectResponseDtoPayload.d.ts +2 -2
  79. package/dist/models/xemaObjectResponseDtoPayload.js +1 -1
  80. package/dist/models/xemaSpaceRefDto.d.ts +1 -1
  81. package/dist/models/xemaSubjectRefDto.d.ts +1 -1
  82. package/dist/models/xemaSubjectRefDto.js +1 -1
  83. package/package.json +14 -4
  84. package/dist/endpoints/internal-composition-invocation/internal-composition-invocation.d.ts +0 -14
  85. package/dist/endpoints/internal-composition-invocation/internal-composition-invocation.js +0 -21
  86. /package/dist/models/{compositionInvokeRequestDto.js → agentInvokeRequestDto.js} +0 -0
@@ -0,0 +1,76 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ import type { ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass } from './modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.js';
9
+ import type { ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind } from './modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.js';
10
+ import type { ModelResolutionRuleResponseDtoTargetKind } from './modelResolutionRuleResponseDtoTargetKind.js';
11
+ import type { ModelResolutionRuleResponseDtoTargetModelClass } from './modelResolutionRuleResponseDtoTargetModelClass.js';
12
+ import type { ModelResolutionSelectorResponseDto } from './modelResolutionSelectorResponseDto.js';
13
+ export interface ModelResolutionRuleResponseDto {
14
+ id: string;
15
+ orgId: string;
16
+ selector: ModelResolutionSelectorResponseDto;
17
+ targetKind: ModelResolutionRuleResponseDtoTargetKind;
18
+ /** @nullable */
19
+ targetModelId?: string | null;
20
+ /** @nullable */
21
+ targetProviderSlug?: string | null;
22
+ /** @nullable */
23
+ targetModelClass?: ModelResolutionRuleResponseDtoTargetModelClass;
24
+ /** @nullable */
25
+ targetTemperature?: number | null;
26
+ priority: number;
27
+ isDefault: boolean;
28
+ /**
29
+ * ResourceManagedBy ownership KIND (`ui`/`iac`/`seeder`/`runtime_registered`/`system`). NULL for a plain user/org-admin-authored rule.
30
+ * @nullable
31
+ */
32
+ managedBy?: string | null;
33
+ /**
34
+ * Owning service identity for a service-actor-upserted rule (derived from the service subject). NULL for authored/reconciler rules.
35
+ * @nullable
36
+ */
37
+ managedOwner?: string | null;
38
+ /**
39
+ * The owner's stable natural key. NULL for authored rules; non-null for managed/reconciler rows.
40
+ * @nullable
41
+ */
42
+ managedKey?: string | null;
43
+ /**
44
+ * SEAM #2: the service that repointed THIS org-default rule's target (derived from its subject). Non-null ONLY on the default row while a default-target override is active; the flag that an override is in effect. NULL otherwise.
45
+ * @nullable
46
+ */
47
+ defaultTargetOverrideOwner?: string | null;
48
+ /**
49
+ * SEAM #2: the target KIND the default rule had before the first override, restored on revert. NULL when no override is active.
50
+ * @nullable
51
+ */
52
+ defaultTargetOverridePrevTargetKind?: ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind;
53
+ /**
54
+ * SEAM #2: the concrete model id the default rule had before the first override. NULL when no override is active or the prior default was not concrete.
55
+ * @nullable
56
+ */
57
+ defaultTargetOverridePrevModelId?: string | null;
58
+ /**
59
+ * SEAM #2: the provider slug the default rule had before the first override. NULL when no override is active.
60
+ * @nullable
61
+ */
62
+ defaultTargetOverridePrevProviderSlug?: string | null;
63
+ /**
64
+ * SEAM #2: the strategy class the default rule had before the first override. NULL when no override is active or the prior default was not a strategy ref.
65
+ * @nullable
66
+ */
67
+ defaultTargetOverridePrevModelClass?: ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass;
68
+ /**
69
+ * SEAM #2: the temperature the default rule carried before the first override. NULL when no override is active or none was set.
70
+ * @nullable
71
+ */
72
+ defaultTargetOverridePrevTemperature?: number | null;
73
+ createdBy: string;
74
+ createdAt: string;
75
+ updatedAt: string;
76
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ import type { ModelResolutionRuleResponseDto } from './modelResolutionRuleResponseDto.js';
9
+ export interface ModelResolutionRuleResponseDtoDataEnvelope {
10
+ data: ModelResolutionRuleResponseDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ /**
9
+ * SEAM #2: the strategy class the default rule had before the first override. NULL when no override is active or the prior default was not a strategy ref.
10
+ * @nullable
11
+ */
12
+ export type ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass = typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass[keyof typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass] | null;
13
+ export declare const ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass: {
14
+ readonly coding: "coding";
15
+ readonly review: "review";
16
+ readonly creative: "creative";
17
+ readonly planning: "planning";
18
+ readonly utility: "utility";
19
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * LLM Registry API
6
+ * Central registry for LLM providers, models, and per-project model configuration
7
+ * OpenAPI spec version: 0.1.2
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass = void 0;
11
+ exports.ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass = {
12
+ coding: 'coding',
13
+ review: 'review',
14
+ creative: 'creative',
15
+ planning: 'planning',
16
+ utility: 'utility',
17
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ /**
9
+ * SEAM #2: the target KIND the default rule had before the first override, restored on revert. NULL when no override is active.
10
+ * @nullable
11
+ */
12
+ export type ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind = typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind[keyof typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind] | null;
13
+ export declare const ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind: {
14
+ readonly concrete: "concrete";
15
+ readonly strategy: "strategy";
16
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * LLM Registry API
6
+ * Central registry for LLM providers, models, and per-project model configuration
7
+ * OpenAPI spec version: 0.1.2
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind = void 0;
11
+ exports.ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind = {
12
+ concrete: 'concrete',
13
+ strategy: 'strategy',
14
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ export type ModelResolutionRuleResponseDtoTargetKind = typeof ModelResolutionRuleResponseDtoTargetKind[keyof typeof ModelResolutionRuleResponseDtoTargetKind];
9
+ export declare const ModelResolutionRuleResponseDtoTargetKind: {
10
+ readonly concrete: "concrete";
11
+ readonly strategy: "strategy";
12
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * LLM Registry API
6
+ * Central registry for LLM providers, models, and per-project model configuration
7
+ * OpenAPI spec version: 0.1.2
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ModelResolutionRuleResponseDtoTargetKind = void 0;
11
+ exports.ModelResolutionRuleResponseDtoTargetKind = {
12
+ concrete: 'concrete',
13
+ strategy: 'strategy',
14
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ /**
9
+ * @nullable
10
+ */
11
+ export type ModelResolutionRuleResponseDtoTargetModelClass = typeof ModelResolutionRuleResponseDtoTargetModelClass[keyof typeof ModelResolutionRuleResponseDtoTargetModelClass] | null;
12
+ export declare const ModelResolutionRuleResponseDtoTargetModelClass: {
13
+ readonly coding: "coding";
14
+ readonly review: "review";
15
+ readonly creative: "creative";
16
+ readonly planning: "planning";
17
+ readonly utility: "utility";
18
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * LLM Registry API
6
+ * Central registry for LLM providers, models, and per-project model configuration
7
+ * OpenAPI spec version: 0.1.2
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ModelResolutionRuleResponseDtoTargetModelClass = void 0;
11
+ exports.ModelResolutionRuleResponseDtoTargetModelClass = {
12
+ coding: 'coding',
13
+ review: 'review',
14
+ creative: 'creative',
15
+ planning: 'planning',
16
+ utility: 'utility',
17
+ };
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ import type { ModelResolutionSelectorDtoExtra } from './modelResolutionSelectorDtoExtra.js';
9
+ import type { ModelResolutionSelectorDtoModelCapability } from './modelResolutionSelectorDtoModelCapability.js';
10
+ import type { ModelResolutionSelectorDtoModelClass } from './modelResolutionSelectorDtoModelClass.js';
11
+ export interface ModelResolutionSelectorDto {
12
+ /** Match when the resolving agent slug equals this value. */
13
+ agent?: string;
14
+ /** Match when the active/launched skill slug equals this value. */
15
+ skill?: string;
16
+ /** Match when the invocation project id equals this value. */
17
+ project?: string;
18
+ /** Match when the invocation pipeline stage key equals this value. */
19
+ stage?: string;
20
+ /** Match when the non-agent invocation purpose equals this value. Used by system flows that route LLM calls outside the agent/skill model (memory summarization, embedding, reorganization). Closed value set is owned per consumer (see `MemoryMatrixPurpose` in memory-api). */
21
+ purpose?: string;
22
+ /** Match when the resolving agent's model class equals this value (the Phase-4 `modelClass` dimension — one rule routes e.g. every `review`-class agent). */
23
+ modelClass?: ModelResolutionSelectorDtoModelClass;
24
+ /** Match when the invocation REQUIRES this model capability/modality (the `modelCapability` dimension — one rule routes e.g. every vision-requiring invocation to a multimodal model without pinning a provider). */
25
+ modelCapability?: ModelResolutionSelectorDtoModelCapability;
26
+ /** Forward-compat bag of additional registry dimensions → required literal. Omit / {} when only structured dimensions are used. */
27
+ extra?: ModelResolutionSelectorDtoExtra;
28
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ /**
9
+ * Forward-compat bag of additional registry dimensions → required literal. Omit / {} when only structured dimensions are used.
10
+ */
11
+ export type ModelResolutionSelectorDtoExtra = {
12
+ [key: string]: string;
13
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * LLM Registry API
6
+ * Central registry for LLM providers, models, and per-project model configuration
7
+ * OpenAPI spec version: 0.1.2
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ /**
9
+ * Match when the invocation REQUIRES this model capability/modality (the `modelCapability` dimension — one rule routes e.g. every vision-requiring invocation to a multimodal model without pinning a provider).
10
+ */
11
+ export type ModelResolutionSelectorDtoModelCapability = typeof ModelResolutionSelectorDtoModelCapability[keyof typeof ModelResolutionSelectorDtoModelCapability];
12
+ export declare const ModelResolutionSelectorDtoModelCapability: {
13
+ readonly vision: "vision";
14
+ readonly long_context: "long_context";
15
+ readonly reasoning: "reasoning";
16
+ readonly function_calling: "function_calling";
17
+ readonly audio: "audio";
18
+ readonly embedding: "embedding";
19
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * LLM Registry API
6
+ * Central registry for LLM providers, models, and per-project model configuration
7
+ * OpenAPI spec version: 0.1.2
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ModelResolutionSelectorDtoModelCapability = void 0;
11
+ exports.ModelResolutionSelectorDtoModelCapability = {
12
+ vision: 'vision',
13
+ long_context: 'long_context',
14
+ reasoning: 'reasoning',
15
+ function_calling: 'function_calling',
16
+ audio: 'audio',
17
+ embedding: 'embedding',
18
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ /**
9
+ * Match when the resolving agent's model class equals this value (the Phase-4 `modelClass` dimension — one rule routes e.g. every `review`-class agent).
10
+ */
11
+ export type ModelResolutionSelectorDtoModelClass = typeof ModelResolutionSelectorDtoModelClass[keyof typeof ModelResolutionSelectorDtoModelClass];
12
+ export declare const ModelResolutionSelectorDtoModelClass: {
13
+ readonly coding: "coding";
14
+ readonly review: "review";
15
+ readonly creative: "creative";
16
+ readonly planning: "planning";
17
+ readonly utility: "utility";
18
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * LLM Registry API
6
+ * Central registry for LLM providers, models, and per-project model configuration
7
+ * OpenAPI spec version: 0.1.2
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ModelResolutionSelectorDtoModelClass = void 0;
11
+ exports.ModelResolutionSelectorDtoModelClass = {
12
+ coding: 'coding',
13
+ review: 'review',
14
+ creative: 'creative',
15
+ planning: 'planning',
16
+ utility: 'utility',
17
+ };
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ import type { ModelResolutionSelectorResponseDtoExtra } from './modelResolutionSelectorResponseDtoExtra.js';
9
+ import type { ModelResolutionSelectorResponseDtoModelCapability } from './modelResolutionSelectorResponseDtoModelCapability.js';
10
+ import type { ModelResolutionSelectorResponseDtoModelClass } from './modelResolutionSelectorResponseDtoModelClass.js';
11
+ export interface ModelResolutionSelectorResponseDto {
12
+ /** @nullable */
13
+ agent?: string | null;
14
+ /** @nullable */
15
+ skill?: string | null;
16
+ /** @nullable */
17
+ project?: string | null;
18
+ /** @nullable */
19
+ stage?: string | null;
20
+ /** @nullable */
21
+ purpose?: string | null;
22
+ /** @nullable */
23
+ modelClass?: ModelResolutionSelectorResponseDtoModelClass;
24
+ /** @nullable */
25
+ modelCapability?: ModelResolutionSelectorResponseDtoModelCapability;
26
+ /** Additional registry dimensions. `{}` when none. */
27
+ extra: ModelResolutionSelectorResponseDtoExtra;
28
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ /**
9
+ * Additional registry dimensions. `{}` when none.
10
+ */
11
+ export type ModelResolutionSelectorResponseDtoExtra = {
12
+ [key: string]: string;
13
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * LLM Registry API
6
+ * Central registry for LLM providers, models, and per-project model configuration
7
+ * OpenAPI spec version: 0.1.2
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ /**
9
+ * @nullable
10
+ */
11
+ export type ModelResolutionSelectorResponseDtoModelCapability = typeof ModelResolutionSelectorResponseDtoModelCapability[keyof typeof ModelResolutionSelectorResponseDtoModelCapability] | null;
12
+ export declare const ModelResolutionSelectorResponseDtoModelCapability: {
13
+ readonly vision: "vision";
14
+ readonly long_context: "long_context";
15
+ readonly reasoning: "reasoning";
16
+ readonly function_calling: "function_calling";
17
+ readonly audio: "audio";
18
+ readonly embedding: "embedding";
19
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * LLM Registry API
6
+ * Central registry for LLM providers, models, and per-project model configuration
7
+ * OpenAPI spec version: 0.1.2
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ModelResolutionSelectorResponseDtoModelCapability = void 0;
11
+ exports.ModelResolutionSelectorResponseDtoModelCapability = {
12
+ vision: 'vision',
13
+ long_context: 'long_context',
14
+ reasoning: 'reasoning',
15
+ function_calling: 'function_calling',
16
+ audio: 'audio',
17
+ embedding: 'embedding',
18
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ /**
9
+ * @nullable
10
+ */
11
+ export type ModelResolutionSelectorResponseDtoModelClass = typeof ModelResolutionSelectorResponseDtoModelClass[keyof typeof ModelResolutionSelectorResponseDtoModelClass] | null;
12
+ export declare const ModelResolutionSelectorResponseDtoModelClass: {
13
+ readonly coding: "coding";
14
+ readonly review: "review";
15
+ readonly creative: "creative";
16
+ readonly planning: "planning";
17
+ readonly utility: "utility";
18
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * LLM Registry API
6
+ * Central registry for LLM providers, models, and per-project model configuration
7
+ * OpenAPI spec version: 0.1.2
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ModelResolutionSelectorResponseDtoModelClass = void 0;
11
+ exports.ModelResolutionSelectorResponseDtoModelClass = {
12
+ coding: 'coding',
13
+ review: 'review',
14
+ creative: 'creative',
15
+ planning: 'planning',
16
+ utility: 'utility',
17
+ };
@@ -3,7 +3,7 @@
3
3
  * Do not edit manually.
4
4
  * LLM Registry API
5
5
  * Central registry for LLM providers, models, and per-project model configuration
6
- * OpenAPI spec version: 0.1.0
6
+ * OpenAPI spec version: 0.1.2
7
7
  */
8
8
  /**
9
9
  * Always `published` — the projection only carries resolvable rows.
@@ -4,7 +4,7 @@
4
4
  * Do not edit manually.
5
5
  * LLM Registry API
6
6
  * Central registry for LLM providers, models, and per-project model configuration
7
- * OpenAPI spec version: 0.1.0
7
+ * OpenAPI spec version: 0.1.2
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.ObjectLifecycle = void 0;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ import type { DefaultTargetRefDto } from './defaultTargetRefDto.js';
9
+ export interface RepointDefaultTargetDto {
10
+ /** The concrete model the org default rule should resolve to. */
11
+ target: DefaultTargetRefDto;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,7 +3,7 @@
3
3
  * Do not edit manually.
4
4
  * LLM Registry API
5
5
  * Central registry for LLM providers, models, and per-project model configuration
6
- * OpenAPI spec version: 0.1.0
6
+ * OpenAPI spec version: 0.1.2
7
7
  */
8
8
  /**
9
9
  * Ownership tier (system | biome | org | project | user)
@@ -4,7 +4,7 @@
4
4
  * Do not edit manually.
5
5
  * LLM Registry API
6
6
  * Central registry for LLM providers, models, and per-project model configuration
7
- * OpenAPI spec version: 0.1.0
7
+ * OpenAPI spec version: 0.1.2
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.SpaceKind = void 0;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ import type { ModelResolutionSelectorDto } from './modelResolutionSelectorDto.js';
9
+ import type { UpsertManagedModelResolutionRuleDtoTargetKind } from './upsertManagedModelResolutionRuleDtoTargetKind.js';
10
+ import type { UpsertManagedModelResolutionRuleDtoTargetModelClass } from './upsertManagedModelResolutionRuleDtoTargetModelClass.js';
11
+ export interface UpsertManagedModelResolutionRuleDto {
12
+ /** Dimensional selector. Omit entirely (or pass an empty object) for the default rule — `isDefault` must then be true. */
13
+ selector?: ModelResolutionSelectorDto;
14
+ /** Target kind: `concrete` pins (modelId, providerSlug); `strategy` routes through a ModelStrategy class. */
15
+ targetKind: UpsertManagedModelResolutionRuleDtoTargetKind;
16
+ /** Concrete model id. Required when targetKind=concrete. */
17
+ targetModelId?: string;
18
+ /** Provider slug disambiguating the concrete model. Optional partner to targetModelId. */
19
+ targetProviderSlug?: string;
20
+ /** Strategy routing class. Required when targetKind=strategy. */
21
+ targetModelClass?: UpsertManagedModelResolutionRuleDtoTargetModelClass;
22
+ /** Optional temperature override carried by the resolved model. */
23
+ targetTemperature?: number;
24
+ /** Tie-break hint when two rules match the same number of dimensions and the fixed dimension-priority ladder does not separate them. Higher wins. Defaults to 0. */
25
+ priority?: number;
26
+ /** The owning service's stable natural key for this rule (e.g. an org-tier assignment id). Idempotency key: a re-PUT with the same key updates the rule in place. Unique per (orgId, owner). */
27
+ managedKey: string;
28
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * LLM Registry API
5
+ * Central registry for LLM providers, models, and per-project model configuration
6
+ * OpenAPI spec version: 0.1.2
7
+ */
8
+ /**
9
+ * Target kind: `concrete` pins (modelId, providerSlug); `strategy` routes through a ModelStrategy class.
10
+ */
11
+ export type UpsertManagedModelResolutionRuleDtoTargetKind = typeof UpsertManagedModelResolutionRuleDtoTargetKind[keyof typeof UpsertManagedModelResolutionRuleDtoTargetKind];
12
+ export declare const UpsertManagedModelResolutionRuleDtoTargetKind: {
13
+ readonly concrete: "concrete";
14
+ readonly strategy: "strategy";
15
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * LLM Registry API
6
+ * Central registry for LLM providers, models, and per-project model configuration
7
+ * OpenAPI spec version: 0.1.2
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.UpsertManagedModelResolutionRuleDtoTargetKind = void 0;
11
+ exports.UpsertManagedModelResolutionRuleDtoTargetKind = {
12
+ concrete: 'concrete',
13
+ strategy: 'strategy',
14
+ };