@kya-os/contracts 1.5.3-canary.17 → 1.5.3-canary.18

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,85 +1,28 @@
1
-
2
- 
3
- > @kya-os/contracts@1.5.3-canary.15 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 22:55:09
16
-  Duration 212ms
17
- [?2026l[?2026h
18
- src/__tests__/consent.spec.ts [queued]
19
- src/__tests__/delegation.spec.ts [queued]
20
- src/__tests__/did.spec.ts [queued]
21
- src/__tests__/identity.test.ts 0/7
22
-  ❯ src/__tests__/proof.spec.ts [queued]
23
-  ❯ src/__tests__/receipt-compat.test.ts [queued]
24
-  src/__tests__/runtime-errors.spec.ts [queued]
25
-  ❯ src/__tests__/tlkrc.spec.ts [queued]
26
-  ❯ src/__tests__/vc.spec.ts [queued]
27
-  ❯ src/agentshield-api/__tests__/schemas.test.ts [queued]
28
-  src/consent/__tests__/schemas.test.ts 0/19
29
-  ❯ src/dashboard-config/__tests__/default-config.test.ts [queued]
30
-  ❯ src/utils/__tests__/validation.test.ts [queued]
31
-
32
-  Test Files 0 passed (19)
33
-  Tests 0 passed (26)
34
-  Start at 22:55:09
35
-  Duration 412ms
36
- [?2026l[?2026h ✓ src/consent/__tests__/schemas.test.ts (19 tests) 4ms
37
- ✓ src/__tests__/identity.test.ts (7 tests) 2ms
38
- ✓ src/utils/__tests__/validation.test.ts (43 tests) 5ms
39
- ✓ src/__tests__/consent.spec.ts (37 tests) 8ms
40
- ✓ src/__tests__/tlkrc.spec.ts (34 tests) 5ms
41
- ✓ src/__tests__/receipt-compat.test.ts (5 tests) 3ms
42
- ✓ src/__tests__/vc.spec.ts (16 tests) 12ms
43
- ✓ src/__tests__/proof.spec.ts (49 tests) 11ms
44
-
45
-  ❯ src/__tests__/consent.spec.ts 37/37
46
-  ❯ src/__tests__/delegation.spec.ts [queued]
47
-  ❯ src/__tests__/did.spec.ts 0/44
48
-  ❯ src/__tests__/identity.test.ts 7/7
49
-  ❯ src/__tests__/runtime-errors.spec.ts 0/44
50
-  ❯ src/__tests__/tlkrc.spec.ts 34/34
51
-  ❯ src/agentshield-api/__tests__/schemas.test.ts [queued]
52
-  ❯ src/consent/__tests__/schemas.test.ts 19/19
53
-  ❯ src/dashboard-config/__tests__/default-config.test.ts [queued]
54
-  ❯ src/utils/__tests__/validation.test.ts 43/43
55
-
56
-  Test Files 8 passed (19)
57
-  Tests 210 passed (298)
58
-  Start at 22:55:09
59
-  Duration 512ms
60
- [?2026l ✓ src/__tests__/did.spec.ts (44 tests) 12ms
61
- ✓ src/dashboard-config/__tests__/default-config.test.ts (18 tests) 4ms
62
- ✓ src/__tests__/runtime-errors.spec.ts (44 tests) 7ms
63
- ✓ src/agentshield-api/__tests__/schemas.test.ts (16 tests) 4ms
64
- ✓ src/__tests__/delegation.spec.ts (50 tests) 9ms
65
- ✓ src/config/__tests__/config.spec.ts (13 tests) 2ms
66
- ✓ src/__tests__/index.test.ts (10 tests) 2ms
67
- ✓ src/__tests__/proofing.test.ts (11 tests) 3ms
68
- ✓ src/__tests__/delegation.test.ts (12 tests) 2ms
69
- ✓ src/__tests__/tool-protection.test.ts (9 tests) 2ms
70
- ✓ src/__tests__/base.test.ts (10 tests) 2ms
71
-
72
-  Test Files  19 passed (19)
73
-  Tests  447 passed (447)
74
-  Start at  22:55:09
75
-  Duration  703ms (transform 924ms, setup 0ms, collect 1.65s, tests 100ms, environment 2ms, prepare 390ms)
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
+
2
+ > @kya-os/contracts@1.5.3-canary.17 test:coverage /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
3
+ > vitest run --coverage
4
+
5
+ The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
6
+
7
+ RUN v1.6.1 /Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/contracts
8
+
9
+
10
+ ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯
11
+ TypeError: The "original" argument must be of type function. Received an instance of Object
12
+ ❯ promisify node:internal/util:463:3
13
+ Object.<anonymous> ../../node_modules/.pnpm/test-exclude@6.0.0/node_modules/test-exclude/index.js:5:14
14
+ Module._compile node:internal/modules/cjs/loader:1760:14
15
+ Object..js node:internal/modules/cjs/loader:1892:10
16
+ ❯ Module.load node:internal/modules/cjs/loader:1480:32
17
+ ❯ Module._load node:internal/modules/cjs/loader:1299:12
18
+ TracingChannel.traceSync node:diagnostics_channel:328:14
19
+ wrapModuleLoad node:internal/modules/cjs/loader:245:24
20
+ loadCJSModuleWithModuleLoad node:internal/modules/esm/translators:336:3
21
+ ModuleWrap.<anonymous> node:internal/modules/esm/translators:239:7
22
+
23
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
24
+ Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
25
+
26
+
27
+
28
+  ELIFECYCLE  Command failed with exit code 1.
@@ -29,8 +29,8 @@ export declare const clearCacheResponseSchema: z.ZodObject<{
29
29
  had_old_value: z.ZodBoolean;
30
30
  cleared: z.ZodBoolean;
31
31
  }, "strip", z.ZodTypeAny, {
32
- agent_did: string;
33
32
  message: string;
33
+ agent_did: string;
34
34
  project_id: string | null;
35
35
  cache_key: string;
36
36
  old_cache_key: string | null;
@@ -38,8 +38,8 @@ export declare const clearCacheResponseSchema: z.ZodObject<{
38
38
  had_old_value: boolean;
39
39
  cleared: boolean;
40
40
  }, {
41
- agent_did: string;
42
41
  message: string;
42
+ agent_did: string;
43
43
  project_id: string | null;
44
44
  cache_key: string;
45
45
  old_cache_key: string | null;