Skip to content

Add lunos debug offline: show what LUNOS_OFFLINE turns off #85

Open

Description

@pminevp

Offline mode (LUNOS_OFFLINE=1) turns off every outbound call Lunos makes on its own. The list of those calls already exists as data in Offline.CALLS (packages/core/src/offline.ts), and the docs table is generated from it. There is no command to see it for your own setup.

Do: add lunos debug offline. It prints each entry of Offline.CALLS (what, host, whether offline mode blocks it), and whether offline mode is currently on. Follow the style of the other lunos debug commands in packages/opencode/src/cli/cmd/debug/.

Done when:

  • lunos debug offline prints the list, with and without LUNOS_OFFLINE=1
  • a unit test covers the output
  • the help snapshot is updated (bun test test/cli/help -u)
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions