iiRecord
Agentic AI Atlas · amux-triggers action step 8: Run agent-mux
github-action-step:triggers-action-run-amuxa5c.ai
II.
GithubActionStep JSON

github-action-step:triggers-action-run-amux

Structured · live

amux-triggers action step 8: Run agent-mux json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · extensions/github-action-steps/triggers-action-steps.yamlCluster · extensions
Record JSON
{
  "id": "github-action-step:triggers-action-run-amux",
  "_kind": "GithubActionStep",
  "_file": "extensions/github-action-steps/triggers-action-steps.yaml",
  "_cluster": "extensions",
  "attributes": {
    "displayName": "amux-triggers action step 8: Run agent-mux",
    "order": 8,
    "stepName": "Run agent-mux",
    "shell": "bash",
    "stepId": "amux",
    "workingDirectory": "${{ inputs.working-directory }}",
    "conditional": "${{ steps.trigger.outputs.matched == 'true' }}",
    "envVars": [
      "ACTION_ROOT=${{ github.action_path }}",
      "INPUT_COMMAND=${{ inputs.command }}",
      "INPUT_ARGS=${{ inputs.args }}",
      "INPUT_ARGS_JSON=${{ inputs.args-json }}",
      "INPUT_ADAPTER=${{ inputs.adapter }}",
      "INPUT_PROMPT=${{ inputs.prompt }}",
      "AMUX_TRIGGER_EVENT_PATH=${{ steps.trigger.outputs.event }}"
    ],
    "runScript": "set -euo pipefail\nREPO_ROOT=$(cd \"$ACTION_ROOT/../..\" && pwd)\nARGS=(\"$INPUT_COMMAND\")\nif [ -n \"$INPUT_ADAPTER\" ]; then\n  ARGS+=(--agent \"$INPUT_ADAPTER\")\nfi\nif [ -n \"$INPUT_PROMPT\" ]; then\n  ARGS+=(--prompt \"$INPUT_PROMPT\")\nfi\nif [ -n \"$INPUT_ARGS_JSON\" ]; then\n  mapfile -t EXTRA_ARGS < <(node -e \"const value = JSON.parse(process.env.INPUT_ARGS_JSON || '[]'); if (!Array.isArray(value)) throw new Error('args-json must be a JSON array'); for (const item of value) console.log(String(item));\")\n  ARGS+=(\"${EXTRA_ARGS[@]}\")\nelif [ -n \"$INPUT_ARGS\" ]; then\n  read -r -a EXTRA_ARGS <<< \"$INPUT_ARGS\"\n  ARGS+=(\"${EXTRA_ARGS[@]}\")\nfi\nif node \"$REPO_ROOT/packages/agent-mux/sdk/dist/bin/amux.js\" \"${ARGS[@]}\"; then\n  echo \"exit-code=0\" >> \"$GITHUB_OUTPUT\"\nelse\n  status=$?\n  echo \"exit-code=$status\" >> \"$GITHUB_OUTPUT\"\n  exit \"$status\"\nfi\n",
    "sourceCitation": "packages/triggers/action.yml:185-221"
  },
  "outgoingEdges": [
    {
      "from": "github-action-step:triggers-action-run-amux",
      "to": "operational-trigger:amux-triggers-action",
      "kind": "executed_by_trigger",
      "attributes": {}
    }
  ],
  "incomingEdges": [
    {
      "from": "operational-trigger:amux-triggers-action",
      "to": "github-action-step:triggers-action-run-amux",
      "kind": "executes_step",
      "attributes": {}
    }
  ]
}