@cosyte/cli 0.0.1 → 0.0.2

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.
@@ -39,7 +39,7 @@ var init_exit_codes = __esm({
39
39
  DATAERR: 65,
40
40
  /** No input: the named file does not exist or is unreadable (`EX_NOINPUT`). */
41
41
  NOINPUT: 66,
42
- /** Unavailable: a required capability is not yet built (e.g. `redact` before `@cosyte/deid`), a
42
+ /** Unavailable: a required capability is not yet wired (e.g. `redact` before `@cosyte/deid`), a
43
43
  * distinct non-zero signal that is never a fake success (`EX_UNAVAILABLE`). */
44
44
  UNAVAILABLE: 69,
45
45
  /** Internal error: an unexpected exception (a bug), distinct from a handled bad input (`EX_SOFTWARE`). */
@@ -91,8 +91,8 @@ var init_diagnostics = __esm({
91
91
  /** The BYO ConceptMap supplied to `map-codes` is not valid JSON or not a loadable FHIR ConceptMap.
92
92
  * Names the stable terminology-loader code, never the map's bytes. Exit `65`. */
93
93
  CLI_MAP_INVALID: "CLI_MAP_INVALID",
94
- /** A command whose ground-layer library is not yet built (e.g. `redact` before `@cosyte/deid`
95
- * ships). Never a fake success: a distinct, value-free "unavailable" signal. Exit `69`. */
94
+ /** A command whose ground-layer library is not yet wired (e.g. `redact` before `@cosyte/deid` is
95
+ * wired). Never a fake success: a distinct, value-free "unavailable" signal. Exit `69`. */
96
96
  CLI_NOT_IMPLEMENTED: "CLI_NOT_IMPLEMENTED",
97
97
  /** An unexpected internal error (a bug). Exit `70`. */
98
98
  CLI_INTERNAL: "CLI_INTERNAL"
@@ -1626,7 +1626,7 @@ init_parse();
1626
1626
  init_diagnostics();
1627
1627
 
1628
1628
  // src/core/deid.ts
1629
- var DEID_UNAVAILABLE_REASON = "redact/deid is not yet available. It delegates to @cosyte/deid, which is unpublished. The CLI ships no built-in redactor: a partial Safe-Harbor scrub over only the obvious PHI loci would leave PHI behind and present a false-safety impression, so nothing is emitted. This command will produce a de-identified copy once @cosyte/deid ships and is vetted.";
1629
+ var DEID_UNAVAILABLE_REASON = "redact/deid is not yet available. It delegates to @cosyte/deid, which the CLI does not wire yet. The CLI ships no built-in redactor: a partial Safe-Harbor scrub over only the obvious PHI loci would leave PHI behind and present a false-safety impression, so nothing is emitted. This command will produce a de-identified copy once that integration lands and is vetted.";
1630
1630
  function deidStatus() {
1631
1631
  return { available: false, reason: DEID_UNAVAILABLE_REASON };
1632
1632
  }
@@ -1674,7 +1674,7 @@ Commands:
1674
1674
  fmt <file|-> Canonically re-serialize via the parser's spec-clean serializer
1675
1675
  convert <file|-> Convert HL7 v2 \u2192 FHIR R4 via @cosyte/transform (use --to fhir)
1676
1676
  map-codes <cmap|-> Translate a code through a BYO FHIR ConceptMap via @cosyte/terminology
1677
- redact <file|-> De-identify a message (alias: deid): gated on @cosyte/deid, not yet available
1677
+ redact <file|-> De-identify a message (alias: deid): gated on @cosyte/deid, not yet wired
1678
1678
  mcp Start the stdio MCP server (agent front door; also the cosyte-mcp bin)
1679
1679
  completion <shell> Print a shell completion script (bash | zsh | fish)
1680
1680