@kumwe/studio-core 0.1.0-alpha.2

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.
Files changed (67) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +27 -0
  3. package/dist/canonical.d.ts +20 -0
  4. package/dist/canonical.d.ts.map +1 -0
  5. package/dist/canonical.js +100 -0
  6. package/dist/canonical.js.map +1 -0
  7. package/dist/clone.d.ts +2 -0
  8. package/dist/clone.d.ts.map +1 -0
  9. package/dist/clone.js +4 -0
  10. package/dist/clone.js.map +1 -0
  11. package/dist/commands.d.ts +12 -0
  12. package/dist/commands.d.ts.map +1 -0
  13. package/dist/commands.js +679 -0
  14. package/dist/commands.js.map +1 -0
  15. package/dist/contributions.d.ts +65 -0
  16. package/dist/contributions.d.ts.map +1 -0
  17. package/dist/contributions.js +302 -0
  18. package/dist/contributions.js.map +1 -0
  19. package/dist/entry-commands.d.ts +3 -0
  20. package/dist/entry-commands.d.ts.map +1 -0
  21. package/dist/entry-commands.js +36 -0
  22. package/dist/entry-commands.js.map +1 -0
  23. package/dist/history.d.ts +13 -0
  24. package/dist/history.d.ts.map +1 -0
  25. package/dist/history.js +63 -0
  26. package/dist/history.js.map +1 -0
  27. package/dist/index.d.ts +15 -0
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/index.js +15 -0
  30. package/dist/index.js.map +1 -0
  31. package/dist/migrations.d.ts +47 -0
  32. package/dist/migrations.d.ts.map +1 -0
  33. package/dist/migrations.js +83 -0
  34. package/dist/migrations.js.map +1 -0
  35. package/dist/model-commands.d.ts +3 -0
  36. package/dist/model-commands.d.ts.map +1 -0
  37. package/dist/model-commands.js +21 -0
  38. package/dist/model-commands.js.map +1 -0
  39. package/dist/negotiation.d.ts +23 -0
  40. package/dist/negotiation.d.ts.map +1 -0
  41. package/dist/negotiation.js +65 -0
  42. package/dist/negotiation.js.map +1 -0
  43. package/dist/recipes.d.ts +15 -0
  44. package/dist/recipes.d.ts.map +1 -0
  45. package/dist/recipes.js +34 -0
  46. package/dist/recipes.js.map +1 -0
  47. package/dist/registry.d.ts +17 -0
  48. package/dist/registry.d.ts.map +1 -0
  49. package/dist/registry.js +56 -0
  50. package/dist/registry.js.map +1 -0
  51. package/dist/schema-profile.d.ts +9 -0
  52. package/dist/schema-profile.d.ts.map +1 -0
  53. package/dist/schema-profile.js +387 -0
  54. package/dist/schema-profile.js.map +1 -0
  55. package/dist/semver.d.ts +20 -0
  56. package/dist/semver.d.ts.map +1 -0
  57. package/dist/semver.js +128 -0
  58. package/dist/semver.js.map +1 -0
  59. package/dist/session.d.ts +33 -0
  60. package/dist/session.d.ts.map +1 -0
  61. package/dist/session.js +113 -0
  62. package/dist/session.js.map +1 -0
  63. package/dist/validation.d.ts +13 -0
  64. package/dist/validation.d.ts.map +1 -0
  65. package/dist/validation.js +398 -0
  66. package/dist/validation.js.map +1 -0
  67. package/package.json +40 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Kumwe Studio contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # `@kumwe/studio-core`
