This repository was archived by the owner on Apr 17, 2026. It is now read-only.
chore: release packages - #139
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/master
branch
2 times, most recently
from
April 13, 2026 03:19
1f00535 to
a02f1e6
Compare
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions
Bot
force-pushed
the
changeset-release/master
branch
from
April 13, 2026 03:52
a02f1e6 to
b0a5e06
Compare
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@agentrail/app@0.6.0
Minor Changes
#141
0075fc6Thanks @yai-dev! - Fix and extend the tool permission policy system:"strict"PermissionMode: deny-by-default mode where only operations listed inalloware permitted. Use for minimal-privilege configurations.contentMode: "path" | "command"parameter tomatchPatternandevaluatePolicy. Bash tools now pass"command"so that*wildcards match across/in command arguments (e.g.git:add src/main.tsmatchesBash(git:*)).?in regex escape list — a literal?in a pattern no longer acts as an optional quantifier.path-safety.tsusingpath.dirnameloop instead of POSIX-specificsplit/join.normalizeBashCommandto handle tab and other whitespace between verb and arguments.ContentMatchModetype from@agentrail/capabilities.AgentrailPermissionsConfig.modeandagentrail.yamlnow accept"strict"as a valid permissions mode.#140
81f5ccaThanks @yai-dev! - AddchainId,depth, andturnIndextracing fields to everyRuntimeEvent.@agentrail/core:RuntimeTracingFieldsinterface exported from the package root. EveryRuntimeEventvariant is now intersected withRuntimeTracingFields(all three fields are required).AgentRunOptionsgains optionalchainIdanddepthfields that flow into the agent loop.InternalContextis extended with the same optional fields.@agentrail/capabilities:CapabilityBuildContextgains an optionaltracingfield{ chainId: string; depth: number }.SpawnAgentInputandCreateManagedAgentInputgain optionalchainIdanddepthfields. Thespawn_agenttool increments depth and propagateschainIdto the child agent.WorkerInitMessageandWorkerStatecarry the same fields so the worker process can pass them toagent.invoke.@agentrail/app:AgentrailProfileContextgains an optionalchainIdfield. The route-leveltraceId/requestTraceIdis propagated aschainIdintoAgentrailProfileContext,CapabilityBuildContext.tracing, andAgentRunOptions.chainIdso thatRuntimeEvent.chainId === telemetry traceIdfor the full request chain.#141
405d8deThanks @yai-dev! - Add tool permission policy systemIntroduces a structured, rule-based permission layer that sits between the LLM
and tool execution, enabling fine-grained control over which operations agents
are allowed to perform.
@agentrail/core
PermissionDecisiontype ("allow" | "deny" | "ask"or object form with optionalreason).checkPermissions(params)hook onRuntimeTool— called afteronBeforeToolCallinterceptors but beforevalidateandexecute.permission_requestRuntimeEvent— emitted whencheckPermissionsreturns"ask".ToolBuildergains a.checkPermissions()fluent method.permission_requestis added toTRACE_PERSISTED_EVENT_TYPES.@agentrail/capabilities
packages/capabilities/src/permissions/module:ToolPermissionPolicy/PermissionRule/PermissionModetypes.parseRule/parseRulesDSL parser (e.g."Bash(git:*)","Write(/workspace/**)")evaluatePolicyrule engine with priority order: deny → ask → allow → default.isPathSafe/workspaceAnchorpath-safety utilities.isDangerousCommand/isReadOnlyCommandshell-safety utilities.CapabilityBuildContextgains optionalpermissionPolicy?: ToolPermissionPolicy.bashTool,readTool,writeTool,editToolare now created viafactory functions (
createBashTool,createReadTool,createWriteTool,createEditTool)that accept optional
rootDirandpolicyoptions; the singleton exports arekept for backward compatibility.
createSandboxedBashaccepts an optionalpolicyparameter.@agentrail/app
AgentrailProfileContextgains optionalpermissionPolicy?: ToolPermissionPolicy.defineProfilepropagatespermissionPolicyfrom profile context intoCapabilityBuildContext.createAgentApp,createStreamRoute, andcreateChatRouteall accept anoptional
permissionPolicyoption that is forwarded to every request.AgentrailConfig(YAML config) gains an optionalpermissionsblock withmode,allow,deny, andaskkeys.DefaultCapabilityToolOptionsgains optionalpermissionPolicyforwarded tosandboxed tools.
Patch Changes
8e9b041,0075fc6,81f5cca,405d8de]:@agentrail/capabilities@0.3.0
Minor Changes
#138
8e9b041Thanks @yai-dev! - Add toolCalls field to sub-agent job resultsManagedAgentDeliveryResult and OrchestrationAgentJob now carry a toolCalls array with every tool call the sub-agent made during a job, including the tool name, input arguments, and the full output (content and structured details). The wait_agent tool result now includes the resolution object so the parent LLM can see outputText and toolCalls.
#141
0075fc6Thanks @yai-dev! - Fix and extend the tool permission policy system:"strict"PermissionMode: deny-by-default mode where only operations listed inalloware permitted. Use for minimal-privilege configurations.contentMode: "path" | "command"parameter tomatchPatternandevaluatePolicy. Bash tools now pass"command"so that*wildcards match across/in command arguments (e.g.git:add src/main.tsmatchesBash(git:*)).?in regex escape list — a literal?in a pattern no longer acts as an optional quantifier.path-safety.tsusingpath.dirnameloop instead of POSIX-specificsplit/join.normalizeBashCommandto handle tab and other whitespace between verb and arguments.ContentMatchModetype from@agentrail/capabilities.AgentrailPermissionsConfig.modeandagentrail.yamlnow accept"strict"as a valid permissions mode.#140
81f5ccaThanks @yai-dev! - AddchainId,depth, andturnIndextracing fields to everyRuntimeEvent.@agentrail/core:RuntimeTracingFieldsinterface exported from the package root. EveryRuntimeEventvariant is now intersected withRuntimeTracingFields(all three fields are required).AgentRunOptionsgains optionalchainIdanddepthfields that flow into the agent loop.InternalContextis extended with the same optional fields.@agentrail/capabilities:CapabilityBuildContextgains an optionaltracingfield{ chainId: string; depth: number }.SpawnAgentInputandCreateManagedAgentInputgain optionalchainIdanddepthfields. Thespawn_agenttool increments depth and propagateschainIdto the child agent.WorkerInitMessageandWorkerStatecarry the same fields so the worker process can pass them toagent.invoke.@agentrail/app:AgentrailProfileContextgains an optionalchainIdfield. The route-leveltraceId/requestTraceIdis propagated aschainIdintoAgentrailProfileContext,CapabilityBuildContext.tracing, andAgentRunOptions.chainIdso thatRuntimeEvent.chainId === telemetry traceIdfor the full request chain.#141
405d8deThanks @yai-dev! - Add tool permission policy systemIntroduces a structured, rule-based permission layer that sits between the LLM
and tool execution, enabling fine-grained control over which operations agents
are allowed to perform.
@agentrail/core
PermissionDecisiontype ("allow" | "deny" | "ask"or object form with optionalreason).checkPermissions(params)hook onRuntimeTool— called afteronBeforeToolCallinterceptors but beforevalidateandexecute.permission_requestRuntimeEvent— emitted whencheckPermissionsreturns"ask".ToolBuildergains a.checkPermissions()fluent method.permission_requestis added toTRACE_PERSISTED_EVENT_TYPES.@agentrail/capabilities
packages/capabilities/src/permissions/module:ToolPermissionPolicy/PermissionRule/PermissionModetypes.parseRule/parseRulesDSL parser (e.g."Bash(git:*)","Write(/workspace/**)")evaluatePolicyrule engine with priority order: deny → ask → allow → default.isPathSafe/workspaceAnchorpath-safety utilities.isDangerousCommand/isReadOnlyCommandshell-safety utilities.CapabilityBuildContextgains optionalpermissionPolicy?: ToolPermissionPolicy.bashTool,readTool,writeTool,editToolare now created viafactory functions (
createBashTool,createReadTool,createWriteTool,createEditTool)that accept optional
rootDirandpolicyoptions; the singleton exports arekept for backward compatibility.
createSandboxedBashaccepts an optionalpolicyparameter.@agentrail/app
AgentrailProfileContextgains optionalpermissionPolicy?: ToolPermissionPolicy.defineProfilepropagatespermissionPolicyfrom profile context intoCapabilityBuildContext.createAgentApp,createStreamRoute, andcreateChatRouteall accept anoptional
permissionPolicyoption that is forwarded to every request.AgentrailConfig(YAML config) gains an optionalpermissionsblock withmode,allow,deny, andaskkeys.DefaultCapabilityToolOptionsgains optionalpermissionPolicyforwarded tosandboxed tools.
Patch Changes
81f5cca,405d8de]:@agentrail/core@0.6.0
Minor Changes
#140
81f5ccaThanks @yai-dev! - AddchainId,depth, andturnIndextracing fields to everyRuntimeEvent.@agentrail/core:RuntimeTracingFieldsinterface exported from the package root. EveryRuntimeEventvariant is now intersected withRuntimeTracingFields(all three fields are required).AgentRunOptionsgains optionalchainIdanddepthfields that flow into the agent loop.InternalContextis extended with the same optional fields.@agentrail/capabilities:CapabilityBuildContextgains an optionaltracingfield{ chainId: string; depth: number }.SpawnAgentInputandCreateManagedAgentInputgain optionalchainIdanddepthfields. Thespawn_agenttool increments depth and propagateschainIdto the child agent.WorkerInitMessageandWorkerStatecarry the same fields so the worker process can pass them toagent.invoke.@agentrail/app:AgentrailProfileContextgains an optionalchainIdfield. The route-leveltraceId/requestTraceIdis propagated aschainIdintoAgentrailProfileContext,CapabilityBuildContext.tracing, andAgentRunOptions.chainIdso thatRuntimeEvent.chainId === telemetry traceIdfor the full request chain.#141
405d8deThanks @yai-dev! - Add tool permission policy systemIntroduces a structured, rule-based permission layer that sits between the LLM
and tool execution, enabling fine-grained control over which operations agents
are allowed to perform.
@agentrail/core
PermissionDecisiontype ("allow" | "deny" | "ask"or object form with optionalreason).checkPermissions(params)hook onRuntimeTool— called afteronBeforeToolCallinterceptors but beforevalidateandexecute.permission_requestRuntimeEvent— emitted whencheckPermissionsreturns"ask".ToolBuildergains a.checkPermissions()fluent method.permission_requestis added toTRACE_PERSISTED_EVENT_TYPES.@agentrail/capabilities
packages/capabilities/src/permissions/module:ToolPermissionPolicy/PermissionRule/PermissionModetypes.parseRule/parseRulesDSL parser (e.g."Bash(git:*)","Write(/workspace/**)")evaluatePolicyrule engine with priority order: deny → ask → allow → default.isPathSafe/workspaceAnchorpath-safety utilities.isDangerousCommand/isReadOnlyCommandshell-safety utilities.CapabilityBuildContextgains optionalpermissionPolicy?: ToolPermissionPolicy.bashTool,readTool,writeTool,editToolare now created viafactory functions (
createBashTool,createReadTool,createWriteTool,createEditTool)that accept optional
rootDirandpolicyoptions; the singleton exports arekept for backward compatibility.
createSandboxedBashaccepts an optionalpolicyparameter.@agentrail/app
AgentrailProfileContextgains optionalpermissionPolicy?: ToolPermissionPolicy.defineProfilepropagatespermissionPolicyfrom profile context intoCapabilityBuildContext.createAgentApp,createStreamRoute, andcreateChatRouteall accept anoptional
permissionPolicyoption that is forwarded to every request.AgentrailConfig(YAML config) gains an optionalpermissionsblock withmode,allow,deny, andaskkeys.DefaultCapabilityToolOptionsgains optionalpermissionPolicyforwarded tosandboxed tools.
@agentrail/cli@0.2.5
Patch Changes
0075fc6,81f5cca,405d8de]:@agentrail/create-agentrail-app@0.2.5
Patch Changes
@agentrail/deep-research@0.0.13
Patch Changes
8e9b041,0075fc6,81f5cca,405d8de]:@agentrail/testing@0.0.9
Patch Changes
81f5cca,405d8de]: