@2kw/ai 6.3.0-dev.61 → 6.3.0-dev.66

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.
@@ -30,7 +30,7 @@ export function versionBody(config, changeDescription) {
30
30
  /**
31
31
  * The complete agent DTO for POST /v1/agents and PUT /v1/agents/{id}. The backend's PUT maps every DTO field
32
32
  * onto the row without skipping nulls (#624), so an absent key clears the column: `skills` (NOT NULL) must
33
- * always be sent, and a PUT must carry `latestVersionId` or the agent loses its head pointer. Nullable
33
+ * always be sent. `latestVersionId` is server-managed and ignored in a body (#996); it is still sent. Nullable
34
34
  * columns (instructions, options, hitl_policy) are omitted when the file omits them, which clears them to
35
35
  * SQL NULL exactly as createVersion does; an explicit JSON null would arrive as a NullNode instead.
36
36
  */
@@ -49,10 +49,12 @@ export function makeBillingCommand() {
49
49
  }
50
50
  console.log();
51
51
  }
52
+ // A null maximum is "unlimited" (schemas and prompts in every tier since #971), not 0.
53
+ const max = (value) => (value == null ? "unlimited" : String(value));
52
54
  console.log(chalk.bold("Usage:"));
53
- console.log(` Schemas: ${data?.currentSchemas ?? 0} / ${data?.maxSchemas ?? 0}`);
54
- console.log(` Prompts: ${data?.currentPrompts ?? 0} / ${data?.maxPrompts ?? 0}`);
55
- console.log(` Team members: ${data?.currentTeamMembers ?? 0} / ${data?.maxTeamMembers ?? 0}`);
55
+ console.log(` Schemas: ${data?.currentSchemas ?? 0} / ${max(data?.maxSchemas)}`);
56
+ console.log(` Prompts: ${data?.currentPrompts ?? 0} / ${max(data?.maxPrompts)}`);
57
+ console.log(` Team members: ${data?.currentTeamMembers ?? 0} / ${max(data?.maxTeamMembers)}`);
56
58
  console.log();
57
59
  console.log(chalk.bold("Features:"));
58
60
  console.log(` BYOK: ${data?.byokEnabled ? chalk.green("yes") : chalk.dim("no")}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2kw/ai",
3
- "version": "6.3.0-dev.61",
3
+ "version": "6.3.0-dev.66",
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",