2
+
3
+ Status: pre-Gate-A foundation alpha. The implemented kernel does not claim production completeness.
4
+
5
+ The framework-neutral state engine for Studio. It registers versioned blocks, validates blueprint
6
+ documents, applies typed commands without mutating caller-owned data, and maintains bounded
7
+ undo/redo history.
8
+
9
+ The implemented surface covers:
10
+
11
+ - `applyCommand` / `invertCommand` — the deterministic reducers for the canonical command
12
+ vocabulary (insert, remove, move, duplicate with ID remapping, reorder, property set/unset with
13
+ responsive overrides, binding set/remove, and atomic batches), with computed inverse commands
14
+ verified against the published command vectors;
15
+ - `applyEntryCommand` — the locale-guarded `set-field-value` reducer for entries;
16
+ - `StudioSession` — bounded history behind fail-closed session guards (read-only state, session
17
+ generation, expected revision), dirty tracking, and a validated selection model;
18
+ - `ContributionRuntime` — owner-aware, transactional contribution activation into immutable
19
+ registry generations with disable, reactivate, trust-revocation, stale-generation refusal, and
20
+ inspectable unresolved nodes;
21
+ - `validateBlueprint` and `BlockRegistry` — schema, limit, lock, and registry validation with
22
+ stable diagnostics;
23
+ - `canonicalStringify` / `canonicalUtf8Bytes` — the canonical cross-language serialization form
24
+ used for checksums.
25
+
26
+ The package has no DOM dependency. Web Components, Flutter clients, command-line tools, and server
27
+ adapters can therefore share the same command and validation semantics through the protocol.
@@ -0,0 +1,20 @@
1
+ import type { JsonValue } from '@kumwe/studio-protocol';
2
+ export interface CanonicalSerializationOptions {
3
+ maximumDepth?: number;
4
+ }
5
+ /**
6
+ * Serialize a bounded JSON value into the canonical cross-language form the
7
+ * portability contract defines for checksums: UTF-8 JSON, object members
8
+ * sorted by Unicode code unit, arrays in semantic order, minimal ECMA-404
9
+ * string escaping, and finite numbers only. Every conforming runtime MUST
10
+ * produce byte-identical output for the same value.
11
+ */
12
+ export declare function canonicalStringify(value: JsonValue, options?: Readonly<CanonicalSerializationOptions>): string;
13
+ /**
14
+ * The canonical UTF-8 bytes of a value; checksums in Studio contracts are
15
+ * computed over exactly these bytes with the algorithm the referencing
16
+ * contract names (SRI-style sha256 unless stated otherwise). Encoding is
17
+ * implemented locally so the core stays free of DOM and platform globals.
18
+ */
19
+ export declare function canonicalUtf8Bytes(value: JsonValue, options?: Readonly<CanonicalSerializationOptions>): Uint8Array;
20
+ //# sourceMappingURL=canonical.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"canonical.d.ts","sourceRoot":"","sources":["../src/canonical.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,MAAM,WAAW,6BAA6B;IAC5C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAID;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,SAAS,EAChB,OAAO,GAAE,QAAQ,CAAC,6BAA6B,CAAM,GACpD,MAAM,CAMR;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,SAAS,EAChB,OAAO,GAAE,QAAQ,CAAC,6BAA6B,CAAM,GACpD,UAAU,CA4BZ"}
@@ -0,0 +1,100 @@
1
+ const DEFAULT_MAXIMUM_DEPTH = 64;
2
+ /**
3
+ * Serialize a bounded JSON value into the canonical cross-language form the
4
+ * portability contract defines for checksums: UTF-8 JSON, object members
5
+ * sorted by Unicode code unit, arrays in semantic order, minimal ECMA-404
6
+ * string escaping, and finite numbers only. Every conforming runtime MUST
7
+ * produce byte-identical output for the same value.
8
+ */
9
+ export function canonicalStringify(value, options = {}) {
10
+ const maximumDepth = options.maximumDepth ?? DEFAULT_MAXIMUM_DEPTH;
11
+ if (!Number.isInteger(maximumDepth) || maximumDepth < 1) {
12
+ throw new RangeError('Canonical serialization depth must be a positive integer.');
13
+ }
14
+ return serialize(value, maximumDepth, 0);
15
+ }
16
+ /**
17
+ * The canonical UTF-8 bytes of a value; checksums in Studio contracts are
18
+ * computed over exactly these bytes with the algorithm the referencing
19
+ * contract names (SRI-style sha256 unless stated otherwise). Encoding is
20
+ * implemented locally so the core stays free of DOM and platform globals.
21
+ */
22
+ export function canonicalUtf8Bytes(value, options = {}) {
23
+ const text = canonicalStringify(value, options);
24
+ const bytes = [];
25
+ for (const character of text) {
26
+ const codePoint = character.codePointAt(0);
27
+ if (codePoint === undefined) {
28
+ break;
29
+ }
30
+ if (codePoint <= 0x7f) {
31
+ bytes.push(codePoint);
32
+ }
33
+ else if (codePoint <= 0x7ff) {
34
+ bytes.push(0xc0 | (codePoint >> 6), 0x80 | (codePoint & 0x3f));
35
+ }
36
+ else if (codePoint <= 0xffff) {
37
+ bytes.push(0xe0 | (codePoint >> 12), 0x80 | ((codePoint >> 6) & 0x3f), 0x80 | (codePoint & 0x3f));
38
+ }
39
+ else {
40
+ bytes.push(0xf0 | (codePoint >> 18), 0x80 | ((codePoint >> 12) & 0x3f), 0x80 | ((codePoint >> 6) & 0x3f), 0x80 | (codePoint & 0x3f));
41
+ }
42
+ }
43
+ return Uint8Array.from(bytes);
44
+ }
45
+ function serialize(value, maximumDepth, depth) {
46
+ if (value === null) {
47
+ return 'null';
48
+ }
49
+ switch (typeof value) {
50
+ case 'boolean':
51
+ return value ? 'true' : 'false';
52
+ case 'number': {
53
+ if (!Number.isFinite(value)) {
54
+ throw new TypeError('Canonical JSON cannot represent a non-finite number.');
55
+ }
56
+ // JSON.stringify implements the deterministic ECMAScript number
57
+ // grammar; Object.is separates -0, which canonicalizes to 0.
58
+ return JSON.stringify(Object.is(value, -0) ? 0 : value);
59
+ }
60
+ case 'string':
61
+ return JSON.stringify(value);
62
+ case 'object':
63
+ break;
64
+ default:
65
+ throw new TypeError(`Canonical JSON cannot represent a ${typeof value} value.`);
66
+ }
67
+ if (depth >= maximumDepth) {
68
+ throw new RangeError(`Canonical serialization exceeds the depth limit of ${maximumDepth}.`);
69
+ }
70
+ if (Array.isArray(value)) {
71
+ const items = value.map((item) => {
72
+ if (item === undefined) {
73
+ throw new TypeError('Canonical JSON arrays cannot contain undefined entries.');
74
+ }
75
+ return serialize(item, maximumDepth, depth + 1);
76
+ });
77
+ return `[${items.join(',')}]`;
78
+ }
79
+ const prototype = Object.getPrototypeOf(value);
80
+ if (prototype !== Object.prototype && prototype !== null) {
81
+ throw new TypeError('Canonical JSON only serializes plain objects and arrays.');
82
+ }
83
+ const members = Object.keys(value).sort(compareCodeUnits);
84
+ const parts = [];
85
+ for (const member of members) {
86
+ if (member === '__proto__' || member === 'prototype' || member === 'constructor') {
87
+ throw new TypeError(`Canonical JSON forbids the object member name ${member}.`);
88
+ }
89
+ const memberValue = value[member];
90
+ if (memberValue === undefined) {
91
+ continue;
92
+ }
93
+ parts.push(`${JSON.stringify(member)}:${serialize(memberValue, maximumDepth, depth + 1)}`);
94
+ }
95
+ return `{${parts.join(',')}}`;
96
+ }
97
+ function compareCodeUnits(left, right) {
98
+ return left < right ? -1 : left > right ? 1 : 0;
99
+ }
100
+ //# sourceMappingURL=canonical.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"canonical.js","sourceRoot":"","sources":["../src/canonical.ts"],"names":[],"mappings":"AAMA,MAAM,qBAAqB,GAAG,EAAE,CAAC;AAEjC;;;;;;GAMG;AACH,MAAM,UAAU,kBAAkB,CAChC,KAAgB,EAChB,UAAmD,EAAE;IAErD,MAAM,YAAY,GAAG,OAAO,CAAC,YAAY,IAAI,qBAAqB,CAAC;IACnE,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,YAAY,GAAG,CAAC,EAAE,CAAC;QACxD,MAAM,IAAI,UAAU,CAAC,2DAA2D,CAAC,CAAC;IACpF,CAAC;IACD,OAAO,SAAS,CAAC,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC;AAC3C,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,kBAAkB,CAChC,KAAgB,EAChB,UAAmD,EAAE;I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2 @@
1
+ export declare function cloneContractValue<T>(value: T): T;
2
+ //# sourceMappingURL=clone.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone.d.ts","sourceRoot":"","sources":["../src/clone.ts"],"names":[],"mappings":"AAAA,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAEjD"}
package/dist/clone.js ADDED
@@ -0,0 +1,4 @@
1
+ export function cloneContractValue(value) {
2
+ return JSON.parse(JSON.stringify(value));
3
+ }
4
+ //# sourceMappingURL=clone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone.js","sourceRoot":"","sources":["../src/clone.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,kBAAkB,CAAI,KAAQ;IAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAM,CAAC;AAChD,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { BlueprintCommand, BlueprintDocument, StableId } from '@kumwe/studio-protocol';
2
+ export type StudioCommandErrorCode = 'artifact-not-draft' | 'binding-not-found' | 'duplicate-field' | 'duplicate-node' | 'illegal-move' | 'invalid-batch' | 'invalid-id-map' | 'invalid-index' | 'invalid-order' | 'locale-mismatch' | 'node-not-found' | 'parent-not-found' | 'property-not-found' | 'read-only-session' | 'stale-generation' | 'stale-state' | 'unsupported-command';
3
+ export declare class StudioCommandError extends Error {
4
+ readonly code: StudioCommandErrorCode;
5
+ constructor(code: StudioCommandErrorCode, message: string);
6
+ }
7
+ export interface InverseCommandOptions {
8
+ id: StableId;
9
+ }
10
+ export declare function applyCommand(document: BlueprintDocument, command: BlueprintCommand): BlueprintDocument;
11
+ export declare function invertCommand(document: BlueprintDocument, command: BlueprintCommand, options: Readonly<InverseCommandOptions>): BlueprintCommand;
12
+ //# sourceMappingURL=commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,gBAAgB,EAChB,iBAAiB,EAOjB,QAAQ,EACT,MAAM,wBAAwB,CAAC;AAGhC,MAAM,MAAM,sBAAsB,GAC9B,oBAAoB,GACpB,mBAAmB,GACnB,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,iBAAiB,GACjB,gBAAgB,GAChB,kBAAkB,GAClB,oBAAoB,GACpB,mBAAmB,GACnB,kBAAkB,GAClB,aAAa,GACb,qBAAqB,CAAC;AAE1B,qBAAa,kBAAmB,SAAQ,KAAK;IAC3C,SAAgB,IAAI,EAAE,sBAAsB,CAAC;gBAE1B,IAAI,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM;CAKjE;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,QAAQ,CAAC;CACd;AAUD,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,iBAAiB,EAC3B,OAAO,EAAE,gBAAgB,GACxB,iBAAiB,CAqBnB;AAED,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,iBAAiB,EAC3B,OAAO,EAAE,gBAAgB,EACzB,OAAO,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GACvC,gBAAgB,CA4DlB"}