@artemiskit/adapter-anthropic 0.1.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,54 @@
1
+ # @artemiskit/adapter-anthropic
2
+
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 6350e5d: Initial release of ArtemisKit - LLM Evaluation Toolkit
8
+
9
+ Features:
10
+
11
+ - Scenario-based evaluation with YAML test definitions
12
+ - Multiple expectation types: contains, exact, regex, fuzzy, llm_grader, json_schema
13
+ - Red team security testing (injection, jailbreak, extraction, hallucination, PII)
14
+ - Stress testing with configurable concurrency and latency metrics
15
+ - PII/sensitive data redaction with built-in and custom patterns
16
+ - Interactive HTML reports with run comparison
17
+ - Multi-provider support: OpenAI, Azure OpenAI, Anthropic
18
+ - Local and Supabase storage backends
19
+
20
+ - Updated dependencies [6350e5d]
21
+ - @artemiskit/core@0.1.2
22
+
23
+ ## 0.1.1
24
+
25
+ ### Patch Changes
26
+
27
+ - 1200625: Initial release of ArtemisKit - LLM Evaluation Toolkit
28
+
29
+ ArtemisKit is a comprehensive toolkit for testing, validating, and auditing LLM-powered applications.
30
+
31
+ Features:
32
+
33
+ - Scenario-based evaluation with YAML test definitions
34
+ - Multiple expectation types: contains, exact, regex, fuzzy, llm_grader, json_schema
35
+ - Red team security testing (injection, jailbreak, extraction, hallucination, PII disclosure)
36
+ - Stress testing with configurable concurrency and detailed latency metrics
37
+ - PII/sensitive data redaction with built-in and custom patterns
38
+ - Interactive HTML reports with run comparison
39
+ - Multi-provider support: OpenAI, Azure OpenAI, Anthropic
40
+ - Local and Supabase storage backends
41
+ - Run history tracking and comparison
42
+
43
+ CLI Commands:
44
+
45
+ - artemiskit run - Execute scenario-based evaluations
46
+ - artemiskit redteam - Run adversarial security tests
47
+ - artemiskit stress - Perform load testing
48
+ - artemiskit report - Regenerate reports from manifests
49
+ - artemiskit history - View past runs
50
+ - artemiskit compare - Compare two runs
51
+ - artemiskit init - Initialize configuration
52
+
53
+ - Updated dependencies [1200625]
54
+ - @artemiskit/core@0.1.1
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @artemiskit/adapter-anthropic
3
+ * Anthropic SDK adapter for Artemis
4
+ */
5
+ import type { AdapterConfig, GenerateOptions, GenerateResult, ModelCapabilities, ModelClient } from '@artemiskit/core';
6
+ export declare class AnthropicAdapter implements ModelClient {
7
+ private client;
8
+ private config;
9
+ readonly provider = "anthropic";
10
+ constructor(config: AdapterConfig);
11
+ generate(options: GenerateOptions): Promise<GenerateResult>;
12
+ stream(options: GenerateOptions, onChunk: (chunk: string) => void): AsyncIterable<string>;
13
+ capabilities(): Promise<ModelCapabilities>;
14
+ close(): Promise<void>;
15
+ private normalizePrompt;
16
+ private mapStopReason;
17
+ }
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EACV,aAAa,EAEb,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,WAAW,EACZ,MAAM,kBAAkB,CAAC;AAO1B,qBAAa,gBAAiB,YAAW,WAAW;IAClD,OAAO,CAAC,MAAM,CAAY;IAC1B,OAAO,CAAC,MAAM,CAAkB;IAChC,QAAQ,CAAC,QAAQ,eAAe;gBAEpB,MAAM,EAAE,aAAa;IAW3B,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC;IAkC1D,MAAM,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,aAAa,CAAC,MAAM,CAAC;IAqB1F,YAAY,IAAI,OAAO,CAAC,iBAAiB,CAAC;IAW1C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAI5B,OAAO,CAAC,eAAe;IAyBvB,OAAO,CAAC,aAAa;CAYtB"}