fascicle 0.12.10 → 0.12.11

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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.12.11 — 2026-09-25
4
+
5
+ ### Added
6
+
7
+ - **A user content part can carry its own `provider_options`.** Text and image parts take an optional `provider_options` with the same two-level, provider-keyed shape as the call-level field, and the `ai_sdk` transport hands it to the AI SDK as that part's `providerOptions`. Before this, the adapter rebuilt every part from its text or image alone, so part-level provider features were out of reach. The one that prompted it is Bedrock's guard content. Mark a part with `{ bedrock: { guardContent: true } }` and a guardrail's input check reads only the marked parts, which lets a retrieval call check the question without its passages tripping the prompt-attack filter. It needs `@ai-sdk/amazon-bedrock` 5.0.65 or later. Native transports and `claude_cli` ignore the field, and parts without it convert exactly as before.
8
+
9
+ ### Internal
10
+
11
+ - The Bedrock section of `docs/providers.md` covers guard content, its qualifiers, and the peer version floor.
12
+
3
13
  ## v0.12.10 — 2026-09-24
4
14
 
5
15
  ### Fixed
package/dist/agents.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as Step } from "./types-DBpU27sQ.js";
2
2
  import { r as ToolSchema } from "./types-BK0UW28o.js";
3
- import { a as Engine, i as EffortLevel } from "./types-Dp-tNZPY.js";
3
+ import { a as Engine, i as EffortLevel } from "./types-DcNpT0Hl.js";
4
4
 
5
5
  //#region src/agents/define_agent.d.ts
6
6
  type AgentBuiltPrompt = string | {
@@ -6634,7 +6634,7 @@ async function build_ai_sdk_transport(cfg) {
6634
6634
  const provider_options = combined_provider_options !== void 0 && Object.keys(combined_provider_options).length > 0 ? combined_provider_options : void 0;
6635
6635
  let ai_sdk_invoke_mod;
6636
6636
  try {
6637
- ai_sdk_invoke_mod = await import("./invoke-Bt7AD944.js");
6637
+ ai_sdk_invoke_mod = await import("./invoke-dc5DdrrJ.js");
6638
6638
  } catch (err) {
6639
6639
  throw missing_peer_error("ai", err);
6640
6640
  }
@@ -7200,4 +7200,4 @@ function create_engine(config) {
7200
7200
  //#endregion
7201
7201
  export { create_engine as t };
7202
7202
 
7203
- //# sourceMappingURL=engine-DKv8YxWJ.js.map
7203
+ //# sourceMappingURL=engine-Djq7EH9x.js.map