@disclosureos/cli 2.0.0-beta.2 → 2.0.0-beta.4
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/CHANGELOG.md +41 -0
- package/README.md +43 -4
- package/dist/index.js +26 -26
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [ebec21d]
|
|
8
|
+
- Updated dependencies [0b00be3]
|
|
9
|
+
- Updated dependencies [9580e62]
|
|
10
|
+
- Updated dependencies [0b30518]
|
|
11
|
+
- Updated dependencies [559eac9]
|
|
12
|
+
- Updated dependencies [0370447]
|
|
13
|
+
- Updated dependencies [5a686c1]
|
|
14
|
+
- Updated dependencies [3b75904]
|
|
15
|
+
- Updated dependencies [c894a08]
|
|
16
|
+
- Updated dependencies [813ee2c]
|
|
17
|
+
- Updated dependencies [11bf318]
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
- Updated dependencies [0319e40]
|
|
20
|
+
- Updated dependencies [4ace4ea]
|
|
21
|
+
- Updated dependencies [e19a897]
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- Updated dependencies [6f74e57]
|
|
24
|
+
- Updated dependencies [e7c3d0f]
|
|
25
|
+
- @disclosureos/schema@2.0.0-beta.4
|
|
26
|
+
- @disclosureos/records@2.0.0-beta.4
|
|
27
|
+
- @disclosureos/scoring@2.0.0-beta.4
|
|
28
|
+
- @disclosureos/observables@2.0.0-beta.4
|
|
29
|
+
- @disclosureos/origins@2.0.0-beta.4
|
|
30
|
+
- @disclosureos/instruments@2.0.0-beta.4
|
|
31
|
+
|
|
32
|
+
## 2.0.0-beta.3
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- Updated dependencies [4f80b20]
|
|
37
|
+
- @disclosureos/records@2.0.0-beta.3
|
|
38
|
+
- @disclosureos/schema@2.0.0-beta.3
|
|
39
|
+
- @disclosureos/instruments@2.0.0-beta.3
|
|
40
|
+
- @disclosureos/observables@2.0.0-beta.3
|
|
41
|
+
- @disclosureos/origins@2.0.0-beta.3
|
|
42
|
+
- @disclosureos/scoring@2.0.0-beta.3
|
|
43
|
+
|
|
3
44
|
## 2.0.0-beta.2
|
|
4
45
|
|
|
5
46
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @disclosureos/cli
|
|
2
2
|
|
|
3
|
+
Run local validation, intake and reproducibility workflows using explicit commands. No command publishes a dataset or verifies an extraordinary claim merely by accepting its structure.
|
|
4
|
+
|
|
5
|
+
This README describes the **2.0.0-beta.4** API. Use one exact package version
|
|
6
|
+
throughout an application. Check [availability](https://os.disclosure.org/v2/docs/installation)
|
|
7
|
+
before installing; a source branch or packed candidate is not proof of npm
|
|
8
|
+
publication. For a candidate that is not yet published, use the verified local
|
|
9
|
+
tarballs. See the [release notes](https://github.com/disclosurefoundation/disclosureos/blob/codex/beta4-release-closure/docs/releases/2.0.0-beta.4.md)
|
|
10
|
+
for scope and verification. Avoid unversioned installs, which can select a different
|
|
11
|
+
API generation through `latest`.
|
|
12
|
+
|
|
13
|
+
## V2 entry point
|
|
14
|
+
|
|
15
|
+
Start with the [Installation and command availability](https://os.disclosure.org/v2/docs/installation). V2 commands select the relevant document/workflow explicitly. The unqualified `validate` command checks the earlier enriched Observation format; use the V2 records parser for a first V2 observation. Inspect `--help` before choosing a workflow.
|
|
16
|
+
|
|
17
|
+
[Implementation guide](https://os.disclosure.org/v2/docs/installation) · [Availability](https://os.disclosure.org/v2/docs/installation) · [Example viewer](https://os.disclosure.org/showcase)
|
|
18
|
+
|
|
19
|
+
## Choose a package version
|
|
20
|
+
|
|
21
|
+
Once this version is available in the registry, install it explicitly:
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
npm install --save-exact @disclosureos/cli@2.0.0-beta.4
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Use the same exact release for all DisclosureOS packages. Before publication,
|
|
28
|
+
review a verified source checkout or its locally packed artifacts. Packages are
|
|
29
|
+
ESM; Node.js 22 is the documented getting-started runtime.
|
|
30
|
+
|
|
31
|
+
## Additional API reference
|
|
32
|
+
|
|
33
|
+
<details>
|
|
34
|
+
<summary>Earlier composition APIs and detailed source-workflow reference</summary>
|
|
35
|
+
|
|
36
|
+
The following reference retains earlier APIs and source checkpoints. It is not the
|
|
37
|
+
V2 first-record tutorial. Installation commands here describe the candidate API
|
|
38
|
+
set; use the availability guidance above until that version is published.
|
|
39
|
+
|
|
3
40
|
[](https://opensource.org/licenses/MIT)
|
|
4
41
|
|
|
5
42
|
Developer tools for the [DisclosureOS](https://github.com/disclosurefoundation)
|
|
@@ -16,16 +53,16 @@ foundation's checks.
|
|
|
16
53
|
> validated as a whole by `@disclosureos/schema` — in a single type-checked file. Run it
|
|
17
54
|
> with `pnpm --filter @disclosureos/examples golden-path`.
|
|
18
55
|
>
|
|
19
|
-
> **Migrating an existing dataset?** The [onboarding workspace](https://os.disclosure.org/
|
|
56
|
+
> **Migrating an existing dataset?** The [onboarding workspace](https://os.disclosure.org/v2/inspect)
|
|
20
57
|
> provides a guided workflow. See also [`examples/migration-path.ts`](../../examples/migration-path.ts)
|
|
21
58
|
> and [`examples/migration-csv-path.ts`](../../examples/migration-csv-path.ts).
|
|
22
59
|
|
|
23
60
|
## Install
|
|
24
61
|
|
|
25
62
|
```bash
|
|
26
|
-
pnpm add -D @disclosureos/cli
|
|
63
|
+
pnpm add -D @disclosureos/cli@2.0.0-beta.4
|
|
27
64
|
# or run ad hoc
|
|
28
|
-
pnpm dlx @disclosureos/cli --help
|
|
65
|
+
pnpm dlx @disclosureos/cli@2.0.0-beta.4 --help
|
|
29
66
|
```
|
|
30
67
|
|
|
31
68
|
## Commands
|
|
@@ -50,7 +87,7 @@ disclosureos validate ./data/ --recursive --json
|
|
|
50
87
|
disclosureos population-coverage ./out/ --recursive
|
|
51
88
|
disclosureos population-coverage ./out/ --recursive --json
|
|
52
89
|
disclosureos registry origins --id 1.1.3
|
|
53
|
-
disclosureos info observable
|
|
90
|
+
disclosureos info observable OC-T03
|
|
54
91
|
```
|
|
55
92
|
|
|
56
93
|
`validate` also warns on **dangling evidence references** — `evidenceRefs` on a claim
|
|
@@ -177,3 +214,5 @@ Start with the [developer compatibility guide](../../docs/experimental/migration
|
|
|
177
214
|
for breaking changes, parser/version boundaries, supported migration workflows,
|
|
178
215
|
exit handling, profile differences and non-destructive local rollback. This is an
|
|
179
216
|
experimental checkout workflow; merging package changes does not deploy the Index.
|
|
217
|
+
|
|
218
|
+
</details>
|
package/dist/index.js
CHANGED
|
@@ -130,22 +130,22 @@ function buildObservation(full) {
|
|
|
130
130
|
}
|
|
131
131
|
var ASSESSMENT_TEMPLATE = {
|
|
132
132
|
technology: {
|
|
133
|
-
|
|
133
|
+
apparent_hover: [
|
|
134
134
|
{ level: "not_indicated", rationale: "", evidenceRefs: [] }
|
|
135
135
|
],
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
abrupt_motion: [{ level: "not_indicated", rationale: "" }],
|
|
137
|
+
hypersonic_signature_discrepancy: [{ level: "not_indicated", rationale: "" }],
|
|
138
|
+
sensor_detection_discrepancy: [{ level: "not_indicated", rationale: "" }],
|
|
139
|
+
apparent_medium_transition: [{ level: "not_indicated", rationale: "" }],
|
|
140
|
+
event_associated_biological_changes: [{ level: "not_indicated", rationale: "" }]
|
|
141
141
|
},
|
|
142
142
|
biologics: {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
143
|
+
molecular_complexity_pattern: [{ level: "not_indicated", rationale: "" }],
|
|
144
|
+
isotope_ratio_departure: [{ level: "not_indicated", rationale: "" }],
|
|
145
|
+
molecular_composition_difference: [{ level: "not_indicated", rationale: "" }],
|
|
146
|
+
unresolved_sequence_relationship: [{ level: "not_indicated", rationale: "" }],
|
|
147
|
+
unresolved_morphological_characteristics: [{ level: "not_indicated", rationale: "" }],
|
|
148
|
+
reported_biological_interaction: [{ level: "not_indicated", rationale: "" }]
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
var CLASSIFICATION_TEMPLATE = [
|
|
@@ -343,20 +343,20 @@ import { createObservableClaim } from '@disclosureos/observables';
|
|
|
343
343
|
// Pass evidenceRefs (e.g. ['sensor:<id>']) to link a claim to in-record evidence.
|
|
344
344
|
export const assessment: ObservableAssessmentMap = {
|
|
345
345
|
technology: {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
346
|
+
apparent_hover: [createObservableClaim('not_indicated')],
|
|
347
|
+
abrupt_motion: [createObservableClaim('not_indicated')],
|
|
348
|
+
hypersonic_signature_discrepancy: [createObservableClaim('not_indicated')],
|
|
349
|
+
sensor_detection_discrepancy: [createObservableClaim('not_indicated')],
|
|
350
|
+
apparent_medium_transition: [createObservableClaim('not_indicated')],
|
|
351
|
+
event_associated_biological_changes: [createObservableClaim('not_indicated')],
|
|
352
352
|
},
|
|
353
353
|
biologics: {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
354
|
+
molecular_complexity_pattern: [createObservableClaim('not_indicated')],
|
|
355
|
+
isotope_ratio_departure: [createObservableClaim('not_indicated')],
|
|
356
|
+
molecular_composition_difference: [createObservableClaim('not_indicated')],
|
|
357
|
+
unresolved_sequence_relationship: [createObservableClaim('not_indicated')],
|
|
358
|
+
unresolved_morphological_characteristics: [createObservableClaim('not_indicated')],
|
|
359
|
+
reported_biological_interaction: [createObservableClaim('not_indicated')],
|
|
360
360
|
},
|
|
361
361
|
};
|
|
362
362
|
`;
|
|
@@ -4657,7 +4657,7 @@ Quick reference for DisclosureOS types and definitions.
|
|
|
4657
4657
|
console.log(`${dim("Topics:")}`);
|
|
4658
4658
|
console.log(` (none) Ecosystem overview`);
|
|
4659
4659
|
console.log(` observation Observation type summary`);
|
|
4660
|
-
console.log(` observable <code> Observable detail (e.g.
|
|
4660
|
+
console.log(` observable <code> Observable detail (e.g. OC-T03, OC-B01)`);
|
|
4661
4661
|
console.log(` origin <nodeId> OCS node detail (e.g. 1.1.3)
|
|
4662
4662
|
`);
|
|
4663
4663
|
console.log(`${dim("Options:")}`);
|
|
@@ -4752,7 +4752,7 @@ function printHelp() {
|
|
|
4752
4752
|
console.log(` disclosureos validate ./data/ --recursive`);
|
|
4753
4753
|
console.log(` disclosureos population-coverage ./out/ --recursive`);
|
|
4754
4754
|
console.log(` disclosureos registry origins --id 1.1.3`);
|
|
4755
|
-
console.log(` disclosureos info observable
|
|
4755
|
+
console.log(` disclosureos info observable OC-T03
|
|
4756
4756
|
`);
|
|
4757
4757
|
}
|
|
4758
4758
|
function printVersion() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@disclosureos/cli",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.4",
|
|
4
4
|
"description": "Developer tools for the DisclosureOS ecosystem — scaffold, validate, and inspect observations",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"picocolors": "^1.1.1",
|
|
45
|
-
"@disclosureos/
|
|
46
|
-
"@disclosureos/
|
|
47
|
-
"@disclosureos/
|
|
48
|
-
"@disclosureos/origins": "2.0.0-beta.
|
|
49
|
-
"@disclosureos/scoring": "2.0.0-beta.
|
|
50
|
-
"@disclosureos/schema": "2.0.0-beta.
|
|
45
|
+
"@disclosureos/records": "2.0.0-beta.4",
|
|
46
|
+
"@disclosureos/observables": "2.0.0-beta.4",
|
|
47
|
+
"@disclosureos/instruments": "2.0.0-beta.4",
|
|
48
|
+
"@disclosureos/origins": "2.0.0-beta.4",
|
|
49
|
+
"@disclosureos/scoring": "2.0.0-beta.4",
|
|
50
|
+
"@disclosureos/schema": "2.0.0-beta.4"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/node": "^20",
|