Skip to content

Error message: JSON Parse error: Unterminated string #129

Closed

Description

@5trongHust

if my plan too long, always report this error

Activity

  1. backnotprop commented on Feb 5, 2026

    @backnotprop
    Owner

    What agent are you using @5trongHust

  2. 5trongHust commented on Feb 6, 2026

    @5trongHust
    Author

    oh my opencode default agent, Sisyphus

  3. backnotprop commented on Mar 16, 2026

    @backnotprop
    Owner

    PR #318 likely fixes this. The submit_plan tool now takes a file path instead of the plan as a JSON string argument. The agent writes the plan to disk first, then calls submit_plan(path: "/path/to/plan.md") — the plugin reads from the file. Long plans no longer need to fit in a single tool call's string argument, so the JSON parse/unterminated string error should not occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions