@plumbus/core 0.6.5 → 0.6.6

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status.js","sourceRoot":"","sources":["../../src/translations/status.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,8EAA8E;AAoB9E;;;;;GAKG;AACH,MAAM,UAAU,aAAa,CAAC,WAAoC;IAChE,IAAI,UAAU,GAAG,CAAC,CAAC;IACnB,MAAM,UAAU,GAAsB,WAAW,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QAC5D,MAAM,OAAO,GAAiC,EAAE,CAAC;QACjD,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QAE5E,KAAK,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC;YACjC,MAAM,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YAC5C,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC;YAC1E,MAAM,UAAU,GAAG,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,SAAS,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;YAChF,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;YAC3D,IAAI,MAAM,GAAG,SAAS;gBAAE,UAAU,EAAE,CAAC;QACvC,CAAC;QAED,OAAO,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC;IACrC,CAAC,CAAC,CAAC;IAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;AACpC,CAAC;AAED,6FAA6F;AAC7F,MAAM,UAAU,uBAAuB,CAAC,MAAyB;IAC/D,OAAO,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE;QAClC,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC;aACrC,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,UAAU,IAAI,CAAC;aAC3E,IAAI,CAAC,KAAK,CAAC,CAAC;QACf,OAAO,KAAK,EAAE,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;IAClC,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -75,11 +75,11 @@ The locale is resolved from the request context.
75
75
  | `plumbus translation new <name> --locale-folders` | Scaffold `en/`, `he/` message files + thin assembler |
76
76
  | `plumbus translation export` | Export to JSON or XLIFF 2.0 for professional translation |
77
77
  | `plumbus translation import` | Import translated JSON/XLIFF files back into source |
78
- | `plumbus translation status` | Report per-locale completion percentage |
78
+ | `plumbus translation status` | Report per-locale completion percentage (exits non-zero when incomplete) |
79
79
 
80
80
  ## Frontend
81
81
 
82
- When translations exist, `plumbus ui generate` produces `{frontend}/i18n/` with next-intl integration.
82
+ When translations exist, `plumbus ui generate` produces `{frontend}/i18n/` with next-intl integration (messages, config, typed keys, AppConfig, provider, request). Generate fails closed on incomplete locale coverage unless you pass `--skip-locale-parity`.
83
83
 
84
84
  Optional: emit per-locale bundles (same runtime API, smaller generated files):
85
85
 
@@ -90,7 +90,7 @@ plumbus ui generate --out-dir frontend --split-locale-bundles
90
90
  Without the flag, output is unchanged — a single `i18n/messages.ts`.
91
91
 
92
92
  ```tsx
93
- import { useTranslations } from "next-intl";
93
+ import { useTranslations } from "../i18n";
94
94
 
95
95
  function Nav() {
96
96
  const t = useTranslations("common");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumbus/core",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "Plumbus framework core — types, SDK, runtime, CLI, test utilities",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -95,9 +95,9 @@
95
95
  "@vitest/browser": "^3.0.0",
96
96
  "esbuild": "^0.25.12",
97
97
  "typescript": "^5.7.0",
98
- "@plumbus/api": "0.1.2",
98
+ "@plumbus/mcp": "0.5.1",
99
99
  "@plumbus/voice": "0.3.0",
100
- "@plumbus/mcp": "0.5.1"
100
+ "@plumbus/api": "0.1.2"
101
101
  },
102
102
  "scripts": {
103
103
  "build": "tsc -b",