Repository navigation
release: version packages - #199
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
anchorage-showcase-single-tenant | 6b818ae | Nov 29 2026, 10:18 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
structuredOutputbounds acceptsstructuredOutput: { schema }ongenerate(). 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. Anagent.output.objectaudit 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,
usageon 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()withstructuredOutputemits only the final, policy-allowed object; it never emits partial objects or text.The stream result exposes awaitable
usagewith reported token counts summed across all attempts, including repairs. Thefinishanderrorevents also include these counts when available.With a schema,
stream()returnsPromise<GuardedObjectStream<T>>and infersTfrom the schema. OmitstructuredOutputforPromise<MastraModelOutput<undefined>>.363b3cf: Add optional
allowedProvidersandallowedModelHoststocreateGuardedAgent(). Breakwater checks model slots at construction and at guarded execution, including fallbacks, nested slots, and application processor agents. A disallowed or unreadable slot raises aTypeErrorthat 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_EXCEEDEDcarriesretryAfterMs. The newrateLimitStoreFailurepolicy defaults to'deny', which raisesSTORE_UNAVAILABLEwhen an increment throws or returns an invalid count. Read connectors withpolicies.auditcan opt into'allow'to admit those calls and record each bypass asRATE_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
INTERRUPTEDand 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/breakwater0.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