@sidurijs/api 1.0.1 → 1.0.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @sidurijs/api@1.0.1 build /home/zagin/Projects/vxnus-studio/projects/siduri-x/apps/api
2
+ > @sidurijs/api@1.0.2 build /home/zagin/Projects/vxnus-studio/projects/siduri-x/apps/api
3
3
  > tsc
4
4
 
@@ -2,8 +2,8 @@
2
2
  > @sidurijs/api@1.0.1 test /home/zagin/Projects/vxnus-studio/projects/siduri-x/apps/api
3
3
  > jest --config jest.config.json
4
4
 
5
- PASS src/context-mapper.test.ts (9.371 s)
6
- PASS src/runtime.test.ts (10.331 s)
5
+ PASS src/context-mapper.test.ts (6.742 s)
6
+ PASS src/runtime.test.ts (7.635 s)
7
7
  ● Console
8
8
 
9
9
  console.error
@@ -20,25 +20,25 @@ PASS src/runtime.test.ts (10.331 s)
20
20
  at ../../packages/core/dist/context-retriever.js:42:25
21
21
  at async Promise.all (index 0)
22
22
  at async Promise.all (index 0)
23
- at retrieveRuntimeContext (../../packages/core/dist/context-retriever.js:38:124)
23
+ at retrieveRuntimeContext (../../packages/core/dist/context-retriever.js:38:117)
24
24
  at contextRetrievalStage (../../packages/core/dist/perception-pipeline.js:89:30)
25
25
  at PerceptionPipeline.execute (../../packages/core/dist/perception-pipeline.js:21:34)
26
26
  at Object.<anonymous> (src/runtime.test.ts:74:22)
27
27
 
28
28
  PASS src/t7-release.test.ts
29
- PASS src/t4-gating.test.ts (11.615 s)
30
- PASS src/teach-mode.test.ts (10.667 s)
29
+ PASS src/b0-b6.test.ts
30
+ PASS src/index.test.ts
31
31
  PASS src/auth.test.ts
32
32
  PASS src/smoke.test.ts
33
- PASS src/t5-experience.test.ts (11.515 s)
33
+ PASS src/knowledge.test.ts (9.111 s)
34
34
  PASS src/boot.test.ts
35
- PASS src/index.test.ts
36
- PASS src/b0-b6.test.ts
37
- PASS src/knowledge.test.ts (11.815 s)
38
- PASS src/t6-security.test.ts (11.226 s)
35
+ PASS src/t4-gating.test.ts (9.041 s)
36
+ PASS src/teach-mode.test.ts (9.014 s)
37
+ PASS src/t6-security.test.ts (9.098 s)
38
+ PASS src/t5-experience.test.ts (9.227 s)
39
39
  
40
40
  Test Suites: 13 passed, 13 total
41
41
  Tests: 95 passed, 95 total
42
42
  Snapshots: 0 total
43
- Time: 14.638 s
43
+ Time: 10.494 s, estimated 14 s
44
44
  Ran all test suites.
@@ -20,7 +20,7 @@ describe('Siduri Runtime Orchestration', () => {
20
20
  return {
21
21
  speech: "Hello",
22
22
  language: "en",
23
- memoryProposals: [
23
+ claimProposals: [
24
24
  { subject: "Test", predicate: "is", value: "working" }
25
25
  ]
26
26
  };
@@ -70,7 +70,7 @@ describe('Siduri Runtime Orchestration', () => {
70
70
  expect(proposedClaims.length).toBe(1);
71
71
  expect(proposedClaims[0].subject).toBe("Test");
72
72
  expect(proposedClaims[0].scope).toBe("user");
73
- expect(response.metadata.memory_proposals[0].proposal_id).toBe("claim-1");
73
+ expect(response.metadata.claim_proposals[0].proposal_id).toBe("claim-1");
74
74
  });
75
75
  test('Primary Invariant: Brain proposes an action, ActionPolicyEngine authorizes, Hands executes', async () => {
76
76
  let toolExecuted = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sidurijs/api",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -13,8 +13,8 @@
13
13
  "dotenv": "^17.4.2",
14
14
  "express": "^5.2.1",
15
15
  "@sidurijs/body": "1.0.0",
16
- "@sidurijs/brain": "1.0.0",
17
- "@sidurijs/core": "1.0.1",
16
+ "@sidurijs/brain": "1.0.1",
17
+ "@sidurijs/core": "1.0.2",
18
18
  "@sidurijs/ear": "1.0.0",
19
19
  "@sidurijs/hands": "1.0.0",
20
20
  "@sidurijs/knowledge": "1.0.0",
@@ -20,7 +20,7 @@ describe('Siduri Runtime Orchestration', () => {
20
20
  return {
21
21
  speech: "Hello",
22
22
  language: "en",
23
- memoryProposals: [
23
+ claimProposals: [
24
24
  { subject: "Test", predicate: "is", value: "working" }
25
25
  ]
26
26
  };
@@ -80,7 +80,7 @@ describe('Siduri Runtime Orchestration', () => {
80
80
  expect(proposedClaims.length).toBe(1);
81
81
  expect(proposedClaims[0].subject).toBe("Test");
82
82
  expect(proposedClaims[0].scope).toBe("user");
83
- expect(response.metadata.memory_proposals[0].proposal_id).toBe("claim-1");
83
+ expect(response.metadata.claim_proposals[0].proposal_id).toBe("claim-1");
84
84
  });
85
85
 
86
86
  test('Primary Invariant: Brain proposes an action, ActionPolicyEngine authorizes, Hands executes', async () => {