fascicle 0.17.5 → 0.17.7
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/CHANGELOG.md +27 -0
- package/dist/AGENTS.md +7 -7
- package/dist/acp.d.ts +124 -2
- package/dist/acp.js +756 -89
- package/dist/acp.js.map +1 -1
- package/dist/agents.d.ts +1 -1
- package/dist/{engine-BTijBDlY.js → engine-B5iQ3if9.js} +7 -4
- package/dist/engine-B5iQ3if9.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp-8mKK7eDY.js +267 -0
- package/dist/mcp-8mKK7eDY.js.map +1 -0
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +1 -265
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/dist/{types-C23S11Kk.d.ts → types-xYjCEd6i.d.ts} +9 -1
- package/dist/viewer-app/assets/index-YrQFld-l.js +4 -0
- package/dist/viewer-app/index.html +1 -1
- package/package.json +6 -5
- package/dist/engine-BTijBDlY.js.map +0 -1
- package/dist/mcp.js.map +0 -1
- package/dist/viewer-app/assets/index-BkS2ZQu0.js +0 -4
package/dist/agents.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as Step } from "./types-CPqLZOEr.js";
|
|
2
2
|
import { r as ToolSchema } from "./types-BK0UW28o.js";
|
|
3
|
-
import { l as EffortLevel, u as Engine } from "./types-
|
|
3
|
+
import { l as EffortLevel, u as Engine } from "./types-xYjCEd6i.js";
|
|
4
4
|
//#region src/agents/define_agent.d.ts
|
|
5
5
|
type AgentBuiltPrompt = string | {
|
|
6
6
|
readonly user: string;
|
|
@@ -3217,13 +3217,16 @@ function apply_auth_key(env, config, auth_mode) {
|
|
|
3217
3217
|
*
|
|
3218
3218
|
* Under `auth_mode: 'oauth'` the full `process.env` is inherited instead
|
|
3219
3219
|
* of just the standard keys, because the CLI needs HOME plus
|
|
3220
|
-
* session-specific vars to reach the already-logged-in OAuth session.
|
|
3221
|
-
*
|
|
3222
|
-
*
|
|
3220
|
+
* session-specific vars to reach the already-logged-in OAuth session.
|
|
3221
|
+
* `omit_env` drops its names after the caller overrides are merged in, so a
|
|
3222
|
+
* call can't hand back a variable the provider keeps out. The auth-mode
|
|
3223
|
+
* scrub runs last, so nothing can re-introduce `ANTHROPIC_API_KEY` under
|
|
3224
|
+
* `'oauth'`, and a configured `api_key` still reaches the CLI.
|
|
3223
3225
|
*/
|
|
3224
3226
|
function build_env(config, caller_env, auth_mode) {
|
|
3225
3227
|
const env = seed_base_env(config, auth_mode);
|
|
3226
3228
|
if (caller_env !== void 0) copy_string_entries(env, caller_env);
|
|
3229
|
+
for (const key of config.omit_env ?? []) delete env[key];
|
|
3227
3230
|
apply_auth_key(env, config, auth_mode);
|
|
3228
3231
|
return env;
|
|
3229
3232
|
}
|
|
@@ -8600,4 +8603,4 @@ function create_engine(config) {
|
|
|
8600
8603
|
//#endregion
|
|
8601
8604
|
export { to_json_schema as n, create_engine as t };
|
|
8602
8605
|
|
|
8603
|
-
//# sourceMappingURL=engine-
|
|
8606
|
+
//# sourceMappingURL=engine-B5iQ3if9.js.map
|