@xemahq/llm-registry-internal-api-client 0.7.25 → 0.7.27

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.
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * LLM Registry API
4
+ * OpenAPI spec version: 0.1.3
5
+ */
6
+ import type { ContributedAgentPinResponseDtoDataEnvelope } from '../../models';
7
+ export declare const getContributedAgentPinControllerResolvePinUrl: (ownerScopeId: string, slug: string) => string;
8
+ /**
9
+ * @summary Resolve one biome-contributed Agent to its exact stable revision pin, owner-qualified.
10
+ */
11
+ export declare const contributedAgentPinControllerResolvePin: (ownerScopeId: string, slug: string, options?: RequestInit) => Promise<ContributedAgentPinResponseDtoDataEnvelope>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.contributedAgentPinControllerResolvePin = exports.getContributedAgentPinControllerResolvePinUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ const getContributedAgentPinControllerResolvePinUrl = (ownerScopeId, slug) => {
6
+ return `/internal/contributed-agents/scopes/${ownerScopeId}/by-slug/${slug}/pin`;
7
+ };
8
+ exports.getContributedAgentPinControllerResolvePinUrl = getContributedAgentPinControllerResolvePinUrl;
9
+ /**
10
+ * @summary Resolve one biome-contributed Agent to its exact stable revision pin, owner-qualified.
11
+ */
12
+ const contributedAgentPinControllerResolvePin = async (ownerScopeId, slug, options) => {
13
+ return (0, custom_fetch_1.customFetch)((0, exports.getContributedAgentPinControllerResolvePinUrl)(ownerScopeId, slug), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ exports.contributedAgentPinControllerResolvePin = contributedAgentPinControllerResolvePin;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig, type RetryNotice } from './custom-fetch';
2
2
  export * from './models';
3
+ export * from './endpoints/contributed-agent-pins/contributed-agent-pins';
3
4
  export * from './endpoints/contribution-sync/contribution-sync';
4
5
  export * from './endpoints/describe-objects/describe-objects';
5
6
  export * from './endpoints/internal-agent-invocation/internal-agent-invocation';
package/dist/index.js CHANGED
@@ -22,6 +22,7 @@ Object.defineProperty(exports, "getClientConfig", { enumerable: true, get: funct
22
22
  Object.defineProperty(exports, "ClientError", { enumerable: true, get: function () { return custom_fetch_1.ClientError; } });
23
23
  Object.defineProperty(exports, "customFetch", { enumerable: true, get: function () { return custom_fetch_1.customFetch; } });
24
24
  __exportStar(require("./models"), exports);
25
+ __exportStar(require("./endpoints/contributed-agent-pins/contributed-agent-pins"), exports);
25
26
  __exportStar(require("./endpoints/contribution-sync/contribution-sync"), exports);
26
27
  __exportStar(require("./endpoints/describe-objects/describe-objects"), exports);
27
28
  __exportStar(require("./endpoints/internal-agent-invocation/internal-agent-invocation"), exports);
@@ -4,12 +4,12 @@
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
6
  import type { AgentInvokeRequestDtoInput } from './agentInvokeRequestDtoInput.js';
7
- import type { AgentInvokeRequestDtoLaunchDefinition } from './agentInvokeRequestDtoLaunchDefinition.js';
8
7
  import type { AgentInvokeRequestDtoWorkspace } from './agentInvokeRequestDtoWorkspace.js';
9
8
  import type { ExecutionRequirementsDto } from './executionRequirementsDto.js';
9
+ import type { RevisionTargetDto } from './revisionTargetDto.js';
10
10
  export interface AgentInvokeRequestDto {
11
11
  /** Canonical LaunchDefinition RevisionTarget. Stable/channel selection is resolved centrally by agent-session. */
12
- launchDefinition: AgentInvokeRequestDtoLaunchDefinition;
12
+ launchDefinition: RevisionTargetDto;
13
13
  /** Canonical workspace action for the session launch. */
14
14
  workspace: AgentInvokeRequestDtoWorkspace;
15
15
  /** Tenant scope: organization id. */
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * LLM Registry API
4
+ * OpenAPI spec version: 0.1.3
5
+ */
6
+ export interface ContributedAgentPinResponseDto {
7
+ /** Stable Agent AuthoredResource identity. */
8
+ resourceId: string;
9
+ /** Immutable AgentRevision id on the stable channel. */
10
+ revisionId: string;
11
+ /**
12
+ * SHA-256 of the immutable AgentRevision content.
13
+ * @pattern ^[a-f0-9]{64}$
14
+ */
15
+ contentHash: string;
16
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * LLM Registry API
4
+ * OpenAPI spec version: 0.1.3
5
+ */
6
+ import type { ContributedAgentPinResponseDto } from './contributedAgentPinResponseDto.js';
7
+ export interface ContributedAgentPinResponseDtoDataEnvelope {
8
+ data: ContributedAgentPinResponseDto;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * LLM Registry API
4
+ * OpenAPI spec version: 0.1.3
5
+ */
6
+ import type { ExactRevisionSelectorDtoKind } from './exactRevisionSelectorDtoKind.js';
7
+ export interface ExactRevisionSelectorDto {
8
+ kind: ExactRevisionSelectorDtoKind;
9
+ /**
10
+ * @maxLength 2048
11
+ * @pattern ^\S+$
12
+ */
13
+ revisionId: string;
14
+ /** @pattern ^[a-f0-9]{64}$ */
15
+ contentHash: string;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * LLM Registry API
4
+ * OpenAPI spec version: 0.1.3
5
+ */
6
+ export type ExactRevisionSelectorDtoKind = typeof ExactRevisionSelectorDtoKind[keyof typeof ExactRevisionSelectorDtoKind];
7
+ export declare const ExactRevisionSelectorDtoKind: {
8
+ readonly exact: "exact";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by @xemahq/api-client-generator — do not edit manually.
4
+ * LLM Registry API
5
+ * OpenAPI spec version: 0.1.3
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ExactRevisionSelectorDtoKind = void 0;
9
+ exports.ExactRevisionSelectorDtoKind = {
10
+ exact: 'exact',
11
+ };
@@ -1,12 +1,13 @@
1
1
  export * from './agentInvokeRequestDto';
2
2
  export * from './agentInvokeRequestDtoInput';
3
- export * from './agentInvokeRequestDtoLaunchDefinition';
4
3
  export * from './agentInvokeRequestDtoWorkspace';
5
4
  export * from './agentInvokeResponseDto';
6
5
  export * from './agentInvokeResponseDtoDataEnvelope';
7
6
  export * from './agentInvokeResponseDtoMode';
8
7
  export * from './agentInvokeResponseDtoOutput';
9
8
  export * from './agentInvokeResponseDtoStatus';
9
+ export * from './contributedAgentPinResponseDto';
10
+ export * from './contributedAgentPinResponseDtoDataEnvelope';
10
11
  export * from './defaultTargetRefDto';
11
12
  export * from './describeObjectsResponseDto';
12
13
  export * from './describeObjectsResponseDtoDataEnvelope';
@@ -18,6 +19,8 @@ export * from './exactContentPinDto';
18
19
  export * from './exactLogicalModelResolutionDto';
19
20
  export * from './exactLogicalModelResolutionDtoContextWindow';
20
21
  export * from './exactLogicalModelResolutionDtoDataEnvelope';
22
+ export * from './exactRevisionSelectorDto';
23
+ export * from './exactRevisionSelectorDtoKind';
21
24
  export * from './executionRequirementsDto';
22
25
  export * from './executionRequirementsDtoMode';
23
26
  export * from './executionRequirementsDtoPriority';
@@ -42,8 +45,11 @@ export * from './modelResolutionSelectorResponseDtoExtra';
42
45
  export * from './modelResolutionSelectorResponseDtoModelCapability';
43
46
  export * from './modelResolutionSelectorResponseDtoModelClass';
44
47
  export * from './objectLifecycle';
48
+ export * from './releaseChannelRevisionSelectorDto';
49
+ export * from './releaseChannelRevisionSelectorDtoKind';
45
50
  export * from './repointDefaultTargetDto';
46
51
  export * from './resolveExactLogicalModelDto';
52
+ export * from './revisionTargetDto';
47
53
  export * from './spaceKind';
48
54
  export * from './upsertManagedModelResolutionRuleDto';
49
55
  export * from './upsertManagedModelResolutionRuleDtoTargetKind';
@@ -17,13 +17,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  // Auto-generated by tooling/codegen/regenerate-models-barrel.js — do not edit manually.
18
18
  __exportStar(require("./agentInvokeRequestDto"), exports);
19
19
  __exportStar(require("./agentInvokeRequestDtoInput"), exports);
20
- __exportStar(require("./agentInvokeRequestDtoLaunchDefinition"), exports);
21
20
  __exportStar(require("./agentInvokeRequestDtoWorkspace"), exports);
22
21
  __exportStar(require("./agentInvokeResponseDto"), exports);
23
22
  __exportStar(require("./agentInvokeResponseDtoDataEnvelope"), exports);
24
23
  __exportStar(require("./agentInvokeResponseDtoMode"), exports);
25
24
  __exportStar(require("./agentInvokeResponseDtoOutput"), exports);
26
25
  __exportStar(require("./agentInvokeResponseDtoStatus"), exports);
26
+ __exportStar(require("./contributedAgentPinResponseDto"), exports);
27
+ __exportStar(require("./contributedAgentPinResponseDtoDataEnvelope"), exports);
27
28
  __exportStar(require("./defaultTargetRefDto"), exports);
28
29
  __exportStar(require("./describeObjectsResponseDto"), exports);
29
30
  __exportStar(require("./describeObjectsResponseDtoDataEnvelope"), exports);
@@ -35,6 +36,8 @@ __exportStar(require("./exactContentPinDto"), exports);
35
36
  __exportStar(require("./exactLogicalModelResolutionDto"), exports);
36
37
  __exportStar(require("./exactLogicalModelResolutionDtoContextWindow"), exports);
37
38
  __exportStar(require("./exactLogicalModelResolutionDtoDataEnvelope"), exports);
39
+ __exportStar(require("./exactRevisionSelectorDto"), exports);
40
+ __exportStar(require("./exactRevisionSelectorDtoKind"), exports);
38
41
  __exportStar(require("./executionRequirementsDto"), exports);
39
42
  __exportStar(require("./executionRequirementsDtoMode"), exports);
40
43
  __exportStar(require("./executionRequirementsDtoPriority"), exports);
@@ -59,8 +62,11 @@ __exportStar(require("./modelResolutionSelectorResponseDtoExtra"), exports);
59
62
  __exportStar(require("./modelResolutionSelectorResponseDtoModelCapability"), exports);
60
63
  __exportStar(require("./modelResolutionSelectorResponseDtoModelClass"), exports);
61
64
  __exportStar(require("./objectLifecycle"), exports);
65
+ __exportStar(require("./releaseChannelRevisionSelectorDto"), exports);
66
+ __exportStar(require("./releaseChannelRevisionSelectorDtoKind"), exports);
62
67
  __exportStar(require("./repointDefaultTargetDto"), exports);
63
68
  __exportStar(require("./resolveExactLogicalModelDto"), exports);
69
+ __exportStar(require("./revisionTargetDto"), exports);
64
70
  __exportStar(require("./spaceKind"), exports);
65
71
  __exportStar(require("./upsertManagedModelResolutionRuleDto"), exports);
66
72
  __exportStar(require("./upsertManagedModelResolutionRuleDtoTargetKind"), exports);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * LLM Registry API
4
+ * OpenAPI spec version: 0.1.3
5
+ */
6
+ import type { ReleaseChannelRevisionSelectorDtoKind } from './releaseChannelRevisionSelectorDtoKind.js';
7
+ export interface ReleaseChannelRevisionSelectorDto {
8
+ kind: ReleaseChannelRevisionSelectorDtoKind;
9
+ /** @pattern ^[a-z][a-z0-9-]{0,62}$ */
10
+ channel: string;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * LLM Registry API
4
+ * OpenAPI spec version: 0.1.3
5
+ */
6
+ export type ReleaseChannelRevisionSelectorDtoKind = typeof ReleaseChannelRevisionSelectorDtoKind[keyof typeof ReleaseChannelRevisionSelectorDtoKind];
7
+ export declare const ReleaseChannelRevisionSelectorDtoKind: {
8
+ readonly 'release-channel': "release-channel";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by @xemahq/api-client-generator — do not edit manually.
4
+ * LLM Registry API
5
+ * OpenAPI spec version: 0.1.3
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ReleaseChannelRevisionSelectorDtoKind = void 0;
9
+ exports.ReleaseChannelRevisionSelectorDtoKind = {
10
+ 'release-channel': 'release-channel',
11
+ };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * LLM Registry API
4
+ * OpenAPI spec version: 0.1.3
5
+ */
6
+ import type { ExactRevisionSelectorDto } from './exactRevisionSelectorDto.js';
7
+ import type { ReleaseChannelRevisionSelectorDto } from './releaseChannelRevisionSelectorDto.js';
8
+ export interface RevisionTargetDto {
9
+ /** @pattern ^[a-z][a-z0-9-]{0,62}$ */
10
+ resourceKind: string;
11
+ /**
12
+ * @maxLength 2048
13
+ * @pattern ^\S+$
14
+ */
15
+ resourceId: string;
16
+ selector: ExactRevisionSelectorDto | ReleaseChannelRevisionSelectorDto;
17
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/llm-registry-internal-api-client",
3
- "version": "0.7.25",
3
+ "version": "0.7.27",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -1,11 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- /**
7
- * Canonical LaunchDefinition RevisionTarget. Stable/channel selection is resolved centrally by agent-session.
8
- */
9
- export type AgentInvokeRequestDtoLaunchDefinition = {
10
- [key: string]: unknown;
11
- };