@aikdna/kdna-studio-cli 0.13.0-rc.components.2 → 0.14.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/README.md +33 -15
- package/docs/CREATION_COMMAND_CONTRACT.md +1 -1
- package/docs/TERMINAL_AGENT_CREATION.md +10 -0
- package/package.json +4 -4
- package/src/public-bindings.json +114 -96
- package/src/terminal-workspace.js +53 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# KDNA Studio CLI — typed current creation
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Studio CLI `0.14.0` consumes Studio Core `4.1.0`, Core `0.37.2` and Read `0.11.3`. Ordinary prose and supported mechanism structures share container `0.5.0` / Read grammar `0.6.4`. Core/Read package versions identify implementation bytes and do not establish interchange with NativeSections container `0.6.0` / Read `0.7.0`, or import/reuse of another CLI's output. Installation acceptance is a separate Host decision; exact content checks do not authenticate a provider process.
|
|
4
4
|
|
|
5
5
|
An external Agent records materials and proposes judgment groups with at least two meaningful alternatives. Selection and final adoption arrive through a separately owned live channel. Human-declared review and expressly delegated Agent editorial adoption are distinct modes:
|
|
6
6
|
|
|
@@ -20,45 +20,63 @@ Export exclusively creates a new private directory. It writes exact Studio bytes
|
|
|
20
20
|
```text
|
|
21
21
|
kdna-studio verify --bundle ./new-export
|
|
22
22
|
kdna-studio read --bundle ./new-export --allow-read --judgment 1
|
|
23
|
+
kdna-studio export06 --bundle ./new-export --kdna /path/to/kdna
|
|
23
24
|
```
|
|
24
25
|
|
|
25
26
|
Static reopening keeps `creation_accepted:not_evaluated` and `live_context:unavailable`; JSON cannot restore a one-use capability. `read` requires explicit `--allow-read`, delegates request admission, scope, exact selection and byte budgets to public Read, and grants no action authority. Format1, format-absent legacy evidence and old completion sidecars are noncurrent. Preserve their original accepted releases; never relabel them to this graph.
|
|
26
27
|
|
|
27
|
-
|
|
28
|
+
`export06` is the explicit bridge to container `0.6.0`: it invokes the published `kdna` CLI's `convert` on the bundle's `asset.kdna` and writes a new file — the sibling `./new-export.0.6.kdna` unless `--output` names another. `--kdna EXECUTABLE` or `KDNA_CLI_BIN` selects the CLI; when none is found the step is a named refusal with public acquisition guidance, never a fallback conversion path. The sealed bundle — the asset and all detached evidence — is never written, and the converted file belongs to the `0.6.0` read stack, not to this CLI's `read`.
|
|
29
|
+
|
|
30
|
+
The full 12-package dependency graph uses exact registry coordinates and an integrity lock; the committed vendor archives anchor its member receipt. Before loading upstream code or materials, the CLI checks complete installed member sets, bytes, versions and one shared Core resolution, and rejects unbound optional addons. The exact archive/member declarations are in `src/public-bindings.json`.
|
|
31
|
+
|
|
32
|
+
Install with registry access using the locked coordinates:
|
|
28
33
|
|
|
29
34
|
```text
|
|
30
|
-
npm ci --
|
|
35
|
+
npm ci --ignore-scripts --omit=optional --no-audit --no-fund
|
|
31
36
|
npm test
|
|
32
37
|
npm run lint
|
|
33
38
|
npm pack --offline --ignore-scripts
|
|
34
39
|
```
|
|
35
40
|
|
|
41
|
+
For an offline install, add `--offline` to `npm ci` only after the npm cache contains every required locked artifact with its matching integrity. The committed `vendor/` archives alone neither populate that cache nor redirect the registry URLs in the lock.
|
|
42
|
+
|
|
36
43
|
An embedding that requires offline processing must independently deny network access; npm `--offline` alone is not a network boundary. No package lifecycle scripts or native optional packages are needed for this graph.
|
|
37
44
|
|
|
38
45
|
## Dependency coordinates and publication
|
|
39
46
|
|
|
40
|
-
|
|
47
|
+
The current package and lock use exact registry versions. Runtime packages belong in `dependencies`, and `overrides` bind their required peers to the same root coordinates. Integrity-locked `file:` coordinates used by local candidate/test fixtures are separate from this registry installation graph.
|
|
41
48
|
|
|
42
|
-
|
|
49
|
+
`npm run check:publish-coordinates` rejects local dependency declarations in a publishable package, because a registry consumer has no repository `vendor/` directory next to the packed artifact. The publish workflow runs that gate and requires the registry to serve the exact locked dependency integrities.
|
|
43
50
|
|
|
44
51
|
See [command contract](docs/CREATION_COMMAND_CONTRACT.md) and [Agent integration](docs/TERMINAL_AGENT_CREATION.md). Their JSONL is private transport, not a KDNA asset format. Historical project/card commands and runtime adapters stay outside the packed and default surface.
|
|
45
52
|
|
|
46
53
|
|
|
47
|
-
##
|
|
54
|
+
## Source and release verification
|
|
48
55
|
|
|
49
|
-
The
|
|
50
|
-
`0.11.
|
|
56
|
+
The dependency graph binds Studio Core `4.1.0`, Core `0.37.2`, Read
|
|
57
|
+
`0.11.3` and `fast-uri` `3.1.8`. The current source ledger is
|
|
51
58
|
`fixtures/runtime-candidates/current-sources.json`; `npm run verify:candidate-sources`
|
|
52
59
|
rebuilds its exact Git package trees and compares every installed tar member.
|
|
53
60
|
`npm run check:current-bindings` independently recomputes the complete dependency
|
|
54
|
-
member receipt. These checks execute for the current
|
|
61
|
+
member receipt. These checks execute for the current graph; historical
|
|
55
62
|
registry fixtures and their retired API remain separate test material.
|
|
56
63
|
|
|
57
|
-
|
|
64
|
+
In the stable release context, `npm run release:generate-evidence -- --out
|
|
58
65
|
<outside-repository-evidence.json> --artifact <outside-repository-package.tgz>`
|
|
59
66
|
creates two byte-identical packs from exact committed blobs and validates their
|
|
60
|
-
independently parsed contents.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
67
|
+
independently parsed contents. It requires a clean checkout, the exact version
|
|
68
|
+
tag and the matching release commit. The stable publisher also requires a
|
|
69
|
+
published, non-draft, non-prerelease event and exact registry dependency
|
|
70
|
+
integrities. Prerelease evidence cannot enter that publisher. Local checks do
|
|
71
|
+
not establish registry availability, verified editorial identity, real human
|
|
72
|
+
acceptance or permission to publish.
|
|
73
|
+
|
|
74
|
+
A stable release commit must already be accepted on `main`: the release gate
|
|
75
|
+
runs `git merge-base --is-ancestor <release-commit> origin/main` and refuses by
|
|
76
|
+
name when `origin/main` is unreadable (`RELEASE_MAIN_REF_UNREADABLE`) or the
|
|
77
|
+
commit is not an ancestor (`RELEASE_COMMIT_NOT_ON_MAIN`). An earlier main commit
|
|
78
|
+
remains acceptable; the current main tip is not required, and the reverse
|
|
79
|
+
relation is never used. The publish workflow fetches `origin/main` explicitly
|
|
80
|
+
before the gate and fails closed if that fetch fails. The candidate/preview
|
|
81
|
+
channel keeps its existing release rule; this main-line requirement is stable
|
|
82
|
+
publication only.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Current command boundary
|
|
2
2
|
|
|
3
|
-
Supported commands: `help`, `--help`, `--version`, `session`, `verify`, `read`. Unknown commands, repeated or unknown options fail before opening materials or output. Package exports expose metadata only; the supported executable is the bin. No deep path, alternate checkout, model, remote server or runtime fallback is selected.
|
|
3
|
+
Supported commands: `help`, `--help`, `--version`, `session`, `verify`, `read`, `export06`. Unknown commands, repeated or unknown options fail before opening materials or output. `export06 --bundle DIRECTORY [--output FILE] [--kdna EXECUTABLE]` is the explicit conversion step to container `0.6.0`: it hashes the bundle's `asset.kdna` itself, invokes the published `kdna` CLI's `convert` with that binding and writes a new sibling file (`<bundle>.0.6.kdna` unless `--output` names another) that never replaces an existing file. The executable is resolved from `--kdna`, then `KDNA_CLI_BIN`, then `PATH`; when none is found the step is the named refusal `CLI_KDNA_CONVERT_MISSING` with public acquisition guidance, never a fallback conversion. Conversion rejections (`MIGRATION_SOURCE_*`, save failures) pass through with their original code and exit status. The sealed bundle is never written. Package exports expose metadata only; the supported executable is the bin. No deep path, alternate checkout, model, remote server or runtime fallback is selected.
|
|
4
4
|
|
|
5
5
|
`session --out NEW_DIRECTORY` accepts repeated `--text FILE` and `--interview FILE`, `--synthetic-fixture`, and exactly one adoption mode. Human mode uses a controlling terminal or `--human-fd N`. Explicit delegated Agent mode requires both `--agent-adoption-fd N` and `--delegation-record FILE`. N is an integer at least 3. Human and Agent fd options cannot be combined. `session` additionally accepts `--password-fd N` (N an integer at least 3, distinct from the adoption fds): the password is read exactly once from that pipe fd. Password values are never accepted in process arguments, and the Agent stream is never the password channel. The delegation file contains only nonempty `coordinate` and `statement`; it is an explicit embedding claim, not an authenticated grant.
|
|
6
6
|
|
|
@@ -12,6 +12,7 @@ Each newline-terminated Agent frame has unique `id`, `op`, and `data`. Wait for
|
|
|
12
12
|
| interview | `{title,question}` |
|
|
13
13
|
| propose | `{localKey,alternatives:[alternative,alternative,...]}` |
|
|
14
14
|
| revise | `{localKey,baseRevision,alternatives,explanation}` |
|
|
15
|
+
| system | `{worldview?,value_order?,relations?,boundaries?}`; declares the system layer. `worldview`/`value_order` are `{statement,items:[text,...]}`; a relation is `{localKey,kind,from,to,statement}` with kind `support|qualify|conflict|complement` and the ordered role pair (support supporter→claim, qualify qualifier→qualified, complement supplement→base; conflict side_a→side_b). Keys resolve against the selected judgments at preview; unknown keys are `CREATION_SYSTEM_JUDGMENT_UNKNOWN`. `boundaries` is refused with `CREATION_BOUNDARIES_ACTOR_REQUIRED` until the actor face opens; nothing is silently dropped |
|
|
15
16
|
| review | `{}`; request actual selection or final adoption |
|
|
16
17
|
| preview | `{}`; show complete current mapping before final adoption |
|
|
17
18
|
| status | `{}` |
|
|
@@ -34,3 +35,12 @@ Select chooses exactly one current alternative for every group. Other supported
|
|
|
34
35
|
The pending review receives its final result after interpretation. There is no separate interpretation success reply. Reusing ids/tickets, changing role/channel, replacing the current review, EOF or input errors reject. Agent termination while waiting abandons the unexported session. Keep one request active; excess queued frames reject. No automatic decision or persistent replay/resume exists.
|
|
35
36
|
|
|
36
37
|
Export creates one exclusive private bundle and obtains `accepted_with_live_context` only after actual saved-byte readback. Static `verify` always retains `live_context:unavailable` and `creation_accepted:not_evaluated`; it cannot resurrect the capability. Core/Read and static evidence consistency remain separate from actual Agent adoption, verified identity, action permission, Authoring Fit/G4B and publication readiness. Legacy format1 and old completion markers require their original accepted graph and cannot be relabeled current.
|
|
38
|
+
|
|
39
|
+
## Export to 0.6: the explicit conversion step
|
|
40
|
+
|
|
41
|
+
Container `0.6.0` is not produced by this CLI. The supported route from a delivered session bundle into `0.6.0` is the explicit step `kdna-studio export06`: it invokes the published `kdna` CLI's `convert` on the bundle's `asset.kdna` (this step supplies the `--expected-a` reading itself, writes a new file, and never changes an existing one) and passes the converter's named results and exit code through unchanged. There is no in-Studio rearrangement of container bytes.
|
|
42
|
+
|
|
43
|
+
- CLI selection: `--kdna EXECUTABLE`, then `KDNA_CLI_BIN`, then `kdna` on `PATH`. When none is found the step is the named refusal `CLI_KDNA_CONVERT_MISSING` with public acquisition guidance; it never falls back to any private or self-implemented conversion path.
|
|
44
|
+
- Default output is the new sibling file `<bundle>.0.6.kdna` (`--output` names another). The delivered bundle is a sealed read-only unit; `asset.kdna` and the detached evidence files are never written.
|
|
45
|
+
- Converter refusals pass through by their own names, for example `MIGRATION_SOURCE_UNSUPPORTED_VERSION` (historical generations), `MIGRATION_SOURCE_PROTECTED_UNSUPPORTED` (protected containers) and `MIGRATION_SOURCE_EXTENSION_UNSUPPORTED` (member extensions such as `checksums.json`). An existing output is refused, not renamed (`KDNA_OUTPUT_EXISTS`).
|
|
46
|
+
- The converted `0.6.0` file belongs to the `0.6.0` read stack (the published `kdna` CLI's `read` and `validate`). This CLI's own `read` remains the container `0.5.0` session path and does not consume the converted file.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aikdna/kdna-studio-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Terminal Host for current typed Studio creation and separate human or authorized Agent adoption channels.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"bin": {
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"node": ">=22"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aikdna/kdna-core": "0.37.
|
|
56
|
-
"@aikdna/kdna-read": "0.11.
|
|
57
|
-
"@aikdna/kdna-studio-core": "4.
|
|
55
|
+
"@aikdna/kdna-core": "0.37.2",
|
|
56
|
+
"@aikdna/kdna-read": "0.11.3",
|
|
57
|
+
"@aikdna/kdna-studio-core": "4.1.0"
|
|
58
58
|
},
|
|
59
59
|
"directories": {
|
|
60
60
|
"test": "tests"
|
package/src/public-bindings.json
CHANGED
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"trace": "kdna.judgment-trace/0.3.1"
|
|
13
13
|
},
|
|
14
14
|
"packages": {
|
|
15
|
-
"@aikdna/kdna-core": "0.37.
|
|
16
|
-
"@aikdna/kdna-read": "0.11.
|
|
17
|
-
"@aikdna/kdna-studio-core": "4.
|
|
15
|
+
"@aikdna/kdna-core": "0.37.2",
|
|
16
|
+
"@aikdna/kdna-read": "0.11.3",
|
|
17
|
+
"@aikdna/kdna-studio-core": "4.1.0"
|
|
18
18
|
},
|
|
19
19
|
"archives": [
|
|
20
20
|
{
|
|
21
21
|
"name": "@aikdna/kdna-core",
|
|
22
|
-
"version": "0.37.
|
|
22
|
+
"version": "0.37.2",
|
|
23
23
|
"files": [
|
|
24
24
|
{
|
|
25
25
|
"path": "LICENSE",
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
{
|
|
37
37
|
"path": "README.md",
|
|
38
38
|
"mode": 420,
|
|
39
|
-
"bytes":
|
|
40
|
-
"sha256": "
|
|
39
|
+
"bytes": 17855,
|
|
40
|
+
"sha256": "a21d594030e1d903b7a313ce3194ea800f67c2be1f6a80b7f991de6b41cee1cd"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"path": "package.json",
|
|
44
44
|
"mode": 420,
|
|
45
|
-
"bytes":
|
|
46
|
-
"sha256": "
|
|
45
|
+
"bytes": 9551,
|
|
46
|
+
"sha256": "f933fe555bf966f35a64e2a183e5161f08125ab97369b03b3876b1c7cc7e2336"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"path": "schema/agent-host-capabilities.schema.json",
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
"path": "src/public-contract/browser-native/sections/contract.json",
|
|
560
560
|
"mode": 420,
|
|
561
561
|
"bytes": 547981,
|
|
562
|
-
"sha256": "
|
|
562
|
+
"sha256": "f871a8be8a91105f4a1a7bd4930e712bf3b012ce8b6fd17def7cf4eaaef27379"
|
|
563
563
|
},
|
|
564
564
|
{
|
|
565
565
|
"path": "src/public-contract/browser-native/semantic-admission.js",
|
|
@@ -600,8 +600,8 @@
|
|
|
600
600
|
{
|
|
601
601
|
"path": "src/public-contract/browser-native/whole.js",
|
|
602
602
|
"mode": 420,
|
|
603
|
-
"bytes":
|
|
604
|
-
"sha256": "
|
|
603
|
+
"bytes": 9600,
|
|
604
|
+
"sha256": "6aea652afb4fa360d4c9a89414d1dff3b197ab0ed91a0b0e14d1445d7519d945"
|
|
605
605
|
},
|
|
606
606
|
{
|
|
607
607
|
"path": "src/public-contract/browser-protected/request.js",
|
|
@@ -661,7 +661,7 @@
|
|
|
661
661
|
"path": "src/public-contract/browserwhole06/contract.json",
|
|
662
662
|
"mode": 420,
|
|
663
663
|
"bytes": 28451,
|
|
664
|
-
"sha256": "
|
|
664
|
+
"sha256": "04a3d6627d4c117acc749e9c38b1af6cc06cd25f168ec983fa3fde324d1520c9"
|
|
665
665
|
},
|
|
666
666
|
{
|
|
667
667
|
"path": "src/public-contract/browserwhole06/descriptor.json",
|
|
@@ -835,13 +835,13 @@
|
|
|
835
835
|
"path": "src/public-contract/creation06/contract.json",
|
|
836
836
|
"mode": 420,
|
|
837
837
|
"bytes": 71166,
|
|
838
|
-
"sha256": "
|
|
838
|
+
"sha256": "255a9a9eff102f96d49c660c29cc5a291244fff5365dfb251ef66ebe7aaaad0f"
|
|
839
839
|
},
|
|
840
840
|
{
|
|
841
841
|
"path": "src/public-contract/creation06/generation-manifest.json",
|
|
842
842
|
"mode": 420,
|
|
843
843
|
"bytes": 6851,
|
|
844
|
-
"sha256": "
|
|
844
|
+
"sha256": "49a141cb935cbc18b1adc8134f158d52ac1231a63f76de4a8e3ce42ecdee6cfb"
|
|
845
845
|
},
|
|
846
846
|
{
|
|
847
847
|
"path": "src/public-contract/creation06/schemas/AdmittedNativeCreationRequest06.json",
|
|
@@ -1147,13 +1147,13 @@
|
|
|
1147
1147
|
"path": "src/public-contract/execution06/contract.json",
|
|
1148
1148
|
"mode": 420,
|
|
1149
1149
|
"bytes": 225481,
|
|
1150
|
-
"sha256": "
|
|
1150
|
+
"sha256": "02a62d370315d1cf0a07685b2ef8476d8fb83c1752601feb09e7cb0c4ed41477"
|
|
1151
1151
|
},
|
|
1152
1152
|
{
|
|
1153
1153
|
"path": "src/public-contract/execution06/generation-manifest.json",
|
|
1154
1154
|
"mode": 420,
|
|
1155
1155
|
"bytes": 16890,
|
|
1156
|
-
"sha256": "
|
|
1156
|
+
"sha256": "c01de73bff8a8ffe0e2a951b152c2f4ceab791d58d20031f60679b6442b729d9"
|
|
1157
1157
|
},
|
|
1158
1158
|
{
|
|
1159
1159
|
"path": "src/public-contract/execution06/types.d.ts",
|
|
@@ -1200,20 +1200,20 @@
|
|
|
1200
1200
|
{
|
|
1201
1201
|
"path": "src/public-contract/issuer-contract.generated.json",
|
|
1202
1202
|
"mode": 420,
|
|
1203
|
-
"bytes":
|
|
1204
|
-
"sha256": "
|
|
1203
|
+
"bytes": 28490,
|
|
1204
|
+
"sha256": "0da7767ebce4ebc7374813ae4850672a10254c474794c704e87099f204f2339f"
|
|
1205
1205
|
},
|
|
1206
1206
|
{
|
|
1207
1207
|
"path": "src/public-contract/issuer-validators.generated.js",
|
|
1208
1208
|
"mode": 420,
|
|
1209
|
-
"bytes":
|
|
1210
|
-
"sha256": "
|
|
1209
|
+
"bytes": 129280,
|
|
1210
|
+
"sha256": "69dd63c52beb0e1188900c82a55abf748e0a839a8679c46fba58ab54c3ac3f7c"
|
|
1211
1211
|
},
|
|
1212
1212
|
{
|
|
1213
1213
|
"path": "src/public-contract/key-grant-issuer-node.d.ts",
|
|
1214
1214
|
"mode": 420,
|
|
1215
|
-
"bytes":
|
|
1216
|
-
"sha256": "
|
|
1215
|
+
"bytes": 4050,
|
|
1216
|
+
"sha256": "1a5caef587d3b001bcecdf97276401099ce6fade6dac3e012076d7e2b750e6df"
|
|
1217
1217
|
},
|
|
1218
1218
|
{
|
|
1219
1219
|
"path": "src/public-contract/key-grant-issuer-node.js",
|
|
@@ -1278,14 +1278,14 @@
|
|
|
1278
1278
|
{
|
|
1279
1279
|
"path": "src/public-contract/package-set-contract.generated.json",
|
|
1280
1280
|
"mode": 420,
|
|
1281
|
-
"bytes":
|
|
1282
|
-
"sha256": "
|
|
1281
|
+
"bytes": 19786,
|
|
1282
|
+
"sha256": "3bad0f8c7f02657948972b677f266d5f520e3573a87dfcf9b420033b918a8c38"
|
|
1283
1283
|
},
|
|
1284
1284
|
{
|
|
1285
1285
|
"path": "src/public-contract/package-set-node.d.ts",
|
|
1286
1286
|
"mode": 420,
|
|
1287
|
-
"bytes":
|
|
1288
|
-
"sha256": "
|
|
1287
|
+
"bytes": 5623,
|
|
1288
|
+
"sha256": "7d4d49b6c8fcc9ec5a92de039dc38360e88f34e55b5f3f9d58b30a6b690f235e"
|
|
1289
1289
|
},
|
|
1290
1290
|
{
|
|
1291
1291
|
"path": "src/public-contract/package-set-node.js",
|
|
@@ -1320,8 +1320,8 @@
|
|
|
1320
1320
|
{
|
|
1321
1321
|
"path": "src/public-contract/package-set-validators.generated.js",
|
|
1322
1322
|
"mode": 420,
|
|
1323
|
-
"bytes":
|
|
1324
|
-
"sha256": "
|
|
1323
|
+
"bytes": 174791,
|
|
1324
|
+
"sha256": "dcdaa863445667c04b834a84a7233a350c904a4504daa7f367ec9f0a62b7f54a"
|
|
1325
1325
|
},
|
|
1326
1326
|
{
|
|
1327
1327
|
"path": "src/public-contract/package-set.js",
|
|
@@ -1339,13 +1339,13 @@
|
|
|
1339
1339
|
"path": "src/public-contract/packageset06/contract.json",
|
|
1340
1340
|
"mode": 420,
|
|
1341
1341
|
"bytes": 307339,
|
|
1342
|
-
"sha256": "
|
|
1342
|
+
"sha256": "f888a3fc9177d7d7ff45c46f34fbb66247c9a2aa805b049008ed7b58bbbd8d0d"
|
|
1343
1343
|
},
|
|
1344
1344
|
{
|
|
1345
1345
|
"path": "src/public-contract/packageset06/generation-manifest.json",
|
|
1346
1346
|
"mode": 420,
|
|
1347
1347
|
"bytes": 19158,
|
|
1348
|
-
"sha256": "
|
|
1348
|
+
"sha256": "69a607a32ec6f941705538f8d373e170c7a22b3ac27e68e5936c758602b4bae5"
|
|
1349
1349
|
},
|
|
1350
1350
|
{
|
|
1351
1351
|
"path": "src/public-contract/packageset06/read-api.d.ts",
|
|
@@ -1518,14 +1518,14 @@
|
|
|
1518
1518
|
{
|
|
1519
1519
|
"path": "src/public-contract/protected-browser-contract/contract.json",
|
|
1520
1520
|
"mode": 420,
|
|
1521
|
-
"bytes":
|
|
1522
|
-
"sha256": "
|
|
1521
|
+
"bytes": 266345,
|
|
1522
|
+
"sha256": "959749b1e9ae54e187e4a7c191ffdf6779eac8527406f12052e99b72457d94fb"
|
|
1523
1523
|
},
|
|
1524
1524
|
{
|
|
1525
1525
|
"path": "src/public-contract/protected-browser-contract/descriptor.json",
|
|
1526
1526
|
"mode": 420,
|
|
1527
1527
|
"bytes": 176,
|
|
1528
|
-
"sha256": "
|
|
1528
|
+
"sha256": "77c43c4b40199ca444839367fc7de70dbebe6746ee6c931b00e6daee324072dd"
|
|
1529
1529
|
},
|
|
1530
1530
|
{
|
|
1531
1531
|
"path": "src/public-contract/protected-browser-contract/schemas/BrowserProtectedAdmissionResult.json",
|
|
@@ -1716,8 +1716,8 @@
|
|
|
1716
1716
|
{
|
|
1717
1717
|
"path": "src/public-contract/protected-source-contract.generated.json",
|
|
1718
1718
|
"mode": 420,
|
|
1719
|
-
"bytes":
|
|
1720
|
-
"sha256": "
|
|
1719
|
+
"bytes": 349367,
|
|
1720
|
+
"sha256": "20b9c68841fb1be148b0c9d42c348e88c222cc18e0a81e68bf6ce73f69df025a"
|
|
1721
1721
|
},
|
|
1722
1722
|
{
|
|
1723
1723
|
"path": "src/public-contract/protected-source-delivery.js",
|
|
@@ -1728,8 +1728,8 @@
|
|
|
1728
1728
|
{
|
|
1729
1729
|
"path": "src/public-contract/protected-source-node.d.ts",
|
|
1730
1730
|
"mode": 420,
|
|
1731
|
-
"bytes":
|
|
1732
|
-
"sha256": "
|
|
1731
|
+
"bytes": 10225,
|
|
1732
|
+
"sha256": "3bd0a1edb386e555d71a2f1876f8deeeb9edff2828d888808b8bd5bdb2ac159e"
|
|
1733
1733
|
},
|
|
1734
1734
|
{
|
|
1735
1735
|
"path": "src/public-contract/protected-source-node.js",
|
|
@@ -1776,8 +1776,8 @@
|
|
|
1776
1776
|
{
|
|
1777
1777
|
"path": "src/public-contract/protection-contract.generated.json",
|
|
1778
1778
|
"mode": 420,
|
|
1779
|
-
"bytes":
|
|
1780
|
-
"sha256": "
|
|
1779
|
+
"bytes": 89249,
|
|
1780
|
+
"sha256": "71918234d0f8ac5fa76e494b9f85846f15f4bcc24f6fa7fd3fd51bf5f2047a5d"
|
|
1781
1781
|
},
|
|
1782
1782
|
{
|
|
1783
1783
|
"path": "src/public-contract/protection-crypto.js",
|
|
@@ -1812,8 +1812,8 @@
|
|
|
1812
1812
|
{
|
|
1813
1813
|
"path": "src/public-contract/protection-node.d.ts",
|
|
1814
1814
|
"mode": 420,
|
|
1815
|
-
"bytes":
|
|
1816
|
-
"sha256": "
|
|
1815
|
+
"bytes": 15820,
|
|
1816
|
+
"sha256": "f62fbd9af98b1c48f4db9bde6995b0fa93d90cf489f666478c13ad181374e391"
|
|
1817
1817
|
},
|
|
1818
1818
|
{
|
|
1819
1819
|
"path": "src/public-contract/protection-node.js",
|
|
@@ -1842,8 +1842,26 @@
|
|
|
1842
1842
|
{
|
|
1843
1843
|
"path": "src/public-contract/protection-validators.generated.js",
|
|
1844
1844
|
"mode": 420,
|
|
1845
|
-
"bytes":
|
|
1846
|
-
"sha256": "
|
|
1845
|
+
"bytes": 4243794,
|
|
1846
|
+
"sha256": "047c9b204b8e2a02c5844bd8bcf9edf3470461b1b84953707478b4a6a108c583"
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"path": "src/public-contract/public-contract.d.ts",
|
|
1850
|
+
"mode": 420,
|
|
1851
|
+
"bytes": 747,
|
|
1852
|
+
"sha256": "6f648f1cdd6f26d6d846d6ee0b5e144068b329f1b73e628884f82df2038e3d24"
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
"path": "src/public-contract/public-contract.js",
|
|
1856
|
+
"mode": 420,
|
|
1857
|
+
"bytes": 1533,
|
|
1858
|
+
"sha256": "985f1f52221743ff5c84d32fc47f45db88f7a11b814a5897192788718c1245bd"
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"path": "src/public-contract/public-contract.mjs",
|
|
1862
|
+
"mode": 420,
|
|
1863
|
+
"bytes": 131,
|
|
1864
|
+
"sha256": "70a1d51f5b958df086e3a200857822f4f9d6f86ff708045873c60f06fed38299"
|
|
1847
1865
|
},
|
|
1848
1866
|
{
|
|
1849
1867
|
"path": "src/public-contract/r2-plan.js",
|
|
@@ -1891,7 +1909,7 @@
|
|
|
1891
1909
|
"path": "src/public-contract/retained-browser06/contract.json",
|
|
1892
1910
|
"mode": 420,
|
|
1893
1911
|
"bytes": 272668,
|
|
1894
|
-
"sha256": "
|
|
1912
|
+
"sha256": "e5d093326721069d29d3cd9295f2e48dd4e1c9ca593001cbe917b5f916c3bbe8"
|
|
1895
1913
|
},
|
|
1896
1914
|
{
|
|
1897
1915
|
"path": "src/public-contract/retained-browser06/core-api.d.ts",
|
|
@@ -2221,13 +2239,13 @@
|
|
|
2221
2239
|
"path": "src/public-contract/retained/contract.json",
|
|
2222
2240
|
"mode": 420,
|
|
2223
2241
|
"bytes": 291233,
|
|
2224
|
-
"sha256": "
|
|
2242
|
+
"sha256": "c9ece7138801ceed528693d8277ea873e1eee874eb567ef35f0e38e72b238121"
|
|
2225
2243
|
},
|
|
2226
2244
|
{
|
|
2227
2245
|
"path": "src/public-contract/retained/generation-manifest.json",
|
|
2228
2246
|
"mode": 420,
|
|
2229
2247
|
"bytes": 20539,
|
|
2230
|
-
"sha256": "
|
|
2248
|
+
"sha256": "673c70d093adfcd37023aa92aac0d1f007177c3c2713dcd57c0a3ff019b0d56d"
|
|
2231
2249
|
},
|
|
2232
2250
|
{
|
|
2233
2251
|
"path": "src/public-contract/retained/read-api.d.ts",
|
|
@@ -2419,13 +2437,13 @@
|
|
|
2419
2437
|
"path": "src/public-contract/sectionbytes/contract.json",
|
|
2420
2438
|
"mode": 420,
|
|
2421
2439
|
"bytes": 31759,
|
|
2422
|
-
"sha256": "
|
|
2440
|
+
"sha256": "208423043515f4149dd8d0cbf270ae07dc137bf6f0b79a70bfe61f7996365f9f"
|
|
2423
2441
|
},
|
|
2424
2442
|
{
|
|
2425
2443
|
"path": "src/public-contract/sectionbytes/generation-manifest.json",
|
|
2426
2444
|
"mode": 420,
|
|
2427
2445
|
"bytes": 5189,
|
|
2428
|
-
"sha256": "
|
|
2446
|
+
"sha256": "58bebeb594f68fb0300b201e48179d428ffa9f18d1cea83beccb0ea9724e51a9"
|
|
2429
2447
|
},
|
|
2430
2448
|
{
|
|
2431
2449
|
"path": "src/public-contract/sectionbytes/schemas/NativeSectionByteAccepted06.json",
|
|
@@ -2502,8 +2520,8 @@
|
|
|
2502
2520
|
{
|
|
2503
2521
|
"path": "src/public-contract/sections-bytes-node.js",
|
|
2504
2522
|
"mode": 420,
|
|
2505
|
-
"bytes":
|
|
2506
|
-
"sha256": "
|
|
2523
|
+
"bytes": 10515,
|
|
2524
|
+
"sha256": "35d1593a541e6173f4e0f77dfba299fc96f8863fa48c26c056fbe5564d04ced9"
|
|
2507
2525
|
},
|
|
2508
2526
|
{
|
|
2509
2527
|
"path": "src/public-contract/sections-bytes-node.mjs",
|
|
@@ -2520,8 +2538,8 @@
|
|
|
2520
2538
|
{
|
|
2521
2539
|
"path": "src/public-contract/sections-node.js",
|
|
2522
2540
|
"mode": 420,
|
|
2523
|
-
"bytes":
|
|
2524
|
-
"sha256": "
|
|
2541
|
+
"bytes": 12756,
|
|
2542
|
+
"sha256": "6225d928e067558f3c72d0c95c89d5e1ee32ffeb2600640a4034ebed7d0d2125"
|
|
2525
2543
|
},
|
|
2526
2544
|
{
|
|
2527
2545
|
"path": "src/public-contract/sections-node.mjs",
|
|
@@ -2533,13 +2551,13 @@
|
|
|
2533
2551
|
"path": "src/public-contract/sections/contract.json",
|
|
2534
2552
|
"mode": 420,
|
|
2535
2553
|
"bytes": 547981,
|
|
2536
|
-
"sha256": "
|
|
2554
|
+
"sha256": "f871a8be8a91105f4a1a7bd4930e712bf3b012ce8b6fd17def7cf4eaaef27379"
|
|
2537
2555
|
},
|
|
2538
2556
|
{
|
|
2539
2557
|
"path": "src/public-contract/sections/generation-manifest.json",
|
|
2540
2558
|
"mode": 420,
|
|
2541
2559
|
"bytes": 19987,
|
|
2542
|
-
"sha256": "
|
|
2560
|
+
"sha256": "7aae2e9ddea76a1f37d9dddf1f80fe23eb62867b6eca52c08d4789e732d0196e"
|
|
2543
2561
|
},
|
|
2544
2562
|
{
|
|
2545
2563
|
"path": "src/public-contract/sections/types.d.ts",
|
|
@@ -2646,14 +2664,14 @@
|
|
|
2646
2664
|
{
|
|
2647
2665
|
"path": "src/public-contract/source-validators.generated.js",
|
|
2648
2666
|
"mode": 420,
|
|
2649
|
-
"bytes":
|
|
2650
|
-
"sha256": "
|
|
2667
|
+
"bytes": 318976,
|
|
2668
|
+
"sha256": "411c884c9d9ba33860e51806fbfb00fb56b2e0c2c0dc4e61dccaf67d820ca34e"
|
|
2651
2669
|
},
|
|
2652
2670
|
{
|
|
2653
2671
|
"path": "src/public-contract/source06/contract.json",
|
|
2654
2672
|
"mode": 420,
|
|
2655
2673
|
"bytes": 76676,
|
|
2656
|
-
"sha256": "
|
|
2674
|
+
"sha256": "f34c71dc3cc0a28864b3151e13e45bc50923ddff18e1171abec6a1d6eee91914"
|
|
2657
2675
|
},
|
|
2658
2676
|
{
|
|
2659
2677
|
"path": "src/public-contract/source06/types.d.ts",
|
|
@@ -2758,7 +2776,7 @@
|
|
|
2758
2776
|
"sha256": "e1583088d70724dab0548f336bfbea9ed2b532a8390330ff11fa548181b792c0"
|
|
2759
2777
|
}
|
|
2760
2778
|
],
|
|
2761
|
-
"sha256": "
|
|
2779
|
+
"sha256": "16234f84440252b0c449c529de71435630cc79816f88ff0d0a8a2b4d852c1274",
|
|
2762
2780
|
"publicEntry": "src/public-contract/index.js",
|
|
2763
2781
|
"dependencies": {
|
|
2764
2782
|
"ajv": "8.20.0",
|
|
@@ -2772,7 +2790,7 @@
|
|
|
2772
2790
|
},
|
|
2773
2791
|
{
|
|
2774
2792
|
"name": "@aikdna/kdna-read",
|
|
2775
|
-
"version": "0.11.
|
|
2793
|
+
"version": "0.11.3",
|
|
2776
2794
|
"files": [
|
|
2777
2795
|
{
|
|
2778
2796
|
"path": "LICENSE",
|
|
@@ -2789,14 +2807,14 @@
|
|
|
2789
2807
|
{
|
|
2790
2808
|
"path": "README.md",
|
|
2791
2809
|
"mode": 420,
|
|
2792
|
-
"bytes":
|
|
2793
|
-
"sha256": "
|
|
2810
|
+
"bytes": 14458,
|
|
2811
|
+
"sha256": "61f75feda02f91a42cc9bafeab07d5caede70d0f107f165bf5ab399481bdc36c"
|
|
2794
2812
|
},
|
|
2795
2813
|
{
|
|
2796
2814
|
"path": "package.json",
|
|
2797
2815
|
"mode": 420,
|
|
2798
|
-
"bytes":
|
|
2799
|
-
"sha256": "
|
|
2816
|
+
"bytes": 4180,
|
|
2817
|
+
"sha256": "b7989ed09ee98e72f01029d29e1049a923e94e28cb8761472cf111be07b676fd"
|
|
2800
2818
|
},
|
|
2801
2819
|
{
|
|
2802
2820
|
"path": "schema/read-contract-0.3.schema.json",
|
|
@@ -2987,8 +3005,8 @@
|
|
|
2987
3005
|
{
|
|
2988
3006
|
"path": "src/installation.generated.json",
|
|
2989
3007
|
"mode": 420,
|
|
2990
|
-
"bytes":
|
|
2991
|
-
"sha256": "
|
|
3008
|
+
"bytes": 59,
|
|
3009
|
+
"sha256": "aa847abb9db3d385b1240f03260281e72bb60b942bac9b23089156838401392f"
|
|
2992
3010
|
},
|
|
2993
3011
|
{
|
|
2994
3012
|
"path": "src/installation.js",
|
|
@@ -3029,8 +3047,8 @@
|
|
|
3029
3047
|
{
|
|
3030
3048
|
"path": "src/package-set-contract.generated.json",
|
|
3031
3049
|
"mode": 420,
|
|
3032
|
-
"bytes":
|
|
3033
|
-
"sha256": "
|
|
3050
|
+
"bytes": 7534,
|
|
3051
|
+
"sha256": "7459682aaff8ba27f0b454ff280129352c7e53bc1c4ca24ec9ed4984126d7865"
|
|
3034
3052
|
},
|
|
3035
3053
|
{
|
|
3036
3054
|
"path": "src/package-set-host.js",
|
|
@@ -3096,7 +3114,7 @@
|
|
|
3096
3114
|
"path": "src/protected-browser-contract.json",
|
|
3097
3115
|
"mode": 420,
|
|
3098
3116
|
"bytes": 176,
|
|
3099
|
-
"sha256": "
|
|
3117
|
+
"sha256": "77c43c4b40199ca444839367fc7de70dbebe6746ee6c931b00e6daee324072dd"
|
|
3100
3118
|
},
|
|
3101
3119
|
{
|
|
3102
3120
|
"path": "src/protected-browser-delivery.js",
|
|
@@ -3185,8 +3203,8 @@
|
|
|
3185
3203
|
{
|
|
3186
3204
|
"path": "src/protection-node.js",
|
|
3187
3205
|
"mode": 420,
|
|
3188
|
-
"bytes":
|
|
3189
|
-
"sha256": "
|
|
3206
|
+
"bytes": 6338,
|
|
3207
|
+
"sha256": "1c61b354d460fe5b1edd71d7708985e9ed5ebb94ced263631b2b913a1295b3f0"
|
|
3190
3208
|
},
|
|
3191
3209
|
{
|
|
3192
3210
|
"path": "src/protection-node.mjs",
|
|
@@ -3282,13 +3300,13 @@
|
|
|
3282
3300
|
"path": "src/sections/contract.json",
|
|
3283
3301
|
"mode": 420,
|
|
3284
3302
|
"bytes": 547981,
|
|
3285
|
-
"sha256": "
|
|
3303
|
+
"sha256": "f871a8be8a91105f4a1a7bd4930e712bf3b012ce8b6fd17def7cf4eaaef27379"
|
|
3286
3304
|
},
|
|
3287
3305
|
{
|
|
3288
3306
|
"path": "src/sections/generation-manifest.json",
|
|
3289
3307
|
"mode": 420,
|
|
3290
3308
|
"bytes": 19987,
|
|
3291
|
-
"sha256": "
|
|
3309
|
+
"sha256": "7aae2e9ddea76a1f37d9dddf1f80fe23eb62867b6eca52c08d4789e732d0196e"
|
|
3292
3310
|
},
|
|
3293
3311
|
{
|
|
3294
3312
|
"path": "src/sections/types.d.ts",
|
|
@@ -3357,19 +3375,19 @@
|
|
|
3357
3375
|
"sha256": "94ed9f68fdb3dea962b08e925c8701824db5d91700a9ad45f0727e9f46d97497"
|
|
3358
3376
|
}
|
|
3359
3377
|
],
|
|
3360
|
-
"sha256": "
|
|
3378
|
+
"sha256": "5fd1efc5bfd28ce8c9724fefb09c1abed35dde2c16f8498b572da5c640679f4c",
|
|
3361
3379
|
"publicEntry": "src/index.js",
|
|
3362
3380
|
"dependencies": {
|
|
3363
3381
|
"ajv": "8.20.0"
|
|
3364
3382
|
},
|
|
3365
3383
|
"peerDependencies": {
|
|
3366
|
-
"@aikdna/kdna-core": "0.37.
|
|
3384
|
+
"@aikdna/kdna-core": "0.37.2"
|
|
3367
3385
|
},
|
|
3368
3386
|
"optionalDependencies": {}
|
|
3369
3387
|
},
|
|
3370
3388
|
{
|
|
3371
3389
|
"name": "@aikdna/kdna-studio-core",
|
|
3372
|
-
"version": "4.
|
|
3390
|
+
"version": "4.1.0",
|
|
3373
3391
|
"files": [
|
|
3374
3392
|
{
|
|
3375
3393
|
"path": "LICENSE",
|
|
@@ -3386,20 +3404,20 @@
|
|
|
3386
3404
|
{
|
|
3387
3405
|
"path": "README.md",
|
|
3388
3406
|
"mode": 420,
|
|
3389
|
-
"bytes":
|
|
3390
|
-
"sha256": "
|
|
3407
|
+
"bytes": 3831,
|
|
3408
|
+
"sha256": "bfe5882f17675d6f9d46bc3fa8c8821462ebb5e0bf3dcd1cc7bdef772fd0e785"
|
|
3391
3409
|
},
|
|
3392
3410
|
{
|
|
3393
3411
|
"path": "docs/CURRENT-CREATION-CONTRACT.md",
|
|
3394
3412
|
"mode": 420,
|
|
3395
|
-
"bytes":
|
|
3396
|
-
"sha256": "
|
|
3413
|
+
"bytes": 19874,
|
|
3414
|
+
"sha256": "ca3fe7ace0410242bd20aac91d45fbd901f0b6863225fe9c3f6b63ac70492d7b"
|
|
3397
3415
|
},
|
|
3398
3416
|
{
|
|
3399
3417
|
"path": "package.json",
|
|
3400
3418
|
"mode": 420,
|
|
3401
|
-
"bytes":
|
|
3402
|
-
"sha256": "
|
|
3419
|
+
"bytes": 3058,
|
|
3420
|
+
"sha256": "3f79d834c4b25ffaa48f6a33d47efc30ad4150a6bdb6e203d83f57c293666f00"
|
|
3403
3421
|
},
|
|
3404
3422
|
{
|
|
3405
3423
|
"path": "src/compile/component-compiler.js",
|
|
@@ -3416,14 +3434,14 @@
|
|
|
3416
3434
|
{
|
|
3417
3435
|
"path": "src/compile/component-materialization.js",
|
|
3418
3436
|
"mode": 420,
|
|
3419
|
-
"bytes":
|
|
3420
|
-
"sha256": "
|
|
3437
|
+
"bytes": 12082,
|
|
3438
|
+
"sha256": "1279ef69ff9a02bb3ec3a6fd65ff37a9f7cb8e5c482f65612400ff9c9f4296a5"
|
|
3421
3439
|
},
|
|
3422
3440
|
{
|
|
3423
3441
|
"path": "src/creation-engine/component-input.js",
|
|
3424
3442
|
"mode": 420,
|
|
3425
|
-
"bytes":
|
|
3426
|
-
"sha256": "
|
|
3443
|
+
"bytes": 9498,
|
|
3444
|
+
"sha256": "fc013a968f7242da85308d4f396d6cc2526207dfdded37cbb53a7087fde6dcc7"
|
|
3427
3445
|
},
|
|
3428
3446
|
{
|
|
3429
3447
|
"path": "src/creation-engine/component-runtime-binding.js",
|
|
@@ -3434,14 +3452,14 @@
|
|
|
3434
3452
|
{
|
|
3435
3453
|
"path": "src/creation-engine/component-runtime-binding.json",
|
|
3436
3454
|
"mode": 420,
|
|
3437
|
-
"bytes":
|
|
3438
|
-
"sha256": "
|
|
3455
|
+
"bytes": 270875,
|
|
3456
|
+
"sha256": "d97b54803f804cb6f9796a04ae68e2005f8b78d89deccd12ccdb86cfff91ebf8"
|
|
3439
3457
|
},
|
|
3440
3458
|
{
|
|
3441
3459
|
"path": "src/creation-engine/component-session.js",
|
|
3442
3460
|
"mode": 420,
|
|
3443
|
-
"bytes":
|
|
3444
|
-
"sha256": "
|
|
3461
|
+
"bytes": 12341,
|
|
3462
|
+
"sha256": "07e0ea153cca4bd20718ad526a1a57d260b5399bf769ce90768cd89c380e6116"
|
|
3445
3463
|
},
|
|
3446
3464
|
{
|
|
3447
3465
|
"path": "src/creation-engine/creation-context.js",
|
|
@@ -3452,14 +3470,14 @@
|
|
|
3452
3470
|
{
|
|
3453
3471
|
"path": "src/evidence/component-audit.js",
|
|
3454
3472
|
"mode": 420,
|
|
3455
|
-
"bytes":
|
|
3456
|
-
"sha256": "
|
|
3473
|
+
"bytes": 8089,
|
|
3474
|
+
"sha256": "ea8f60a9f83848e5ea8482c9714a9c235db0d8f204ae7f533743d9d52f2918f1"
|
|
3457
3475
|
},
|
|
3458
3476
|
{
|
|
3459
3477
|
"path": "src/evidence/component-evidence.js",
|
|
3460
3478
|
"mode": 420,
|
|
3461
|
-
"bytes":
|
|
3462
|
-
"sha256": "
|
|
3479
|
+
"bytes": 7352,
|
|
3480
|
+
"sha256": "93cf907c1d50b1ba978e7675b8bc0f82578ec22dcb06a164574f32121305930a"
|
|
3463
3481
|
},
|
|
3464
3482
|
{
|
|
3465
3483
|
"path": "src/evidence/component-json.js",
|
|
@@ -3486,12 +3504,12 @@
|
|
|
3486
3504
|
"sha256": "f32003db722d963a2a0fcbcc88954a4c73d75b6f82c46fd89e731f3db2b57f3f"
|
|
3487
3505
|
}
|
|
3488
3506
|
],
|
|
3489
|
-
"sha256": "
|
|
3507
|
+
"sha256": "76a5e7dcca71b28259e5058d241304912713d72e9defba98ce8a03f7e4d1e22a",
|
|
3490
3508
|
"publicEntry": "src/index.js",
|
|
3491
3509
|
"dependencies": {
|
|
3492
3510
|
"cbor-x": "1.6.5",
|
|
3493
|
-
"@aikdna/kdna-core": "0.37.
|
|
3494
|
-
"@aikdna/kdna-read": "0.11.
|
|
3511
|
+
"@aikdna/kdna-core": "0.37.2",
|
|
3512
|
+
"@aikdna/kdna-read": "0.11.3"
|
|
3495
3513
|
},
|
|
3496
3514
|
"peerDependencies": {},
|
|
3497
3515
|
"optionalDependencies": {}
|
|
@@ -8,6 +8,7 @@ const net = require('node:net');
|
|
|
8
8
|
const os = require('node:os');
|
|
9
9
|
const tty = require('node:tty');
|
|
10
10
|
const { TextDecoder } = require('node:util');
|
|
11
|
+
const { spawnSync } = require('node:child_process');
|
|
11
12
|
const { createRequire } = require('node:module');
|
|
12
13
|
const bindings = require('./public-bindings.json');
|
|
13
14
|
const LIMIT = 1024 * 1024;
|
|
@@ -190,9 +191,10 @@ function dependencies() {
|
|
|
190
191
|
|
|
191
192
|
function options(argv) {
|
|
192
193
|
const command = argv[0] || 'help';
|
|
193
|
-
if (!['help', '--help', '--version', 'session', 'verify', 'read'].includes(command)) fail('CLI_COMMAND_UNSUPPORTED');
|
|
194
|
+
if (!['help', '--help', '--version', 'session', 'verify', 'read', 'export06'].includes(command)) fail('CLI_COMMAND_UNSUPPORTED');
|
|
194
195
|
const opts = { command, materials: [] };
|
|
195
196
|
const allowed = command === 'session' ? ['--out', '--human-fd', '--agent-adoption-fd', '--delegation-record', '--text', '--interview', '--synthetic-fixture', '--password-fd'] :
|
|
197
|
+
command === 'export06' ? ['--bundle', '--output', '--kdna'] :
|
|
196
198
|
['verify', 'read'].includes(command) ? ['--bundle', ...(command === 'read' ? ['--allow-read', '--budget', '--judgment'] : [])] : [];
|
|
197
199
|
const seen = new Set();
|
|
198
200
|
for (let i = 1; i < argv.length; i++) {
|
|
@@ -208,7 +210,7 @@ function options(argv) {
|
|
|
208
210
|
else opts[flag] = value;
|
|
209
211
|
}
|
|
210
212
|
if (command === 'session' && !opts['--out']) fail('CLI_OUTPUT_REQUIRED');
|
|
211
|
-
if (['verify', 'read'].includes(command) && !opts['--bundle']) fail('CLI_BUNDLE_REQUIRED');
|
|
213
|
+
if (['verify', 'read', 'export06'].includes(command) && !opts['--bundle']) fail('CLI_BUNDLE_REQUIRED');
|
|
212
214
|
if (opts['--human-fd'] && (!/^\d+$/.test(opts['--human-fd']) || Number(opts['--human-fd']) < 3)) fail('CLI_HUMAN_CHANNEL_INVALID');
|
|
213
215
|
if (opts['--agent-adoption-fd'] && (!/^\d+$/.test(opts['--agent-adoption-fd']) || Number(opts['--agent-adoption-fd']) < 3)) fail('CLI_AGENT_ADOPTION_CHANNEL_INVALID');
|
|
214
216
|
if (Boolean(opts['--agent-adoption-fd']) !== Boolean(opts['--delegation-record']) || (opts['--agent-adoption-fd'] && opts['--human-fd'])) fail('CLI_ADOPTION_OPTIONS_INVALID');
|
|
@@ -424,6 +426,7 @@ async function session(opts) {
|
|
|
424
426
|
case 'brief': result = workspace.agent.setBrief(value.data); break;
|
|
425
427
|
case 'propose': result = operations.propose(value.data); break;
|
|
426
428
|
case 'revise': result = operations.revise(value.data); break;
|
|
429
|
+
case 'system': result = workspace.agent.declareSystem(value.data); break;
|
|
427
430
|
case 'interview': {
|
|
428
431
|
record(value.data, ['title', 'question']); const question = text(value.data.question);
|
|
429
432
|
phase = 'human';
|
|
@@ -492,6 +495,51 @@ async function consume(opts) {
|
|
|
492
495
|
if (result.channel !== 'read_envelope' || result.envelope.status !== 'ready') process.exitCode = 3;
|
|
493
496
|
}
|
|
494
497
|
|
|
498
|
+
const KDNA_CLI_GUIDANCE =
|
|
499
|
+
'kdna CLI not found: obtain it per the public instructions (the Git channel or the published exact coordinate) and pass --kdna EXECUTABLE or set KDNA_CLI_BIN. This step never falls back to a private conversion path.';
|
|
500
|
+
|
|
501
|
+
function resolveKdnaCli(opts) {
|
|
502
|
+
const candidates = [];
|
|
503
|
+
if (opts['--kdna'] !== undefined) candidates.push(opts['--kdna']);
|
|
504
|
+
else if (process.env.KDNA_CLI_BIN) candidates.push(process.env.KDNA_CLI_BIN);
|
|
505
|
+
else for (const dir of (process.env.PATH || '').split(path.delimiter)) if (dir) candidates.push(path.join(dir, 'kdna'));
|
|
506
|
+
for (const candidate of candidates) {
|
|
507
|
+
try {
|
|
508
|
+
if (fs.statSync(candidate).isFile()) return candidate;
|
|
509
|
+
} catch { /* keep looking */ }
|
|
510
|
+
}
|
|
511
|
+
process.stderr.write(KDNA_CLI_GUIDANCE + '\n');
|
|
512
|
+
fail('CLI_KDNA_CONVERT_MISSING');
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
// Explicit export to the 0.6 container: the bundle is read-only here; the
|
|
516
|
+
// conversion is the published kdna CLI's convert step, never a private path.
|
|
517
|
+
function export06(opts) {
|
|
518
|
+
const bundle = path.resolve(opts['--bundle']);
|
|
519
|
+
const asset = path.join(bundle, 'asset.kdna');
|
|
520
|
+
let entry;
|
|
521
|
+
try { entry = fs.statSync(asset); } catch { fail('CLI_BUNDLE_ASSET_MISSING'); }
|
|
522
|
+
if (!entry.isFile()) fail('CLI_BUNDLE_ASSET_MISSING');
|
|
523
|
+
// The delivered bundle is a sealed read-only unit (directory and files);
|
|
524
|
+
// the converted file goes beside it, never inside.
|
|
525
|
+
const output = opts['--output'] === undefined ? bundle + '.0.6.kdna' : path.resolve(opts['--output']);
|
|
526
|
+
if (output === asset) fail('CLI_EXPORT06_OUTPUT_INVALID');
|
|
527
|
+
const kdna = resolveKdnaCli(opts);
|
|
528
|
+
const bytes = fs.readFileSync(asset);
|
|
529
|
+
const expected = 'sha256:' + crypto.createHash('sha256').update(bytes).digest('hex');
|
|
530
|
+
const result = spawnSync(kdna, ['convert', asset, '--expected-a', expected, '--output', output, '--allow-source', '--json'], {
|
|
531
|
+
encoding: 'utf8',
|
|
532
|
+
maxBuffer: 16 * 1024 * 1024,
|
|
533
|
+
});
|
|
534
|
+
if (result.error) {
|
|
535
|
+
if (result.error.code === 'ENOENT') { process.stderr.write(KDNA_CLI_GUIDANCE + '\n'); fail('CLI_KDNA_CONVERT_MISSING'); }
|
|
536
|
+
fail('CLI_EXPORT06_EXECUTION_FAILED');
|
|
537
|
+
}
|
|
538
|
+
if (typeof result.stdout === 'string' && result.stdout) process.stdout.write(result.stdout);
|
|
539
|
+
if (typeof result.stderr === 'string' && result.stderr) process.stderr.write(result.stderr);
|
|
540
|
+
process.exitCode = Number.isInteger(result.status) ? result.status : 1;
|
|
541
|
+
}
|
|
542
|
+
|
|
495
543
|
async function main(argv) {
|
|
496
544
|
const opts = options(argv);
|
|
497
545
|
if (opts.command === '--version') { process.stdout.write(require('../package.json').version + '\n'); return; }
|
|
@@ -499,9 +547,11 @@ async function main(argv) {
|
|
|
499
547
|
process.stdout.write('kdna-studio session --out NEW_DIRECTORY [--text FILE] [--interview FILE] [--human-fd 3 | --agent-adoption-fd 3 --delegation-record FILE] [--password-fd N]\n' +
|
|
500
548
|
'--password-fd N exports the bundle as a password-protected container; the password is read once from pipe fd N (never argv or the agent stream), and the recovery code is displayed exactly once on stderr.\n' +
|
|
501
549
|
'kdna-studio verify --bundle DIRECTORY\nkdna-studio read --bundle DIRECTORY [--allow-read] [--judgment 1] [--budget BYTES]\n' +
|
|
550
|
+
'kdna-studio export06 --bundle DIRECTORY [--output FILE] [--kdna EXECUTABLE]\n' +
|
|
551
|
+
' exports the bundle to the 0.6 container by explicitly invoking the kdna CLI convert step; the default output is the new sibling file DIRECTORY.0.6.kdna, and the sealed bundle contents are never written.\n' +
|
|
502
552
|
'Agent operation JSONL uses stdin/stdout. Adoption replies use the terminal or a separate human/authorized-Agent fd, with explicit channel kind.\n' +
|
|
503
553
|
'Ordinary and component-rich alternatives use the same current live creation graph. See docs/TERMINAL_AGENT_CREATION.md.\n'); return;
|
|
504
554
|
}
|
|
505
|
-
if (opts.command === 'session') await session(opts); else await consume(opts);
|
|
555
|
+
if (opts.command === 'session') await session(opts); else if (opts.command === 'export06') export06(opts); else await consume(opts);
|
|
506
556
|
}
|
|
507
557
|
module.exports = { main };
|