Skip to content

Commit 7fc0d7a

Browse files
jason-rlclaude
andcommitted
feat: use architecture_sources API instead of per-arch deploys
Single agent creation with architecture_sources array instead of deploying separate agents per architecture. Matches backend API redesign. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 83d061c commit 7fc0d7a

6 files changed

Lines changed: 216 additions & 449 deletions

File tree

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,22 +76,22 @@ inputs:
7676
required: false
7777
# default is 'undefined' => don't auto-delete
7878

79-
architecture:
80-
description: 'Target architecture for the agent (x86_64 or arm64). If unset, agent is universal.'
79+
architectures:
80+
description: 'Comma-separated target architectures (e.g., "x86_64,arm64"). Deploys once per architecture. If unset, deploys a single universal agent.'
8181
required: false
8282

8383
outputs:
8484
agent-id:
85-
description: 'The ID of the created agent (e.g., agt_xxxx)'
85+
description: 'The ID of the created agent (or last deployed agent if multiple architectures)'
8686

8787
object-id:
8888
description: 'The ID of the uploaded object (if applicable, e.g., obj_xxxx)'
8989

9090
agent-name:
9191
description: 'The final name of the created agent'
9292

93-
architecture:
94-
description: 'The architecture of the created agent (if specified)'
93+
architectures:
94+
description: 'The architectures deployed (comma-separated, if specified)'
9595

9696
runs:
9797
using: 'node20'

dist/index.js

Lines changed: 106 additions & 199 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)