// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`dsh-sdk config terminal contract > pins the feature tree and Review & Apply output 1`] = `
{
  "committed": {
    "addedFeatures": [
      "todo",
    ],
    "addedPlugins": [],
    "changedFiles": [
      "cordis.yml",
      "package.json",
    ],
    "configuredFeatures": [],
    "disabledFeatures": [],
    "disabledPlugins": [],
    "enabledFeatures": [],
    "enabledPlugins": [],
    "npmDependenciesChanged": true,
  },
  "installs": 1,
  "review": "Install feature: todo
Change file: cordis.yml
Change file: package.json
",
  "transcript": [
    {
      "kind": "nested-multiselect",
      "message": "Configure the project",
      "options": [
        {
          "choiceMode": "exclusive",
          "choices": [
            {
              "default": true,
              "label": "DeepSeek",
              "value": "deepseek",
            },
            {
              "default": false,
              "label": "Custom endpoint (pi-ai)",
              "value": "custom",
            },
          ],
          "default": true,
          "disabled": false,
          "label": "Model provider",
          "required": true,
          "value": "feature:provider",
          "warning": undefined,
        },
        {
          "choiceMode": undefined,
          "choices": undefined,
          "default": true,
          "disabled": false,
          "label": "Agent runtime spine",
          "required": true,
          "value": "feature:spine",
          "warning": undefined,
        },
        {
          "choiceMode": "exclusive",
          "choices": [
            {
              "default": true,
              "label": "Local executor",
              "value": "local",
            },
            {
              "default": false,
              "label": "Sandboxed executor",
              "value": "sandbox",
            },
          ],
          "default": true,
          "disabled": false,
          "label": "Command execution",
          "required": true,
          "value": "feature:bash",
          "warning": undefined,
        },
        {
          "choiceMode": "exclusive",
          "choices": [
            {
              "default": false,
              "label": "ACP automation server",
              "value": "acp",
            },
            {
              "default": true,
              "label": "Terminal TUI",
              "value": "tui",
            },
            {
              "default": false,
              "label": "Embedded context",
              "value": "embed",
            },
          ],
          "default": true,
          "disabled": false,
          "label": "Run interface",
          "required": true,
          "value": "feature:app",
          "warning": undefined,
        },
        {
          "choiceMode": "exclusive",
          "choices": [
            {
              "default": true,
              "label": "JSONL files",
              "value": "jsonl",
            },
            {
              "default": false,
              "label": "SQLite database",
              "value": "sqlite",
            },
          ],
          "default": true,
          "disabled": false,
          "label": "Durable session storage",
          "required": true,
          "value": "feature:persistence",
          "warning": undefined,
        },
        {
          "choiceMode": undefined,
          "choices": undefined,
          "default": false,
          "disabled": false,
          "label": "Hot-module reload",
          "required": false,
          "value": "feature:hmr",
          "warning": undefined,
        },
        {
          "choiceMode": undefined,
          "choices": undefined,
          "default": false,
          "disabled": false,
          "label": "Read, write, and edit local files",
          "required": false,
          "value": "feature:fs",
          "warning": undefined,
        },
        {
          "choiceMode": undefined,
          "choices": undefined,
          "default": false,
          "disabled": false,
          "label": "Model-facing task tracking",
          "required": false,
          "value": "feature:todo",
          "warning": undefined,
        },
        {
          "choiceMode": undefined,
          "choices": undefined,
          "default": false,
          "disabled": false,
          "label": "Local skill discovery",
          "required": false,
          "value": "feature:skill",
          "warning": undefined,
        },
        {
          "choiceMode": "exclusive",
          "choices": [
            {
              "default": true,
              "label": "DeepSeek search",
              "value": "deepseek",
            },
            {
              "default": false,
              "label": "Exa search",
              "value": "exa",
            },
            {
              "default": false,
              "label": "Perplexity search",
              "value": "perplexity",
            },
            {
              "default": false,
              "label": "Fetch only",
              "value": "fetch-only",
            },
          ],
          "default": false,
          "disabled": false,
          "label": "Web search and fetch tools",
          "required": false,
          "value": "feature:web",
          "warning": undefined,
        },
        {
          "choiceMode": "multiple",
          "choices": [
            {
              "default": true,
              "label": "Fresh child agent",
              "value": "spawn",
            },
            {
              "default": false,
              "label": "Fork parent history",
              "value": "fork",
            },
          ],
          "default": false,
          "disabled": false,
          "label": "Delegate work to child agents",
          "required": false,
          "value": "feature:subagent",
          "warning": undefined,
        },
        {
          "choiceMode": undefined,
          "choices": undefined,
          "default": false,
          "disabled": false,
          "label": "Scripted multi-agent workflows",
          "required": false,
          "value": "feature:workflow",
          "warning": undefined,
        },
        {
          "choiceMode": undefined,
          "choices": undefined,
          "default": false,
          "disabled": false,
          "label": "Automatic context compaction",
          "required": false,
          "value": "feature:compact",
          "warning": undefined,
        },
        {
          "choiceMode": "multiple",
          "choices": [
            {
              "default": true,
              "label": "Claude Code hooks",
              "value": "claude",
            },
            {
              "default": false,
              "label": "Codex hooks",
              "value": "codex",
            },
          ],
          "default": false,
          "disabled": false,
          "label": "Run Claude Code or Codex hooks",
          "required": false,
          "value": "feature:hooks",
          "warning": undefined,
        },
        {
          "choiceMode": undefined,
          "choices": undefined,
          "default": false,
          "disabled": false,
          "label": "Loop-hygiene reminders",
          "required": false,
          "value": "feature:guard",
          "warning": undefined,
        },
        {
          "choiceMode": undefined,
          "choices": undefined,
          "default": false,
          "disabled": false,
          "label": "Tool timeout policy",
          "required": false,
          "value": "feature:timeout-policy",
          "warning": undefined,
        },
        {
          "choiceMode": undefined,
          "choices": undefined,
          "default": false,
          "disabled": false,
          "label": "Ask the user from the model loop",
          "required": false,
          "value": "feature:ask-user",
          "warning": undefined,
        },
      ],
      "showChanges": true,
    },
    {
      "initialValue": true,
      "kind": "confirm",
      "message": "Apply these changes?",
    },
  ],
}
`;
