Add store auth list for local store auth sessions - #7714
Merged
Conversation
This was referenced Jun 4, 2026
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 5, 2026 13:41
89f393a to
619636c
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 5, 2026 13:41
1e3e4bc to
770846a
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 5, 2026 14:10
619636c to
7c049c1
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 5, 2026 14:10
770846a to
95d8a71
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 5, 2026 14:24
7c049c1 to
52daf1c
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 5, 2026 14:24
95d8a71 to
04f35fd
Compare
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Contributor
|
/snapit |
Contributor
|
🫰✨ Thanks @nickwesselman! Your snapshot has been published to npm. Test the snapshot by installing your package globally: pnpm i -g --@shopify:registry=https://registry.npmjs.org @shopify/cli@0.0.0-snapshot-20260605172558Caution After installing, validate the version by running |
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 5, 2026 18:12
04f35fd to
065f5fa
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
2 times, most recently
from
June 5, 2026 18:31
00dce2a to
22e4f4a
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
4 times, most recently
from
June 5, 2026 19:06
c8eed6e to
aa58407
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 5, 2026 19:06
22e4f4a to
31a07f1
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 8, 2026 18:41
451e239 to
bc75901
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
2 times, most recently
from
June 8, 2026 19:06
c128517 to
9343914
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
2 times, most recently
from
June 8, 2026 19:10
a57b2f7 to
996a184
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 8, 2026 19:10
9343914 to
81229e4
Compare
dmerand
marked this pull request as ready for review
June 8, 2026 20:56
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 11, 2026 02:11
ca16bf5 to
ed03486
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 11, 2026 02:11
7674c38 to
1cb0d3f
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 11, 2026 02:22
ed03486 to
8d4afd4
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 11, 2026 02:22
1cb0d3f to
0c933e5
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 11, 2026 13:23
8d4afd4 to
a2cf41b
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 11, 2026 13:23
0c933e5 to
a92ad67
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 11, 2026 13:31
a2cf41b to
541a4a4
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
2 times, most recently
from
June 11, 2026 15:37
de36466 to
8118677
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 11, 2026 15:37
541a4a4 to
a053144
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 11, 2026 15:40
8118677 to
3e869a8
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 11, 2026 15:40
a053144 to
489275a
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 11, 2026 16:59
3e869a8 to
d174340
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 11, 2026 16:59
489275a to
9f582a7
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 11, 2026 17:23
d174340 to
d2cec28
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
2 times, most recently
from
June 11, 2026 18:45
9649fc5 to
a151039
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 11, 2026 18:45
d2cec28 to
68f4fe4
Compare
dmerand
force-pushed
the
donald/store-list-local-auth-seam
branch
from
June 11, 2026 19:42
a151039 to
3755b76
Compare
dmerand
force-pushed
the
donald/store-list-local-fallback
branch
from
June 11, 2026 19:42
68f4fe4 to
3fe6822
Compare
dmerand
marked this pull request as draft
June 15, 2026 14:16
Contributor
Differences in type declarationsWe detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:
New type declarationsWe found no new type declarations in this PR Existing type declarationspackages/cli-kit/dist/public/common/string.d.ts@@ -102,6 +102,16 @@ export declare function formatDate(date: Date): string;
* @returns The transformed string in local system time.
*/
export declare function formatLocalDate(dateString: string): string;
+/**
+ * Formats a date as a short calendar date like "May 22, 2026" () in UTC.
+ *
+ * UTC keeps the output deterministic regardless of the machine timezone. Returns an empty string
+ * when the value cannot be parsed into a valid date.
+ *
+ * @param value - A Date, epoch milliseconds, or a date string such as an ISO 8601 timestamp.
+ * @returns The formatted date, or an empty string when the value is invalid.
+ */
+export declare function formatShortDate(value: Date | number | string): string;
/**
* Given a list of items, it returns a string with the items joined by commas and the last item joined by "and".
* All items are wrapped in double quotes.
packages/cli-kit/dist/public/common/url.d.ts@@ -28,4 +28,13 @@ export declare function extractHost(value: string | null | undefined): string |
* @param value - A URL or host string, possibly null/undefined.
* @returns The myshopify subdomain handle, or undefined when the input isn't a URL.
*/
-export declare function extractMyshopifyHandle(value: string | null | undefined): string | undefined;
\ No newline at end of file
+export declare function extractMyshopifyHandle(value: string | null | undefined): string | undefined;
+/**
+ * Extracts the leading subdomain label from a URL or host, across environments — e.g.
+ * , , or local development hosts — rather than assuming a
+ * domain.
+ *
+ * @param value - A URL or host string, possibly null/undefined.
+ * @returns The first DNS label, or undefined when no host can be extracted.
+ */
+export declare function extractSubdomain(value: string | null | undefined): string | undefined;
\ No newline at end of file
|
isaacroldan
reviewed
Jun 19, 2026
isaacroldan
approved these changes
Jun 19, 2026
4 tasks
Assisted-By: devx/425e6a4b-6ec9-421c-8f98-ab1725d0b996
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Add
shopify store auth listfor stores authenticated directly withshopify store auth.Closes https://github.com/shop/issues-develop/issues/22919
Scope
shopify store auth listshopify store auth{sessions: [...]}withkind: "store"rows so agents can resume without reading cache internalsstore auth listpoints users toshopify store listfor organization storesstore listpoints users toshopify store auth listfor direct store-auth sessionsshopify store listorganization-backed only; no--from, noauto, no fallback behaviorCommand split
This stack intentionally keeps the two jobs separate:
shopify store listlists organization stores using the active CLI account, prompting for organization selection unless--organization-idis provided.shopify store auth listlists stores already present in local store-auth storage.Not changed / deferred
store list --from store-author--from auto. Those were the source of the confusing mixed-command contract this PR replaces.store auth list. That stays inshopify store list.store auth list --json. Agents get enough metadata to choose a stored session without reading cache internals; token return would require a separate product/security decision.Smoke checks
shopify store auth list --jsonreturns local store-auth sessions and does not prompt for organization authshopify store list --helphas no--fromflagshopify auth list --helpis not registered