@artemiskit/sdk 0.3.1 → 0.3.3

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.
Files changed (74) hide show
  1. package/CHANGELOG.md +213 -0
  2. package/README.md +44 -1
  3. package/dist/artemiskit.d.ts +149 -0
  4. package/dist/artemiskit.d.ts.map +1 -0
  5. package/dist/builders/index.d.ts +350 -0
  6. package/dist/builders/index.d.ts.map +1 -0
  7. package/dist/builders/index.js +398 -0
  8. package/dist/contracts/index.d.ts +253 -0
  9. package/dist/contracts/index.d.ts.map +1 -0
  10. package/dist/contracts/index.js +99 -0
  11. package/dist/guardian/action-validator.d.ts +92 -0
  12. package/dist/guardian/action-validator.d.ts.map +1 -0
  13. package/dist/guardian/circuit-breaker.d.ts +211 -0
  14. package/dist/guardian/circuit-breaker.d.ts.map +1 -0
  15. package/dist/guardian/guardian.d.ts +213 -0
  16. package/dist/guardian/guardian.d.ts.map +1 -0
  17. package/dist/guardian/guardrails.d.ts +107 -0
  18. package/dist/guardian/guardrails.d.ts.map +1 -0
  19. package/dist/guardian/index.d.ts +35 -0
  20. package/dist/guardian/index.d.ts.map +1 -0
  21. package/dist/guardian/intent-classifier.d.ts +81 -0
  22. package/dist/guardian/intent-classifier.d.ts.map +1 -0
  23. package/dist/guardian/interceptor.d.ts +141 -0
  24. package/dist/guardian/interceptor.d.ts.map +1 -0
  25. package/dist/guardian/policy.d.ts +52 -0
  26. package/dist/guardian/policy.d.ts.map +1 -0
  27. package/dist/guardian/semantic-validator.d.ts +61 -0
  28. package/dist/guardian/semantic-validator.d.ts.map +1 -0
  29. package/dist/guardian/types.d.ts +653 -0
  30. package/dist/guardian/types.d.ts.map +1 -0
  31. package/dist/index.d.ts +23 -0
  32. package/dist/index.d.ts.map +1 -0
  33. package/dist/index.js +24847 -13653
  34. package/dist/matchers/core.d.ts +81 -0
  35. package/dist/matchers/core.d.ts.map +1 -0
  36. package/dist/matchers/index.d.ts +6 -0
  37. package/dist/matchers/index.d.ts.map +1 -0
  38. package/dist/matchers/jest.d.ts +46 -0
  39. package/dist/matchers/jest.d.ts.map +1 -0
  40. package/dist/matchers/vitest.d.ts +24 -0
  41. package/dist/matchers/vitest.d.ts.map +1 -0
  42. package/dist/types-only.d.ts +31 -0
  43. package/dist/types-only.d.ts.map +1 -0
  44. package/dist/types-only.js +1 -0
  45. package/dist/types.d.ts +377 -0
  46. package/dist/types.d.ts.map +1 -0
  47. package/dist/utils/index.d.ts +112 -0
  48. package/dist/utils/index.d.ts.map +1 -0
  49. package/dist/utils/index.js +104 -0
  50. package/package.json +17 -2
  51. package/src/__tests__/builders.test.ts +445 -0
  52. package/src/__tests__/circuit-breaker.test.ts +704 -0
  53. package/src/__tests__/compare.test.ts +469 -0
  54. package/src/__tests__/contracts.test.ts +354 -0
  55. package/src/__tests__/guardian-modes.test.ts +215 -0
  56. package/src/__tests__/guardrails.test.ts +404 -0
  57. package/src/__tests__/semantic-validator.test.ts +421 -0
  58. package/src/__tests__/utils.test.ts +324 -0
  59. package/src/__tests__/validate.test.ts +307 -0
  60. package/src/artemiskit.ts +478 -5
  61. package/src/builders/index.ts +698 -0
  62. package/src/contracts/index.ts +357 -0
  63. package/src/guardian/circuit-breaker.ts +74 -28
  64. package/src/guardian/guardian.ts +307 -20
  65. package/src/guardian/guardrails.ts +143 -1
  66. package/src/guardian/index.ts +35 -1
  67. package/src/guardian/interceptor.ts +87 -11
  68. package/src/guardian/semantic-validator.ts +399 -0
  69. package/src/guardian/types.ts +413 -2
  70. package/src/index.ts +258 -14
  71. package/src/types-only.ts +276 -0
  72. package/src/types.ts +183 -0
  73. package/src/utils/index.ts +225 -0
  74. package/tsconfig.json +2 -1
