Downcity
CommandsConsole

city console config

Manage project ship.json and alias (model pool is separate)

city console config

Manage project ship.json and alias.

Naming note: configuration command is city console config, not city config.

Usage

city console config <subcommand>

Subcommands

  • get [keyPath]
  • set <keyPath> <value>
  • unset <keyPath>
  • alias

Model pool management has moved to city console model.

extensions.* path behavior

When keyPath starts with extensions., the command automatically reads/writes console-global ~/.ship/ship.db (extensions_config).

city console config get extensions.voice
city console config set extensions.voice.enabled true

Examples

city console config get model.primary
city console config set model.primary fast
city console config unset services.chat.channels.telegram
city console config alias --dry-run

Example Output (Based on Current Implementation)

The examples below are aligned with current command implementations in package/src (including default output mode and field structure). Placeholder values are used for environment-specific fields.

$ city console config get model.primary
{
  "success": true,
  "projectRoot": "<projectRoot>",
  "shipJsonPath": "<projectRoot>/ship.json",
  "keyPath": "model.primary",
  "value": "<modelId>"
}
$ city console config set model.primary gpt-5.4
{
  "success": true,
  "projectRoot": "<projectRoot>",
  "shipJsonPath": "<projectRoot>/ship.json",
  "keyPath": "model.primary",
  "value": "gpt-5.4",
  "existed": true,
  "previous": "<oldModelId>"
}

Table of Contents