@kya-os/contracts 1.5.3-canary.19 → 1.5.3-canary.20

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,5 +1,5 @@
1
1
 
2
- > @kya-os/contracts@1.5.3-canary.18 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
2
+ > @kya-os/contracts@1.5.3-canary.20 build /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
3
3
  > tsc -p tsconfig.build.json && npm run emit-schemas
4
4
 
5
5
  npm warn Unknown env config "prefer-workspace-packages". This will stop working in the next major version of npm.
@@ -11,7 +11,7 @@ npm warn Unknown env config "store-dir". This will stop working in the next majo
11
11
  npm warn Unknown env config "link-workspace-packages". This will stop working in the next major version of npm.
12
12
  npm warn Unknown env config "prefer-frozen-lockfile". This will stop working in the next major version of npm.
13
13
 
14
- > @kya-os/contracts@1.5.3-canary.18 emit-schemas
14
+ > @kya-os/contracts@1.5.3-canary.20 emit-schemas
15
15
  > node scripts/emit-schemas.js
16
16
 
17
17
  Schema emission script - to be implemented
@@ -1,41 +1,85 @@
1
-
2
- > @kya-os/contracts@1.5.3-canary.18 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
3
- > vitest run --coverage
4
-
5
-
6
- RUN v4.0.5 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
7
- Coverage enabled with v8
8
-
9
- ✓ src/config/__tests__/config.spec.ts (13 tests) 2ms
10
- ✓ src/utils/__tests__/validation.test.ts (43 tests) 5ms
11
- src/__tests__/receipt-compat.test.ts (5 tests) 3ms
12
- ✓ src/__tests__/consent.spec.ts (37 tests) 5ms
13
- src/consent/__tests__/schemas.test.ts (19 tests) 5ms
14
- src/__tests__/tlkrc.spec.ts (34 tests) 5ms
15
- src/dashboard-config/__tests__/default-config.test.ts (18 tests) 4ms
16
- ✓ src/__tests__/runtime-errors.spec.ts (44 tests) 9ms
17
- src/__tests__/vc.spec.ts (16 tests) 8ms
18
- ✓ src/__tests__/proof.spec.ts (49 tests) 10ms
19
- src/__tests__/delegation.spec.ts (50 tests) 7ms
20
- src/__tests__/did.spec.ts (44 tests) 8ms
21
- src/agentshield-api/__tests__/schemas.test.ts (16 tests) 5ms
22
- src/__tests__/proofing.test.ts (11 tests) 2ms
23
- src/__tests__/tool-protection.test.ts (9 tests) 2ms
24
- src/__tests__/delegation.test.ts (12 tests) 2ms
25
- src/__tests__/index.test.ts (10 tests) 2ms
26
- src/__tests__/base.test.ts (10 tests) 2ms
27
- src/__tests__/identity.test.ts (7 tests) 2ms
28
-
29
- Test Files 19 passed (19)
30
- Tests 447 passed (447)
31
- Start at 17:52:43
32
- Duration 476ms (transform 815ms, setup 0ms, collect 1.30s, tests 88ms, environment 2ms, prepare 333ms)
33
-
34
- % Coverage report from v8
35
-
36
- =============================== Coverage summary ===============================
37
- Statements : 72.9% ( 331/454 )
38
- Branches : 64.67% ( 141/218 )
39
- Functions : 75.6% ( 62/82 )
40
- Lines : 72.72% ( 328/451 )
41
- ================================================================================
1
+
2
+ 
3
+ > @kya-os/contracts@1.5.3-canary.19 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
4
+ > vitest run --coverage
5
+
6
+ [?25l
7
+  RUN  v4.0.5 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
8
+ Coverage enabled with v8
9
+
10
+ [?2026h
11
+  src/__tests__/vc.spec.ts [queued]
12
+
13
+  Test Files 0 passed (19)
14
+  Tests 0 passed (0)
15
+  Start at 21:32:29
16
+  Duration 101ms
17
+ [?2026l[?2026h ✓ src/__tests__/delegation.test.ts (12 tests) 2ms
18
+
19
+  src/__tests__/consent.spec.ts [queued]
20
+  src/__tests__/delegation.spec.ts [queued]
21
+  src/__tests__/delegation.test.ts 12/12
22
+  src/__tests__/did.spec.ts [queued]
23
+  src/__tests__/proof.spec.ts [queued]
24
+  src/__tests__/receipt-compat.test.ts 0/5
25
+  src/__tests__/runtime-errors.spec.ts [queued]
26
+  src/__tests__/tlkrc.spec.ts [queued]
27
+  src/__tests__/vc.spec.ts [queued]
28
+  ❯ src/agentshield-api/__tests__/schemas.test.ts [queued]
29
+  src/consent/__tests__/schemas.test.ts [queued]
30
+  src/dashboard-config/__tests__/default-config.test.ts [queued]
31
+  ❯ src/utils/__tests__/validation.test.ts [queued]
32
+
33
+  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
39
+ ✓ src/consent/__tests__/schemas.test.ts (19 tests) 4ms
40
+ ✓ src/__tests__/consent.spec.ts (37 tests) 8ms
41
+ ✓ 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
+
50
+
51
+  ❯ src/__tests__/consent.spec.ts 37/37
52
+  ❯ src/__tests__/delegation.spec.ts 0/50
53
+  ❯ src/__tests__/did.spec.ts [queued]
54
+  ❯ src/__tests__/receipt-compat.test.ts 5/5
55
+  ❯ src/__tests__/tool-protection.test.ts [queued]
56
+  ❯ src/consent/__tests__/schemas.test.ts 19/19
57
+  ❯ src/utils/__tests__/validation.test.ts 43/43
58
+
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
68
+ ✓ src/config/__tests__/config.spec.ts (13 tests) 2ms
69
+ ✓ src/__tests__/proofing.test.ts (11 tests) 2ms
70
+ ✓ src/__tests__/identity.test.ts (7 tests) 2ms
71
+
72
+  Test Files  19 passed (19)
73
+  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)
76
+
77
+  % Coverage report from v8
78
+
79
+ =============================== Coverage summary ===============================
80
+ Statements : 72.9% ( 331/454 )
81
+ Branches : 64.67% ( 141/218 )
82
+ Functions : 75.6% ( 62/82 )
83
+ Lines : 72.72% ( 328/451 )
84
+ ================================================================================
85
+ [?25h
@@ -1,32 +1,32 @@
1
1
 
2
- > @kya-os/contracts@1.5.3-canary.15 test /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
2
+ > @kya-os/contracts@1.5.3-canary.19 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/__tests__/vc.spec.ts (16 tests) 5ms
9
- ✓ src/__tests__/did.spec.ts (44 tests) 6ms
8
+ ✓ src/consent/__tests__/schemas.test.ts (19 tests) 6ms
10
9
  ✓ src/__tests__/proofing.test.ts (11 tests) 3ms
11
- ✓ src/config/__tests__/config.spec.ts (13 tests) 5ms
10
+ ✓ src/config/__tests__/config.spec.ts (13 tests) 3ms
11
+ ✓ 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
12
17
  ✓ src/agentshield-api/__tests__/schemas.test.ts (16 tests) 4ms
13
- ✓ src/__tests__/consent.spec.ts (37 tests) 6ms
14
- ✓ src/__tests__/delegation.spec.ts (50 tests) 8ms
15
- ✓ src/utils/__tests__/validation.test.ts (43 tests) 9ms
16
- ✓ src/__tests__/tool-protection.test.ts (9 tests) 9ms
17
- ✓ src/consent/__tests__/schemas.test.ts (19 tests) 11ms
18
- ✓ src/__tests__/receipt-compat.test.ts (5 tests) 3ms
19
- ✓ src/__tests__/index.test.ts (10 tests) 4ms
18
+ ✓ src/__tests__/receipt-compat.test.ts (5 tests) 2ms
19
+ ✓ src/__tests__/proof.spec.ts (49 tests) 6ms
20
20
  ✓ src/__tests__/runtime-errors.spec.ts (44 tests) 7ms
21
- ✓ src/__tests__/proof.spec.ts (49 tests) 7ms
22
- ✓ src/__tests__/tlkrc.spec.ts (34 tests) 4ms
23
- ✓ src/dashboard-config/__tests__/default-config.test.ts (18 tests) 3ms
24
- ✓ src/__tests__/base.test.ts (10 tests) 2ms
25
- ✓ src/__tests__/delegation.test.ts (12 tests) 2ms
21
+ ✓ 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
26
24
  ✓ src/__tests__/identity.test.ts (7 tests) 2ms
25
+ ✓ src/__tests__/delegation.test.ts (12 tests) 2ms
26
+ ✓ src/__tests__/base.test.ts (10 tests) 2ms
27
27
 
28
28
  Test Files 19 passed (19)
29
29
  Tests 447 passed (447)
30
- Start at 23:54:32
31
- Duration 2.93s (transform 3.43s, setup 0ms, collect 6.18s, tests 98ms, environment 10ms, prepare 1.19s)
30
+ Start at 18:07:30
31
+ Duration 2.72s (transform 4.39s, setup 0ms, collect 6.03s, tests 108ms, environment 2ms, prepare 546ms)
32
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/contracts",
3
- "version": "1.5.3-canary.19",
3
+ "version": "1.5.3-canary.20",
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",