@ancientpantheon/khronoton-core 0.4.0 → 0.4.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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,16 @@ All notable changes to `@ancientpantheon/khronoton-core`.
4
4
 
5
5
  The engine's pre-extraction history lives in the AncientHoldings hub, whose inline scheduler ("Cronoton") this package extracts and generalises.
6
6
 
7
+ ## 0.4.1 — 2026-07-22
8
+
9
+ **PATCH — dependency rename, no code change.**
10
+
11
+ The Ouronet protocol dependency moved scope: `@stoachain/ouronet-core` → **`@ouronet/ouronet-core`**. Same code and version line; the package was split out of `StoaChain/stoa-js` into [`OuroborosNetwork/ouronet-libs`](https://github.com/OuroborosNetwork/ouronet-libs) in the Phase-4 reorganisation so that published identity matches org ownership. The old name is deprecated on npm.
12
+
13
+ This needs a release rather than a local edit: the published `0.4.0` peer-depends on the old name, and a consumer that also depends on the new one ends up demanding two different chain versions at once — `@ouronet/ouronet-core` pins `@stoachain/kadena-stoic-legacy` exactly, so the two cannot coexist. Anyone consuming this package alongside the renamed stack should move to 0.4.1.
14
+
15
+ **799 specs pass.**
16
+
7
17
  ## 0.4.0 — 2026-07-13
8
18
 
9
19
  Made khronoton **chain-polyglot**: the package now ships the chain adapters it needs to talk to each supported chain, as a `/blockchain/<chain>` subpath family — rather than a separate npm package per chain. This keeps khronoton a single drop-in for every automaton while it speaks each chain's language natively. Root `.`/`/server`/`/handlers` outputs are unchanged.
package/README.md CHANGED
@@ -6,6 +6,8 @@ Khronoton is the "When do I act?" Constructor of the Pantheon architecture — t
6
6
 
7
7
  ## Status
8
8
 
9
+ **`0.4.1` on public npmjs** — **PATCH (dependency rename, no code change).** Released 2026-07-22. `@stoachain/ouronet-core` → `@ouronet/ouronet-core` — same code, new scope, following the Phase-4 split into OuroborosNetwork/ouronet-libs. **799 specs pass.**
10
+
9
11
  **`0.4.0` on public npmjs** — the complete drop-in codex-cronoton experience, matching the AncientHoldings Hub, now **chain-polyglot**. On top of the byte-unchanged root `.` schedule engine and `/server` automaton engine (both from 0.2.0), the package ships the whole experience layer as subpaths so a consumer wires the Hub's cronoton UX end to end without re-implementing it:
10
12
 
11
13
  - **`/handlers`** — framework-agnostic HTTP route handlers over the `/server` store + executor (list/get/fires/signers/commit/edit/pause/resume/delete/simulate/execute-now/trigger/batch/recover), driven by a tiny `HandlerRequest`/`HandlerResponse` seam so any router (Next.js, Express, …) can mount them.
@@ -228,6 +230,8 @@ npm install @ancientpantheon/khronoton-core
228
230
 
229
231
  ## Version history
230
232
 
233
+ **v0.4.1** — dependency rename, no code change. Released 2026-07-22. `@stoachain/ouronet-core` → `@ouronet/ouronet-core`. **799 specs pass.**
234
+
231
235
  **v0.4.0** — Made khronoton **chain-polyglot**: added the `/blockchain/<chain>` subpath family, starting with `/blockchain/stoachain` (`createStoachainRuntime(config?)` → the core `ChainRuntime` seam, wrapping `@stoachain/*`). Each chain's SDK is an **optional peer dependency** imported lazily, so the package stays zero-SDK on install and a consumer carries only the chains it imports — one package, one drop-in for every automaton, rather than a separate npm package per chain. (This folds in the previously-separate `@ancientpantheon/khronoton-stoachain`, which is removed and was never published.) Root `.`/`/server`/`/handlers` outputs unchanged. React and `@stoachain/*` are optional peers for their respective subpaths only.
232
236
 
233
237
  **v0.3.0** — Added the complete drop-in **experience layer** on new subpaths, byte-preserving the root `.` and `/server` outputs from 0.2.0: `/handlers` (framework-agnostic HTTP route handlers over the store + executor, behind a tiny request/response seam), `/provider` + `/hooks` (the React data layer — `<KhronotonProvider>`, the 16-method `KhronotonAdapter` seam with `createFetchAdapter`/`createMemoryAdapter` reference adapters, the shared `runGated` confirm-retry, and the data + action hooks), and `/ui` + `/ui.css` (the React UI at full Hub parity — the four screens List, Detail/Observe with the 50/page fire-history pager + definition-drift + result tooltip + pluggable multi-tx renderer + wired recover, the two-pane create/edit Builder with Simulate→AUTO-gas calibrate, and a Public read-only view — themed via `--khr-*` inside `<KhronotonUiRoot>`). Chain specifics stay out of core as the separate `@ancientpantheon/khronoton-stoachain` `ChainRuntime` adapter; core stays zero-runtime-dependency with React an optional peer for the three React subpaths. Every JS subpath resolves under both ESM `import` and CJS `require`.
@@ -4,7 +4,7 @@ async function createStoachainRuntime(config) {
4
4
  const signing = await import('@stoachain/stoa-core/signing');
5
5
  const gas = await import('@stoachain/stoa-core/gas');
6
6
  const constants = await import('@stoachain/stoa-core/constants');
7
- const ouronetConstants = await import('@stoachain/ouronet-core/constants');
7
+ const ouronetConstants = await import('@ouronet/ouronet-core/constants');
8
8
  const networkId = config?.networkId ?? constants.KADENA_NETWORK;
9
9
  const namespace = config?.namespace ?? ouronetConstants.KADENA_NAMESPACE;
10
10
  const gasStationAccount = config?.gasStationAccount ?? ouronetConstants.STOA_AUTONOMIC_OURONETGASSTATION;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ancientpantheon/khronoton-core",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Headless framework-agnostic scheduler engine: pure schedule math plus an injectable tick engine. No database, no job queue, no framework — hosts inject storage and firing via hooks.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -74,11 +74,11 @@
74
74
  },
75
75
  "license": "UNLICENSED",
76
76
  "peerDependencies": {
77
- "react": "^18 || ^19",
78
- "react-dom": "^18 || ^19",
77
+ "@ouronet/ouronet-core": "^4.3.6",
79
78
  "@stoachain/kadena-stoic-legacy": "^4.3.6",
80
79
  "@stoachain/stoa-core": "^4.3.6",
81
- "@stoachain/ouronet-core": "^4.3.6"
80
+ "react": "^18 || ^19",
81
+ "react-dom": "^18 || ^19"
82
82
  },
83
83
  "peerDependenciesMeta": {
84
84
  "react": {
@@ -102,10 +102,10 @@
102
102
  },
103
103
  "devDependencies": {
104
104
  "@codemirror/state": "^6.5.2",
105
+ "@codemirror/view": "^6.36.4",
106
+ "@ouronet/ouronet-core": "^4.3.6",
105
107
  "@stoachain/kadena-stoic-legacy": "^4.3.6",
106
- "@stoachain/ouronet-core": "^4.3.6",
107
108
  "@stoachain/stoa-core": "^4.3.6",
108
- "@codemirror/view": "^6.36.4",
109
109
  "@testing-library/dom": "^10.4.1",
110
110
  "@testing-library/react": "^16.3.2",
111
111
  "@types/better-sqlite3": "^7.6.13",