@intellectual-frontiers/ergonex 0.3.0 → 0.3.1

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.
@@ -70,10 +70,10 @@ export type Failure = {
70
70
  export type Outcome = Result<Report, Failure>;
71
71
  /** The five options every command accepts (0001-ergonex FR-022); `--help` is the parser's own. */
72
72
  export declare const GLOBAL_OPTIONS: {
73
- home: import("../vendor/ts/kernel/args.js").ValueOption<string, "none", never>;
74
- json: import("../vendor/ts/kernel/args.js").FlagOption<"default", never>;
75
- sarif: import("../vendor/ts/kernel/args.js").FlagOption<"default", never>;
76
- noColor: import("../vendor/ts/kernel/args.js").FlagOption<"default", never>;
73
+ home: import("@intellectual-frontiers/terminal/args").ValueOption<string, "none", never>;
74
+ json: import("@intellectual-frontiers/terminal/args").FlagOption<"default", never>;
75
+ sarif: import("@intellectual-frontiers/terminal/args").FlagOption<"default", never>;
76
+ noColor: import("@intellectual-frontiers/terminal/args").FlagOption<"default", never>;
77
77
  };
78
78
  /** The five options, as they were given. */
79
79
  export type Globals = {
@@ -1,28 +1,7 @@
1
1
  /**
2
- * The kernel's `args`, by the package name of commons (commons 0027-commons-libraries FR-004): what this library uses of it, each name as the runtime's namespace gives it.
2
+ * The command-line parser of the library `terminal`, by its package name (commons 0027-commons-libraries FR-004, 0032-lifting-libraries FR-003): what this library uses of it, each name once, re-exported so that
3
+ * the declarations of this package name the library and not the path of its sources.
3
4
  *
4
5
  * @module
5
6
  */
6
- import { args } from "../vendor/ts/kernel/mod.js";
7
- /** `args.editDistance`. */
8
- export declare const editDistance: typeof args.editDistance;
9
- /** `args.flag`. */
10
- export declare const flag: typeof args.flag;
11
- /** `args.formatUsageError`. */
12
- export declare const formatUsageError: typeof args.formatUsageError;
13
- /** `args.helpOf`. */
14
- export declare const helpOf: typeof args.helpOf;
15
- /** `args.parseArgs`. */
16
- export declare const parseArgs: typeof args.parseArgs;
17
- /** `args.value`. */
18
- export declare const value: typeof args.value;
19
- /** `args.Args`. */
20
- export type Args<S extends args.Spec> = args.Args<S>;
21
- /** `args.Operand`. */
22
- export type Operand = args.Operand;
23
- /** `args.Parser`. */
24
- export type Parser<T> = args.Parser<T>;
25
- /** `args.Spec`. */
26
- export type Spec = args.Spec;
27
- /** `args.SpecCheck`. */
28
- export type SpecCheck<S> = args.SpecCheck<S>;
7
+ export { editDistance, flag, formatUsageError, helpOf, parseArgs, value, type Args, type Operand, type Parser, type Spec, type SpecCheck, } from "@intellectual-frontiers/terminal/args";
@@ -14,7 +14,7 @@ import { type Sha256 } from "./vendor/ts/kernel/mod.js";
14
14
  import { type Finding } from "./findings.js";
15
15
  import { type GeneratedFile } from "./render.js";
16
16
  /** The version of Ergonex the record names. */
17
- export declare const ERGONEX_VERSION = "0.3.0";
17
+ export declare const ERGONEX_VERSION = "0.3.1";
18
18
  /** Where the state record is, below the root. */
19
19
  export declare const STATE_RECORD_PATH = ".ergonex/state.auto.json";
20
20
  /** One generated file as it was written. */
@@ -40,12 +40,10 @@
40
40
  export { ArchiveFailure, concat, crc32, deflateRaw, dosDate, filesOf, formatArchiveError, gunzip, gzip, isSafePath, readTarStream, sortedPaths, splitName, tar, tarHeader, untar, untarStream, unzip, zip, ZIP_EPOCH, zipDeflated, zipEntries, zipRead, } from "./archive.js";
41
41
  export type { ArchiveError, Files, TarEntry, TarHeader, TarStreamEntry, ZipEntry } from "./archive.js";
42
42
  export { fromBase64, fromBase64Url, toBase64, toBase64Url } from "./base64.js";
43
- export * as args from "./args.js";
44
43
  export * as assess from "./assess.js";
45
44
  export * as attest from "./attest.js";
46
45
  export * as cms from "./cms.js";
47
46
  export * as cbor from "./cbor.js";
48
- export * as commands from "./commands.js";
49
47
  export * as cose from "./cose.js";
50
48
  export { csvField, formatCsvError, parseCsv, parseCsvRecords, toCsv } from "./csv.js";
51
49
  export type { CsvError, CsvOptions } from "./csv.js";
@@ -69,9 +67,7 @@ export * as ocsf from "./ocsf.js";
69
67
  export * as oscal from "./oscal.js";
70
68
  export * as otel from "./otel.js";
71
69
  export * as otlp from "./otlp.js";
72
- export * as palette from "./palette.js";
73
70
  export * as png from "./png.js";
74
- export * as rdf from "./rdf.js";
75
71
  export * as render from "./render.js";
76
72
  export * as jobs from "./schedule.js";
77
73
  export * as layers from "./layers.js";
@@ -85,9 +81,7 @@ export type { TomlDateTime, TomlError, TomlTable, TomlValue } from "./toml.js";
85
81
  export { BARE_KEY, exportedLiteral, parseTsLiteral, tsKey, tsLiteral } from "./ts-literal.js";
86
82
  export type { Literal, LiteralError, LiteralShape } from "./ts-literal.js";
87
83
  export * as uuid from "./uuid.js";
88
- export * as vt from "./vt.js";
89
84
  export * as webauthn from "./webauthn.js";
90
- export * as width from "./width.js";
91
85
  export { attribute, child, children, descendants, el, escapeXml, formatXmlError, leaf, localName, readXml, textOf, writeNode, writeXml, } from "./xml.js";
92
86
  export { formatYamlError, isPlainSafe, parseYaml, resolveCore, toYaml } from "./yaml.js";
93
87
  export type { YamlError, YamlOptions } from "./yaml.js";
@@ -1,5 +1,5 @@
1
1
  import { type Attributes, type LogRecord, type SpanData, type SpanEvent } from "./otel.js";
2
- import { type Capabilities, type MarkKind } from "./palette.js";
2
+ import { type Capabilities, type MarkKind } from "@intellectual-frontiers/terminal/palette";
3
3
  import { type Declarations, type Registry, type Source, type SpanStart } from "./signals.js";
4
4
  /** How the console writes: see the module. */
5
5
  export type Mode = "attended" | "plain" | "quiet" | "silent" | "json";
@@ -24,7 +24,7 @@
24
24
  *
25
25
  * @module
26
26
  */
27
- import type { AnyIndividual, Fields } from "./rdf-schema.js";
27
+ import type { AnyIndividual, Fields } from "@intellectual-frontiers/rdf";
28
28
  /** The rules of the trace check (FR-007). */
29
29
  export type TraceRule = "trace/no-spec-line" | "trace/unknown-spec" | "trace/unknown-requirement" | "trace/unproved" | "trace/term-uncited" | "trace/term-unknown-spec";
30
30
  /** The rules of the layers check (`layers.ts`, FR-009, FR-010). */