Skip to content

Releases: dingyi222666/opencode-yaml-workflows

v0.1.20

Choose a tag to compare

@dingyi222666 dingyi222666 released this 10 Jul 16:18
v0.1.20
f7eb889

Patch release that hides the workflow tool from opencode task subagents.

  • Registers workflow in experimental.primary_tools through the plugin config hook.
  • Uses opencode TaskTool child-session permission handling to hide workflow from all task subagents.
  • Preserves existing primary_tools entries without duplicates.
  • Adds configuration injection coverage.
  • Bumps package version to 0.1.20.

v0.1.19

Choose a tag to compare

@dingyi222666 dingyi222666 released this 05 Jul 18:11
v0.1.19
bdbc6a5

Patch release that makes workflow child prompts inherit model selection consistently.

  • Resolves prompt model priority as explicit workflow/generate model, agent model, then parent session model.
  • Applies model inheritance to both workflow run and workflow generate child sessions.
  • Adds SDK response helper for parent session model extraction.
  • Adds tests for agent-model and parent-model inheritance.
  • Bumps package version to 0.1.19.

v0.1.18

Choose a tag to compare

@dingyi222666 dingyi222666 released this 05 Jul 17:18
v0.1.18
8cf655a

Patch release that hides nested workflow/task tools during child prompts.

  • Forces workflow child prompts to disable workflow and task tools.
  • Applies the same prompt-level tool disablement to workflow generation child sessions.
  • Keeps session-level permission denies as an additional guard.
  • Updates tests to verify prompt payloads disable workflow/task tools.
  • Bumps package version to 0.1.18.

v0.1.17

Choose a tag to compare

@dingyi222666 dingyi222666 released this 05 Jul 17:00
v0.1.17
669dab9

Patch release that prevents nested workflow/task spawning from workflow child sessions.

  • Adds child-session permission denies for workflow and task tools.
  • Applies the same deny rules to workflow generation child sessions.
  • Updates tests to verify child session create payloads include both deny rules.
  • Bumps package version to 0.1.17.

v0.1.16

Choose a tag to compare

@dingyi222666 dingyi222666 released this 05 Jul 15:31
v0.1.16
4c90d11

Patch release that tightens workflow parsing and SDK response typing.

  • Rewrites YAML parser around strict validation and discriminated step types.
  • Removes broad fallback normalization and silent coercion for arrays/tool maps.
  • Adds shared SDK response helpers using real SDK message/part response types.
  • Ensures workflow output reads only the last assistant text part from child sessions.
  • Keeps parent workflow wake-ups synthetic while avoiding prompt/tool/log leakage.
  • Bumps package version to 0.1.16.

v0.1.15

Choose a tag to compare

@dingyi222666 dingyi222666 released this 05 Jul 14:06
v0.1.15
1654c92

Patch release that refines workflow parent-session notifications.

  • Sends short parent updates when individual workflow stages complete.
  • Keeps the final parent wake-up focused on selected stage outputs only.
  • Removes logs, prompt payloads, child session lists, and task-like XML from model-facing parent messages.
  • Retries prompt stages when a child session returns empty or whitespace-only output.
  • Compresses failed workflow wake-up messages to useful errors only.
  • Bumps package version to 0.1.15.

v0.1.14

Choose a tag to compare

@dingyi222666 dingyi222666 released this 04 Jul 19:28
v0.1.14
7c05dbc

Patch release that removes the workflow dependency on session.wait.

  • Uses child session prompt promises as the terminal signal for workflow steps.
  • Ensures serial workflows wait for each child prompt to resolve before starting the next step.
  • Keeps manual parentID child session creation with @opencode-ai/sdk/v2 flat API.
  • Sends task-like running/completed/error parent notifications with real child session IDs.
  • Falls back when parent notification delivery fails without failing the workflow.
  • Keeps local opencode server proxy bypass handling for Bun.
  • Bumps package version to 0.1.14.

v0.1.13

Choose a tag to compare

@dingyi222666 dingyi222666 released this 04 Jul 19:20
v0.1.13
4bafc03

Patch release that improves workflow async guidance and handles unavailable v2 session wait.

  • Treats v2 session.wait as a best-effort guard because synchronous v2 session.prompt already waits for the child agent loop.
  • Continues workflow execution when servers return ServiceUnavailable for session.wait.
  • Adds async run guidance telling agents not to poll workflow status because parent sessions are auto-notified.
  • Shows full workflow input contracts in workflow list output and input validation errors.
  • Keeps v2 flat session API usage for workflow execution.
  • Bumps package version to 0.1.13.

v0.1.12

Choose a tag to compare

@dingyi222666 dingyi222666 released this 04 Jul 19:02
v0.1.12
9717ca2

Patch release that moves workflow execution to the @opencode-ai/sdk/v2 session API.

  • Creates and prompts workflow child sessions through v2 flat session methods.
  • Uses v2 session wait so serial workflow steps wait for the child agent loop to become idle before continuing.
  • Keeps real parentID child sessions attached to the current parent session.
  • Emits task-like running/completed/error notifications with real child session IDs.
  • Keeps proxy bypass handling for local opencode server requests under Bun.
  • Bumps package version to 0.1.12.

v0.1.11

Choose a tag to compare

@dingyi222666 dingyi222666 released this 04 Jul 18:40
v0.1.11
8531d0b

Patch release that fixes local opencode server requests under Bun when proxy environment variables are set.

  • Detects the plugin server host during initialization and adds it to no_proxy/NO_PROXY.
  • Prevents Bun fetch/SDK calls to the local opencode server from being routed through http_proxy/https_proxy.
  • Keeps child session creation on the normal @opencode-ai/sdk session.create path.
  • Preserves parent-directory child session routing and task-like notifications with real child session IDs.
  • Bumps package version to 0.1.11.