@kya-os/contracts 1.5.3-canary.21 → 1.5.3-canary.22

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.
@@ -1,17 +1,19 @@
1
-
2
- > @kya-os/contracts@1.5.3-canary.20 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
3
- > tsc -p tsconfig.build.json && npm run emit-schemas
4
-
5
- npm warn Unknown env config "prefer-workspace-packages". This will stop working in the next major version of npm.
6
- npm warn Unknown env config "verify-store-integrity". This will stop working in the next major version of npm.
7
- npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
8
- npm warn Unknown env config "auto-install-peers". This will stop working in the next major version of npm.
9
- npm warn Unknown env config "resolution-mode". This will stop working in the next major version of npm.
10
- npm warn Unknown env config "store-dir". This will stop working in the next major version of npm.
11
- npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm.
12
- npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in the next major version of npm.
13
-
14
- > @kya-os/contracts@1.5.3-canary.20 emit-schemas
15
- > node scripts/emit-schemas.js
16
-
17
- Schema emission script - to be implemented
1
+
2
+ 
3
+ > @kya-os/contracts@1.5.3-canary.21 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
4
+ > tsc -p tsconfig.build.json && npm run emit-schemas
5
+
6
+ npm warn Unknown env config "prefer-workspace-packages". This will stop working in the next major version of npm.
7
+ npm warn Unknown env config "verify-store-integrity". This will stop working in the next major version of npm.
8
+ npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
9
+ npm warn Unknown env config "auto-install-peers". This will stop working in the next major version of npm.
10
+ npm warn Unknown env config "resolution-mode". This will stop working in the next major version of npm.
11
+ npm warn Unknown env config "store-dir". This will stop working in the next major version of npm.
12
+ npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm.
13
+ npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in the next major version of npm.
14
+
15
+ > @kya-os/contracts@1.5.3-canary.21 emit-schemas
16
+ > node scripts/emit-schemas.js
17
+
18
+ Schema emission script - to be implemented
19
+ ⠙
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @kya-os/contracts@1.5.3-canary.19 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
3
+ > @kya-os/contracts@1.5.3-canary.21 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
4
4
  > vitest run --coverage
5
5
 
