@inventarch/session-system 1.1.1 → 1.2.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/LANGUAGE.md CHANGED
@@ -31,7 +31,7 @@ Spec source locators do not load documents. Resource capture and disclosure requ
31
31
  | @kind | taxonomy | Defines a closed semantic role for records; lowering determines the role of each registered word. |
32
32
  | @lane | taxonomy | Defines a retrieval lane associated with record kinds. |
33
33
  | @law | governance-system | Declares a rule with severity. Structural admission cannot establish the truth or suitability of its prose. |
34
- | @mandate | agent-system | States bounded authority and conditions for a participant. Host authorization remains independent. |
34
+ | @mandate | agent-system | States bounded authority and conditions for a participant. Host authorization remains independent. An authority section names the participant it binds, the closed moves it allows, the workspaces it scopes, the words it excludes and the paths it covers. |
35
35
  | @milestone | work-system | Represents an outcome with an exit criterion inside exactly one plan; it names a condition, not the work toward it. |
36
36
  | @move | taxonomy | Defines the closed classification of an agent action or activity. |
37
37
  | @observation | learning-system | Represents an attributed evidence account with interpretation and retention metadata. Evidence claims are not verified by field typing. |
@@ -51,6 +51,6 @@ Spec source locators do not load documents. Resource capture and disclosure requ
51
51
  | @template | template-system | Represents bounded rendering inputs and output structure. Rendering does not publish or install output. |
52
52
  | @value-type | taxonomy | Defines the field types that schemas may require. |
53
53
  | @voice | agent-composition-system | Declares communication attributes separate from authority and procedure. |
54
- | @workspace | workspace-system | Groups systems into an explicit work boundary; relationships can describe dependencies between boundaries. |
54
+ | @workspace | workspace-system | Groups systems into an explicit work boundary; relationships can describe dependencies between boundaries. Its sources name the roots and placement bands its records are captured from, and its steward the agent that directs it by default. |
55
55
 
56
56
  This guide describes the selected structural vocabulary. Private expert procedures, live provider behavior and unobserved platform qualification are separate from the installed public contract.
