@disclosureos/cli 2.0.0-beta.3 → 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 CHANGED
@@ -1,5 +1,34 @@
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
+
3
32
  ## 2.0.0-beta.3
4
33
 
5
34
  ### 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
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](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/onboard)
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 TO-3
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
- antigravity_lift: [
133
+ apparent_hover: [
134
134
  { level: "not_indicated", rationale: "", evidenceRefs: [] }
135
135
  ],
136
- instantaneous_acceleration: [{ level: "not_indicated", rationale: "" }],
137
- hypersonic_no_signatures: [{ level: "not_indicated", rationale: "" }],
138
- low_observability: [{ level: "not_indicated", rationale: "" }],
139
- transmedium_travel: [{ level: "not_indicated", rationale: "" }],
140
- biological_effects: [{ level: "not_indicated", rationale: "" }]
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
- molecular_complexity: [{ level: "not_indicated", rationale: "" }],
144
- isotopic_provenance: [{ level: "not_indicated", rationale: "" }],
145
- non_standard_biochemistry: [{ level: "not_indicated", rationale: "" }],
146
- non_phylogenetic_genetics: [{ level: "not_indicated", rationale: "" }],
147
- anomalous_morphology: [{ level: "not_indicated", rationale: "" }],
148
- anomalous_bio_interaction: [{ level: "not_indicated", rationale: "" }]
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
- antigravity_lift: [createObservableClaim('not_indicated')],
347
- instantaneous_acceleration: [createObservableClaim('not_indicated')],
348
- hypersonic_no_signatures: [createObservableClaim('not_indicated')],
349
- low_observability: [createObservableClaim('not_indicated')],
350
- transmedium_travel: [createObservableClaim('not_indicated')],
351
- biological_effects: [createObservableClaim('not_indicated')],
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
- molecular_complexity: [createObservableClaim('not_indicated')],
355
- isotopic_provenance: [createObservableClaim('not_indicated')],
356
- non_standard_biochemistry: [createObservableClaim('not_indicated')],
357
- non_phylogenetic_genetics: [createObservableClaim('not_indicated')],
358
- anomalous_morphology: [createObservableClaim('not_indicated')],
359
- anomalous_bio_interaction: [createObservableClaim('not_indicated')],
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. TO-3, BO-1)`);
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 TO-3
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",
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/records": "2.0.0-beta.3",
46
- "@disclosureos/origins": "2.0.0-beta.3",
47
- "@disclosureos/observables": "2.0.0-beta.3",
48
- "@disclosureos/instruments": "2.0.0-beta.3",
49
- "@disclosureos/schema": "2.0.0-beta.3",
50
- "@disclosureos/scoring": "2.0.0-beta.3"
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",