@claudexor/schema 3.13.0 → 3.14.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 (41) hide show
  1. package/dist/agent-capabilities.d.ts.map +1 -1
  2. package/dist/agent-capabilities.js +1 -1
  3. package/dist/agent-capabilities.js.map +1 -1
  4. package/dist/control-harness-models.d.ts +66 -0
  5. package/dist/control-harness-models.d.ts.map +1 -1
  6. package/dist/control.d.ts +3 -0
  7. package/dist/control.d.ts.map +1 -1
  8. package/dist/control.js +1 -0
  9. package/dist/control.js.map +1 -1
  10. package/dist/harness-model.d.ts +11 -0
  11. package/dist/harness-model.d.ts.map +1 -1
  12. package/dist/harness-model.js +14 -0
  13. package/dist/harness-model.js.map +1 -1
  14. package/dist/harness.d.ts +24 -24
  15. package/dist/harness.d.ts.map +1 -1
  16. package/dist/harness.js +13 -13
  17. package/dist/harness.js.map +1 -1
  18. package/dist/model-operation.d.ts +56 -0
  19. package/dist/model-operation.d.ts.map +1 -1
  20. package/dist/model-operation.js +12 -0
  21. package/dist/model-operation.js.map +1 -1
  22. package/dist/readiness.d.ts +5 -3
  23. package/dist/readiness.d.ts.map +1 -1
  24. package/dist/readiness.js +7 -5
  25. package/dist/readiness.js.map +1 -1
  26. package/generated/AgentCapabilityCatalog.schema.json +1 -1
  27. package/generated/ControlCredentialProfilesQueryResponse.schema.json +4 -4
  28. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +4 -4
  29. package/generated/ControlHarnessAccountCatalog.schema.json +15 -0
  30. package/generated/ControlHarnessAccountModelsResponse.schema.json +15 -0
  31. package/generated/ControlHarnessListResponse.schema.json +4 -4
  32. package/generated/ControlHarnessModelsQueryResponse.schema.json +15 -0
  33. package/generated/ControlHarnessModelsResponse.schema.json +15 -0
  34. package/generated/ControlModelAccountCatalogResponse.schema.json +35 -7
  35. package/generated/ControlModelCatalogQueryResponse.schema.json +35 -7
  36. package/generated/ControlModelCatalogResponse.schema.json +35 -7
  37. package/generated/ControlSettingsSnapshot.schema.json +8 -0
  38. package/generated/HarnessManifest.schema.json +2 -2
  39. package/generated/HarnessModel.schema.json +15 -0
  40. package/generated/HarnessStatusDto.schema.json +4 -4
  41. package/package.json +2 -2
@@ -136,6 +136,21 @@
136
136
  ],
137
137
  "default": null,
138
138
  "description": "Credential routes the model is scoped to; null = every route."
139
+ },
140
+ "origin": {
141
+ "type": "string",
142
+ "enum": [
143
+ "live",
144
+ "hint"
145
+ ],
146
+ "description": "Where this row came from: live = the vendor's own enumeration reported it; hint = a frozen known-model id the producer appends when its live answer lacks it or could not be read. Absent = live."
147
+ },
148
+ "resolved_model": {
149
+ "type": [
150
+ "string",
151
+ "null"
152
+ ],
153
+ "description": "For an alias row, the exact model id the vendor reported it resolves to at enumeration time; null or absent when the source reports none. The row id is what is sent; this is never substituted for it."
139
154
  }
140
155
  },
141
156
  "required": [
@@ -555,7 +555,7 @@
555
555
  "authoritative",
556
556
  "advisory"
557
557
  ],
558
- "description": "Whether this harness's live models() answer proves a model is ABSENT; omitted = authoritative (an unlisted model is refused). advisory = absence is not proof, so an explicit model is forwarded to the vendor and disclosed instead of refused."
558
+ "description": "Whether an absence from this harness's model lists (the live models() answer and the manifest known_models alike) proves a model is ABSENT; omitted = authoritative (an unlisted model is refused). advisory = absence is not proof, so an explicit model is forwarded to the vendor and disclosed instead of refused."
559
559
  },
560
560
  "known_models": {
561
561
  "type": "array",
@@ -594,7 +594,7 @@
594
594
  ]
595
595
  },
596
596
  "default": [],
597
- "description": "Manifest-declared model ids/aliases this harness accepts (bare string = every credential route; object form scopes a model to specific routes), used as the model truth source when the adapter has no live inventory; explicit models outside the truth source are refused."
597
+ "description": "Manifest-declared model ids/aliases this harness accepts (bare string = every credential route; object form scopes a model to specific routes), used as the model truth source when the adapter has no live inventory and judged under model_inventory_absence: an authoritative harness refuses an explicit model outside it, an advisory harness forwards it with a note."
598
598
  },
599
599
  "known_models_verified_against": {
600
600
  "type": [
@@ -835,7 +835,7 @@
835
835
  "ok",
836
836
  "rejected"
837
837
  ],
838
- "description": "Whether the configured model passes the strict truth-source check."
838
+ "description": "Whether the configured model is admitted (listed, or unlisted on an advisory harness) or refused by an authoritative list."
839
839
  },
840
840
  "message": {
841
841
  "type": [
@@ -856,7 +856,7 @@
856
856
  }
857
857
  ],
858
858
  "default": null,
859
- "description": "Strict truth-source check of configuredModel; null when no model is configured."
859
+ "description": "Truth-source check of configuredModel under the harness's own absence declaration; ok with a message is an advisory admission; null when no model is configured."
860
860
  },
861
861
  "delegation": {
862
862
  "anyOf": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudexor/schema",
3
- "version": "3.13.0",
3
+ "version": "3.14.0",
4
4
  "license": "MIT",
5
5
  "description": "Single source of truth for all Claudexor data shapes (Zod + generated JSON Schema).",
6
6
  "type": "module",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "zod": "^4.4.3",
22
22
  "zod-to-json-schema": "^3.24.1",
23
- "@claudexor/util": "3.13.0"
23
+ "@claudexor/util": "3.14.0"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",