shiplightai 0.1.85 → 0.1.87

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/dist/fixture.d.ts CHANGED
@@ -177,17 +177,18 @@ declare function applyVarsOverride(variableStore: VariableStore, projectVariable
177
177
  * spread `process.env` into this object — the allowlist exists so that user
178
178
  * test code cannot exfiltrate arbitrary shell state through the SDK.
179
179
  *
180
- * **Not on this list: `WEB_AGENT_MODEL` / `COMPUTER_USE_MODEL`.** Those are
181
- * read by `resolveWebAgentModelFromEnv` / `resolveComputerUseModelFromEnv`
182
- * from `shiplight-types`, called with `getShiplightEnv()` in the agent
183
- * fixture below. The resolved model string is passed as a constructor
184
- * parameter to `createAgentContext`, not through `SdkConfig.env`. They do
185
- * not need to be on the allowlist.
180
+ * **Not on this list: `WEB_AGENT_MODEL` / `COMPUTER_USE_MODEL` /
181
+ * `WEB_AGENT_FALLBACK_MODELS`.** Those are read by the `resolve*FromEnv`
182
+ * helpers in `shiplight-types`, called with `getShiplightEnv()` in the agent
183
+ * fixture below. The resolved values are passed as constructor parameters to
184
+ * `createAgentContext`, not through `SdkConfig.env`. They do not need to be on
185
+ * the allowlist. (`WEB_AGENT_LLM_TIMEOUT_MS` IS on the list — it is read via
186
+ * `getSdkConfig().env` by the executor, not threaded through the context.)
186
187
  *
187
188
  * Keep in sync with the "Environment variables" section of the public
188
189
  * documentation at `docs.shiplight.ai/local/cli-reference`.
189
190
  */
190
- declare const SDK_ENV_ALLOWLIST: readonly ["GOOGLE_API_KEY", "ANTHROPIC_API_KEY", "OPENAI_API_KEY", "OPENAI_BASE_URL", "ANTHROPIC_MODELS_USE_VERTEXAI", "GOOGLE_GENAI_USE_VERTEXAI", "GOOGLE_CLOUD_PROJECT", "GOOGLE_CLOUD_LOCATION", "MAILGUN_API_KEY", "MAILGUN_DOMAIN", "SHIPLIGHT_API_TOKEN", "SHIPLIGHT_API_URL"];
191
+ declare const SDK_ENV_ALLOWLIST: readonly ["GOOGLE_API_KEY", "ANTHROPIC_API_KEY", "OPENAI_API_KEY", "OPENAI_BASE_URL", "ANTHROPIC_MODELS_USE_VERTEXAI", "GOOGLE_GENAI_USE_VERTEXAI", "GOOGLE_CLOUD_PROJECT", "GOOGLE_CLOUD_LOCATION", "MAILGUN_API_KEY", "MAILGUN_DOMAIN", "SHIPLIGHT_API_TOKEN", "SHIPLIGHT_API_URL", "WEB_AGENT_LLM_TIMEOUT_MS"];
191
192
  /**
192
193
  * Pick the allowlisted env vars out of a source record (defaults to the
193
194
  * Shiplight `.env` stash via `getShiplightEnv()`) and return them as a