@alessandroraffa/tangyr 0.16.1 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +11 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -17514,6 +17514,17 @@ async function runAuthLoginCommand(options, logger, transport = createFetchKitTr
17514
17514
  async function runAuthStatusCommand(options, logger, transport = createFetchKitTransport({ logger })) {
17515
17515
  const stored = readStoredCredentials();
17516
17516
  if (!stored) {
17517
+ const env2 = classifyEnvCredential();
17518
+ if (env2.kind === "both-set") {
17519
+ logger.info(
17520
+ "No credential is stored, but TANGYR_ACCESS_CLIENT_ID and TANGYR_ACCESS_CLIENT_SECRET are both set \u2014 remote commands will use those. This command reports on the stored credential, so it cannot report their label or expiry; run 'tangyr auth login' to store a credential and see those here."
17521
+ );
17522
+ return;
17523
+ }
17524
+ if (env2.kind === "one-set") {
17525
+ logger.warn(`No credential is stored. ${PARTIAL_ENV_CREDENTIAL_MESSAGE}`);
17526
+ return;
17527
+ }
17517
17528
  logger.info(
17518
17529
  "Not authenticated. Run 'tangyr auth login' to configure a credential."
17519
17530
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alessandroraffa/tangyr",
3
- "version": "0.16.1",
3
+ "version": "0.17.1",
4
4
  "description": "CLI for the Tangyr discipline — install and manage operating kits for AI coding tools",
5
5
  "license": "MIT",
6
6
  "engines": {