Vigia

Aktualizacja @anthropic-ai/sdk z 0.x do 1.x

Porównanie publicznego API @anthropic-ai/sdk 0.137.0 i 1.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.

Podsumowanie

Usunięte ścieżki importu0
Usunięte eksporty2
Zmienione sygnatury1
Usunięte składowe klas lub interfejsów12
Zmienione składowe klas lub interfejsów0
Nowo wycofane0
Zmiany wymagań (engines, zależności peer)0
Nowe eksporty0

Usunięte eksporty

importexportkindPrzed
@anthropic-ai/sdkAI_PROMPTvariable"\\n\\nAssistant:"
@anthropic-ai/sdkHUMAN_PROMPTvariable"\\n\\nHuman:"

Zmienione sygnatury

exportPrzedPo
@anthropic-ai/sdk · ParseableMessageCreateParams{ stream?: boolean | undefined; max_tokens: number; messages: MessageParam[]; model: Model; cache_control?: CacheControlEphemeral | null | undefined; container?: MessageCreateParamsContainer | null | undefined; diagnostics?: DiagnosticsParam | null | undefined; inference_geo?: string | null | undefined; metadata?: Metadata | undefined; service_tier?: "auto" | "standard_only" | undefined; speed?: "standard" | "fast" | null | undefined; stop_sequences?: string[] | undefined; system?: string | TextBlockParam[] | undefined; temperature?: number | undefined; thinking?: ThinkingConfigParam | undefin…{ stream?: boolean | undefined; max_tokens: number; messages: MessageParam[]; model: Model; cache_control?: CacheControlEphemeral | null | undefined; container?: MessageCreateParamsContainer | null | undefined; diagnostics?: DiagnosticsParam | null | undefined; inference_geo?: string | null | undefined; metadata?: Metadata | undefined; service_tier?: "auto" | "standard_only" | undefined; speed?: "standard" | "fast" | null | undefined; stop_sequences?: string[] | undefined; system?: string | TextBlockParam[] | undefined; thinking?: ThinkingConfigParam | undefined; tool_choice?: ToolChoice | und…

Usunięte składowe klas lub interfejsów

memberimportPrzed
default.completions@anthropic-ai/sdkCompletions
default.static AI_PROMPT@anthropic-ai/sdkstring
default.static Completions@anthropic-ai/sdktypeof Completions
default.static HUMAN_PROMPT@anthropic-ai/sdkstring
Anthropic.completions@anthropic-ai/sdkCompletions
Anthropic.static AI_PROMPT@anthropic-ai/sdkstring
Anthropic.static Completions@anthropic-ai/sdktypeof Completions
Anthropic.static HUMAN_PROMPT@anthropic-ai/sdkstring
APIPromise.static __@species@5533@anthropic-ai/sdkPromiseConstructor
PagePromise.static __@species@5533@anthropic-ai/sdkPromiseConstructor
BaseAnthropic.static AI_PROMPT@anthropic-ai/sdkstring
BaseAnthropic.static HUMAN_PROMPT@anthropic-ai/sdkstring

Zmienione składowe klas lub interfejsów

Nie wykryto.

Nowo wycofane

Nie wykryto.

Zmiany wymagań (engines, zależności peer)

Nie wykryto.

Changelog między tymi wersjami

Tekst opublikowany przez autorów pakietu, pokazany bez zmian.

1.0.0
### ⚠ BREAKING CHANGES

* **api:** add support for new API version 2026-10-21

### Features

* **api:** add a workspace_id filter and the usage_tier scope type to list spend limits
* **api:** add support for new API version 2026-10-21


### Chores

* **ci:** check the changelog of each package a pull request changes
* **internal:** specify which changelog a pull request updates


### Documentation

* **api:** remove outdated system role note from messages description

Przekaż te dane swojemu agentowi AI

Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie

Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów

Najczęściej zadawane pytania

Jakie są zmiany niekompatybilne przy aktualizacji @anthropic-ai/sdk z 0 do 1?

Między @anthropic-ai/sdk 0.137.0 a 1.0.0 Vigia znalazła 2 usuniętych eksportów, 1 zmienionych sygnatur i 12 usuniętych lub zmienionych składowych klas lub interfejsów.

Co zostało wycofane w @anthropic-ai/sdk 1?

0 eksportów lub składowych oznaczono w @anthropic-ai/sdk 1.0.0 jako wycofane.

Dla agentów

GET https://vigia.coredls.cloud/v1/packages/npm/@anthropic-ai/sdk/upgrade?from=0.137.0&to=1.0.0