@gizai/cli 2.2.4 → 2.2.5

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/cli/giz.mjs +2 -1
  2. package/package.json +1 -1
package/cli/giz.mjs CHANGED
@@ -24,7 +24,8 @@ import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
24
24
  const { version: CLI_VERSION } = createRequire(import.meta.url)('../package.json')
25
25
  const DEFAULT_URL = 'https://www.giz.ai'
26
26
  const CLIENT_ID = 'giz-cli'
27
- const SCOPES = ['giz.read', 'giz.inference', 'giz.write', 'giz.execute', 'giz.destructive', 'offline_access']
27
+ // openid and email: GizStack admits a Giz token only with a verified email claim (gizstack gizid verified).
28
+ const SCOPES = ['giz.read', 'giz.inference', 'giz.write', 'giz.execute', 'giz.destructive', 'openid', 'email', 'offline_access']
28
29
  // Named at sign-in: giz.ai exchanges a refresh token only for a resource the sign-in named (signin.giz gizstackToken).
29
30
  const GIZSTACK_RESOURCE = 'https://gizstack.com'
30
31
  const BOOLEAN_OPTIONS = new Set(['help', 'json', 'no-open', 'version', 'device'])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gizai/cli",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "The official command-line interface for giz.ai: run AI models, Drive, Computers and Apps, connect Claude Code, Codex and other agents over MCP, and run Gizlang (giz init, run, deploy), installed on first use.",
5
5
  "keywords": [
6
6
  "giz",