Skip to content

Commit 72019d5

Browse files
authored
Merge pull request #16 from Shopify/device-name-agent-and-device
Set device-name to agent name + host device in auth flow
2 parents cc0a0e3 + 51000d8 commit 72019d5

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@shopify/shop-cli": patch
3+
---
4+
5+
Guide agents to set `--device-name` to their own name plus host device (e.g. `Max - Mac Mini`) so the Shop Connections entry is self-identifying. Document where to source the agent name per harness: `IDENTITY.md` (OpenClaw) or `~/.hermes/SOUL.md` (Hermes).

skill/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ shop orders search --type reorder --query "coffee"
8585
### Auth
8686
```bash
8787
shop auth status
88-
shop auth device-code --device-name "Joey McLobsterface"
88+
shop auth device-code --device-name "<your name> - <device>" # e.g. "Max - Mac Mini"
8989
shop auth poll
9090
shop auth logout
9191
```

skill/references/direct-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Content-Type: application/x-www-form-urlencoded
2323
2424
client_id=5c733ab2-1903-400a-891e-7ba20c09e2a3
2525
scope=openid email personal_agent
26-
device_name=<short agent name>
26+
device_name=<your name> - <device> # e.g. Max - Mac Mini; name from IDENTITY.md (OpenClaw) / ~/.hermes/SOUL.md (Hermes)
2727
```
2828

2929
Show `verification_uri_complete` to the user. Poll:

0 commit comments

Comments
 (0)