Skip to content

feat(cli): add non-interactive text runs - #750

Merged
likun666661 merged 1 commit into
apache:mainfrom
likun666661:issue-730-slice2-noninteractive-run
Jul 12, 2026
Merged

likun666661 merged 1 commit into
apache:mainfrom
likun666661:issue-730-slice2-noninteractive-run

Conversation

@likun666661

Copy link
Copy Markdown
Member

Summary

  • add maka run [PROMPT] and the exact maka -p alias with positional/stdin input handling
  • expose strict InvocationResult.finalOutput semantics and fail completed invocations with no final model text
  • enforce fail-closed permission prompts, canonical cwd, per-invocation timeout/max-step limits, signals, and stable exit codes
  • cover argv, stdin, stdout/stderr, permissions, timeout, SIGINT, and runtime result behavior at process/runtime seams

Part of #730 (Slice 2).

Testing

  • npm --workspace maka-agent test (268 passed)
  • npm --workspace @maka/runtime test (1278 passed, 2 skipped)
  • npm --workspace @maka/headless test (794 passed, 1 skipped)
  • workspace typechecks; UI build followed by desktop typecheck
  • git diff --check

@likun666661
likun666661 merged commit 0fb9edd into apache:main Jul 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant