anygate 0.6.0 → 0.6.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/README.md CHANGED
@@ -543,7 +543,7 @@ When OpenCode Zen is in your registry, `subscriptionFilter` controls which Zen m
543
543
  When you launch, anygate builds a clean child environment:
544
544
 
545
545
  1. Removes 17 conflicting env vars from the child process (Vertex AI, Bedrock, AWS, Foundry, stale Anthropic config)
546
- 2. Sets `ANTHROPIC_BASE_URL`, `ANTHROPIC_API_KEY`, and `ANTHROPIC_MODEL` for the session
546
+ 2. Sets `ANTHROPIC_BASE_URL`, `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, and `ANTHROPIC_MODEL` for the session
547
547
  3. Passes `--model <selected>` to Claude Code as a backup override
548
548
 
549
549
  When Claude Code exits (normal exit, Ctrl+C, terminal close), your shell is unchanged. No cleanup step. No restore needed.
@@ -6831,6 +6831,11 @@ function toProviderTemplate(data) {
6831
6831
  modelsPath: data.modelsPath ?? data.modelsEndpoint,
6832
6832
  signupUrl: data.signupUrl,
6833
6833
  signupNote: data.signupNote,
6834
+ // Self-hosted providers (Ollama, LM Studio) ship a urlPrompt so the add
6835
+ // flows collect the user's real endpoint. Dropping it here silently pinned
6836
+ // every install to the hardcoded default port.
6837
+ urlPrompt: data.urlPrompt,
6838
+ urlPlaceholder: data.urlPlaceholder,
6834
6839
  modelSource: data.modelSource ?? "api-list",
6835
6840
  staticModels: data.staticModels,
6836
6841
  supported: data.supported,
@@ -6879,8 +6884,12 @@ var NPM_PACKAGES = {
6879
6884
  "xai-oauth": "@ai-sdk/xai",
6880
6885
  "openai-oauth": "@ai-sdk/openai",
6881
6886
  "github-copilot": "@ai-sdk/openai-compatible",
6882
- sambanova: "@ai-sdk/sambanova",
6883
- fireworks: "@ai-sdk/fireworks",
6887
+ // SambaNova and Fireworks both serve an OpenAI-compatible /v1. There is no
6888
+ // published @ai-sdk/sambanova at all, and @ai-sdk/fireworks is not a
6889
+ // dependency here — pointing at either made addProviderFromTemplate reject
6890
+ // the provider outright ("Could not load …").
6891
+ sambanova: "@ai-sdk/openai-compatible",
6892
+ fireworks: "@ai-sdk/openai-compatible",
6884
6893
  ovh: "@ai-sdk/openai-compatible",
6885
6894
  scaleway: "@ai-sdk/openai-compatible"
6886
6895
  };
@@ -6937,4 +6946,4 @@ export {
6937
6946
  getTemplateById,
6938
6947
  filterTemplates
6939
6948
  };
6940
- //# sourceMappingURL=chunk-VGM6EBG4.js.map
6949
+ //# sourceMappingURL=chunk-4N4RDHGZ.js.map