@vibesdotdev/integrations-anthropic 0.0.0-stage → 1.0.0-rc.1
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/LICENSE +126 -0
- package/README.md +57 -2
- package/dist/ai/anthropic-router-codec.d.ts +32 -0
- package/dist/ai/anthropic-router-codec.d.ts.map +1 -0
- package/dist/ai/anthropic-router-codec.js +321 -0
- package/dist/ai/anthropic-router-codec.js.map +1 -0
- package/dist/ai/anthropic.plugin.d.ts +6 -0
- package/dist/ai/anthropic.plugin.d.ts.map +1 -0
- package/dist/ai/anthropic.plugin.js +116 -0
- package/dist/ai/anthropic.plugin.js.map +1 -0
- package/dist/ai/catalog.d.ts +87 -0
- package/dist/ai/catalog.d.ts.map +1 -0
- package/dist/ai/catalog.js +64 -0
- package/dist/ai/catalog.js.map +1 -0
- package/dist/ai/claude-code-session.d.ts +56 -0
- package/dist/ai/claude-code-session.d.ts.map +1 -0
- package/dist/ai/claude-code-session.js +75 -0
- package/dist/ai/claude-code-session.js.map +1 -0
- package/dist/ai/claude-code-turn-env.d.ts +10 -0
- package/dist/ai/claude-code-turn-env.d.ts.map +1 -0
- package/dist/ai/claude-code-turn-env.js +19 -0
- package/dist/ai/claude-code-turn-env.js.map +1 -0
- package/dist/ai/hostile.d.ts +23 -0
- package/dist/ai/hostile.d.ts.map +1 -0
- package/dist/ai/hostile.js +22 -0
- package/dist/ai/hostile.js.map +1 -0
- package/dist/ai/index.d.ts +4 -0
- package/dist/ai/index.d.ts.map +1 -0
- package/dist/ai/index.js +4 -0
- package/dist/ai/index.js.map +1 -0
- package/dist/ai/metadata/assets/logos/providers/anthropic.svg +1 -0
- package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-3-5-haiku-20241022.json +77 -0
- package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-3-5-sonnet-20241022.json +42 -0
- package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-4-opus-20250514.json +79 -0
- package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-4-sonnet-20250514.json +79 -0
- package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-haiku-4-5.json +80 -0
- package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-haiku-5-5.json +39 -0
- package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-opus-4-1.json +78 -0
- package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-opus-4-5.json +80 -0
- package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-opus-4-6.json +80 -0
- package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-opus-4-7.json +81 -0
- package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-sonnet-4-5.json +80 -0
- package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-sonnet-4-6.json +80 -0
- package/dist/ai/metadata/providers/anthropic.json +22 -0
- package/dist/ai/providers/anthropic/anthropic.provider.impl.d.ts +62 -0
- package/dist/ai/providers/anthropic/anthropic.provider.impl.d.ts.map +1 -0
- package/dist/ai/providers/anthropic/anthropic.provider.impl.js +430 -0
- package/dist/ai/providers/anthropic/anthropic.provider.impl.js.map +1 -0
- package/dist/ai/providers/anthropic/detection/index.d.ts +8 -0
- package/dist/ai/providers/anthropic/detection/index.d.ts.map +1 -0
- package/dist/ai/providers/anthropic/detection/index.js +8 -0
- package/dist/ai/providers/anthropic/detection/index.js.map +1 -0
- package/dist/ai/providers/anthropic/detection/system.d.ts +12 -0
- package/dist/ai/providers/anthropic/detection/system.d.ts.map +1 -0
- package/dist/ai/providers/anthropic/detection/system.js +34 -0
- package/dist/ai/providers/anthropic/detection/system.js.map +1 -0
- package/dist/ai/providers/anthropic/docs/ai.providers.anthropic.docs.descriptor.d.ts +4 -0
- package/dist/ai/providers/anthropic/docs/ai.providers.anthropic.docs.descriptor.d.ts.map +1 -0
- package/dist/ai/providers/anthropic/docs/ai.providers.anthropic.docs.descriptor.js +212 -0
- package/dist/ai/providers/anthropic/docs/ai.providers.anthropic.docs.descriptor.js.map +1 -0
- package/dist/ai/providers/anthropic/index.d.ts +4 -0
- package/dist/ai/providers/anthropic/index.d.ts.map +1 -0
- package/dist/ai/providers/anthropic/index.js +4 -0
- package/dist/ai/providers/anthropic/index.js.map +1 -0
- package/dist/ai/providers/anthropic/recommendations.d.ts +24 -0
- package/dist/ai/providers/anthropic/recommendations.d.ts.map +1 -0
- package/dist/ai/providers/anthropic/recommendations.js +192 -0
- package/dist/ai/providers/anthropic/recommendations.js.map +1 -0
- package/dist/ai/providers/cloud/frontier/anthropic/config/config.anthropic.descriptor.d.ts +4194 -0
- package/dist/ai/providers/cloud/frontier/anthropic/config/config.anthropic.descriptor.d.ts.map +1 -0
- package/dist/ai/providers/cloud/frontier/anthropic/config/config.anthropic.descriptor.js +52 -0
- package/dist/ai/providers/cloud/frontier/anthropic/config/config.anthropic.descriptor.js.map +1 -0
- package/dist/ai/providers/cloud/frontier/anthropic/config/schemas/index.d.ts +46 -0
- package/dist/ai/providers/cloud/frontier/anthropic/config/schemas/index.d.ts.map +1 -0
- package/dist/ai/providers/cloud/frontier/anthropic/config/schemas/index.js +22 -0
- package/dist/ai/providers/cloud/frontier/anthropic/config/schemas/index.js.map +1 -0
- package/dist/ai/providers/cloud/frontier/anthropic/index.d.ts +5 -0
- package/dist/ai/providers/cloud/frontier/anthropic/index.d.ts.map +1 -0
- package/dist/ai/providers/cloud/frontier/anthropic/index.js +4 -0
- package/dist/ai/providers/cloud/frontier/anthropic/index.js.map +1 -0
- package/dist/ai/providers/cloud/frontier/anthropic/provider.anthropic.descriptor.d.ts +183 -0
- package/dist/ai/providers/cloud/frontier/anthropic/provider.anthropic.descriptor.d.ts.map +1 -0
- package/dist/ai/providers/cloud/frontier/anthropic/provider.anthropic.descriptor.js +115 -0
- package/dist/ai/providers/cloud/frontier/anthropic/provider.anthropic.descriptor.js.map +1 -0
- package/dist/ai/specs/anthropic-messages/anthropic-messages.failures.d.ts +46 -0
- package/dist/ai/specs/anthropic-messages/anthropic-messages.failures.d.ts.map +1 -0
- package/dist/ai/specs/anthropic-messages/anthropic-messages.failures.js +183 -0
- package/dist/ai/specs/anthropic-messages/anthropic-messages.failures.js.map +1 -0
- package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.descriptor.d.ts +34 -0
- package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.descriptor.d.ts.map +1 -0
- package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.descriptor.js +29 -0
- package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.descriptor.js.map +1 -0
- package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.impl.d.ts +48 -0
- package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.impl.d.ts.map +1 -0
- package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.impl.js +557 -0
- package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.impl.js.map +1 -0
- package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.descriptor.d.ts +26 -0
- package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.descriptor.d.ts.map +1 -0
- package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.descriptor.js +15 -0
- package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.descriptor.js.map +1 -0
- package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.impl.d.ts +35 -0
- package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.impl.d.ts.map +1 -0
- package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.impl.js +210 -0
- package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.impl.js.map +1 -0
- package/dist/external/acp-server.consumer.plugin.d.ts +3 -0
- package/dist/external/acp-server.consumer.plugin.d.ts.map +1 -0
- package/dist/external/acp-server.consumer.plugin.js +29 -0
- package/dist/external/acp-server.consumer.plugin.js.map +1 -0
- package/dist/external/acp-server.d.ts +19 -0
- package/dist/external/acp-server.d.ts.map +1 -0
- package/dist/external/acp-server.js +198 -0
- package/dist/external/acp-server.js.map +1 -0
- package/dist/external/claude-code-hooks.d.ts +51 -0
- package/dist/external/claude-code-hooks.d.ts.map +1 -0
- package/dist/external/claude-code-hooks.js +252 -0
- package/dist/external/claude-code-hooks.js.map +1 -0
- package/dist/external/claude-code-installer.d.ts +10 -0
- package/dist/external/claude-code-installer.d.ts.map +1 -0
- package/dist/external/claude-code-installer.js +604 -0
- package/dist/external/claude-code-installer.js.map +1 -0
- package/dist/external/claude-code-operations.d.ts +217 -0
- package/dist/external/claude-code-operations.d.ts.map +1 -0
- package/dist/external/claude-code-operations.js +101 -0
- package/dist/external/claude-code-operations.js.map +1 -0
- package/dist/external/claude-code-plugin.json +7 -0
- package/dist/external/claude-code-presets.d.ts +813 -0
- package/dist/external/claude-code-presets.d.ts.map +1 -0
- package/dist/external/claude-code-presets.js +157 -0
- package/dist/external/claude-code-presets.js.map +1 -0
- package/dist/external/claude-code.descriptor.d.ts +160 -0
- package/dist/external/claude-code.descriptor.d.ts.map +1 -0
- package/dist/external/claude-code.descriptor.js +5 -0
- package/dist/external/claude-code.descriptor.js.map +1 -0
- package/dist/external/claude-code.manifest.d.ts +5 -0
- package/dist/external/claude-code.manifest.d.ts.map +1 -0
- package/dist/external/claude-code.manifest.js +205 -0
- package/dist/external/claude-code.manifest.js.map +1 -0
- package/dist/external/external.plugin.d.ts +6 -0
- package/dist/external/external.plugin.d.ts.map +1 -0
- package/dist/external/external.plugin.js +56 -0
- package/dist/external/external.plugin.js.map +1 -0
- package/dist/external/index.d.ts +6 -0
- package/dist/external/index.d.ts.map +1 -0
- package/dist/external/index.js +6 -0
- package/dist/external/index.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/package.json +108 -4
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "anthropic:claude-sonnet-4-5",
|
|
3
|
+
"providerId": "anthropic",
|
|
4
|
+
"providerModelId": "claude-sonnet-4-5",
|
|
5
|
+
"aliases": [
|
|
6
|
+
"anthropic:claude-sonnet-4-5",
|
|
7
|
+
"claude-sonnet-4-5"
|
|
8
|
+
],
|
|
9
|
+
"globalModelId": "anthropic:claude-sonnet-4-5",
|
|
10
|
+
"source": "curated",
|
|
11
|
+
"displayName": "Claude Sonnet 4.5",
|
|
12
|
+
"description": "Anthropic Claude Sonnet 4.5. $3/M input, $15/M output, 200k context. Cache-aware pricing.",
|
|
13
|
+
"modelType": "llm_chat",
|
|
14
|
+
"capabilities": [
|
|
15
|
+
"chat_completion",
|
|
16
|
+
"text_generation",
|
|
17
|
+
"code_generation",
|
|
18
|
+
"image_understanding",
|
|
19
|
+
"function_calling"
|
|
20
|
+
],
|
|
21
|
+
"modalities": [
|
|
22
|
+
"text",
|
|
23
|
+
"image"
|
|
24
|
+
],
|
|
25
|
+
"tokenLimit": 200000,
|
|
26
|
+
"costBasis": [
|
|
27
|
+
{
|
|
28
|
+
"units": "input_tokens",
|
|
29
|
+
"usdPerMillionUnits": 3,
|
|
30
|
+
"source": "published",
|
|
31
|
+
"confidence": "high",
|
|
32
|
+
"effectiveAt": "2026-05-15T00:00:00.000Z"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"units": "output_tokens",
|
|
36
|
+
"usdPerMillionUnits": 15,
|
|
37
|
+
"source": "published",
|
|
38
|
+
"confidence": "high",
|
|
39
|
+
"effectiveAt": "2026-05-15T00:00:00.000Z"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"units": "cached_input_tokens",
|
|
43
|
+
"usdPerMillionUnits": 0.3,
|
|
44
|
+
"source": "published",
|
|
45
|
+
"confidence": "high",
|
|
46
|
+
"effectiveAt": "2026-05-15T00:00:00.000Z"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"units": "cache_write_5m_tokens",
|
|
50
|
+
"usdPerMillionUnits": 3.75,
|
|
51
|
+
"source": "published",
|
|
52
|
+
"confidence": "high",
|
|
53
|
+
"effectiveAt": "2026-05-15T00:00:00.000Z"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"units": "cache_write_1h_tokens",
|
|
57
|
+
"usdPerMillionUnits": 6,
|
|
58
|
+
"source": "published",
|
|
59
|
+
"confidence": "high",
|
|
60
|
+
"effectiveAt": "2026-05-15T00:00:00.000Z"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"configuration": {
|
|
64
|
+
"maxTokens": 8192,
|
|
65
|
+
"contextLength": 200000
|
|
66
|
+
},
|
|
67
|
+
"hardware": [
|
|
68
|
+
"cloud"
|
|
69
|
+
],
|
|
70
|
+
"enabled": true,
|
|
71
|
+
"tags": [
|
|
72
|
+
"anthropic",
|
|
73
|
+
"claude",
|
|
74
|
+
"sonnet",
|
|
75
|
+
"vision",
|
|
76
|
+
"tools",
|
|
77
|
+
"balanced",
|
|
78
|
+
"current"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "anthropic:claude-sonnet-4-6",
|
|
3
|
+
"providerId": "anthropic",
|
|
4
|
+
"providerModelId": "claude-sonnet-4-6",
|
|
5
|
+
"aliases": [
|
|
6
|
+
"anthropic:claude-sonnet-4-6",
|
|
7
|
+
"claude-sonnet-4-6"
|
|
8
|
+
],
|
|
9
|
+
"globalModelId": "anthropic:claude-sonnet-4-6",
|
|
10
|
+
"source": "curated",
|
|
11
|
+
"displayName": "Claude Sonnet 4.6",
|
|
12
|
+
"description": "Anthropic Claude Sonnet 4.6. $3/M input, $15/M output, 200k context. Cache-aware pricing.",
|
|
13
|
+
"modelType": "llm_chat",
|
|
14
|
+
"capabilities": [
|
|
15
|
+
"chat_completion",
|
|
16
|
+
"text_generation",
|
|
17
|
+
"code_generation",
|
|
18
|
+
"image_understanding",
|
|
19
|
+
"function_calling"
|
|
20
|
+
],
|
|
21
|
+
"modalities": [
|
|
22
|
+
"text",
|
|
23
|
+
"image"
|
|
24
|
+
],
|
|
25
|
+
"tokenLimit": 200000,
|
|
26
|
+
"costBasis": [
|
|
27
|
+
{
|
|
28
|
+
"units": "input_tokens",
|
|
29
|
+
"usdPerMillionUnits": 3,
|
|
30
|
+
"source": "published",
|
|
31
|
+
"confidence": "high",
|
|
32
|
+
"effectiveAt": "2026-05-15T00:00:00.000Z"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"units": "output_tokens",
|
|
36
|
+
"usdPerMillionUnits": 15,
|
|
37
|
+
"source": "published",
|
|
38
|
+
"confidence": "high",
|
|
39
|
+
"effectiveAt": "2026-05-15T00:00:00.000Z"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"units": "cached_input_tokens",
|
|
43
|
+
"usdPerMillionUnits": 0.3,
|
|
44
|
+
"source": "published",
|
|
45
|
+
"confidence": "high",
|
|
46
|
+
"effectiveAt": "2026-05-15T00:00:00.000Z"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"units": "cache_write_5m_tokens",
|
|
50
|
+
"usdPerMillionUnits": 3.75,
|
|
51
|
+
"source": "published",
|
|
52
|
+
"confidence": "high",
|
|
53
|
+
"effectiveAt": "2026-05-15T00:00:00.000Z"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"units": "cache_write_1h_tokens",
|
|
57
|
+
"usdPerMillionUnits": 6,
|
|
58
|
+
"source": "published",
|
|
59
|
+
"confidence": "high",
|
|
60
|
+
"effectiveAt": "2026-05-15T00:00:00.000Z"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"configuration": {
|
|
64
|
+
"maxTokens": 8192,
|
|
65
|
+
"contextLength": 200000
|
|
66
|
+
},
|
|
67
|
+
"hardware": [
|
|
68
|
+
"cloud"
|
|
69
|
+
],
|
|
70
|
+
"enabled": true,
|
|
71
|
+
"tags": [
|
|
72
|
+
"anthropic",
|
|
73
|
+
"claude",
|
|
74
|
+
"sonnet",
|
|
75
|
+
"vision",
|
|
76
|
+
"tools",
|
|
77
|
+
"balanced",
|
|
78
|
+
"current"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "anthropic",
|
|
3
|
+
"name": "Anthropic",
|
|
4
|
+
"baseUrl": "https://api.anthropic.com",
|
|
5
|
+
"compatibleKindId": "anthropic-compatible",
|
|
6
|
+
"branding": {
|
|
7
|
+
"logo": {
|
|
8
|
+
"kind": "mark",
|
|
9
|
+
"format": "svg",
|
|
10
|
+
"path": "./assets/logos/providers/anthropic.svg",
|
|
11
|
+
"sourceUrl": "https://www.anthropic.com/",
|
|
12
|
+
"sourcePageUrl": "https://www.anthropic.com/",
|
|
13
|
+
"source": "official-homepage-inline",
|
|
14
|
+
"theme": "any"
|
|
15
|
+
},
|
|
16
|
+
"sourcePageUrl": "https://www.anthropic.com/"
|
|
17
|
+
},
|
|
18
|
+
"docsUrl": "https://docs.anthropic.com/",
|
|
19
|
+
"sourceUrls": [
|
|
20
|
+
"https://www.anthropic.com/"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type AIProviderFetch } from '@vibesdotdev/ai/providers-runtime/client';
|
|
2
|
+
/**
|
|
3
|
+
* Anthropic Provider Type Implementation
|
|
4
|
+
*
|
|
5
|
+
* Provider type implementation for Anthropic.
|
|
6
|
+
* Provides helper methods for working with Anthropic instances.
|
|
7
|
+
*/
|
|
8
|
+
import type { AIProviderTypeInterface, AIProviderTypeContext, ProviderGenerateOptions, ProviderGenerateResult, DetectedProviderInstance, ModelRecommendation, ProviderHealthCheckResult, ProviderOperationOptions, ConnectionValidationResult } from '@vibesdotdev/ai/interfaces/provider-type';
|
|
9
|
+
import type { AIProviderTypeDescriptor } from '@vibesdotdev/ai/providers-runtime/schemas/type-descriptor';
|
|
10
|
+
import type { AIProviderDescriptor } from '@vibesdotdev/ai/providers-runtime/schemas/provider-descriptor';
|
|
11
|
+
import type { AIModelDescriptor } from '@vibesdotdev/ai/models/schemas';
|
|
12
|
+
import type { GenerationRequest } from '@vibesdotdev/ai/interfaces/adapter';
|
|
13
|
+
import type { Modality } from '@vibesdotdev/ai/models/schemas/constants';
|
|
14
|
+
/** The connection configuration the provider-type interface hands to health, authentication and validation. */
|
|
15
|
+
type ProviderConnectionConfig = Parameters<AIProviderTypeInterface['checkHealth']>[0];
|
|
16
|
+
export declare class AnthropicProviderType implements AIProviderTypeInterface {
|
|
17
|
+
readonly descriptor: AIProviderTypeDescriptor;
|
|
18
|
+
private context;
|
|
19
|
+
private readonly fetchOwner;
|
|
20
|
+
/** `options.fetch` is the HTTP owner of the API-key health check; absent, the runtime's request host, else the global fetch. */
|
|
21
|
+
constructor(descriptor: AIProviderTypeDescriptor, context: AIProviderTypeContext, options?: {
|
|
22
|
+
readonly fetch?: AIProviderFetch;
|
|
23
|
+
});
|
|
24
|
+
/**
|
|
25
|
+
* Generate using this provider (delegates to ai/generation)
|
|
26
|
+
*/
|
|
27
|
+
generate<T extends Modality>(providerInstance: AIProviderDescriptor, model: AIModelDescriptor, request: GenerationRequest<T>, options?: ProviderGenerateOptions): Promise<ProviderGenerateResult<T>>;
|
|
28
|
+
detectInstalled(): Promise<DetectedProviderInstance[]>;
|
|
29
|
+
/**
|
|
30
|
+
* Recommend models for a use case
|
|
31
|
+
*/
|
|
32
|
+
recommendModels(useCase: string): Promise<ModelRecommendation[]>;
|
|
33
|
+
/**
|
|
34
|
+
* Check health of an Anthropic instance
|
|
35
|
+
*/
|
|
36
|
+
checkHealth(instanceConfig: ProviderConnectionConfig, options?: ProviderOperationOptions): Promise<ProviderHealthCheckResult>;
|
|
37
|
+
/** The subscription route's health: the consumer host, the CLI, and a status that proves a claude.ai subscription. */
|
|
38
|
+
private checkSubscriptionRoute;
|
|
39
|
+
authenticate(instanceConfig: ProviderConnectionConfig, options?: ProviderOperationOptions): Promise<ProviderHealthCheckResult>;
|
|
40
|
+
/**
|
|
41
|
+
* Validate connection configuration. Each problem is one message (the framework result type
|
|
42
|
+
* has no code slot); a configuration that cannot be read at all is a typed refusal.
|
|
43
|
+
*/
|
|
44
|
+
validateConnection(config: ProviderConnectionConfig): Promise<ConnectionValidationResult>;
|
|
45
|
+
/**
|
|
46
|
+
* A host that composes no execution kind (a cloud host, or a consumer host
|
|
47
|
+
* without one) runs no Claude Code. A composed execution provider that is
|
|
48
|
+
* unavailable or fails is an owner failure and propagates typed.
|
|
49
|
+
*/
|
|
50
|
+
private resolveExecution;
|
|
51
|
+
private isCloudRuntime;
|
|
52
|
+
private checkClaudeSubscription;
|
|
53
|
+
private checkApiCredential;
|
|
54
|
+
private missingApiKey;
|
|
55
|
+
private unhealthy;
|
|
56
|
+
/**
|
|
57
|
+
* Cleanup resources
|
|
58
|
+
*/
|
|
59
|
+
dispose(): Promise<void>;
|
|
60
|
+
}
|
|
61
|
+
export {};
|
|
62
|
+
//# sourceMappingURL=anthropic.provider.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anthropic.provider.impl.d.ts","sourceRoot":"","sources":["../../../../src/ai/providers/anthropic/anthropic.provider.impl.ts"],"names":[],"mappings":"AAGA,OAAO,EAEN,KAAK,eAAe,EAEpB,MAAM,0CAA0C,CAAC;AAKlD;;;;;GAKG;AAEH,OAAO,KAAK,EACX,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2DAA2D,CAAC;AAC1G,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+DAA+D,CAAC;AAC1G,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AAezE,+GAA+G;AAC/G,KAAK,wBAAwB,GAAG,UAAU,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AA6DtF,qBAAa,qBAAsB,YAAW,uBAAuB;IACpE,QAAQ,CAAC,UAAU,EAAE,wBAAwB,CAAC;IAC9C,OAAO,CAAC,OAAO,CAAwB;IACvC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA8B;IAEzD,gIAAgI;gBAE/H,UAAU,EAAE,wBAAwB,EACpC,OAAO,EAAE,qBAAqB,EAC9B,OAAO,GAAE;QAAE,QAAQ,CAAC,KAAK,CAAC,EAAE,eAAe,CAAA;KAAO;IAMnD;;OAEG;IACG,QAAQ,CAAC,CAAC,SAAS,QAAQ,EAChC,gBAAgB,EAAE,oBAAoB,EACtC,KAAK,EAAE,iBAAiB,EACxB,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAC7B,OAAO,CAAC,EAAE,uBAAuB,GAC/B,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;IAgB/B,eAAe,IAAI,OAAO,CAAC,wBAAwB,EAAE,CAAC;IA0B5D;;OAEG;IACG,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC;IA6DtE;;OAEG;IACG,WAAW,CAChB,cAAc,EAAE,wBAAwB,EACxC,OAAO,CAAC,EAAE,wBAAwB,GAChC,OAAO,CAAC,yBAAyB,CAAC;IAarC,sHAAsH;YACxG,sBAAsB;IAkB9B,YAAY,CACjB,cAAc,EAAE,wBAAwB,EACxC,OAAO,CAAC,EAAE,wBAAwB,GAChC,OAAO,CAAC,yBAAyB,CAAC;IAyCrC;;;OAGG;IACG,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,0BAA0B,CAAC;IAkC/F;;;;OAIG;YACW,gBAAgB;IAK9B,OAAO,CAAC,cAAc;YAIR,uBAAuB;YAkDvB,kBAAkB;IAmDhC,OAAO,CAAC,aAAa;IAOrB,OAAO,CAAC,SAAS;IAIjB;;OAEG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAG9B"}
|