
=== header
<ESC>[2J<ESC>[H
  <ESC>[93mHA NOVA Setup<ESC>[0m
  <ESC>[93m─────────────<ESC>[0m


=== intro

  Welcome! HA NOVA lets your AI assistant run your Home Assistant.

  Steps: pick your AI app, find Home Assistant, add the NOVA App, connect this computer, add the skills.
  When a browser page opens, finish there and come back here.
  You need the Home Assistant owner's account.
  Home Assistant Link only: the NOVA App must already be installed.

=== step

  <ESC>[93m● ● ○ ○<ESC>[0m  <ESC>[1mStep 2 of 4 – Connect this computer<ESC>[0m

=== status summary: nothing

  <ESC>[1mChecking current setup...<ESC>[0m
  <ESC>[31m✗<ESC>[0m NOVA App doesn't answer
  <ESC>[31m✗<ESC>[0m No key saved yet
  <ESC>[31m✗<ESC>[0m Not connected to Home Assistant
  <ESC>[31m✗<ESC>[0m Skills not installed


=== status summary: token only

  <ESC>[1mChecking current setup...<ESC>[0m
  <ESC>[31m✗<ESC>[0m NOVA App doesn't answer
  <ESC>[31m✗<ESC>[0m Can't check the key yet
  <ESC>[31m✗<ESC>[0m Not connected to Home Assistant
  <ESC>[31m✗<ESC>[0m Skills not installed


=== status summary: all

  <ESC>[1mChecking current setup...<ESC>[0m
  <ESC>[32m✓<ESC>[0m NOVA App answers
  <ESC>[32m✓<ESC>[0m Key works
  <ESC>[32m✓<ESC>[0m Connected to Home Assistant
  <ESC>[32m✓<ESC>[0m Skills installed


=== discovery results
  <ESC>[32m✓<ESC>[0m Found Home Assistant at ha.lan (mDNS)
  <ESC>[33m▲<ESC>[0m Found Home Assistant as homeassistant.local
    This name can stop working, mostly on Windows. Type its IP address below instead.
    Find it in Home Assistant: Settings → System → Network.
  <ESC>[32m✓<ESC>[0m Found Home Assistant at 10.0.0.2
  <ESC>[33m▲<ESC>[0m Didn't find Home Assistant by itself. Starting from your saved address 10.0.0.3
  <ESC>[33m▲<ESC>[0m Didn't find Home Assistant by itself. Type its address.

=== complete: one client
<ESC>[2J<ESC>[H
  <ESC>[93mHA NOVA Setup<ESC>[0m
  <ESC>[93m─────────────<ESC>[0m


  <ESC>[32m✓<ESC>[0m Setup complete!

  Installed for: <ESC>[1mClaude Code<ESC>[0m
  Claude Code is the claude command in a terminal and the Code tab in the Claude Desktop app (in a new chat). The chat tab in Claude Desktop doesn't use it. For that tab, see chat apps (needs Home Assistant reachable from the internet).
  Chat apps guide: https://github.com/markusleben/ha-nova/blob/main/docs/reference/chat-apps.md

  Open <ESC>[1mClaude Code<ESC>[0m and try asking:

    "Turn off the living room light"
    "List my automations"

  Need help? Run: ha-nova doctor


=== complete: two clients
<ESC>[2J<ESC>[H
  <ESC>[93mHA NOVA Setup<ESC>[0m
  <ESC>[93m─────────────<ESC>[0m


  <ESC>[32m✓<ESC>[0m Setup complete!

  Installed for: <ESC>[1mClaude Code, Codex<ESC>[0m
  Claude Code is the claude command in a terminal and the Code tab in the Claude Desktop app (in a new chat). The chat tab in Claude Desktop doesn't use it. For that tab, see chat apps (needs Home Assistant reachable from the internet).
  Chat apps guide: https://github.com/markusleben/ha-nova/blob/main/docs/reference/chat-apps.md
  Codex is the codex command in a terminal, the Codex IDE extension, and Codex in the ChatGPT desktop app (formerly the Codex app). In the app, start a new chat to load HA NOVA.

  Open <ESC>[1myour AI apps<ESC>[0m and try asking:

    "Turn off the living room light"
    "List my automations"

  Need help? Run: ha-nova doctor


=== complete: no client
<ESC>[2J<ESC>[H
  <ESC>[93mHA NOVA Setup<ESC>[0m
  <ESC>[93m─────────────<ESC>[0m


  <ESC>[32m✓<ESC>[0m Setup complete!

  Open <ESC>[1myour AI app<ESC>[0m and try asking:

    "Turn off the living room light"
    "List my automations"

  Need help? Run: ha-nova doctor


=== complete: first look
<ESC>[2J<ESC>[H
  <ESC>[93mHA NOVA Setup<ESC>[0m
  <ESC>[93m─────────────<ESC>[0m


  <ESC>[32m✓<ESC>[0m Setup complete!

  Installed for: <ESC>[1mHermes Agent<ESC>[0m

  Your home: 3 devices.

  Open <ESC>[1mHermes Agent<ESC>[0m and try asking:

    "What's in my home?"
    "List my automations"

  Unlocking a lock or opening a gate or garage door waits for your own confirmation; a plain yes in chat isn't enough.

  Need help? Run: ha-nova doctor


=== already done: legacy token
<ESC>[2J<ESC>[H
  <ESC>[93mHA NOVA Setup<ESC>[0m
  <ESC>[93m─────────────<ESC>[0m


  <ESC>[32m✓<ESC>[0m Everything is already set up!

  This computer still uses the old shared access.
  The next HA NOVA release won't accept it.
  Run ha-nova setup again any time to switch. It takes a minute.

  Run 'ha-nova doctor' to check everything.


=== already done
<ESC>[2J<ESC>[H
  <ESC>[93mHA NOVA Setup<ESC>[0m
  <ESC>[93m─────────────<ESC>[0m


  <ESC>[32m✓<ESC>[0m Everything is already set up!

  Run 'ha-nova doctor' to check everything.


=== link fallback ready
<ESC>[2J<ESC>[H
  <ESC>[93mHA NOVA Setup<ESC>[0m
  <ESC>[93m─────────────<ESC>[0m


  <ESC>[32m✓<ESC>[0m Setup complete!

  Connections:
    At home:        Ready, used first
    Away from home: Ready — Home Assistant Link
    Which one:      Automatic. Home Assistant Link only when home can't be reached

  Run 'ha-nova doctor' to check everything.


=== link fallback ready: first look
<ESC>[2J<ESC>[H
  <ESC>[93mHA NOVA Setup<ESC>[0m
  <ESC>[93m─────────────<ESC>[0m


  <ESC>[32m✓<ESC>[0m Setup complete!

  Connections:
    At home:        Ready, used first
    Away from home: Ready — Home Assistant Link
    Which one:      Automatic. Home Assistant Link only when home can't be reached

  Your home: 1 room.

  Try asking:

    "What's in my home?"
    "List my automations"

  Unlocking a lock or opening a gate or garage door waits for your own confirmation; a plain yes in chat isn't enough.

  Run 'ha-nova doctor' to check everything.


=== incomplete: generic

  <ESC>[31m✗<ESC>[0m Setup incomplete

  HA NOVA saved your setup, but it isn't ready yet.
  Then run "ha-nova setup" again — it continues where you left off.


=== incomplete: relay_unreachable

  <ESC>[31m✗<ESC>[0m Setup incomplete

  HA NOVA saved your setup, but couldn't reach the NOVA App yet.
  In Home Assistant, open Settings → Apps → NOVA Relay (older Home Assistant: Settings > Add-ons) and start it.
  Then run "ha-nova setup" again — it continues where you left off.


=== incomplete: ws_degraded

  <ESC>[31m✗<ESC>[0m Setup incomplete

  The NOVA App answers, but it isn't connected to Home Assistant yet.
  In Home Assistant, open Settings → Apps → NOVA Relay (older Home Assistant: Settings > Add-ons). Check its settings, then restart it.
  Then run "ha-nova setup" again — it continues where you left off.


=== incomplete: skills_install

  <ESC>[31m✗<ESC>[0m Setup incomplete

  This computer is connected to Home Assistant, but HA NOVA isn't set up in your AI app yet.
  Run setup again to finish.


=== incomplete: cloud_access

  <ESC>[31m✗<ESC>[0m Setup incomplete

  HA NOVA works at home, but Home Assistant Link isn't ready yet.
  Run setup again to finish Home Assistant Link.


=== outcome: link incomplete

  <ESC>[31m✗<ESC>[0m Setup incomplete

  HA NOVA works at home, but Home Assistant Link isn't ready yet.
  Run setup again to finish Home Assistant Link.


=== outcome: complete
<ESC>[2J<ESC>[H
  <ESC>[93mHA NOVA Setup<ESC>[0m
  <ESC>[93m─────────────<ESC>[0m


  <ESC>[32m✓<ESC>[0m Setup complete!

  Installed for: <ESC>[1mCodex<ESC>[0m
  Codex is the codex command in a terminal, the Codex IDE extension, and Codex in the ChatGPT desktop app (formerly the Codex app). In the app, start a new chat to load HA NOVA.

  Open <ESC>[1mCodex<ESC>[0m and try asking:

    "Turn off the living room light"
    "List my automations"

  Need help? Run: ha-nova doctor


=== cancelled

  Setup cancelled.

=== client menu: invalid, disabled, back, pick

  Which AI app do you use?

    1) Claude Code
    2) Codex
       not available: install the Codex CLI first
    3) All available clients

  Enter [1-3] (default 1, or type 'exit'):   <ESC>[31m✗<ESC>[0m Pick one of the numbers shown.

  Which AI app do you use?

    1) Claude Code
    2) Codex
       not available: install the Codex CLI first
    3) All available clients

  Enter [1-3] (default 1, or type 'exit'):   <ESC>[31m✗<ESC>[0m Codex is not available yet: install the Codex CLI first
  <ESC>[31m✗<ESC>[0m Pick one of the numbers shown.

  Which AI app do you use?

    1) Claude Code
    2) Codex
       not available: install the Codex CLI first
    3) All available clients

  Enter [1-3] (default 1, or type 'exit'): 
→  setup back

  Which AI app do you use?

    1) Claude Code
    2) Codex
       not available: install the Codex CLI first
    3) All available clients

  Enter [1-3] (default 1, or type 'exit'): 
→ all <nil>

=== client menu: default and exit

  Which AI app do you use?

    1) Claude Code
    2) Codex
       not available: install the Codex CLI first
    3) All available clients

  Enter [1-3] (default 1, or type 'exit'): 
→ claude <nil>

  Which AI app do you use?

    1) Claude Code
    2) Codex
       not available: install the Codex CLI first
    3) All available clients

  Enter [1-3] (default 1, or type 'exit'): 
→  setup exit

=== client menu: nothing available

  Which AI app do you use?

    1) Codex
       not available: install the Codex CLI first
    2) All available clients
       not available: install a supported AI client first

  No AI app found on this computer yet.

→  setup client prerequisite

=== token menu: fresh

  How do you want to set up the shared key (Relay Auth Token)?

    1) Paste a key from another computer or from Home Assistant
    2) Make a new key

  Enter [1-2] (default 2, or type 'back'/'exit'):   <ESC>[31m✗<ESC>[0m Pick one of the numbers shown.

  How do you want to set up the shared key (Relay Auth Token)?

    1) Paste a key from another computer or from Home Assistant
    2) Make a new key

  Enter [1-2] (default 2, or type 'back'/'exit'): 
→ generate <nil>

=== token menu: saved token

  How do you want to set up the shared key (Relay Auth Token)?

    1) Keep the saved key
    2) Paste a key from another computer or from Home Assistant
    3) Make a new key

  Enter [1-3] (default 1, or type 'back'/'exit'): 
→ paste <nil>

  How do you want to set up the shared key (Relay Auth Token)?

    1) Keep the saved key
    2) Paste a key from another computer or from Home Assistant
    3) Make a new key

  Enter [1-3] (default 1, or type 'back'/'exit'): 
→  setup back

  How do you want to set up the shared key (Relay Auth Token)?

    1) Keep the saved key
    2) Paste a key from another computer or from Home Assistant
    3) Make a new key

  Enter [1-3] (default 1, or type 'back'/'exit'): 
→  setup exit