package/dist/codec.d.ts CHANGED
@@ -1,10 +1,17 @@
1
- export declare class SessionError extends Error {
2
- readonly code: string;
1
+ import { CodecError } from '@inventarch/graph';
2
+ export { CodecError };
3
+ /**
4
+ * The session refusal. The canonical codec itself lives in @inventarch/graph (`canonical`, `digest`, `copy` and
5
+ * `CodecError`); this package re-exports graph's `CodecError` class itself and wraps the three functions so their
6
+ * refusals are `SessionError`, which extends it. Every caller that matches on `SessionError` keeps working,
7
+ * `instanceof CodecError` holds across both packages, and the codes are the ones the graph codec throws.
8
+ */
9
+ export declare class SessionError extends CodecError {
3
10
  constructor(code: string, message: string);
4
11
  }
5
12
  export declare function requireValue(condition: unknown, code: string, message: string): asserts condition;
6
- export declare function canonical(value: unknown): string;
7
- export declare function digest(value: unknown): string;
13
+ export declare const canonical: (value: unknown) => string;
14
+ export declare const digest: (value: unknown) => string;
8
15
  export declare function copy<T>(value: T): T;
9
16
  export declare function identifier(value: string): string;
10
17
  //# sourceMappingURL=codec.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"codec.d.ts","sourceRoot":"","sources":["../src/codec.ts"],"names":[],"mappings":"AAGA,qBAAa,YAAa,SAAQ,KAAK;IAEnC,QAAQ,CAAC,IAAI,EAAE,MAAM;gBAAZ,IAAI,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM;CAKlB;AACD,wBAAgB,YAAY,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAEjG;AACD,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAyBhD;AACD,wBAAgB,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAE7C;AACD,wBAAgB,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAEnC;AACD,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAShD"}
1
+ {"version":3,"file":"codec.d.ts","sourceRoot":"","sources":["../src/codec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsE,MAAM,mBAAmB,CAAC;AAEnH,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB;;;;;GAKG;AACH,qBAAa,YAAa,SAAQ,UAAU;gBAC9B,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAI1C;AACD,wBAAgB,YAAY,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAEjG;AAUD,eAAO,MAAM,SAAS,GAAI,OAAO,OAAO,KAAG,MAA+C,CAAC;AAC3F,eAAO,MAAM,MAAM,GAAI,OAAO,OAAO,KAAG,MAA4C,CAAC;AACrF,wBAAgB,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAEnC;AACD,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAShD"}
package/dist/codec.js CHANGED
@@ -1,9 +1,14 @@
1
- import { createHash } from 'node:crypto';
2
- export class SessionError extends Error {
3
- code;
1
+ import { CodecError, canonical as canonicalData, copy as copyData, digest as digestData } from '@inventarch/graph';
2
+ export { CodecError };
3
+ /**
4
+ * The session refusal. The canonical codec itself lives in @inventarch/graph (`canonical`, `digest`, `copy` and
5
+ * `CodecError`); this package re-exports graph's `CodecError` class itself and wraps the three functions so their
6
+ * refusals are `SessionError`, which extends it. Every caller that matches on `SessionError` keeps working,
7
+ * `instanceof CodecError` holds across both packages, and the codes are the ones the graph codec throws.
8
+ */
9
+ export class SessionError extends CodecError {
4
10
  constructor(code, message) {
5
- super(message);
6
- this.code = code;
11
+ super(code, message);
7
12
  this.name = 'SessionError';
8
13
  }
9
14
  }
@@ -11,34 +16,20 @@ export function requireValue(condition, code, message) {
11
16
  if (!condition)
12
17
  throw new SessionError(code, message);
13
18
  }
14
- export function canonical(value) {
15
- const visit = (item, depth) => {
16
- requireValue(depth <= 64, 'IA-SESSION-LIMIT-EXCEEDED', 'Structured data nesting exceeds 64');
17
- if (item === null || typeof item === 'string' || typeof item === 'boolean')
18
- return item;
19
- if (typeof item === 'number' && Number.isFinite(item))
20
- return item;
21
- if (Array.isArray(item))
22
- return item.map((v) => visit(v, depth + 1));
23
- if (typeof item === 'object' &&
24
- item !== null &&
25
- [Object.prototype, null].includes(Object.getPrototypeOf(item))) {
26
- const out = Object.create(null);
27
- for (const key of Object.keys(item).sort()) {
28
- requireValue(!['__proto__', 'prototype', 'constructor'].includes(key), 'IA-SESSION-INPUT-INVALID', 'Unsafe object key');
29
- out[key] = visit(item[key], depth + 1);
30
- }
31
- return out;
32
- }
33
- throw new SessionError('IA-SESSION-INPUT-INVALID', 'Expected finite JSON data');
34
- };
35
- return JSON.stringify(visit(value, 0));
36
- }
37
- export function digest(value) {
38
- return createHash('sha256').update(canonical(value)).digest('hex');
39
- }
19
+ const asSession = (run) => {
20
+ try {
21
+ return run();
22
+ }
23
+ catch (error) {
24
+ if (error instanceof CodecError && !(error instanceof SessionError))
25
+ throw new SessionError(error.code, error.message);
26
+ throw error;
27
+ }
28
+ };
29
+ export const canonical = (value) => asSession(() => canonicalData(value));
30
+ export const digest = (value) => asSession(() => digestData(value));
40
31
  export function copy(value) {
41
- return JSON.parse(canonical(value));
32
+ return asSession(() => copyData(value));
42
33
  }
43
34
  export function identifier(value) {
44
35
  requireValue(typeof value === 'string' &&
package/dist/codec.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"codec.js","sourceRoot":"","sources":["../src/codec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC,MAAM,OAAO,YAAa,SAAQ,KAAK;IAE1B;IADX,YACW,IAAY,EACrB,OAAe;QAEf,KAAK,CAAC,OAAO,CAAC,CAAC;QAHN,SAAI,GAAJ,IAAI,CAAQ;QAIrB,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC;IAC7B,CAAC;CACF;AACD,MAAM,UAAU,YAAY,CAAC,SAAkB,EAAE,IAAY,EAAE,OAAe;IAC5E,IAAI,CAAC,SAAS;QAAE,MAAM,IAAI,YAAY,CAAC,IAAI,EAAE,OAA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E,OAAe;IAC5E,IAAI,CAAC,SAAS;QAAE,MAAM,IAAI,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AACxD,CAAC;AACD,MAAM,SAAS,GAAG,CAAI,GAAY,EAAK,EAAE;IACvC,IAAI,CAAC;QACH,OAAO,GAAG,EAAE,CAAC;IACf,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,KAAK,YAAY,UAAU,IAAI,CAAC,CAAC,KAAK,YAAY,YAAY,CAAC;YACjE,MAAM,IAAI,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACpD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAc,EAAU,EAAE,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3F,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,KAAc,EAAU,EAAE,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;AACrF,MAAM,UAAU,IAAI,CAAI,KAAQ;IAC9B,OAAO,SAAS,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;AAC1C,CAAC;AACD,MAAM,UAAU,UAAU,CAAC,KAAa;IACtC,YAAY,CACV,OAAO,KAAK,KAAK,QAAQ;QACvB,oCAAoC,CAAC,IAAI,CAAC,KAAK,CAAC;QAChD,CAAC,CAAC,WAAW,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC5D,0BAA0B,EAC1B,wCAAwC,CACzC,CAAC;IACF,OAAO,KAAK,CAAC;AACf,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from './types.js';
2
- export { SessionError, canonical, digest, copy, identifier } from './codec.js';
2
+ export { CodecError, SessionError, canonical, digest, copy, identifier } from './codec.js';
3
3
  export { JournalStore, commandDigest } from './store.js';
4
4
  export { MemoryBackend, memoryStore } from './memory.js';
5
5
  export { replay, reduce, terminal, unresolved, humanWaitRuns } from './reducer.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from './types.js';
2
- export { SessionError, canonical, digest, copy, identifier } from './codec.js';
2
+ export { CodecError, SessionError, canonical, digest, copy, identifier } from './codec.js';
3
3
  export { JournalStore, commandDigest } from './store.js';
4
4
  export { MemoryBackend, memoryStore } from './memory.js';
5
5
  export { replay, reduce, terminal, unresolved, humanWaitRuns } from './reducer.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC"}
@@ -4,56 +4,56 @@
4
4
  "requests": [
5
5
  {
6
6
  "id": "inventarch/agent-composition-system",
7
- "range": "1.1.0"
7
+ "range": "1.2.0"
8
8
  },
9
9
  {
10
10
  "id": "inventarch/agent-system",
11
- "range": "1.1.0"
11
+ "range": "1.2.0"
12
12
  },
13
13
  {
14
14
  "id": "inventarch/authoring-system",
15
- "range": "1.1.0"
15
+ "range": "1.2.0"
16
16
  },
17
17
  {
18
18
  "id": "inventarch/compliance-system",
19
- "range": "1.1.0"
19
+ "range": "1.2.0"
20
20
  },
21
21
  {
22
22
  "id": "inventarch/governance-system",
23
- "range": "1.1.0"
23
+ "range": "1.2.0"
24
24
  },
25
25
  {
26
26
  "id": "inventarch/hook-authoring-system",
27
- "range": "1.1.0"
27
+ "range": "1.2.0"
28
28
  },
29
29
  {
30
30
  "id": "inventarch/learning-system",
31
- "range": "1.1.0"
31
+ "range": "1.2.0"
32
32
  },
33
33
  {
34
34
  "id": "inventarch/session-system",
35
- "range": "1.1.0"
35
+ "range": "1.2.0"
36
36
  },
37
37
  {
38
38
  "id": "inventarch/template-system",
39
- "range": "1.1.0"
39
+ "range": "1.2.0"
40
40
  },
41
41
  {
42
42
  "id": "inventarch/work-system",
43
- "range": "1.1.0"
43
+ "range": "1.2.0"
44
44
  },
45
45
  {
46
46
  "id": "inventarch/workspace-system",
47
- "range": "1.1.0"
47
+ "range": "1.2.0"
48
48
  }
49
49
  ],
50
50
  "packages": [
51
51
  {
52
52
  "id": "inventarch/agent-composition-system",
53
- "version": "1.1.0",
54
- "archive": "7509000446e4fef116d8b0a7efb33bbe4821b2b2dd85cdd34387829fb03a2dca",
55
- "manifest": "b9c4b622c32d02f12bb476540c943ceda21c583165938b387cce32ae7896d863",
56
- "location": "sha256:7509000446e4fef116d8b0a7efb33bbe4821b2b2dd85cdd34387829fb03a2dca",
53
+ "version": "1.2.0",
54
+ "archive": "982a2138e49f600a05afc1c5ee7a666da6d55f34efd0e08ec9f42127aeaa7cb5",
55
+ "manifest": "226de099ee361751876ae459c5e8d09324c31fef5ec95cb8365918f2b5d722ac",
56
+ "location": "sha256:982a2138e49f600a05afc1c5ee7a666da6d55f34efd0e08ec9f42127aeaa7cb5",
57
57
  "dependencies": [
58
58
  "inventarch/agent-system",
59
59
  "inventarch/authoring-system",
@@ -65,20 +65,20 @@
65
65
  },
66
66
  {
67
67
  "id": "inventarch/agent-system",
68
- "version": "1.1.0",
69
- "archive": "4dda72a953771796bb6873cc911c3bbb3da6d4b99f88ec03d3e0bd4ece30051c",
70
- "manifest": "d6e73d3e46e52c4bbd420a8d2a157308c11308e1fa1d2ef21f6236f428777c39",
71
- "location": "sha256:4dda72a953771796bb6873cc911c3bbb3da6d4b99f88ec03d3e0bd4ece30051c",
68
+ "version": "1.2.0",
69
+ "archive": "da12e66b2f969901f73d6314f3e3454ff761ee9c39759d3afb6c83773217ba5a",
70
+ "manifest": "7085267661748ab09c310bc332e39e7753c4b9dfe19c3ae64831031c6fd8b429",
71
+ "location": "sha256:da12e66b2f969901f73d6314f3e3454ff761ee9c39759d3afb6c83773217ba5a",
72
72
  "dependencies": [
73
73
  "inventarch/workspace-system"
74
74
  ]
75
75
  },
76
76
  {
77
77
  "id": "inventarch/authoring-system",
78
- "version": "1.1.0",
79
- "archive": "f0526b5fa4a05d69e41b3ddee30c4e85e494922c6242e1f17904e19ba49b6b61",
80
- "manifest": "0ff190269c50e9e185ccd4a3ada575afa307f8c1adc34e808a73ab3811274845",
81
- "location": "sha256:f0526b5fa4a05d69e41b3ddee30c4e85e494922c6242e1f17904e19ba49b6b61",
78
+ "version": "1.2.0",
79
+ "archive": "959513b522c79253ac370dbdab1202d2988674ccfbbd4dce8414a3edbae12c47",
80
+ "manifest": "f688068b4e61a57142ae494069dc247bdc21bb00d85104812193f6cfa9ed3c5c",
81
+ "location": "sha256:959513b522c79253ac370dbdab1202d2988674ccfbbd4dce8414a3edbae12c47",
82
82
  "dependencies": [
83
83
  "inventarch/agent-composition-system",
84
84
  "inventarch/agent-system",
@@ -94,10 +94,10 @@
94
94
  },
95
95
  {
96
96
  "id": "inventarch/compliance-system",
97
- "version": "1.1.0",
98
- "archive": "44b7191a3db98fd69ffeb52465448b1f766b3aba96e1098edd59ae08e377b039",
99
- "manifest": "c5df5b9e2fbe3c8661f98aacba1bb4ea1aa991eeb1c50c42b75ce6181a679064",
100
- "location": "sha256:44b7191a3db98fd69ffeb52465448b1f766b3aba96e1098edd59ae08e377b039",
97
+ "version": "1.2.0",
98
+ "archive": "3724341e0e23cc283f00adebb6cc8f58ed7cba40bd73c6b5a54c14fe23107548",
99
+ "manifest": "ed3caf351c882ed6a7069043adf8c14f5f2b128f464fd30520ac1590b1627f84",
100
+ "location": "sha256:3724341e0e23cc283f00adebb6cc8f58ed7cba40bd73c6b5a54c14fe23107548",
101
101
  "dependencies": [
102
102
  "inventarch/agent-system",
103
103
  "inventarch/workspace-system"
@@ -105,10 +105,10 @@
105
105
  },
106
106
  {
107
107
  "id": "inventarch/governance-system",
108
- "version": "1.1.0",
109
- "archive": "dbd2f4371e83327302cd4bab314e092bf15fc6076f4d11e0459d769ac3e464d8",
110
- "manifest": "df112798779ada8aee433f29e181e99bb9ef69f2c5231f3e1108a8a07642f02b",
111
- "location": "sha256:dbd2f4371e83327302cd4bab314e092bf15fc6076f4d11e0459d769ac3e464d8",
108
+ "version": "1.2.0",
109
+ "archive": "fefbce1625edac91d5ba2d0748952ce57ba2c05c2a6a90df55b5a7aec8a55ec9",
110
+ "manifest": "dca1e0af649d48b2c18548f2fcdc60938489e444e7fbfef9c808039e0d3abc2c",
111
+ "location": "sha256:fefbce1625edac91d5ba2d0748952ce57ba2c05c2a6a90df55b5a7aec8a55ec9",
112
112
  "dependencies": [
113
113
  "inventarch/agent-system",
114
114
  "inventarch/compliance-system",
@@ -117,10 +117,10 @@
117
117
  },
118
118
  {
119
119
  "id": "inventarch/hook-authoring-system",
120
- "version": "1.1.0",
121
- "archive": "58f2513acc858dd8d106ff0f8a1e3b09d257319b855cdc46f868b49d78ef7421",
122
- "manifest": "6c156a77fdadeda0c3ab2a5ebe0ef708e5f43f21277c40f7e94769562dc833e6",
123
- "location": "sha256:58f2513acc858dd8d106ff0f8a1e3b09d257319b855cdc46f868b49d78ef7421",
120
+ "version": "1.2.0",
121
+ "archive": "50f904f9dddab1b716ecd5f05ad6dcd4c3ac0b538ab775a2e22f962b9d322901",
122
+ "manifest": "8ba8c610798c814434fbeeeb5e4727c8a743019046ea676c5063d5c0b4972b08",
123
+ "location": "sha256:50f904f9dddab1b716ecd5f05ad6dcd4c3ac0b538ab775a2e22f962b9d322901",
124
124
  "dependencies": [
125
125
  "inventarch/agent-system",
126
126
  "inventarch/authoring-system",
@@ -131,10 +131,10 @@
131
131
  },
132
132
  {
133
133
  "id": "inventarch/learning-system",
134
- "version": "1.1.0",
135
- "archive": "f95b35b7b5c3b86e63335128140bfa734609b540ec84f70e6131ae85fc36647e",
136
- "manifest": "026cf7e5e9c86bb5a87c3a12519d5e4ed2b6ab094c8de6617de9293b5de6ec38",
137
- "location": "sha256:f95b35b7b5c3b86e63335128140bfa734609b540ec84f70e6131ae85fc36647e",
134
+ "version": "1.2.0",
135
+ "archive": "b302802c895d168afec800578d5013224a74d47d96583cf6e17d0915a19481ea",
136
+ "manifest": "70a7c3ffec43913a1db7943521738eb867cbe3b7010124ee3605f3418697aa31",
137
+ "location": "sha256:b302802c895d168afec800578d5013224a74d47d96583cf6e17d0915a19481ea",
138
138
  "dependencies": [
139
139
  "inventarch/agent-system",
140
140
  "inventarch/authoring-system",
@@ -145,10 +145,10 @@
145
145
  },
146
146
  {
147
147
  "id": "inventarch/session-system",
148
- "version": "1.1.0",
149
- "archive": "e5db8700dde952c48e54b3d7f8949db1321a5748419f499bfabc39a098cac150",
150
- "manifest": "cbede1b0213363fe1ea745c949138dcd36249fceb26347e7ea9c8f72984c377f",
151
- "location": "sha256:e5db8700dde952c48e54b3d7f8949db1321a5748419f499bfabc39a098cac150",
148
+ "version": "1.2.0",
149
+ "archive": "b85738e0b6d8e30a0cf7982298c3c48d2e4951fc89f87e0c0a93e240c4fe41ae",
150
+ "manifest": "52de9cc368656936b8e1d3ec5ded2e9ea8078981d073cd726761e2c93f88632c",
151
+ "location": "sha256:b85738e0b6d8e30a0cf7982298c3c48d2e4951fc89f87e0c0a93e240c4fe41ae",
152
152
  "dependencies": [
153
153
  "inventarch/agent-system",
154
154
  "inventarch/governance-system",
@@ -157,10 +157,10 @@
157
157
  },
158
158
  {
159
159
  "id": "inventarch/template-system",
160
- "version": "1.1.0",
161
- "archive": "14a989e352de6806e091f5d3abb2b8d7829577324323b6d6f709aba6edce47bb",
162
- "manifest": "4f6b5500da87b4dac32f5d07e3b57ebc3cb51575f89b936ed05d81df1fd9503c",
163
- "location": "sha256:14a989e352de6806e091f5d3abb2b8d7829577324323b6d6f709aba6edce47bb",
160
+ "version": "1.2.0",
161
+ "archive": "a22fd2c23367ba04b3cb1dcafde91b9d6ae0324164f673f5760d5fc9786fd011",
162
+ "manifest": "da1bd4aeadfbd0d4736b6abc6afe138f1c0d7ae9c31d3a83a22a2c4e92a64f41",
163
+ "location": "sha256:a22fd2c23367ba04b3cb1dcafde91b9d6ae0324164f673f5760d5fc9786fd011",
164
164
  "dependencies": [
165
165
  "inventarch/agent-system",
166
166
  "inventarch/authoring-system",
@@ -171,10 +171,10 @@
171
171
  },
172
172
  {
173
173
  "id": "inventarch/work-system",
174
- "version": "1.1.0",
175
- "archive": "1e44a777ea0db1538968d07b48484a93dc0d81840cab14e75db58a1bbec9c98a",
176
- "manifest": "b40fd93ea6bc11a08493b45ccd48692c36c0e9f125eae565603e6664b3e55969",
177
- "location": "sha256:1e44a777ea0db1538968d07b48484a93dc0d81840cab14e75db58a1bbec9c98a",
174
+ "version": "1.2.0",
175
+ "archive": "8957e4e521cae9eb4a983d80ef788099a04cf48276ddad0aa90cacb557fe703a",
176
+ "manifest": "71317e8929d5d4a39ad072ddf42eb08e61a19be9cfc80173e26f95f26f3f17e1",
177
+ "location": "sha256:8957e4e521cae9eb4a983d80ef788099a04cf48276ddad0aa90cacb557fe703a",
178
178
  "dependencies": [
179
179
  "inventarch/agent-system",
180
180
  "inventarch/compliance-system",
@@ -184,10 +184,10 @@
184
184
  },
185
185
  {
186
186
  "id": "inventarch/workspace-system",
187
- "version": "1.1.0",
188
- "archive": "14b88e626ae8112ee2694d6cc721a30bc47aa106dcdda61909f65d4a01792624",
189
- "manifest": "bebf99a8d438249a078c43327738c5d3f3a428b233be58cdb9a384ed67dbcfce",
190
- "location": "sha256:14b88e626ae8112ee2694d6cc721a30bc47aa106dcdda61909f65d4a01792624",
187
+ "version": "1.2.0",
188
+ "archive": "5427f67480b450e19df936eb6464bb5c1a1882d511bb038b3fd4cca830726c9c",
189
+ "manifest": "ca42e8bbb7b2432c39b8aad741ace8e6dbf1dde4e09d4de94fc2800191f86acf",
190
+ "location": "sha256:5427f67480b450e19df936eb6464bb5c1a1882d511bb038b3fd4cca830726c9c",
191
191
  "dependencies": [
192
192
  "inventarch/agent-composition-system",
193
193
  "inventarch/agent-system",
Binary file
@@ -3,21 +3,21 @@
3
3
  "kind": "compiled",
4
4
  "package": {
5
5
  "name": "@inventarch/session-system",
6
- "version": "1.1.1",
7
- "manifestSha256": "d11c4b528301366d997337d95547110e324b2fd0956c93f91218fb22b5672769"
6
+ "version": "1.2.0",
7
+ "manifestSha256": "c8f7091ae152ca26dafb0f17bcbc52ae8de7ff4647bc1126eda99ff1da7cc68b"
8
8
  },
9
9
  "system": {
10
10
  "name": "session-system",
11
11
  "path": ".ia/src/systems/session-system",
12
12
  "provider": "inventarch.foundation",
13
- "version": "1.1.0"
13
+ "version": "1.2.0"
14
14
  },
15
15
  "payload": {
16
- "digest": "fcfa77df8d69536a7c659bbf2f007580d2aeced29a22453d0f8615eb3397f5cf",
16
+ "digest": "d8d84071ffec04ffe68be1a70b819968dc78bbd417224d818474da6cbdd6d44c",
17
17
  "files": [
18
18
  {
19
19
  "path": "LANGUAGE.md",
20
- "sha256": "ffd57fcd8480b0734ac5aa86df49f203d48e538b254924dc9d837c22a3d49ee1"
20
+ "sha256": "5661c221a26edbd6c2529dfa0b31d6ccddf3eca98b55a30897360c4e4234b909"
21
21
  },
22
22
  {
23
23
  "path": "LICENSE",
@@ -37,35 +37,35 @@
37
37
  },
38
38
  {
39
39
  "path": "dist/codec.d.ts",
40
- "sha256": "df8af56fdb1a1b6be48b417046b6326fbe2a62bb2335bd745bb1fda8b1f6d221"
40
+ "sha256": "afe659aebcd5e6ba1de8e97dcb4301279de6825a00d988d76fab5c5ffddb373e"
41
41
  },
42
42
  {
43
43
  "path": "dist/codec.d.ts.map",
44
- "sha256": "348c59db054d9b9c4f19e013a7f95d21567341c91c1d3cf5067ac255a365ee2a"
44
+ "sha256": "55d03f6d90150031cc62bdd7f0a4f851e585c66d1f2146dfab0586f71976a8e1"
45
45
  },
46
46
  {
47
47
  "path": "dist/codec.js",
48
- "sha256": "2d0a634a9ff9dcbf90cf25a7c5f0bdc6a7b68a9f598d76e94cf1f222a3ae9c0a"
48
+ "sha256": "2b486488a00c1c79ff208e3503053aa53b724213ba33842ecc1c250a77a181a3"
49
49
  },
50
50
  {
51
51
  "path": "dist/codec.js.map",
52
- "sha256": "bea4291fa9cc1dd84b9f0d89caf35631ae5a3e922d4d993fa4361befa0824ec7"
52
+ "sha256": "aad44b53ec0f6befa10d19dd1c47006f55beb8d1cc8fdb0097260ff9c8af26fc"
53
53
  },
54
54
  {
55
55
  "path": "dist/index.d.ts",
56
- "sha256": "221d8d3730471823d3faf2ad61e20be54c10eacff7874f17e9d32ccb6ce1e1e9"
56
+ "sha256": "10318c40471fceaeab1c55d3a755321d93441015c4a7ce816d0df6504d295a9e"
57
57
  },
58
58
  {
59
59
  "path": "dist/index.d.ts.map",
60
- "sha256": "476dfc628cbefbde086d1e5591a5c20ebb1896805dfd1383c053adc8022e6f39"
60
+ "sha256": "fc3f3ce2cdba87428ffd9b692b55d2f24dbd72e3c628edffec978b8f395acdd1"
61
61
  },
62
62
  {
63
63
  "path": "dist/index.js",
64
- "sha256": "ef073e0957dbee87a4ba87b62872ad8e106392c09e0b55a754bc995ade48d84f"
64
+ "sha256": "35488fead6ace12cfbba78ac33544262dab0f23fc1e59a3a3d25b2c35c113307"
65
65
  },
66
66
  {
67
67
  "path": "dist/index.js.map",
68
- "sha256": "973d3e72b43f406f86f36a92aeb0f57f10f87c427f50fbb94696a9f7c77d0d5a"
68
+ "sha256": "84c5053301f443376b26aacfda1b9373ad3baa6ef4c17bdb9631591c9fcb8790"
69
69
  },
70
70
  {
71
71
  "path": "dist/memory.d.ts",
@@ -151,49 +151,49 @@
151
151
  },
152
152
  "native": {
153
153
  "path": "dist/native.ia.tgz",
154
- "archiveSha256": "e5db8700dde952c48e54b3d7f8949db1321a5748419f499bfabc39a098cac150",
155
- "manifestSha256": "cbede1b0213363fe1ea745c949138dcd36249fceb26347e7ea9c8f72984c377f",
154
+ "archiveSha256": "b85738e0b6d8e30a0cf7982298c3c48d2e4951fc89f87e0c0a93e240c4fe41ae",
155
+ "manifestSha256": "52de9cc368656936b8e1d3ec5ded2e9ea8078981d073cd726761e2c93f88632c",
156
156
  "id": "inventarch/session-system",
157
- "version": "1.1.0",
157
+ "version": "1.2.0",
158
158
  "selection": {
159
159
  "path": "dist/native-selection.json",
160
- "sha256": "de698a73336bb52f8d2bff37e2bf549b0d5d9117c23320b88fcb458b6de5ce14"
160
+ "sha256": "31d717ee05a8bf33c4272b1ba66f0f9f2423b4c70c7dd1d5d02afa500c19c87a"
161
161
  }
162
162
  },
163
163
  "code": {
164
- "digest": "b1862e740ccc75e96e2eba92a254b88630de1cf8e38cb36e1db22a37383c735f",
164
+ "digest": "e116f1f5d8e7056a18e666f4dc224686a29783842abf376c70911de80a439da1",
165
165
  "files": [
166
166
  {
167
167
  "path": "dist/codec.d.ts",
168
- "sha256": "df8af56fdb1a1b6be48b417046b6326fbe2a62bb2335bd745bb1fda8b1f6d221"
168
+ "sha256": "afe659aebcd5e6ba1de8e97dcb4301279de6825a00d988d76fab5c5ffddb373e"
169
169
  },
170
170
  {
171
171
  "path": "dist/codec.d.ts.map",
172
- "sha256": "348c59db054d9b9c4f19e013a7f95d21567341c91c1d3cf5067ac255a365ee2a"
172
+ "sha256": "55d03f6d90150031cc62bdd7f0a4f851e585c66d1f2146dfab0586f71976a8e1"
173
173
  },
174
174
  {
175
175
  "path": "dist/codec.js",
176
- "sha256": "2d0a634a9ff9dcbf90cf25a7c5f0bdc6a7b68a9f598d76e94cf1f222a3ae9c0a"
176
+ "sha256": "2b486488a00c1c79ff208e3503053aa53b724213ba33842ecc1c250a77a181a3"
177
177
  },
178
178
  {
179
179
  "path": "dist/codec.js.map",
180
- "sha256": "bea4291fa9cc1dd84b9f0d89caf35631ae5a3e922d4d993fa4361befa0824ec7"
180
+ "sha256": "aad44b53ec0f6befa10d19dd1c47006f55beb8d1cc8fdb0097260ff9c8af26fc"
181
181
  },
182
182
  {
183
183
  "path": "dist/index.d.ts",
184
- "sha256": "221d8d3730471823d3faf2ad61e20be54c10eacff7874f17e9d32ccb6ce1e1e9"
184
+ "sha256": "10318c40471fceaeab1c55d3a755321d93441015c4a7ce816d0df6504d295a9e"
185
185
  },
186
186
  {
187
187
  "path": "dist/index.d.ts.map",
188
- "sha256": "476dfc628cbefbde086d1e5591a5c20ebb1896805dfd1383c053adc8022e6f39"
188
+ "sha256": "fc3f3ce2cdba87428ffd9b692b55d2f24dbd72e3c628edffec978b8f395acdd1"
189
189
  },
190
190
  {
191
191
  "path": "dist/index.js",
192
- "sha256": "ef073e0957dbee87a4ba87b62872ad8e106392c09e0b55a754bc995ade48d84f"
192
+ "sha256": "35488fead6ace12cfbba78ac33544262dab0f23fc1e59a3a3d25b2c35c113307"
193
193
  },
194
194
  {
195
195
  "path": "dist/index.js.map",
196
- "sha256": "973d3e72b43f406f86f36a92aeb0f57f10f87c427f50fbb94696a9f7c77d0d5a"
196
+ "sha256": "84c5053301f443376b26aacfda1b9373ad3baa6ef4c17bdb9631591c9fcb8790"
197
197
  },
198
198
  {
199
199
  "path": "dist/memory.d.ts",
@@ -316,9 +316,10 @@
316
316
  }
317
317
  },
318
318
  "dependencies": {
319
- "@inventarch/agent-system": "1.1.1",
320
- "@inventarch/governance-system": "1.1.1",
321
- "@inventarch/workspace-system": "1.1.1"
319
+ "@inventarch/graph": "1.2.0",
320
+ "@inventarch/agent-system": "1.2.0",
321
+ "@inventarch/governance-system": "1.2.0",
322
+ "@inventarch/workspace-system": "1.2.0"
322
323
  },
323
324
  "protocols": {
324
325
  "distribution": 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inventarch/session-system",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -50,6 +50,12 @@
50
50
  "NOTICE",
51
51
  "LANGUAGE.md"
52
52
  ],
53
+ "dependencies": {
54
+ "@inventarch/graph": "1.2.0",
55
+ "@inventarch/agent-system": "1.2.0",
56
+ "@inventarch/governance-system": "1.2.0",
57
+ "@inventarch/workspace-system": "1.2.0"
58
+ },
53
59
  "devDependencies": {
54
60
  "@types/node": "^22.19.0",
55
61
  "typescript": "^5.9.3",
@@ -68,11 +74,6 @@
68
74
  "url": "git+https://github.com/inventarch/ia.git",
69
75
  "directory": ".ia/src/systems/session-system"
70
76
  },
71
- "dependencies": {
72
- "@inventarch/agent-system": "1.1.1",
73
- "@inventarch/governance-system": "1.1.1",
74
- "@inventarch/workspace-system": "1.1.1"
75
- },
76
77
  "scripts": {
77
78
  "build": "tsc -p tsconfig.json",
78
79
  "typecheck": "tsc --noEmit -p tsconfig.json && tsc -p tsconfig.tests.json",