shiplightai 0.1.86 → 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/cjs/debugger-pw.cjs +83 -83
- package/dist/cjs/fixture.cjs +91 -91
- package/dist/cjs/index.cjs +81 -81
- package/dist/cjs/reporter.cjs +16 -16
- package/dist/cli.js +79 -79
- package/dist/debugger-pw.js +82 -82
- package/dist/fixture.d.ts +8 -7
- package/dist/fixture.js +91 -91
- package/dist/index.js +80 -80
- package/dist/reporter.js +16 -16
- package/package.json +2 -2
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
|
|
181
|
-
* read by
|
|
182
|
-
*
|
|
183
|
-
* fixture below. The resolved
|
|
184
|
-
*
|
|
185
|
-
*
|
|
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
|