@2kw/ai 5.2.0 → 5.3.0-dev.11

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.
@@ -104,8 +104,15 @@ export function makeSchemasCommand() {
104
104
  }
105
105
  else if (result?.valid) {
106
106
  formatSuccess("Schema is valid.", command);
107
- if (result.warnings?.length) {
108
- console.log(`Warnings: ${result.warnings.join(", ")}`);
107
+ const warnings = (result.warnings ??
108
+ []);
109
+ if (warnings.length) {
110
+ console.log("Schema-safety warnings:");
111
+ for (const w of warnings) {
112
+ console.log(` - [${w.rule}] ${w.pointer || "(root)"}: ${w.message}`);
113
+ if (w.suggestion)
114
+ console.log(` ${w.suggestion}`);
115
+ }
109
116
  }
110
117
  }
111
118
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2kw/ai",
3
- "version": "5.2.0",
3
+ "version": "5.3.0-dev.11",
4
4
  "description": "CLI for 2kw.ai — schema-driven document extraction, an OpenAI-compatible EU LLM gateway, transcription, prompts, datasets, and experiments from your terminal or agentic workflows. Ships as 2kw, backbone, and bb.",
5
5
  "keywords": [
6
6
  "cli",