{
  "description": "Start and extend software supply chain attestations, and set up AI session tracing. Login, policies, contracts and registry commands are left out.",
  "name": "chainloop",
  "subcommands": [
    {
      "name": "attestation",
      "subcommands": [
        {
          "name": "init",
          "description": "Begin a Chainloop attestation for a workflow run.",
          "options": [
            {
              "names": [
                "--workflow"
              ],
              "description": "Workflow",
              "args": {
                "name": "workflow",
                "isOptional": false
              }
            },
            {
              "names": [
                "--project"
              ],
              "description": "Project",
              "args": {
                "name": "project",
                "isOptional": false
              }
            }
          ]
        },
        {
          "name": "add",
          "description": "Attach a material (file or value) to the current attestation.",
          "options": [
            {
              "names": [
                "--value"
              ],
              "description": "Value",
              "args": {
                "name": "value",
                "isOptional": false
              }
            }
          ]
        }
      ]
    },
    {
      "name": "trace",
      "subcommands": [
        {
          "name": "init",
          "description": "Install git and agent hooks and write .chainloop.yml in the repository.",
          "options": [
            {
              "names": [
                "--project"
              ],
              "description": "Project",
              "args": {
                "name": "project",
                "isOptional": false
              }
            },
            {
              "names": [
                "--claude"
              ],
              "description": "Claude Code"
            },
            {
              "names": [
                "--cursor"
              ],
              "description": "Cursor"
            },
            {
              "names": [
                "--opencode"
              ],
              "description": "OpenCode"
            },
            {
              "names": [
                "--codex"
              ],
              "description": "Codex"
            }
          ]
        }
      ]
    }
  ]
}
