@siduri-x/api 1.0.2 → 1.0.4

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.
@@ -79,7 +79,7 @@ describe('Siduri Runtime Orchestration', () => {
79
79
  expect(noKnowledgeContext).toBe(true);
80
80
  expect(proposedClaims.length).toBe(1);
81
81
  expect(proposedClaims[0].subject).toBe("Test");
82
- expect(proposedClaims[0].scope).toBe("OWNER");
82
+ expect(proposedClaims[0].scope).toBe("user");
83
83
  expect(response.metadata.memory_proposals[0].proposal_id).toBe("claim-1");
84
84
  });
85
85
 
@@ -95,7 +95,7 @@ describe('Siduri Runtime Orchestration', () => {
95
95
  riskLevel: 'LOW',
96
96
  requiredCapabilities: ['chat:public'],
97
97
  },
98
- execute: async (params) => {
98
+ execute: async (params: any) => {
99
99
  toolExecuted = true;
100
100
  return { hits: [`Result for ${params.query}`] };
101
101
  },
@@ -147,7 +147,6 @@ describe('Siduri Runtime Orchestration', () => {
147
147
  },
148
148
  conversation: {
149
149
  channel: 'direct',
150
- audienceId: 'audience-direct',
151
150
  correlationId: 'corr-alice-123',
152
151
  },
153
152
  };
@@ -234,7 +233,6 @@ describe('Siduri Runtime Orchestration', () => {
234
233
  },
235
234
  conversation: {
236
235
  channel: 'public',
237
- audienceId: 'audience-public',
238
236
  correlationId: 'corr-bob-999',
239
237
  },
240
238
  };
@@ -291,7 +289,7 @@ describe('Siduri Runtime Orchestration', () => {
291
289
  id: 'test-web-channel',
292
290
  name: 'Web Channel',
293
291
  medium: 'web',
294
- deliver: async (out) => {
292
+ deliver: async (out: any) => {
295
293
  deliveredOutput = out;
296
294
  },
297
295
  },
@@ -161,7 +161,6 @@ describe('T5 Experience Event and Output Adapters Suite', () => {
161
161
  responseId: 'resp-1',
162
162
  correlationId: 'corr-1',
163
163
  channel: 'public' as const,
164
- audienceId: 'audience-public',
165
164
  approval: 'STAGED' as any, // Not approved!
166
165
  kind: 'voice' as const,
167
166
  lifecycle: 'STARTED' as const,
@@ -168,7 +168,6 @@ describe('T6 Security & Operations Threat Model Suite', () => {
168
168
  responseId: 'resp-1',
169
169
  correlationId: 'corr-1',
170
170
  channel: 'public',
171
- audienceId: 'audience-public',
172
171
  approval: 'APPROVED',
173
172
  kind: 'voice',
174
173
  lifecycle: 'STARTED',