@@ -0,0 +1,350 @@
1
+ /**
2
+ * @artemiskit/sdk
3
+ * Fluent builders for constructing scenarios and test cases
4
+ *
5
+ * Provides a type-safe, fluent API for building ArtemisKit scenarios
6
+ * programmatically without manually constructing complex objects.
7
+ */
8
+ import type { ChatMessageType, Expected, Provider, Scenario, TestCase, Variables } from '@artemiskit/core';
9
+ import type { RedactionConfig } from '@artemiskit/core';
10
+ /**
11
+ * Fluent builder for constructing test cases
12
+ */
13
+ export declare class TestCaseBuilder {
14
+ private _id;
15
+ private _name?;
16
+ private _description?;
17
+ private _prompt;
18
+ private _expected?;
19
+ private _tags;
20
+ private _metadata;
21
+ private _timeout?;
22
+ private _retries;
23
+ private _provider?;
24
+ private _model?;
25
+ private _variables?;
26
+ private _redaction?;
27
+ constructor(id: string);
28
+ /**
29
+ * Set the test case name (display name)
30
+ */
31
+ name(name: string): this;
32
+ /**
33
+ * Set the test case description
34
+ */
35
+ description(description: string): this;
36
+ /**
37
+ * Set the prompt as a simple string
38
+ */
39
+ prompt(prompt: string): this;
40
+ /**
41
+ * Set the prompt as chat messages
42
+ */
43
+ messages(messages: ChatMessageType[]): this;
44
+ /**
45
+ * Add a system message followed by a user message
46
+ */
47
+ systemAndUser(systemPrompt: string, userPrompt: string): this;
48
+ /**
49
+ * Expect an exact match
50
+ */
51
+ expectExact(value: string, caseSensitive?: boolean): this;
52
+ /**
53
+ * Expect the response to contain specific values
54
+ */
55
+ expectContains(values: string[], mode?: 'all' | 'any'): this;
56
+ /**
57
+ * Expect the response to NOT contain specific values
58
+ */
59
+ expectNotContains(values: string[], mode?: 'all' | 'any'): this;
60
+ /**
61
+ * Expect a regex match
62
+ */
63
+ expectRegex(pattern: string, flags?: string): this;
64
+ /**
65
+ * Expect a fuzzy match with similarity threshold
66
+ */
67
+ expectFuzzy(value: string, threshold?: number): this;
68
+ /**
69
+ * Expect a JSON response matching a schema
70
+ */
71
+ expectJsonSchema(schema: Record<string, unknown>): this;
72
+ /**
73
+ * Expect response to pass LLM grading with a rubric
74
+ */
75
+ expectLLMGrade(rubric: string, options?: {
76
+ threshold?: number;
77
+ model?: string;
78
+ provider?: Provider;
79
+ }): this;
80
+ /**
81
+ * Expect semantic similarity
82
+ */
83
+ expectSimilarity(value: string, options?: {
84
+ threshold?: number;
85
+ mode?: 'embedding' | 'llm';
86
+ model?: string;
87
+ embeddingModel?: string;
88
+ }): this;
89
+ /**
90
+ * Expect an inline expression to evaluate to true
91
+ */
92
+ expectInline(expression: string, value?: string): this;
93
+ /**
94
+ * Combine multiple expectations with AND logic
95
+ * Note: Pass base expectations (not combined) for proper type inference
96
+ */
97
+ expectAll(...expectations: Expected[]): this;
98
+ /**
99
+ * Combine multiple expectations with OR logic
100
+ * Note: Pass base expectations (not combined) for proper type inference
101
+ */
102
+ expectAny(...expectations: Expected[]): this;
103
+ /**
104
+ * Set a custom expectation
105
+ */
106
+ expect(expected: Expected): this;
107
+ /**
108
+ * Add tags to the test case
109
+ */
110
+ tags(...tags: string[]): this;
111
+ /**
112
+ * Add metadata to the test case
113
+ */
114
+ metadata(data: Record<string, unknown>): this;
115
+ /**
116
+ * Set timeout for this test case
117
+ */
118
+ timeout(ms: number): this;
119
+ /**
120
+ * Set number of retries for this test case
121
+ */
122
+ retries(count: number): this;
123
+ /**
124
+ * Override provider for this test case
125
+ */
126
+ provider(provider: Provider): this;
127
+ /**
128
+ * Override model for this test case
129
+ */
130
+ model(model: string): this;
131
+ /**
132
+ * Set variables for this test case
133
+ */
134
+ variables(vars: Variables): this;
135
+ /**
136
+ * Enable redaction for this test case
137
+ */
138
+ redact(config: RedactionConfig): this;
139
+ /**
140
+ * Build the test case object
141
+ */
142
+ build(): TestCase;
143
+ }
144
+ /**
145
+ * Fluent builder for constructing scenarios
146
+ */
147
+ export declare class ScenarioBuilder {
148
+ private _name;
149
+ private _description?;
150
+ private _version;
151
+ private _provider?;
152
+ private _model?;
153
+ private _providerConfig?;
154
+ private _seed?;
155
+ private _temperature?;
156
+ private _maxTokens?;
157
+ private _tags;
158
+ private _variables?;
159
+ private _redaction?;
160
+ private _systemPrompt?;
161
+ private _cases;
162
+ constructor(name: string);
163
+ /**
164
+ * Set the scenario description
165
+ */
166
+ description(description: string): this;
167
+ /**
168
+ * Set the scenario version
169
+ */
170
+ version(version: string): this;
171
+ /**
172
+ * Set the default provider
173
+ */
174
+ provider(provider: Provider): this;
175
+ /**
176
+ * Set the default model
177
+ */
178
+ model(model: string): this;
179
+ /**
180
+ * Set provider configuration
181
+ */
182
+ providerConfig(config: Record<string, unknown>): this;
183
+ /**
184
+ * Set the random seed for reproducibility
185
+ */
186
+ seed(seed: number): this;
187
+ /**
188
+ * Set the temperature
189
+ */
190
+ temperature(temp: number): this;
191
+ /**
192
+ * Set max tokens
193
+ */
194
+ maxTokens(tokens: number): this;
195
+ /**
196
+ * Add tags to the scenario
197
+ */
198
+ tags(...tags: string[]): this;
199
+ /**
200
+ * Set variables for template substitution
201
+ */
202
+ variables(vars: Variables): this;
203
+ /**
204
+ * Set redaction configuration
205
+ */
206
+ redact(config: RedactionConfig): this;
207
+ /**
208
+ * Set a system prompt for all test cases
209
+ */
210
+ systemPrompt(prompt: string): this;
211
+ /**
212
+ * Add a test case using a builder
213
+ */
214
+ case(caseBuilder: TestCaseBuilder): this;
215
+ /**
216
+ * Add a test case directly
217
+ */
218
+ addCase(testCase: TestCase): this;
219
+ /**
220
+ * Add multiple test cases
221
+ */
222
+ cases(...caseBuilders: TestCaseBuilder[]): this;
223
+ /**
224
+ * Build the scenario object
225
+ */
226
+ build(): Scenario;
227
+ }
228
+ /**
229
+ * Create a new scenario builder
230
+ *
231
+ * @example
232
+ * ```typescript
233
+ * import { scenario, testCase } from '@artemiskit/sdk/builders'
234
+ *
235
+ * const myScenario = scenario('Math Tests')
236
+ * .provider('openai')
237
+ * .model('gpt-4')
238
+ * .description('Basic math verification tests')
239
+ * .case(
240
+ * testCase('addition')
241
+ * .prompt('What is 2 + 2?')
242
+ * .expectContains(['4'])
243
+ * )
244
+ * .case(
245
+ * testCase('multiplication')
246
+ * .prompt('What is 6 * 7?')
247
+ * .expectContains(['42'])
248
+ * )
249
+ * .build()
250
+ * ```
251
+ */
252
+ export declare function scenario(name: string): ScenarioBuilder;
253
+ /**
254
+ * Create a new test case builder
255
+ *
256
+ * @example
257
+ * ```typescript
258
+ * import { testCase } from '@artemiskit/sdk/builders'
259
+ *
260
+ * const case1 = testCase('json-output')
261
+ * .prompt('Return a JSON object with name and age')
262
+ * .expectJsonSchema({
263
+ * type: 'object',
264
+ * required: ['name', 'age'],
265
+ * properties: {
266
+ * name: { type: 'string' },
267
+ * age: { type: 'number' }
268
+ * }
269
+ * })
270
+ * .tags('json', 'structured')
271
+ * .build()
272
+ * ```
273
+ */
274
+ export declare function testCase(id: string): TestCaseBuilder;
275
+ /**
276
+ * Create a simple test case with contains expectation
277
+ */
278
+ export declare function containsCase(id: string, prompt: string, values: string[], mode?: 'all' | 'any'): TestCase;
279
+ /**
280
+ * Create a simple test case with exact match expectation
281
+ */
282
+ export declare function exactCase(id: string, prompt: string, value: string): TestCase;
283
+ /**
284
+ * Create a simple test case with regex expectation
285
+ */
286
+ export declare function regexCase(id: string, prompt: string, pattern: string, flags?: string): TestCase;
287
+ /**
288
+ * Create a simple test case with JSON schema expectation
289
+ */
290
+ export declare function jsonCase(id: string, prompt: string, schema: Record<string, unknown>): TestCase;
291
+ /**
292
+ * Create a simple test case with LLM grading
293
+ */
294
+ export declare function gradedCase(id: string, prompt: string, rubric: string, threshold?: number): TestCase;
295
+ /**
296
+ * Create an exact match expectation
297
+ */
298
+ export declare function exact(value: string, caseSensitive?: boolean): Expected;
299
+ /**
300
+ * Create a contains expectation
301
+ */
302
+ export declare function contains(values: string[], mode?: 'all' | 'any'): Expected;
303
+ /**
304
+ * Create a not_contains expectation
305
+ */
306
+ export declare function notContains(values: string[], mode?: 'all' | 'any'): Expected;
307
+ /**
308
+ * Create a regex expectation
309
+ */
310
+ export declare function regex(pattern: string, flags?: string): Expected;
311
+ /**
312
+ * Create a fuzzy match expectation
313
+ */
314
+ export declare function fuzzy(value: string, threshold?: number): Expected;
315
+ /**
316
+ * Create a JSON schema expectation
317
+ */
318
+ export declare function jsonSchema(schema: Record<string, unknown>): Expected;
319
+ /**
320
+ * Create an LLM grader expectation
321
+ */
322
+ export declare function llmGrade(rubric: string, options?: {
323
+ threshold?: number;
324
+ model?: string;
325
+ provider?: Provider;
326
+ }): Expected;
327
+ /**
328
+ * Create a similarity expectation
329
+ */
330
+ export declare function similarity(value: string, options?: {
331
+ threshold?: number;
332
+ mode?: 'embedding' | 'llm';
333
+ model?: string;
334
+ embeddingModel?: string;
335
+ }): Expected;
336
+ /**
337
+ * Create an inline expression expectation
338
+ */
339
+ export declare function inline(expression: string, value?: string): Expected;
340
+ /**
341
+ * Combine expectations with AND logic
342
+ * Note: Pass base expectations (not combined) for proper type inference
343
+ */
344
+ export declare function allOf(...expectations: Expected[]): Expected;
345
+ /**
346
+ * Combine expectations with OR logic
347
+ * Note: Pass base expectations (not combined) for proper type inference
348
+ */
349
+ export declare function anyOf(...expectations: Expected[]): Expected;
350
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/builders/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,EACV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAMxD;;GAEG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,GAAG,CAAS;IACpB,OAAO,CAAC,KAAK,CAAC,CAAS;IACvB,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,OAAO,CAAkC;IACjD,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,OAAO,CAAC,KAAK,CAAgB;IAC7B,OAAO,CAAC,SAAS,CAA+B;IAChD,OAAO,CAAC,QAAQ,CAAC,CAAS;IAC1B,OAAO,CAAC,QAAQ,CAAK;IACrB,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,OAAO,CAAC,MAAM,CAAC,CAAS;IACxB,OAAO,CAAC,UAA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