@disclosureos/origins 1.0.1 → 2.0.0-beta.0

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,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0-beta.0
4
+
5
+ ### Major Changes
6
+
7
+ - Prepare the coordinated v2 beta package set. This prerelease packages the merged
8
+ experimental observation and claim contracts, acquisition and dataset exchange,
9
+ versioned evaluation, and bounded migration tooling for external consumer testing.
10
+ Existing root APIs and schema identities remain available; the new contracts keep
11
+ explicit `/experimental/v2` imports. Observables and origins retain their existing
12
+ catalogs within the pinned beta dependency graph. This is not a stable v2 release,
13
+ scientific certification, or publication of partner data. See
14
+ `docs/releases/2.0.0-beta.0.md` for package-specific scope and validation boundaries.
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+ - @disclosureos/records@2.0.0-beta.0
20
+
3
21
  All notable changes to `@disclosureos/origins` are documented here. The format is
4
22
  based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project
5
23
  adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
@@ -1,7 +1,7 @@
1
1
  import { OriginClaim } from '../classification/index.js';
2
2
  import 'zod';
3
3
 
4
- declare const ORIGIN_DOMAINS: ("physical" | "psychosocial" | "metaphysical")[];
4
+ declare const ORIGIN_DOMAINS: ("psychosocial" | "metaphysical" | "physical")[];
5
5
  /**
6
6
  * Provenance of the OCS taxonomy. The three-domain structure (Physical /
7
7
  * Psychosocial / Metaphysical) is adapted from Col. Karl Nell's "Proposed
@@ -1,4 +1,4 @@
1
- import { O as OriginDomain, a as OCSNode } from '../types-vp7uj-w6.js';
1
+ import { O as OriginDomain, a as OCSNode } from '../types-DhroHNFf.js';
2
2
  import 'zod';
3
3
 
4
4
  declare function formatOCSCode(id: string): string;
@@ -1,3 +1,3 @@
1
- export { O as OCSNodeId, i as isConfidenceDistribution, b as isOCSNodeId, c as isOriginClaim, d as isOriginDomain } from '../index-CK0m35tf.js';
1
+ export { O as OCSNodeId, i as isConfidenceDistribution, b as isOCSNodeId, c as isOriginClaim, d as isOriginDomain } from '../index-BUFnYJ1s.js';
2
2
  import '../classification/index.js';
3
3
  import 'zod';
@@ -13,7 +13,7 @@ type OCSNodeId = string & {
13
13
  };
14
14
  declare function asOCSNodeId(value: string): OCSNodeId;
15
15
 
16
- declare const isOriginDomain: (value: unknown) => value is "physical" | "psychosocial" | "metaphysical";
16
+ declare const isOriginDomain: (value: unknown) => value is "psychosocial" | "metaphysical" | "physical";
17
17
  declare const isOCSNodeId: (value: unknown) => value is OCSNodeId;
18
18
  declare function isOriginClaim(value: unknown): value is OriginClaim;
19
19
  declare function isConfidenceDistribution(value: unknown): value is ConfidenceDistribution;
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { OriginClassificationSlot } from './constants/index.js';
2
2
  export { ALL_OCS_IDS, LEAF_IDS, METAPHYSICAL_IDS, OCS_PROVENANCE, ORIGIN_DOMAINS, PHYSICAL_IDS, PSYCHOSOCIAL_IDS, TESTABLE_IDS } from './constants/index.js';
3
- export { M as MetaphysicalSubdomain, b as MetaphysicalSubdomainSchema, a as OCSNode, c as OCSNodeSchema, O as OriginDomain, d as OriginDomainSchema, e as OriginSubdomain, f as OriginSubdomainSchema, P as PhysicalSubdomain, g as PhysicalSubdomainSchema, h as PsychosocialSubdomain, i as PsychosocialSubdomainSchema } from './types-vp7uj-w6.js';
3
+ export { M as MetaphysicalSubdomain, b as MetaphysicalSubdomainSchema, a as OCSNode, c as OCSNodeSchema, O as OriginDomain, d as OriginDomainSchema, e as OriginSubdomain, f as OriginSubdomainSchema, P as PhysicalSubdomain, g as PhysicalSubdomainSchema, h as PsychosocialSubdomain, i as PsychosocialSubdomainSchema } from './types-DhroHNFf.js';
4
4
  export { OCS_TAXONOMY, getAncestors, getChildren, getDomain, getLeafNodes, getNode, getPath, getSiblings, getTestableNodes, searchNodes } from './taxonomy/index.js';
5
5
  export { PHYSICAL_NODES } from './taxonomy/physical/index.js';
6
6
  export { PSYCHOSOCIAL_NODES } from './taxonomy/psychosocial/index.js';
7
7
  export { METAPHYSICAL_NODES } from './taxonomy/metaphysical/index.js';
8
8
  export { CategoryConfidence, CategoryConfidenceSchema, ConfidenceDistribution, ConfidenceDistributionSchema, HypothesisWeight, HypothesisWeightSchema, OriginClaim, OriginClaimSchema } from './classification/index.js';
9
9
  export { OCS_LABELS, ORIGIN_DOMAIN_LABELS } from './labels/index.js';
10
- export { O as OCSNodeId, a as asOCSNodeId, i as isConfidenceDistribution, b as isOCSNodeId, c as isOriginClaim, d as isOriginDomain } from './index-CK0m35tf.js';
10
+ export { O as OCSNodeId, a as asOCSNodeId, i as isConfidenceDistribution, b as isOCSNodeId, c as isOriginClaim, d as isOriginDomain } from './index-BUFnYJ1s.js';
11
11
  import { ValidationIssue } from '@disclosureos/records/shared';
12
12
  export { isConfidence } from '@disclosureos/records/shared';
13
13
  export { ClassificationOptions, createConfidenceDistribution, createOriginClaim } from './factories/index.js';
@@ -1,4 +1,4 @@
1
- import { O as OriginDomain } from '../types-vp7uj-w6.js';
1
+ import { O as OriginDomain } from '../types-DhroHNFf.js';
2
2
  import 'zod';
3
3
 
4
4
  declare const OCS_LABELS: Record<string, string>;
@@ -1,5 +1,5 @@
1
- import { a as OCSNode, O as OriginDomain } from '../types-vp7uj-w6.js';
2
- export { M as MetaphysicalSubdomain, b as MetaphysicalSubdomainSchema, c as OCSNodeSchema, d as OriginDomainSchema, e as OriginSubdomain, f as OriginSubdomainSchema, P as PhysicalSubdomain, g as PhysicalSubdomainSchema, h as PsychosocialSubdomain, i as PsychosocialSubdomainSchema } from '../types-vp7uj-w6.js';
1
+ import { a as OCSNode, O as OriginDomain } from '../types-DhroHNFf.js';
2
+ export { M as MetaphysicalSubdomain, b as MetaphysicalSubdomainSchema, c as OCSNodeSchema, d as OriginDomainSchema, e as OriginSubdomain, f as OriginSubdomainSchema, P as PhysicalSubdomain, g as PhysicalSubdomainSchema, h as PsychosocialSubdomain, i as PsychosocialSubdomainSchema } from '../types-DhroHNFf.js';
3
3
  export { PHYSICAL_NODES } from './physical/index.js';
4
4
  export { PSYCHOSOCIAL_NODES } from './psychosocial/index.js';
5
5
  export { METAPHYSICAL_NODES } from './metaphysical/index.js';
@@ -1,4 +1,4 @@
1
- import { a as OCSNode } from '../../types-vp7uj-w6.js';
1
+ import { a as OCSNode } from '../../types-DhroHNFf.js';
2
2
  import 'zod';
3
3
 
4
4
  declare const METAPHYSICAL_NODES: readonly OCSNode[];
@@ -1,4 +1,4 @@
1
- import { a as OCSNode } from '../../types-vp7uj-w6.js';
1
+ import { a as OCSNode } from '../../types-DhroHNFf.js';
2
2
  import 'zod';
3
3
 
4
4
  declare const PHYSICAL_NODES: readonly OCSNode[];
@@ -1,4 +1,4 @@
1
- import { a as OCSNode } from '../../types-vp7uj-w6.js';
1
+ import { a as OCSNode } from '../../types-DhroHNFf.js';
2
2
  import 'zod';
3
3
 
4
4
  declare const PSYCHOSOCIAL_NODES: readonly OCSNode[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@disclosureos/origins",
3
- "version": "1.0.1",
3
+ "version": "2.0.0-beta.0",
4
4
  "description": "Classification taxonomy for the DisclosureOS ecosystem — origin hypotheses, OCS taxonomy, and reference systems",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -107,8 +107,8 @@
107
107
  "LICENSE"
108
108
  ],
109
109
  "dependencies": {
110
- "zod": "^4.4.3",
111
- "@disclosureos/records": "1.1.0"
110
+ "zod": "4.4.3",
111
+ "@disclosureos/records": "2.0.0-beta.0"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@types/node": "^20",
@@ -121,7 +121,8 @@
121
121
  "@repo/typescript-config": "0.0.0"
122
122
  },
123
123
  "publishConfig": {
124
- "access": "public"
124
+ "access": "public",
125
+ "tag": "beta"
125
126
  },
126
127
  "scripts": {
127
128
  "build": "tsup",
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const OriginDomainSchema: z.ZodEnum<{
4
- physical: "physical";
5
4
  psychosocial: "psychosocial";
6
5
  metaphysical: "metaphysical";
6
+ physical: "physical";
7
7
  }>;
8
8
  type OriginDomain = z.infer<typeof OriginDomainSchema>;
9
9
  declare const PhysicalSubdomainSchema: z.ZodEnum<{
@@ -47,9 +47,9 @@ declare const OCSNodeSchema: z.ZodObject<{
47
47
  label: z.ZodString;
48
48
  description: z.ZodString;
49
49
  domain: z.ZodEnum<{
50
- physical: "physical";
51
50
  psychosocial: "psychosocial";
52
51
  metaphysical: "metaphysical";
52
+ physical: "physical";
53
53
  }>;
54
54
  depth: z.ZodNumber;
55
55
  parentId: z.ZodNullable<z.ZodString>;