@xemahq/skill-registry-api-client 0.1.0 → 0.2.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.
- package/LICENSE +175 -201
- package/dist/custom-fetch.d.ts +1 -1
- package/dist/custom-fetch.js +1 -1
- package/dist/endpoints/skill-governance/skill-governance.d.ts +11 -11
- package/dist/endpoints/skill-governance/skill-governance.js +40 -40
- package/dist/endpoints/skill-repositories/skill-repositories.d.ts +6 -6
- package/dist/endpoints/skill-repositories/skill-repositories.js +18 -18
- package/dist/endpoints/skills/skills.d.ts +11 -11
- package/dist/endpoints/skills/skills.js +40 -40
- package/dist/models/createSkillBundleDto.d.ts +3 -3
- package/dist/models/createSkillBundleResourceDto.d.ts +2 -2
- package/dist/models/createSkillBundleResponseDto.d.ts +1 -1
- package/dist/models/createSkillBundleResponseDto.js +1 -1
- package/dist/models/createSkillBundleResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/createSkillDto.d.ts +4 -4
- package/dist/models/createSkillRepositoryDto.d.ts +1 -1
- package/dist/models/createSkillRepositoryDto.js +1 -1
- package/dist/models/errorDetailsDto.d.ts +2 -2
- package/dist/models/errorDetailsDtoDetails.d.ts +1 -1
- package/dist/models/errorDetailsDtoDetails.js +1 -1
- package/dist/models/errorPayloadDto.d.ts +2 -2
- package/dist/models/errorResponseDto.d.ts +2 -2
- package/dist/models/rejectSkillDto.d.ts +1 -1
- package/dist/models/rejectSkillDto.js +1 -1
- package/dist/models/rollbackSkillDto.d.ts +1 -1
- package/dist/models/rollbackSkillDto.js +1 -1
- package/dist/models/searchSkillsQueryDto.d.ts +2 -2
- package/dist/models/skillAssertionGradingMethod.d.ts +1 -1
- package/dist/models/skillAssertionGradingMethod.js +1 -1
- package/dist/models/skillAssertionResultDto.d.ts +3 -3
- package/dist/models/skillAssertionVerdict.d.ts +1 -1
- package/dist/models/skillAssertionVerdict.js +1 -1
- package/dist/models/skillBundleResourceDto.d.ts +2 -2
- package/dist/models/skillBundleResponseDto.d.ts +2 -2
- package/dist/models/skillBundleResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/skillCatalogEntryDto.d.ts +2 -2
- package/dist/models/skillCatalogEntryDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/skillEvalBenchmarkDto.d.ts +2 -2
- package/dist/models/skillEvalCaseDto.d.ts +3 -3
- package/dist/models/skillEvalCaseFileDto.d.ts +1 -1
- package/dist/models/skillEvalCaseFileDto.js +1 -1
- package/dist/models/skillEvalCaseResultDto.d.ts +3 -3
- package/dist/models/skillEvalConfigBenchmarkDto.d.ts +2 -2
- package/dist/models/skillEvalRunConfig.d.ts +1 -1
- package/dist/models/skillEvalRunConfig.js +1 -1
- package/dist/models/skillEvalRunResponseDto.d.ts +4 -4
- package/dist/models/skillEvalRunResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/skillEvalRunStatus.d.ts +1 -1
- package/dist/models/skillEvalRunStatus.js +1 -1
- package/dist/models/skillEvalSuiteResponseDto.d.ts +2 -2
- package/dist/models/skillEvalSuiteResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/skillGovernanceAction.d.ts +1 -1
- package/dist/models/skillGovernanceAction.js +1 -1
- package/dist/models/skillGovernanceEventDto.d.ts +3 -3
- package/dist/models/skillGovernanceStateDto.d.ts +5 -5
- package/dist/models/skillGovernanceStateDtoDataEnvelope.d.ts +2 -2
- package/dist/models/skillInjectionMode.d.ts +1 -1
- package/dist/models/skillInjectionMode.js +1 -1
- package/dist/models/skillKind.d.ts +1 -1
- package/dist/models/skillKind.js +1 -1
- package/dist/models/skillLifecycleState.d.ts +1 -1
- package/dist/models/skillLifecycleState.js +1 -1
- package/dist/models/skillRepositoryResponseDto.d.ts +1 -1
- package/dist/models/skillRepositoryResponseDto.js +1 -1
- package/dist/models/skillRepositoryResponseDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/skillRepositoryResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/skillRepositorySyncResultDto.d.ts +1 -1
- package/dist/models/skillRepositorySyncResultDto.js +1 -1
- package/dist/models/skillRepositorySyncResultDtoDataEnvelope.d.ts +2 -2
- package/dist/models/skillResourceType.d.ts +1 -1
- package/dist/models/skillResourceType.js +1 -1
- package/dist/models/skillResponseDto.d.ts +8 -8
- package/dist/models/skillResponseDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/skillResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/skillRiskIndicator.d.ts +1 -1
- package/dist/models/skillRiskIndicator.js +1 -1
- package/dist/models/skillRiskTier.d.ts +1 -1
- package/dist/models/skillRiskTier.js +1 -1
- package/dist/models/skillSourceKind.d.ts +1 -1
- package/dist/models/skillSourceKind.js +1 -1
- package/dist/models/skillSpace.d.ts +1 -1
- package/dist/models/skillSpace.js +1 -1
- package/dist/models/skillSurface.d.ts +1 -1
- package/dist/models/skillSurface.js +1 -1
- package/dist/models/skillTreeNodeDto.d.ts +2 -2
- package/dist/models/skillTreeNodeDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/skillTriggerExpectation.d.ts +1 -1
- package/dist/models/skillTriggerExpectation.js +1 -1
- package/dist/models/skillsControllerBundleParams.d.ts +1 -1
- package/dist/models/skillsControllerBundleParams.js +1 -1
- package/dist/models/skillsControllerListParams.d.ts +4 -4
- package/dist/models/skillsControllerLookupParams.d.ts +1 -1
- package/dist/models/skillsControllerLookupParams.js +1 -1
- package/dist/models/updateSkillDto.d.ts +2 -2
- package/dist/models/upsertSkillEvalSuiteDto.d.ts +3 -3
- package/package.json +3 -2
package/LICENSE
CHANGED
|
@@ -1,201 +1,175 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
-
|
|
180
|
-
To apply the Apache License to your work, attach the following
|
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
-
replaced with your own identifying information. (Don't include
|
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also recommend that a
|
|
185
|
-
file or class name and description of purpose be included on the
|
|
186
|
-
same "printed page" as the copyright notice for easier
|
|
187
|
-
identification within third-party archives.
|
|
188
|
-
|
|
189
|
-
Copyright 2026 Xema
|
|
190
|
-
|
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
you may not use this file except in compliance with the License.
|
|
193
|
-
You may obtain a copy of the License at
|
|
194
|
-
|
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
-
|
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
-
See the License for the specific language governing permissions and
|
|
201
|
-
limitations under the License.
|
|
1
|
+
Xema Business Source License 1.1
|
|
2
|
+
|
|
3
|
+
License text copyright (c) 2020 MariaDB Corporation Ab, All Rights Reserved.
|
|
4
|
+
"Business Source License" is a trademark of MariaDB Corporation Ab.
|
|
5
|
+
|
|
6
|
+
-----------------------------------------------------------------------------
|
|
7
|
+
|
|
8
|
+
Parameters
|
|
9
|
+
|
|
10
|
+
Licensor: Neuralchowder Inc.
|
|
11
|
+
|
|
12
|
+
Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc..
|
|
13
|
+
|
|
14
|
+
The Licensed Work includes, without limitation, Xema Core, Xema Runtime,
|
|
15
|
+
Xema Kernel, Xema control plane, Xema application runtime, Xema biome
|
|
16
|
+
runtime, Xema biome registry, Xema store services, Xema orchestration
|
|
17
|
+
services, Xema agents, Xema skills, Xema memory services, Xema APIs, Xema
|
|
18
|
+
user interfaces, Xema command-line tools, Xema deployment artifacts, Xema
|
|
19
|
+
templates, Xema specifications, Xema schemas, Xema manifests, Xema
|
|
20
|
+
documentation, Xema examples, and all source code, object code, binaries,
|
|
21
|
+
packages, modules, configuration files, manifests, schemas, examples,
|
|
22
|
+
templates, documentation, and derivative works included in or distributed
|
|
23
|
+
as part of the Xema software project.
|
|
24
|
+
|
|
25
|
+
The Licensed Work does not include any third-party software, libraries,
|
|
26
|
+
dependencies, packages, assets, or components that are distributed with the
|
|
27
|
+
Licensed Work but are governed by their own separate license terms. Such
|
|
28
|
+
third-party materials remain subject to their respective licenses.
|
|
29
|
+
|
|
30
|
+
A specific file, package, component, or directory may state that it is
|
|
31
|
+
governed by a different license. In that case, that specific file, package,
|
|
32
|
+
component, or directory is governed by the license expressly stated therein.
|
|
33
|
+
|
|
34
|
+
Additional Use Grant:
|
|
35
|
+
|
|
36
|
+
You may make production use of the Licensed Work, provided that your use
|
|
37
|
+
does not include offering, providing, making available, distributing,
|
|
38
|
+
hosting, managing, embedding, reselling, white-labeling, sublicensing,
|
|
39
|
+
commercializing, or otherwise making the Licensed Work, or any modified
|
|
40
|
+
version or derivative work of the Licensed Work, available to Third Parties
|
|
41
|
+
as part of a Competitive Offering.
|
|
42
|
+
|
|
43
|
+
The following definitions and clarifications form part of, and govern
|
|
44
|
+
the interpretation of, the Additional Use Grant set out above.
|
|
45
|
+
|
|
46
|
+
1. "Production Use" means any use of the Licensed Work other than for
|
|
47
|
+
development, testing, evaluation, demonstration, experimentation,
|
|
48
|
+
benchmarking, or other non-production purposes.
|
|
49
|
+
|
|
50
|
+
2. "Affiliate" means any entity that, directly or indirectly,
|
|
51
|
+
controls, is controlled by, or is under common control with you,
|
|
52
|
+
where "control" means ownership of more than fifty percent (50%) of
|
|
53
|
+
the voting interests of the entity, or the power to direct its
|
|
54
|
+
management.
|
|
55
|
+
|
|
56
|
+
3. "Third Party" means any natural person or legal entity other than
|
|
57
|
+
you and your Affiliates.
|
|
58
|
+
|
|
59
|
+
4. "Competitive Offering" means any product or service, made available
|
|
60
|
+
to one or more Third Parties for a fee or other consideration
|
|
61
|
+
(including without limitation on a paid, subscription,
|
|
62
|
+
advertising-supported, hosted, or managed-service basis), that is
|
|
63
|
+
offered or marketed as, or that competes with, a software platform,
|
|
64
|
+
runtime, orchestration system, agent or automation system,
|
|
65
|
+
extension or distribution marketplace, or other software system
|
|
66
|
+
that provides, in substantial part, the same or substantially
|
|
67
|
+
similar capabilities as those provided by the Licensed Work. A
|
|
68
|
+
product or service is a Competitive Offering whether the Licensed
|
|
69
|
+
Work is provided in whole or in part, alone or bundled with other
|
|
70
|
+
software, and whether modified or unmodified.
|
|
71
|
+
|
|
72
|
+
5. Providing, hosting, or managing the Licensed Work for a Third Party,
|
|
73
|
+
or otherwise making the Licensed Work available to a Third Party as
|
|
74
|
+
a hosted or managed service such that the Third Party obtains the
|
|
75
|
+
principal value or functionality of the Licensed Work, is a
|
|
76
|
+
Competitive Offering and is not permitted by the Additional Use
|
|
77
|
+
Grant.
|
|
78
|
+
|
|
79
|
+
6. Subject to the foregoing, the Additional Use Grant permits you to
|
|
80
|
+
make Production Use of the Licensed Work for your own internal
|
|
81
|
+
business purposes and to build, operate, and provide your own
|
|
82
|
+
products and services to Third Parties, provided that the Licensed
|
|
83
|
+
Work itself (whether modified or unmodified) is not the product or
|
|
84
|
+
service, and is not a Competitive Offering, made available to those
|
|
85
|
+
Third Parties.
|
|
86
|
+
|
|
87
|
+
7. You may modify the Licensed Work and create derivative works for
|
|
88
|
+
any purpose permitted by this License. Any Production Use of such
|
|
89
|
+
modified or derivative works remains subject to the same
|
|
90
|
+
restrictions as the Licensed Work, including the prohibition on
|
|
91
|
+
Competitive Offerings.
|
|
92
|
+
|
|
93
|
+
8. Use of the Licensed Work by your own employees, contractors, and
|
|
94
|
+
agents, acting on your behalf and for your benefit, is not by
|
|
95
|
+
itself making the Licensed Work available to a Third Party.
|
|
96
|
+
|
|
97
|
+
9. Embedding or distributing the Licensed Work as a component of your
|
|
98
|
+
own product or service is permitted only where the Licensed Work
|
|
99
|
+
does not constitute the principal value of that product or service
|
|
100
|
+
and the product or service is not a Competitive Offering.
|
|
101
|
+
|
|
102
|
+
10. Nothing in this Additional Use Grant grants any right to use any
|
|
103
|
+
name, trademark, service mark, or logo of the Licensor or its
|
|
104
|
+
Affiliates, except as reasonably required for customary
|
|
105
|
+
attribution.
|
|
106
|
+
|
|
107
|
+
11. The rights stated in this Additional Use Grant are the maximum
|
|
108
|
+
rights granted for Production Use prior to the Change Date. Any
|
|
109
|
+
Production Use not expressly permitted requires a separate
|
|
110
|
+
commercial license from the Licensor.
|
|
111
|
+
|
|
112
|
+
12. If any provision of this Additional Use Grant is held invalid or
|
|
113
|
+
unenforceable, that provision shall be limited or eliminated to
|
|
114
|
+
the minimum extent necessary so that the remainder of this
|
|
115
|
+
Additional Use Grant, and of this License, remains in full force
|
|
116
|
+
and effect. The Licensor reserves all rights not expressly granted
|
|
117
|
+
by this License.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
Change Date: Four years from the date the specific version of the Licensed
|
|
121
|
+
Work is first publicly released by Licensor.
|
|
122
|
+
|
|
123
|
+
Change License: Mozilla Public License, Version 2.0
|
|
124
|
+
|
|
125
|
+
For information about alternative licensing arrangements, commercial
|
|
126
|
+
licensing, enterprise licensing, OEM licensing, appliance licensing, managed
|
|
127
|
+
service licensing, cloud provider licensing, or other commercial use of the
|
|
128
|
+
Licensed Work, please contact: licensing@neuralchowder.com
|
|
129
|
+
|
|
130
|
+
-----------------------------------------------------------------------------
|
|
131
|
+
|
|
132
|
+
Notice
|
|
133
|
+
|
|
134
|
+
Business Source License 1.1
|
|
135
|
+
|
|
136
|
+
Terms
|
|
137
|
+
|
|
138
|
+
The Licensor hereby grants you the right to copy, modify, create derivative
|
|
139
|
+
works, redistribute, and make non-production use of the Licensed Work. The
|
|
140
|
+
Licensor may make an Additional Use Grant, above, permitting limited
|
|
141
|
+
production use.
|
|
142
|
+
|
|
143
|
+
Effective on the Change Date, or the fourth anniversary of the first publicly
|
|
144
|
+
available distribution of a specific version of the Licensed Work under this
|
|
145
|
+
License, whichever comes first, the Licensor hereby grants you rights under
|
|
146
|
+
the terms of the Change License, and the rights granted in the paragraph above
|
|
147
|
+
terminate.
|
|
148
|
+
|
|
149
|
+
If your use of the Licensed Work does not comply with the requirements
|
|
150
|
+
currently in effect as described in this License, you must purchase a
|
|
151
|
+
commercial license from the Licensor, its affiliated entities, or authorized
|
|
152
|
+
resellers, or you must refrain from using the Licensed Work.
|
|
153
|
+
|
|
154
|
+
All copies of the original and modified Licensed Work, and derivative works of
|
|
155
|
+
the Licensed Work, are subject to this License. This License applies separately
|
|
156
|
+
for each version of the Licensed Work and the Change Date may vary for each
|
|
157
|
+
version of the Licensed Work released by Licensor.
|
|
158
|
+
|
|
159
|
+
You must conspicuously display this License on each original or modified copy
|
|
160
|
+
of the Licensed Work. If you receive the Licensed Work in original or modified
|
|
161
|
+
form from a third party, the terms and conditions set forth in this License
|
|
162
|
+
apply to your use of that work.
|
|
163
|
+
|
|
164
|
+
Any use of the Licensed Work in violation of this License will automatically
|
|
165
|
+
terminate your rights under this License for the current and all other
|
|
166
|
+
versions of the Licensed Work.
|
|
167
|
+
|
|
168
|
+
This License does not grant you any right in any trademark or logo of Licensor
|
|
169
|
+
or its affiliates, provided that you may use a trademark or logo of Licensor
|
|
170
|
+
as expressly required by this License.
|
|
171
|
+
|
|
172
|
+
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN
|
|
173
|
+
"AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS
|
|
174
|
+
OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
175
|
+
FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE.
|
package/dist/custom-fetch.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* configureClient({
|
|
17
17
|
* baseUrl: 'http://skill-registry-api:3210',
|
|
18
18
|
* getAuthToken: () => identityBootstrapService.getAccessToken(),
|
|
19
|
-
* getHeaders: () => ({ 'X-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
|
|
19
|
+
* getHeaders: () => ({ 'X-Xema-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
|
|
20
20
|
* });
|
|
21
21
|
*/
|
|
22
22
|
export interface ClientConfig {
|
package/dist/custom-fetch.js
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* configureClient({
|
|
18
18
|
* baseUrl: 'http://skill-registry-api:3210',
|
|
19
19
|
* getAuthToken: () => identityBootstrapService.getAccessToken(),
|
|
20
|
-
* getHeaders: () => ({ 'X-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
|
|
20
|
+
* getHeaders: () => ({ 'X-Xema-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
|
|
21
21
|
* });
|
|
22
22
|
*/
|
|
23
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Skill Registry API
|
|
5
5
|
* Skill-registry extract (generated for client codegen).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { RejectSkillDto, RollbackSkillDto, SkillEvalRunResponseDtoDataEnvelope, SkillEvalSuiteResponseDtoDataEnvelope, SkillGovernanceStateDtoDataEnvelope, UpsertSkillEvalSuiteDto } from '../../models';
|
|
9
|
+
export declare const getSkillGovernanceControllerGetStateUrl: (id: string) => string;
|
|
9
10
|
/**
|
|
10
11
|
* Lifecycle state, risk tier + the deterministic indicators that fired, eval-suite status, approval provenance, and the append-only audit history of the current version.
|
|
11
12
|
* @summary The governance state of a skill.
|
|
12
13
|
*/
|
|
13
|
-
export declare const getSkillGovernanceControllerGetStateUrl: (id: string) => string;
|
|
14
14
|
export declare const skillGovernanceControllerGetState: (id: string, options?: RequestInit) => Promise<SkillGovernanceStateDtoDataEnvelope>;
|
|
15
|
+
export declare const getSkillGovernanceControllerGetEvalSuiteUrl: (id: string) => string;
|
|
15
16
|
/**
|
|
16
17
|
* The 3–5 representative queries plus the last-run outcome.
|
|
17
18
|
* @summary Read the skill's evaluation suite.
|
|
18
19
|
*/
|
|
19
|
-
export declare const getSkillGovernanceControllerGetEvalSuiteUrl: (id: string) => string;
|
|
20
20
|
export declare const skillGovernanceControllerGetEvalSuite: (id: string, options?: RequestInit) => Promise<SkillEvalSuiteResponseDtoDataEnvelope>;
|
|
21
|
+
export declare const getSkillGovernanceControllerUpsertEvalSuiteUrl: (id: string) => string;
|
|
21
22
|
/**
|
|
22
23
|
* Submit 3–5 representative queries (should-trigger / should-not-trigger / edge). Allowed only while the skill is in `draft`. Replacing the suite clears the last-run outcome.
|
|
23
24
|
* @summary Replace the skill's evaluation suite.
|
|
24
25
|
*/
|
|
25
|
-
export declare const getSkillGovernanceControllerUpsertEvalSuiteUrl: (id: string) => string;
|
|
26
26
|
export declare const skillGovernanceControllerUpsertEvalSuite: (id: string, upsertSkillEvalSuiteDto: UpsertSkillEvalSuiteDto, options?: RequestInit) => Promise<SkillEvalSuiteResponseDtoDataEnvelope>;
|
|
27
|
+
export declare const getSkillGovernanceControllerRunEvalSuiteUrl: (id: string) => string;
|
|
27
28
|
/**
|
|
28
29
|
* Executes a full eval-driven iteration: every test case is run twice — once with the skill mounted, once without it (the baseline) — in ephemeral sandbox sessions; every assertion is graded PASS/FAIL with concrete evidence; an aggregated benchmark (per-config pass rates + the with/without delta) is persisted. A run whose benchmark satisfies the governance gate (with-skill pass rate ≥ threshold AND positive delta) is what `approve` requires.
|
|
29
30
|
* @summary Run the skill's evaluation suite.
|
|
30
31
|
*/
|
|
31
|
-
export declare const getSkillGovernanceControllerRunEvalSuiteUrl: (id: string) => string;
|
|
32
32
|
export declare const skillGovernanceControllerRunEvalSuite: (id: string, options?: RequestInit) => Promise<SkillEvalRunResponseDtoDataEnvelope>;
|
|
33
|
+
export declare const getSkillGovernanceControllerGetLatestRunUrl: (id: string) => string;
|
|
33
34
|
/**
|
|
34
35
|
* The most recent eval run with its per-case results, the aggregated benchmark, and the frozen governance-gate verdict.
|
|
35
36
|
* @summary Read the skill's latest evaluation run.
|
|
36
37
|
*/
|
|
37
|
-
export declare const getSkillGovernanceControllerGetLatestRunUrl: (id: string) => string;
|
|
38
38
|
export declare const skillGovernanceControllerGetLatestRun: (id: string, options?: RequestInit) => Promise<SkillEvalRunResponseDtoDataEnvelope>;
|
|
39
|
+
export declare const getSkillGovernanceControllerSubmitForReviewUrl: (id: string) => string;
|
|
39
40
|
/**
|
|
40
41
|
* Transitions the current version `draft → in_review`.
|
|
41
42
|
* @summary Submit the skill for review.
|
|
42
43
|
*/
|
|
43
|
-
export declare const getSkillGovernanceControllerSubmitForReviewUrl: (id: string) => string;
|
|
44
44
|
export declare const skillGovernanceControllerSubmitForReview: (id: string, options?: RequestInit) => Promise<SkillGovernanceStateDtoDataEnvelope>;
|
|
45
|
+
export declare const getSkillGovernanceControllerApproveUrl: (id: string) => string;
|
|
45
46
|
/**
|
|
46
47
|
* Transitions `in_review → approved`. Blocked unless the caller differs from the author (separation of duties) and the evaluation suite has a passing run.
|
|
47
48
|
* @summary Approve the skill.
|
|
48
49
|
*/
|
|
49
|
-
export declare const getSkillGovernanceControllerApproveUrl: (id: string) => string;
|
|
50
50
|
export declare const skillGovernanceControllerApprove: (id: string, options?: RequestInit) => Promise<SkillGovernanceStateDtoDataEnvelope>;
|
|
51
|
+
export declare const getSkillGovernanceControllerRejectUrl: (id: string) => string;
|
|
51
52
|
/**
|
|
52
53
|
* Transitions `in_review → draft` so the author can revise. A reason is required and recorded on the audit log.
|
|
53
54
|
* @summary Reject the skill under review.
|
|
54
55
|
*/
|
|
55
|
-
export declare const getSkillGovernanceControllerRejectUrl: (id: string) => string;
|
|
56
56
|
export declare const skillGovernanceControllerReject: (id: string, rejectSkillDto: RejectSkillDto, options?: RequestInit) => Promise<SkillGovernanceStateDtoDataEnvelope>;
|
|
57
|
+
export declare const getSkillGovernanceControllerDeprecateUrl: (id: string) => string;
|
|
57
58
|
/**
|
|
58
59
|
* Transitions `approved → deprecated`.
|
|
59
60
|
* @summary Deprecate an approved skill.
|
|
60
61
|
*/
|
|
61
|
-
export declare const getSkillGovernanceControllerDeprecateUrl: (id: string) => string;
|
|
62
62
|
export declare const skillGovernanceControllerDeprecate: (id: string, options?: RequestInit) => Promise<SkillGovernanceStateDtoDataEnvelope>;
|
|
63
|
+
export declare const getSkillGovernanceControllerRollbackUrl: (id: string) => string;
|
|
63
64
|
/**
|
|
64
65
|
* Re-points the skill's current version to an already-approved version. No version's lifecycle state changes; the move is recorded on the audit log.
|
|
65
66
|
* @summary Roll the skill back to a prior approved version.
|
|
66
67
|
*/
|
|
67
|
-
export declare const getSkillGovernanceControllerRollbackUrl: (id: string) => string;
|
|
68
68
|
export declare const skillGovernanceControllerRollback: (id: string, rollbackSkillDto: RollbackSkillDto, options?: RequestInit) => Promise<SkillGovernanceStateDtoDataEnvelope>;
|