@claudexor/core 3.23.2 → 3.24.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/dist/model-adapter.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ControlModelCatalogResponse, CredentialProfile, ModelCallRequest, ModelCallResult, ModelRoute } from "@claudexor/schema";
|
|
1
|
+
import type { ControlModelCatalogResponse, CredentialProfile, ModelCallRequest, ModelCallResult, ModelRoute, ModelInventoryAbsence } from "@claudexor/schema";
|
|
2
2
|
/** Runtime-only context. Credentials stay inside the adapter, never a DTO. */
|
|
3
3
|
export interface ModelAdapterContext {
|
|
4
4
|
profile: CredentialProfile;
|
|
@@ -14,6 +14,8 @@ export interface ModelAdapterContext {
|
|
|
14
14
|
/** One generation, not a harness session: no tools, retries, or conversation ownership. */
|
|
15
15
|
export interface ModelAdapter {
|
|
16
16
|
readonly id: string;
|
|
17
|
+
/** What a valid catalog miss proves; omitted keeps authoritative admission. */
|
|
18
|
+
readonly inventoryAbsence?: ModelInventoryAbsence;
|
|
17
19
|
catalog(context: Omit<ModelAdapterContext, "onDispatch">): Promise<ControlModelCatalogResponse>;
|
|
18
20
|
invoke(request: ModelCallRequest, context: ModelAdapterContext): Promise<ModelCallResult>;
|
|
19
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-adapter.d.ts","sourceRoot":"","sources":["../src/model-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,UAAU,
|
|
1
|
+
{"version":3,"file":"model-adapter.d.ts","sourceRoot":"","sources":["../src/model-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAE3B,8EAA8E;AAC9E,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,MAAM,EAAE,WAAW,CAAC;IACpB;kFAC8E;IAC9E,OAAO,CAAC,EAAE,2BAA2B,CAAC;IACtC,mFAAmF;IACnF,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,0EAA0E;IAC1E,UAAU,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAClD;AAED,2FAA2F;AAC3F,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,QAAQ,CAAC,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;IAClD,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;IAChG,MAAM,CAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;CAC3F"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudexor/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.24.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "HarnessAdapter contract, process helpers, typed errors, and low-level execution utilities.",
|
|
6
6
|
"type": "module",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@playwright/mcp": "0.0.83",
|
|
23
|
-
"@claudexor/schema": "3.
|
|
24
|
-
"@claudexor/util": "3.
|
|
23
|
+
"@claudexor/schema": "3.24.0",
|
|
24
|
+
"@claudexor/util": "3.24.0"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|