claude-code - 💡(How to fix) Fix [FEATURE] Dynamic Workflow Feature List

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

I was working in the Workflow Dynamics and I love it. It's kind of like Agent SDK. I would like to add in new features, which I haven't been able to find.

Proposed Solution

  1. loadJSON(path, opts?) — Reads a JSON file from disk directly into the script. Replaces the clunky wrapper-workflow pattern. Supports optional schema validation. Results re-read on resume (not cached), so stale data is never a risk.

  2. humanInput(prompt, opts?) — Pauses the entire workflow and waits for a typed response. Supports a display field for showing content above the prompt, a timeout with defaultValue, and multi-line input. User types /finish or /complete_workflow to signal they're done — returns the sentinel 'DONE' so you can branch cleanly.

  3. exec(command, opts?) — Runs a shell command and returns { stdout, stderr, exitCode, ok }. Supports cwd, env, timeout, stdin input, and throwOnError. Lets you run Python/Node scripts, formatters, test suites, or any CLI tool and feed the output directly back into the workflow.

  4. createAgent(systemPrompt, opts?) — Returns a callable handle that maintains conversation history across multiple calls. Each await bot('...') continues the same thread. The handle exposes .history(), .inject(), .reset(), and .turns. Multiple handles are independent and can run in parallel(). Cached by label for resume.

Alternative Solutions

No response

Priority

Medium - Would be very helpful

Feature Category

Developer tools/SDK

Use Case Example

additional_features.md

Additional Context

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] Dynamic Workflow Feature List