@intellectual-frontiers/ergonex 0.3.0 → 0.3.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.
- package/dist/desired.d.ts +1 -1
- package/dist/mod.js +2029 -2461
- package/dist/modules/external.d.ts +1 -1
- package/dist/modules/registry.d.ts +1 -1
- package/dist/modules/types.d.ts +6 -6
- package/dist/plan.d.ts +1 -1
- package/dist/platform/k-args.d.ts +3 -24
- package/dist/render.d.ts +2 -2
- package/dist/state-record.d.ts +2 -2
- package/dist/tools/catalog.d.ts +1 -1
- package/dist/vendor/ts/runtime/http-client.d.ts +1 -1
- package/ergonex.mjs +3484 -3769
- package/package.json +5 -2
- package/dist/vendor/ts/kernel/archive.d.ts +0 -147
- package/dist/vendor/ts/kernel/args.d.ts +0 -240
- package/dist/vendor/ts/kernel/assess.d.ts +0 -247
- package/dist/vendor/ts/kernel/attest.d.ts +0 -164
- package/dist/vendor/ts/kernel/base64.d.ts +0 -24
- package/dist/vendor/ts/kernel/cbor.d.ts +0 -39
- package/dist/vendor/ts/kernel/cms.d.ts +0 -106
- package/dist/vendor/ts/kernel/commands.d.ts +0 -103
- package/dist/vendor/ts/kernel/cose.d.ts +0 -34
- package/dist/vendor/ts/kernel/crypt.d.ts +0 -30
- package/dist/vendor/ts/kernel/csv.d.ts +0 -38
- package/dist/vendor/ts/kernel/der.d.ts +0 -67
- package/dist/vendor/ts/kernel/documentation.d.ts +0 -118
- package/dist/vendor/ts/kernel/dsse.d.ts +0 -137
- package/dist/vendor/ts/kernel/evidence.d.ts +0 -212
- package/dist/vendor/ts/kernel/glob.d.ts +0 -64
- package/dist/vendor/ts/kernel/grc.d.ts +0 -356
- package/dist/vendor/ts/kernel/http.d.ts +0 -46
- package/dist/vendor/ts/kernel/json5.d.ts +0 -46
- package/dist/vendor/ts/kernel/layers.d.ts +0 -35
- package/dist/vendor/ts/kernel/md5.d.ts +0 -19
- package/dist/vendor/ts/kernel/media-types.d.ts +0 -28
- package/dist/vendor/ts/kernel/mod.d.ts +0 -95
- package/dist/vendor/ts/kernel/ocsf-types.auto.d.ts +0 -4374
- package/dist/vendor/ts/kernel/ocsf.d.ts +0 -160
- package/dist/vendor/ts/kernel/oscal.d.ts +0 -356
- package/dist/vendor/ts/kernel/otel.d.ts +0 -365
- package/dist/vendor/ts/kernel/otlp.d.ts +0 -83
- package/dist/vendor/ts/kernel/palette.d.ts +0 -44
- package/dist/vendor/ts/kernel/png.d.ts +0 -124
- package/dist/vendor/ts/kernel/rdf-schema.d.ts +0 -190
- package/dist/vendor/ts/kernel/rdf-term.d.ts +0 -162
- package/dist/vendor/ts/kernel/rdf-vocabularies.d.ts +0 -148
- package/dist/vendor/ts/kernel/rdf-write.d.ts +0 -25
- package/dist/vendor/ts/kernel/rdf.d.ts +0 -35
- package/dist/vendor/ts/kernel/render.d.ts +0 -111
- package/dist/vendor/ts/kernel/schedule.d.ts +0 -207
- package/dist/vendor/ts/kernel/semver.d.ts +0 -94
- package/dist/vendor/ts/kernel/sha256.d.ts +0 -29
- package/dist/vendor/ts/kernel/signals.d.ts +0 -371
- package/dist/vendor/ts/kernel/sigv4.d.ts +0 -67
- package/dist/vendor/ts/kernel/test-record.d.ts +0 -222
- package/dist/vendor/ts/kernel/test-report.d.ts +0 -294
- package/dist/vendor/ts/kernel/toml.d.ts +0 -51
- package/dist/vendor/ts/kernel/trace.d.ts +0 -169
- package/dist/vendor/ts/kernel/ts-literal.d.ts +0 -62
- package/dist/vendor/ts/kernel/uuid.d.ts +0 -53
- package/dist/vendor/ts/kernel/vt.d.ts +0 -78
- package/dist/vendor/ts/kernel/webauthn.d.ts +0 -212
- package/dist/vendor/ts/kernel/width.d.ts +0 -63
- package/dist/vendor/ts/kernel/xml.d.ts +0 -73
- package/dist/vendor/ts/kernel/yaml.d.ts +0 -44
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module
|
|
7
7
|
*/
|
|
8
8
|
import { type Result } from "@intellectual-frontiers/core";
|
|
9
|
-
import type { JsonObject } from "
|
|
9
|
+
import type { JsonObject } from "@intellectual-frontiers/formats";
|
|
10
10
|
/** The version of this contract an external module names. */
|
|
11
11
|
export declare const CONTRACT_VERSION = 1;
|
|
12
12
|
/** How long a module has to answer `--ergonex-manifest`, in milliseconds (0001-ergonex FR-008). */
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
11
|
import { type Result } from "@intellectual-frontiers/core";
|
|
12
|
-
import { type Sha256 } from "
|
|
12
|
+
import { type Sha256 } from "@intellectual-frontiers/crypto";
|
|
13
13
|
import type { Finding } from "../findings.js";
|
|
14
14
|
import { type ModuleSource } from "./types.js";
|
|
15
15
|
/** A module the workspace registers. */
|
package/dist/modules/types.d.ts
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import { type Result } from "@intellectual-frontiers/core";
|
|
14
14
|
import { type Args, type Operand, type Spec, type SpecCheck } from "../platform/k-args.js";
|
|
15
|
-
import type { Json } from "
|
|
16
|
-
import type { Sha256 } from "
|
|
15
|
+
import type { Json } from "@intellectual-frontiers/formats";
|
|
16
|
+
import type { Sha256 } from "@intellectual-frontiers/crypto";
|
|
17
17
|
import type { Finding } from "../findings.js";
|
|
18
18
|
import type { Places } from "../places.js";
|
|
19
19
|
import type { RunFacts } from "../setup/evidence.js";
|
|
@@ -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("
|
|
74
|
-
json: import("
|
|
75
|
-
sarif: import("
|
|
76
|
-
noColor: import("
|
|
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 = {
|
package/dist/plan.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Sha256 } from "
|
|
1
|
+
import { type Sha256 } from "@intellectual-frontiers/crypto";
|
|
2
2
|
import type { RepoRef } from "./vendor/ts/githost/mod.js";
|
|
3
3
|
import { type RepoState } from "./state.js";
|
|
4
4
|
import type { BranchName, RepoPath, Version } from "./types.js";
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The
|
|
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
|
-
|
|
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";
|
package/dist/render.d.ts
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* @module
|
|
12
12
|
*/
|
|
13
13
|
import { type Result } from "@intellectual-frontiers/core";
|
|
14
|
-
import type { JsonObject } from "
|
|
15
|
-
import { type Sha256 } from "
|
|
14
|
+
import type { JsonObject } from "@intellectual-frontiers/formats";
|
|
15
|
+
import { type Sha256 } from "@intellectual-frontiers/crypto";
|
|
16
16
|
import type { RepoPath } from "./types.js";
|
|
17
17
|
/** The mode of a generated file: `0644`, or `0755` for a script. */
|
|
18
18
|
export type FileMode = "0644" | "0755";
|
package/dist/state-record.d.ts
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
* @module
|
|
11
11
|
*/
|
|
12
12
|
import { type Result } from "@intellectual-frontiers/core";
|
|
13
|
-
import { type Sha256 } from "
|
|
13
|
+
import { type Sha256 } from "@intellectual-frontiers/crypto";
|
|
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.
|
|
17
|
+
export declare const ERGONEX_VERSION = "0.3.2";
|
|
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. */
|
package/dist/tools/catalog.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @module
|
|
11
11
|
*/
|
|
12
12
|
import { type Result } from "@intellectual-frontiers/core";
|
|
13
|
-
import { type Sha256 } from "
|
|
13
|
+
import { type Sha256 } from "@intellectual-frontiers/crypto";
|
|
14
14
|
import { type Version } from "../types.js";
|
|
15
15
|
/** The operating systems of a pinned artifact (`ergonex:toolOs`). */
|
|
16
16
|
export type ToolOs = "linux" | "macos" | "windows";
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* @module
|
|
20
20
|
*/
|
|
21
21
|
import { type Decoder, type Result } from "@intellectual-frontiers/core";
|
|
22
|
-
import { type AwsCredentials } from "
|
|
22
|
+
import { type AwsCredentials } from "@intellectual-frontiers/crypto/sigv4";
|
|
23
23
|
/** A request a client makes. */
|
|
24
24
|
export type OutRequest = {
|
|
25
25
|
readonly method: "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE";
|