Sign in

    #totto2727/agent-sdk/cli/opencode

    An OpenCode-backed adapter for the provider-neutral totto2727/agent-sdk/cli session contract.

    Consumer acquisition, imports, and the common session flow are documented in the root Setup and Usage.

    #Package role

    • opencode_cli preserves OpenCode-native client and thread options at the adapter boundary.
    • Prompt context paths are forwarded as ordered local-file inputs.
    • OpenCode returns an empty FinalResponse.changed_files collection because its current event model does not expose a reliable change set.
    • Provider errors and task cancellation propagate through the common session contract after process cleanup.

    #Usage

    #API

    This README was generated from the share-artifact skill and README template.

    opencode_cli

    Creates an OpenCode-backed provider-neutral CLI adapter.

    OpenCode-native client and thread options remain available at this package boundary. Prompt context paths are forwarded as ordered local-file inputs; OpenCode currently returns an empty FinalResponse.changed_files collection because its event model does not expose a reliable change set.

    let cli = opencode_cli() let session = cli.start() assert_eq(session.id(), None)

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io