@cnwenf/occ 2.1.256 → 2.1.257

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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -0
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -475638,6 +475638,7 @@ async function* runAgent({
475638
475638
  override,
475639
475639
  model,
475640
475640
  maxTurns,
475641
+ subagentDepth,
475641
475642
  preserveToolUseResults,
475642
475643
  availableTools,
475643
475644
  allowedTools,
@@ -512472,6 +512473,7 @@ You MUST call the ${SYNTHETIC_OUTPUT_TOOL_NAME} tool exactly once at the end of
512472
512473
  canShowPermissionPrompts: false,
512473
512474
  querySource: "workflow",
512474
512475
  model: opts.model,
512476
+ subagentDepth: (ctx.toolUseContext.subagentDepth ?? 0) + 1,
512475
512477
  maxTurns: opts.schema ? 30 : undefined,
512476
512478
  availableTools: ctx.availableTools,
512477
512479
  worktreePath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cnwenf/occ",
3
- "version": "2.1.256",
3
+ "version": "2.1.257",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "bin": {