@xemahq/llm-registry-internal-api-client 0.3.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 (85) 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 +1 -1
  6. package/dist/endpoints/internal-managed-model-resolution-rules/internal-managed-model-resolution-rules.d.ts +32 -0
  7. package/dist/endpoints/internal-managed-model-resolution-rules/internal-managed-model-resolution-rules.js +68 -0
  8. package/dist/index.d.ts +2 -0
  9. package/dist/index.js +2 -0
  10. package/dist/models/agentInvokeRequestDto.d.ts +1 -1
  11. package/dist/models/agentInvokeRequestDtoInput.d.ts +1 -1
  12. package/dist/models/agentInvokeRequestDtoInput.js +1 -1
  13. package/dist/models/defaultTargetRefDto.d.ts +13 -0
  14. package/dist/models/{compositionInvokeRequestDtoInput.js → defaultTargetRefDto.js} +1 -1
  15. package/dist/models/describeObjectsResponseDto.d.ts +1 -1
  16. package/dist/models/describeObjectsResponseDtoDataEnvelope.d.ts +11 -0
  17. package/dist/models/errorDetailsDto.d.ts +1 -1
  18. package/dist/models/errorDetailsDtoDetails.d.ts +1 -1
  19. package/dist/models/errorDetailsDtoDetails.js +1 -1
  20. package/dist/models/errorPayloadDto.d.ts +1 -1
  21. package/dist/models/errorResponseDto.d.ts +1 -1
  22. package/dist/models/executionRequirementsDto.d.ts +3 -3
  23. package/dist/models/executionRequirementsDtoMode.d.ts +1 -1
  24. package/dist/models/executionRequirementsDtoMode.js +1 -1
  25. package/dist/models/executionRequirementsDtoPriority.d.ts +1 -1
  26. package/dist/models/executionRequirementsDtoPriority.js +1 -1
  27. package/dist/models/index.d.ts +21 -1
  28. package/dist/models/index.js +21 -1
  29. package/dist/models/invocationLimitsDto.d.ts +1 -1
  30. package/dist/models/invocationLimitsDto.js +1 -1
  31. package/dist/models/{executionRequirementsDtoIsolation.d.ts → isolationLevel.d.ts} +3 -3
  32. package/dist/models/{executionRequirementsDtoIsolation.js → isolationLevel.js} +3 -3
  33. package/dist/models/modelResolutionRuleResponseDto.d.ts +76 -0
  34. package/dist/models/modelResolutionRuleResponseDto.js +2 -0
  35. package/dist/models/modelResolutionRuleResponseDtoDataEnvelope.d.ts +11 -0
  36. package/dist/models/modelResolutionRuleResponseDtoDataEnvelope.js +2 -0
  37. package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.d.ts +19 -0
  38. package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.js +17 -0
  39. package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.d.ts +16 -0
  40. package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.js +14 -0
  41. package/dist/models/modelResolutionRuleResponseDtoTargetKind.d.ts +12 -0
  42. package/dist/models/modelResolutionRuleResponseDtoTargetKind.js +14 -0
  43. package/dist/models/modelResolutionRuleResponseDtoTargetModelClass.d.ts +18 -0
  44. package/dist/models/modelResolutionRuleResponseDtoTargetModelClass.js +17 -0
  45. package/dist/models/modelResolutionSelectorDto.d.ts +28 -0
  46. package/dist/models/modelResolutionSelectorDto.js +2 -0
  47. package/dist/models/modelResolutionSelectorDtoExtra.d.ts +13 -0
  48. package/dist/models/modelResolutionSelectorDtoExtra.js +9 -0
  49. package/dist/models/modelResolutionSelectorDtoModelCapability.d.ts +19 -0
  50. package/dist/models/modelResolutionSelectorDtoModelCapability.js +18 -0
  51. package/dist/models/modelResolutionSelectorDtoModelClass.d.ts +18 -0
  52. package/dist/models/modelResolutionSelectorDtoModelClass.js +17 -0
  53. package/dist/models/modelResolutionSelectorResponseDto.d.ts +28 -0
  54. package/dist/models/modelResolutionSelectorResponseDto.js +2 -0
  55. package/dist/models/{compositionInvokeRequestDtoInput.d.ts → modelResolutionSelectorResponseDtoExtra.d.ts} +4 -4
  56. package/dist/models/modelResolutionSelectorResponseDtoExtra.js +9 -0
  57. package/dist/models/modelResolutionSelectorResponseDtoModelCapability.d.ts +19 -0
  58. package/dist/models/modelResolutionSelectorResponseDtoModelCapability.js +18 -0
  59. package/dist/models/modelResolutionSelectorResponseDtoModelClass.d.ts +18 -0
  60. package/dist/models/modelResolutionSelectorResponseDtoModelClass.js +17 -0
  61. package/dist/models/objectLifecycle.d.ts +1 -1
  62. package/dist/models/objectLifecycle.js +1 -1
  63. package/dist/models/repointDefaultTargetDto.d.ts +12 -0
  64. package/dist/models/repointDefaultTargetDto.js +2 -0
  65. package/dist/models/spaceKind.d.ts +1 -1
  66. package/dist/models/spaceKind.js +1 -1
  67. package/dist/models/upsertManagedModelResolutionRuleDto.d.ts +28 -0
  68. package/dist/models/upsertManagedModelResolutionRuleDto.js +2 -0
  69. package/dist/models/upsertManagedModelResolutionRuleDtoTargetKind.d.ts +15 -0
  70. package/dist/models/upsertManagedModelResolutionRuleDtoTargetKind.js +14 -0
  71. package/dist/models/upsertManagedModelResolutionRuleDtoTargetModelClass.d.ts +18 -0
  72. package/dist/models/upsertManagedModelResolutionRuleDtoTargetModelClass.js +17 -0
  73. package/dist/models/xemaObjectKind.d.ts +1 -2
  74. package/dist/models/xemaObjectKind.js +1 -2
  75. package/dist/models/xemaObjectResponseDto.d.ts +1 -1
  76. package/dist/models/xemaObjectResponseDtoPayload.d.ts +1 -1
  77. package/dist/models/xemaObjectResponseDtoPayload.js +1 -1
  78. package/dist/models/xemaSpaceRefDto.d.ts +1 -1
  79. package/dist/models/xemaSubjectRefDto.d.ts +1 -1
  80. package/dist/models/xemaSubjectRefDto.js +1 -1
  81. package/package.json +14 -3
  82. package/dist/endpoints/internal-composition-invocation/internal-composition-invocation.d.ts +0 -14
  83. package/dist/endpoints/internal-composition-invocation/internal-composition-invocation.js +0 -21
  84. package/dist/models/compositionInvokeRequestDto.d.ts +0 -24
  85. /package/dist/models/{compositionInvokeRequestDto.js → describeObjectsResponseDtoDataEnvelope.js} +0 -0
@@ -4,6 +4,6 @@
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 });
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@xemahq/llm-registry-internal-api-client",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
7
7
  "dist"
8
8
  ],
9
9
  "publishConfig": {
10
- "registry": "https://npm.pkg.github.com"
10
+ "access": "public",
11
+ "registry": "https://registry.npmjs.org/"
11
12
  },
12
13
  "devDependencies": {
13
14
  "typescript": "5.9.3"
@@ -18,9 +19,19 @@
18
19
  "service": "llm-registry-api",
19
20
  "biome": "agent-runtime",
20
21
  "target": "server",
21
- "generator": "@xemahq/api-client-generator@0.1.2",
22
+ "generator": "@xemahq/api-client-generator@0.2.0",
22
23
  "source": "openapi.internal.json"
23
24
  },
25
+ "license": "LicenseRef-Xema-BSL-1.1",
26
+ "author": "Neuralchowder Inc. <developer@xema.dev> (https://xema.dev)",
27
+ "homepage": "https://xema.dev",
28
+ "bugs": "https://github.com/xema-dev/xema-community/issues",
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "git+https://github.com/xema-dev/xema-community.git",
32
+ "directory": "packages/clients/llm-registry-internal-api"
33
+ },
34
+ "description": "Generated internal API client for the Xema llm-registry-api service.",
24
35
  "scripts": {
25
36
  "build": "tsc -p tsconfig.json"
26
37
  }
@@ -1,14 +0,0 @@
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.0
7
- */
8
- import type { CompositionInvokeRequestDto } from '../../models';
9
- export declare const getInvocationControllerInvokeUrl: () => string;
10
- /**
11
- * Validates the request, dedups on `(orgId, idempotencyKey)`, resolves the composition, dispatches one agent turn through agent-session-api, enforces the output schema when `outputSchemaRef` is set, writes a terminal Invocation record, and returns the root structured output as `output`.
12
- * @summary Invoke a published composition synchronously and return its terminal result.
13
- */
14
- export declare const invocationControllerInvoke: (compositionInvokeRequestDto: CompositionInvokeRequestDto, options?: RequestInit) => Promise<void>;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.invocationControllerInvoke = exports.getInvocationControllerInvokeUrl = void 0;
4
- const custom_fetch_1 = require("../../custom-fetch");
5
- const getInvocationControllerInvokeUrl = () => {
6
- return `/internal/invocations`;
7
- };
8
- exports.getInvocationControllerInvokeUrl = getInvocationControllerInvokeUrl;
9
- /**
10
- * Validates the request, dedups on `(orgId, idempotencyKey)`, resolves the composition, dispatches one agent turn through agent-session-api, enforces the output schema when `outputSchemaRef` is set, writes a terminal Invocation record, and returns the root structured output as `output`.
11
- * @summary Invoke a published composition synchronously and return its terminal result.
12
- */
13
- const invocationControllerInvoke = async (compositionInvokeRequestDto, options) => {
14
- return (0, custom_fetch_1.customFetch)((0, exports.getInvocationControllerInvokeUrl)(), {
15
- ...options,
16
- method: 'POST',
17
- headers: { 'Content-Type': 'application/json', ...options?.headers },
18
- body: JSON.stringify(compositionInvokeRequestDto)
19
- });
20
- };
21
- exports.invocationControllerInvoke = invocationControllerInvoke;
@@ -1,24 +0,0 @@
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.0
7
- */
8
- import type { CompositionInvokeRequestDtoInput } from './compositionInvokeRequestDtoInput.js';
9
- import type { ExecutionRequirementsDto } from './executionRequirementsDto.js';
10
- export interface CompositionInvokeRequestDto {
11
- /** Agent ref (`slug` or `slug@version`) to execute. */
12
- agentRef: string;
13
- /** Tenant scope: organization id. */
14
- orgId: string;
15
- /** Tenant scope: project id (optional). */
16
- projectId?: string;
17
- /** Thread key (org+mailbox+emailThreadId for mail). Carries thread-continuity intent; STRICT isolation in Phase 1. */
18
- threadKey: string;
19
- /** Correlation id propagated through execution and audit. */
20
- correlationId?: string;
21
- /** Input payload handed to the composition root as the turn content. */
22
- input: CompositionInvokeRequestDtoInput;
23
- requirements: ExecutionRequirementsDto;
24
- }