Skip to content

release: version packages - #199

Merged
gcharang merged 1 commit into
devfrom
changeset-release/dev
Nov 29, 2026
Merged

gcharang merged 1 commit into
devfrom
changeset-release/dev

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to dev, this PR will be updated.

Releases

@proofoftech/[email protected]

Minor Changes

  • c22a7b3: A guarded agent built with structuredOutput bounds accepts structuredOutput: { schema } on generate(). Breakwater makes the model call itself, validates the object against the schema with bounded repairs, and evaluates it with every applicable output policy before saving or returning it. Breakwater omits refused values from memory, results, and traces. An agent.output.object audit event includes the object digest only when policies allow the value and the call succeeds.

    Structured calls apply the first enabled model entry’s generation settings, headers, and accepted provider options. When the provider reports token counts, usage on the result, thrown error, and structured audit event sums them across attempts, including repairs.

    Opted-in agents publish host protocol version 2. Hosts that support only protocol version 1 refuse these agents. Agents built without the option keep protocol version 1.

    Structured calls accept text-only messages and skip memory recall. The call opens no Mastra trace span. Providers that ignore the native JSON response format usually exhaust the repair budget.

  • 4b1d7d4: Guarded stream() with structuredOutput emits only the final, policy-allowed object; it never emits partial objects or text.

    The stream result exposes awaitable usage with reported token counts summed across all attempts, including repairs. The finish and error events also include these counts when available.

    With a schema, stream() returns Promise<GuardedObjectStream<T>> and infers T from the schema. Omit structuredOutput for Promise<MastraModelOutput<undefined>>.

  • 363b3cf: Add optional allowedProviders and allowedModelHosts to createGuardedAgent(). Breakwater checks model slots at construction and at guarded execution, including fallbacks, nested slots, and application processor agents. A disallowed or unreadable slot raises a TypeError that names the slot. Host allowlists require HTTPS or WSS, support optional ports, and refuse SDK model objects whose endpoints cannot be verified.

  • 2f17cfc: Add optional versioned policy bundles for guarded agents and connectors. Compile and validate a bundle before construction, then use its ID, version, and declaration hash to identify the policy on audit events. Use policyCoverage() to inspect installed controls and host-declared coverage.

  • 45d2186: RATE_LIMIT_EXCEEDED carries retryAfterMs. The new rateLimitStoreFailure policy defaults to 'deny', which raises STORE_UNAVAILABLE when an increment throws or returns an invalid count. Read connectors with policies.audit can opt into 'allow' to admit those calls and record each bypass as RATE_LIMIT_STORE_BYPASSED.

@proofoftech/[email protected]

Minor Changes

  • 1af89a2: createGuardedObjectWorkflow({ workflowId, agentId, schema }) builds a one-step workflow that runs a guarded structured-output call in the run Durable Object. On success, the run stores the object that passes Breakwater’s output policies. The workflow skips thread memory.

    As with durable agent runs, the run row stores caller-supplied messages before Breakwater evaluates its input policies. Refused input stays in the run row until retention removes it.

    An interrupted call fails as INTERRUPTED and stores no object. An audit event recording the allowed decision with digests only may exist for it.

    Breaking change. The optional Breakwater peer now requires @proofoftech/breakwater 0.20.0 or later within 0.x. Upgrade Breakwater and Flowsafe together to use the structured-output workflow.

[email protected]

Patch Changes

[email protected]

Patch Changes

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
anchorage-showcase-single-tenant 6b818ae Nov 29 2026, 10:18 PM

@gcharang
gcharang merged commit 2f8711a into dev Nov 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant