@action-intelligence/cli 0.3.0 → 0.3.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 (51) hide show
  1. package/README.md +7 -0
  2. package/action.mjs +79 -78
  3. package/bin/darwin-arm64/action-api +0 -0
  4. package/bin/darwin-arm64/dependencies.json +9 -9
  5. package/bin/darwin-x64/action-api +0 -0
  6. package/bin/darwin-x64/dependencies.json +9 -9
  7. package/bin/linux-arm64/action-api +0 -0
  8. package/bin/linux-arm64/dependencies.json +306 -306
  9. package/bin/linux-x64/action-api +0 -0
  10. package/bin/linux-x64/dependencies.json +311 -311
  11. package/bin/windows-arm64/action-api.exe +0 -0
  12. package/bin/windows-arm64/dependencies.json +9 -9
  13. package/bin/windows-x64/action-api.exe +0 -0
  14. package/bin/windows-x64/dependencies.json +9 -9
  15. package/package.json +1 -1
  16. /package/bin/darwin-arm64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-APACHE +0 -0
  17. /package/bin/darwin-arm64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-ISC +0 -0
  18. /package/bin/darwin-arm64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-MIT +0 -0
  19. /package/bin/darwin-arm64/licenses/{rustls-webpki-0.103.13 → rustls-webpki-0.103.15}/LICENSE +0 -0
  20. /package/bin/darwin-arm64/licenses/{thread_local-1.1.9 → thread_local-1.1.10}/LICENSE-APACHE +0 -0
  21. /package/bin/darwin-arm64/licenses/{thread_local-1.1.9 → thread_local-1.1.10}/LICENSE-MIT +0 -0
  22. /package/bin/darwin-x64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-APACHE +0 -0
  23. /package/bin/darwin-x64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-ISC +0 -0
  24. /package/bin/darwin-x64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-MIT +0 -0
  25. /package/bin/darwin-x64/licenses/{rustls-webpki-0.103.13 → rustls-webpki-0.103.15}/LICENSE +0 -0
  26. /package/bin/darwin-x64/licenses/{thread_local-1.1.9 → thread_local-1.1.10}/LICENSE-APACHE +0 -0
  27. /package/bin/darwin-x64/licenses/{thread_local-1.1.9 → thread_local-1.1.10}/LICENSE-MIT +0 -0
  28. /package/bin/linux-arm64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-APACHE +0 -0
  29. /package/bin/linux-arm64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-ISC +0 -0
  30. /package/bin/linux-arm64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-MIT +0 -0
  31. /package/bin/linux-arm64/licenses/{rustls-webpki-0.103.13 → rustls-webpki-0.103.15}/LICENSE +0 -0
  32. /package/bin/linux-arm64/licenses/{thread_local-1.1.9 → thread_local-1.1.10}/LICENSE-APACHE +0 -0
  33. /package/bin/linux-arm64/licenses/{thread_local-1.1.9 → thread_local-1.1.10}/LICENSE-MIT +0 -0
  34. /package/bin/linux-x64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-APACHE +0 -0
  35. /package/bin/linux-x64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-ISC +0 -0
  36. /package/bin/linux-x64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-MIT +0 -0
  37. /package/bin/linux-x64/licenses/{rustls-webpki-0.103.13 → rustls-webpki-0.103.15}/LICENSE +0 -0
  38. /package/bin/linux-x64/licenses/{thread_local-1.1.9 → thread_local-1.1.10}/LICENSE-APACHE +0 -0
  39. /package/bin/linux-x64/licenses/{thread_local-1.1.9 → thread_local-1.1.10}/LICENSE-MIT +0 -0
  40. /package/bin/windows-arm64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-APACHE +0 -0
  41. /package/bin/windows-arm64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-ISC +0 -0
  42. /package/bin/windows-arm64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-MIT +0 -0
  43. /package/bin/windows-arm64/licenses/{rustls-webpki-0.103.13 → rustls-webpki-0.103.15}/LICENSE +0 -0
  44. /package/bin/windows-arm64/licenses/{thread_local-1.1.9 → thread_local-1.1.10}/LICENSE-APACHE +0 -0
  45. /package/bin/windows-arm64/licenses/{thread_local-1.1.9 → thread_local-1.1.10}/LICENSE-MIT +0 -0
  46. /package/bin/windows-x64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-APACHE +0 -0
  47. /package/bin/windows-x64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-ISC +0 -0
  48. /package/bin/windows-x64/licenses/{rustls-0.23.41 → rustls-0.23.45}/LICENSE-MIT +0 -0
  49. /package/bin/windows-x64/licenses/{rustls-webpki-0.103.13 → rustls-webpki-0.103.15}/LICENSE +0 -0
  50. /package/bin/windows-x64/licenses/{thread_local-1.1.9 → thread_local-1.1.10}/LICENSE-APACHE +0 -0
  51. /package/bin/windows-x64/licenses/{thread_local-1.1.9 → thread_local-1.1.10}/LICENSE-MIT +0 -0
package/README.md CHANGED
@@ -10,6 +10,7 @@ Node.js 20 or newer is required for the npm installation:
10
10
  ```sh
11
11
  npm install --global @action-intelligence/cli
12
12
  action auth login
13
+ action whoami
13
14
  action context list
14
15
  action context use <space-id-or-key>
15
16
  ```
@@ -24,6 +25,12 @@ action auth status
24
25
  action auth logout
25
26
  ```
26
27
 
28
+ `action whoami` verifies the active credential with the API and shows its display name, ID, type,
29
+ and organization alongside the profile, API URL, and selected space. It works before selecting
30
+ a space and supports human sessions and machine credentials. Use `action whoami --format json` for
31
+ structured output. Add `--verbose` to include credential and organization scopes in either text or
32
+ JSON output. The selected space is the configured ID or key, not a check of space access.
33
+
27
34
  Human credentials stay in macOS Keychain, Linux Secret Service, or Windows Credential Manager.
28
35
  Linux requires a working Secret Service and `secret-tool`. Profile files contain non-secret settings
29
36
  only. Credentials are bound to the API origin used during login.