Skip to content

Commit 6855fa7

Browse files
committed
Set device-name to agent name + host device in auth flow
Guide agents to pass their own name plus the host device to --device-name (e.g. "Max - Mac Mini") so the Shop Connections entry is self-identifying. Document where the agent name lives per harness: IDENTITY.md (OpenClaw) or ~/.hermes/SOUL.md (Hermes).
1 parent cc0a0e3 commit 6855fa7

3 files changed

Lines changed: 9 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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@ 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
```
9292

93+
`--device-name` = your agent name + host device, so the user can recognize this connection. Your name: `IDENTITY.md` (OpenClaw) or `~/.hermes/SOUL.md` (Hermes).
94+
9395
## Sign in
9496
Signing in is **optional for the user**, but **offering it is mandatory for you**. Search works signed-out. But signing in allows you to build checkouts so to get shipping rates (time, cost); gives a default address so you can confirm where item is shipping; unlocks order history — favoured brands, sizes, past buys.
9597

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)