6
6
  [?25l
@@ -8,71 +8,103 @@
8
8
  Coverage enabled with v8
9
9
 
10
10
  [?2026h
11
-  ❯ src/__tests__/vc.spec.ts [queued]
11
+  ❯ src/__tests__/consent.spec.ts [queued]
12
12
 
13
13
   Test Files 0 passed (19)
14
14
   Tests 0 passed (0)
15
-  Start at 21:32:29
15
+  Start at 22:51:28
16
16
   Duration 101ms
17
- [?2026l[?2026h ✓ src/__tests__/delegation.test.ts (12 tests) 2ms
18
-
17
+ [?2026l[?2026h
19
18
   ❯ src/__tests__/consent.spec.ts [queued]
20
19
   ❯ src/__tests__/delegation.spec.ts [queued]
21
-  ❯ src/__tests__/delegation.test.ts 12/12
22
20
   ❯ src/__tests__/did.spec.ts [queued]
23
21
   ❯ src/__tests__/proof.spec.ts [queued]
24
-  ❯ src/__tests__/receipt-compat.test.ts 0/5
22
+  ❯ src/__tests__/receipt-compat.test.ts [queued]
25
23
   ❯ src/__tests__/runtime-errors.spec.ts [queued]
26
24
   ❯ src/__tests__/tlkrc.spec.ts [queued]
25
+  ❯ src/__tests__/tool-protection.test.ts 0/9
27
26
   ❯ src/__tests__/vc.spec.ts [queued]
28
27
   ❯ src/agentshield-api/__tests__/schemas.test.ts [queued]
29
28
   ❯ src/consent/__tests__/schemas.test.ts [queued]
30
29
   ❯ src/dashboard-config/__tests__/default-config.test.ts [queued]
31
30
   ❯ src/utils/__tests__/validation.test.ts [queued]
32
31
 
32
+  Test Files 0 passed (19)
33
+  Tests 0 passed (9)
34
+  Start at 22:51:28
35
+  Duration 229ms
36
+ [?2026l[?2026h ✓ src/__tests__/tool-protection.test.ts (9 tests) 22ms
37
+
38
+  ❯ src/__tests__/consent.spec.ts 0/37
39
+  ❯ src/__tests__/delegation.spec.ts [queued]
40
+  ❯ src/__tests__/did.spec.ts [queued]
41
+  ❯ src/__tests__/proof.spec.ts [queued]
42
+  ❯ src/__tests__/receipt-compat.test.ts 0/5
43
+  ❯ src/__tests__/runtime-errors.spec.ts [queued]
44
+  ❯ src/__tests__/tlkrc.spec.ts [queued]
45
+  ❯ src/__tests__/tool-protection.test.ts 9/9
46
+  ❯ src/__tests__/vc.spec.ts [queued]
47
+  ❯ src/agentshield-api/__tests__/schemas.test.ts [queued]
48
+  ❯ src/consent/__tests__/schemas.test.ts [queued]
49
+  ❯ src/dashboard-config/__tests__/default-config.test.ts [queued]
50
+  ❯ src/utils/__tests__/validation.test.ts 0/43
51
+
33
52
   Test Files 1 passed (19)
34
-  Tests 12 passed (17)
35
-  Start at 21:32:29
36
-  Duration 301ms
37
- [?2026l[?2026h ✓ src/__tests__/receipt-compat.test.ts (5 tests) 3ms
38
- ✓ src/utils/__tests__/validation.test.ts (43 tests) 5ms
53
+  Tests 9 passed (94)
54
+  Start at 22:51:28
55
+  Duration 449ms
56
+ [?2026l[?2026h ✓ src/__tests__/consent.spec.ts (37 tests) 11ms
57
+ ✓ src/__tests__/receipt-compat.test.ts (5 tests) 4ms
58
+ ✓ src/utils/__tests__/validation.test.ts (43 tests) 10ms
39
59
  ✓ src/consent/__tests__/schemas.test.ts (19 tests) 4ms
40
- ✓ src/__tests__/consent.spec.ts (37 tests) 8ms
41
60
  ✓ src/__tests__/tlkrc.spec.ts (34 tests) 5ms
42
- ✓ src/__tests__/runtime-errors.spec.ts (44 tests) 8ms
43
- ✓ src/__tests__/proof.spec.ts (49 tests) 8ms
44
- ✓ src/__tests__/vc.spec.ts (16 tests) 9ms
45
- ✓ src/agentshield-api/__tests__/schemas.test.ts (16 tests) 5ms
46
- ✓ src/dashboard-config/__tests__/default-config.test.ts (18 tests) 7ms
47
-
48
-
49
-
61
+ ✓ src/dashboard-config/__tests__/default-config.test.ts (18 tests) 6ms
62
+ ✓ src/__tests__/runtime-errors.spec.ts (44 tests) 10ms
50
63
 
51
64
   ❯ src/__tests__/consent.spec.ts 37/37
52
65
   ❯ src/__tests__/delegation.spec.ts 0/50
53
-  ❯ src/__tests__/did.spec.ts [queued]
66
+  ❯ src/__tests__/did.spec.ts 0/44
67
+  ❯ src/__tests__/proof.spec.ts 0/49
54
68
   ❯ src/__tests__/receipt-compat.test.ts 5/5
55
-  ❯ src/__tests__/tool-protection.test.ts [queued]
69
+  ❯ src/__tests__/tool-protection.test.ts 9/9
70
+  ❯ src/__tests__/vc.spec.ts 0/16
71
+  ❯ src/agentshield-api/__tests__/schemas.test.ts 0/16
56
72
   ❯ src/consent/__tests__/schemas.test.ts 19/19
57
73
   ❯ src/utils/__tests__/validation.test.ts 43/43
58
74
 
59
-  Test Files 11 passed (19)
60
-  Tests 293 passed (343)
61
-  Start at 21:32:29
62
-  Duration 401ms
63
- [?2026l ✓ src/__tests__/tool-protection.test.ts (9 tests) 3ms
64
- ✓ src/__tests__/delegation.spec.ts (50 tests) 9ms
65
- ✓ src/__tests__/did.spec.ts (44 tests) 11ms
66
- ✓ src/__tests__/base.test.ts (10 tests) 2ms
67
- ✓ src/__tests__/index.test.ts (10 tests) 2ms
75
+  Test Files 8 passed (19)
76
+  Tests 209 passed (384)
77
+  Start at 22:51:28
78
+  Duration 549ms
79
+ [?2026l[?2026h ✓ src/__tests__/vc.spec.ts (16 tests) 8ms
80
+ ✓ src/__tests__/proof.spec.ts (49 tests) 36ms
81
+ ✓ src/__tests__/delegation.spec.ts (50 tests) 12ms
82
+ ✓ src/__tests__/did.spec.ts (44 tests) 8ms
83
+ ✓ src/agentshield-api/__tests__/schemas.test.ts (16 tests) 6ms
68
84
  ✓ src/config/__tests__/config.spec.ts (13 tests) 2ms
69
- ✓ src/__tests__/proofing.test.ts (11 tests) 2ms
85
+ ✓ src/__tests__/delegation.test.ts (12 tests) 7ms
70
86
  ✓ src/__tests__/identity.test.ts (7 tests) 2ms
87
+ ✓ src/__tests__/index.test.ts (10 tests) 2ms
88
+ ✓ src/__tests__/proofing.test.ts (11 tests) 2ms
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+  ❯ src/__tests__/base.test.ts 1/10
97
+
98
+  Test Files 18 passed (19)
99
+  Tests 438 passed (447)
100
+  Start at 22:51:28
101
+  Duration 649ms
102
+ [?2026l ✓ src/__tests__/base.test.ts (10 tests) 2ms
71
103
 
72
104
   Test Files  19 passed (19)
73
105
   Tests  447 passed (447)
74
-  Start at  21:32:29
75
-  Duration  573ms (transform 1.29s, setup 0ms, collect 1.87s, tests 99ms, environment 2ms, prepare 446ms)
106
+  Start at  22:51:28
107
+  Duration  738ms (transform 2.50s, setup 0ms, collect 3.97s, tests 158ms, environment 2ms, prepare 386ms)
76
108
 
77
109
   % Coverage report from v8
78
110
 
@@ -1,32 +1,32 @@
1
1
 
2
- > @kya-os/contracts@1.5.3-canary.19 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
2
+ > @kya-os/contracts@1.5.3-canary.21 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
3
3
  > vitest run
4
4
 
5
5
 
6
6
  RUN v4.0.5 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
7
7
 
8
- ✓ src/consent/__tests__/schemas.test.ts (19 tests) 6ms
9
- ✓ src/__tests__/proofing.test.ts (11 tests) 3ms
10
- ✓ src/config/__tests__/config.spec.ts (13 tests) 3ms
8
+ ✓ src/__tests__/delegation.test.ts (12 tests) 3ms
9
+ ✓ src/__tests__/tool-protection.test.ts (9 tests) 2ms
10
+ ✓ src/__tests__/proof.spec.ts (49 tests) 7ms
11
+ ✓ src/utils/__tests__/validation.test.ts (43 tests) 6ms
11
12
  ✓ src/__tests__/consent.spec.ts (37 tests) 5ms
12
- ✓ src/utils/__tests__/validation.test.ts (43 tests) 17ms
13
- ✓ src/__tests__/index.test.ts (10 tests) 6ms
14
- ✓ src/__tests__/tlkrc.spec.ts (34 tests) 10ms
15
- ✓ src/__tests__/tool-protection.test.ts (9 tests) 3ms
16
- ✓ src/dashboard-config/__tests__/default-config.test.ts (18 tests) 3ms
17
- ✓ src/agentshield-api/__tests__/schemas.test.ts (16 tests) 4ms
18
- ✓ src/__tests__/receipt-compat.test.ts (5 tests) 2ms
19
- ✓ src/__tests__/proof.spec.ts (49 tests) 6ms
20
- ✓ src/__tests__/runtime-errors.spec.ts (44 tests) 7ms
13
+ ✓ src/__tests__/receipt-compat.test.ts (5 tests) 4ms
14
+ ✓ src/__tests__/runtime-errors.spec.ts (44 tests) 8ms
15
+ ✓ src/__tests__/tlkrc.spec.ts (34 tests) 5ms
16
+ ✓ src/dashboard-config/__tests__/default-config.test.ts (18 tests) 4ms
21
17
  ✓ src/__tests__/vc.spec.ts (16 tests) 6ms
22
- ✓ src/__tests__/did.spec.ts (44 tests) 10ms
23
- ✓ src/__tests__/delegation.spec.ts (50 tests) 13ms
24
- ✓ src/__tests__/identity.test.ts (7 tests) 2ms
25
- ✓ src/__tests__/delegation.test.ts (12 tests) 2ms
18
+ ✓ src/__tests__/delegation.spec.ts (50 tests) 14ms
19
+ ✓ src/__tests__/index.test.ts (10 tests) 2ms
20
+ ✓ src/__tests__/did.spec.ts (44 tests) 6ms
21
+ ✓ src/agentshield-api/__tests__/schemas.test.ts (16 tests) 5ms
26
22
  ✓ src/__tests__/base.test.ts (10 tests) 2ms
23
+ ✓ src/consent/__tests__/schemas.test.ts (19 tests) 30ms
24
+ ✓ src/__tests__/proofing.test.ts (11 tests) 2ms
25
+ ✓ src/__tests__/identity.test.ts (7 tests) 2ms
26
+ ✓ src/config/__tests__/config.spec.ts (13 tests) 2ms
27
27
 
28
28
  Test Files 19 passed (19)
29
29
  Tests 447 passed (447)
30
- Start at 18:07:30
31
- Duration 2.72s (transform 4.39s, setup 0ms, collect 6.03s, tests 108ms, environment 2ms, prepare 546ms)
30
+ Start at 23:09:55
31
+ Duration 2.47s (transform 4.33s, setup 0ms, collect 7.32s, tests 115ms, environment 3ms, prepare 1.17s)
32
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/contracts",
3
- "version": "1.5.3-canary.21",
3
+ "version": "1.5.3-canary.22",
4
4
  "description": "Shared contracts, types, and schemas for MCP-I framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",