@zitadel/cli 0.1.0-alpha.9 → 0.2.0

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 (49) hide show
  1. package/README.md +4043 -229
  2. package/bin/run.js +8 -0
  3. package/dist/index.mjs +24173 -0
  4. package/dist/index.mjs.map +1 -0
  5. package/dist/lib/oclif/help.mjs +117 -0
  6. package/dist/lib/oclif/help.mjs.map +1 -0
  7. package/dist/skills-hint-CBoak9HL.mjs +4348 -0
  8. package/dist/skills-hint-CBoak9HL.mjs.map +1 -0
  9. package/oclif.manifest.json +8635 -253
  10. package/package.json +106 -15
  11. package/skills/zitadel-cli/SKILL.md +538 -0
  12. package/skills/zitadel-cli/references/driving-login-ui.md +109 -0
  13. package/SKILLS.md +0 -157
  14. package/dist/commands/apply.mjs +0 -62
  15. package/dist/commands/apply.mjs.map +0 -1
  16. package/dist/commands/doctor.mjs +0 -569
  17. package/dist/commands/doctor.mjs.map +0 -1
  18. package/dist/commands/eject.mjs +0 -145
  19. package/dist/commands/eject.mjs.map +0 -1
  20. package/dist/commands/logs.mjs +0 -58
  21. package/dist/commands/logs.mjs.map +0 -1
  22. package/dist/commands/plan.mjs +0 -52
  23. package/dist/commands/plan.mjs.map +0 -1
  24. package/dist/commands/reset.mjs +0 -79
  25. package/dist/commands/reset.mjs.map +0 -1
  26. package/dist/commands/setup.mjs +0 -856
  27. package/dist/commands/setup.mjs.map +0 -1
  28. package/dist/commands/start.mjs +0 -288
  29. package/dist/commands/start.mjs.map +0 -1
  30. package/dist/commands/status.mjs +0 -112
  31. package/dist/commands/status.mjs.map +0 -1
  32. package/dist/commands/stop.mjs +0 -105
  33. package/dist/commands/stop.mjs.map +0 -1
  34. package/dist/docker-CnGQK3ZK.mjs +0 -432
  35. package/dist/docker-CnGQK3ZK.mjs.map +0 -1
  36. package/dist/docker-guidance-ypN3IM3o.mjs +0 -21
  37. package/dist/docker-guidance-ypN3IM3o.mjs.map +0 -1
  38. package/dist/oclif-B7lBzh3R.mjs +0 -808
  39. package/dist/oclif-B7lBzh3R.mjs.map +0 -1
  40. package/dist/orca-U142Wrau.mjs +0 -2556
  41. package/dist/orca-U142Wrau.mjs.map +0 -1
  42. package/dist/ports-B09RjuHx.mjs +0 -111
  43. package/dist/ports-B09RjuHx.mjs.map +0 -1
  44. package/dist/processes-Cw8TO1SY.mjs +0 -120
  45. package/dist/processes-Cw8TO1SY.mjs.map +0 -1
  46. package/dist/project-Cd0L3PtM.mjs +0 -87
  47. package/dist/project-Cd0L3PtM.mjs.map +0 -1
  48. package/dist/sync-BojoQm2P.mjs +0 -733
  49. package/dist/sync-BojoQm2P.mjs.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zitadel/cli",
3
- "version": "0.1.0-alpha.9",
3
+ "version": "0.2.0",
4
4
  "description": "Agent-friendly Zitadel CLI",
5
5
  "homepage": "https://github.com/zitadel/nextgen/tree/main/apps/cli#readme",
6
6
  "bugs": {
@@ -22,7 +22,7 @@
22
22
  "bin",
23
23
  "dist",
24
24
  "oclif.manifest.json",
25
- "SKILLS.md"
25
+ "skills"
26
26
  ],
27
27
  "publishConfig": {
28
28
  "access": "public"
@@ -30,7 +30,13 @@
30
30
  "oclif": {
31
31
  "bin": "zitadel",
32
32
  "dirname": "zitadel",
33
- "commands": "./dist/commands",
33
+ "description": "Manage your Zitadel project and local identity server from the command line.",
34
+ "commands": {
35
+ "strategy": "explicit",
36
+ "target": "./dist/index.mjs",
37
+ "identifier": "COMMANDS"
38
+ },
39
+ "helpClass": "./dist/lib/oclif/help",
34
40
  "topicSeparator": " ",
35
41
  "plugins": [
36
42
  "@oclif/plugin-help",
@@ -40,7 +46,75 @@
40
46
  "@oclif/plugin-autocomplete",
41
47
  "@oclif/plugin-search",
42
48
  "@oclif/plugin-version"
43
- ]
49
+ ],
50
+ "topics": {
51
+ "users": {
52
+ "description": "Create and manage users."
53
+ },
54
+ "teams": {
55
+ "description": "Create and manage teams."
56
+ },
57
+ "sessions": {
58
+ "description": "View and revoke sessions."
59
+ },
60
+ "events": {
61
+ "description": "View events."
62
+ },
63
+ "grants": {
64
+ "description": "Manage access grants."
65
+ },
66
+ "projects": {
67
+ "description": "View and update projects."
68
+ },
69
+ "schemas": {
70
+ "description": "View user schemas."
71
+ },
72
+ "branding": {
73
+ "description": "Manage the login branding."
74
+ },
75
+ "auth-method": {
76
+ "description": "Configure how users sign in."
77
+ },
78
+ "auth-method:password": {
79
+ "description": "Turn password sign-in on or off."
80
+ },
81
+ "auth-method:passkey": {
82
+ "description": "Turn passkey sign-in on or off."
83
+ },
84
+ "auth-method:sso": {
85
+ "description": "Add or remove identity providers."
86
+ },
87
+ "origin": {
88
+ "description": "Manage the project's allowed origins."
89
+ },
90
+ "release": {
91
+ "description": "Build and manage releases."
92
+ },
93
+ "deployment": {
94
+ "description": "Deploy releases and roll them back."
95
+ },
96
+ "preview": {
97
+ "description": "Deploy and manage pull-request preview URLs."
98
+ },
99
+ "variable": {
100
+ "description": "Manage project variables."
101
+ },
102
+ "idps": {
103
+ "description": "Manage identity provider connections."
104
+ },
105
+ "flow-definitions": {
106
+ "description": "View login flows."
107
+ },
108
+ "policies": {
109
+ "description": "View policies."
110
+ },
111
+ "env": {
112
+ "description": "Show and bind environments."
113
+ },
114
+ "api": {
115
+ "description": "Call any operation of the Zitadel API."
116
+ }
117
+ }
44
118
  },
45
119
  "type": "module",
46
120
  "dependencies": {
@@ -53,28 +127,45 @@
53
127
  "@oclif/plugin-search": "^1.2.50",
54
128
  "@oclif/plugin-version": "^2.2.46",
55
129
  "@oclif/plugin-which": "^3.2.55",
130
+ "@zitadel/api": "0.2.0",
131
+ "@zitadel/config": "0.2.0",
132
+ "@zitadel/server": "0.2.0",
56
133
  "ajv": "^8.20.0",
57
134
  "consola": "^3.4.2",
58
135
  "magicast": "^0.5.3",
59
- "safe-stable-stringify": "^2.5.0",
60
- "zod": "^4.3.6",
136
+ "mixpanel": "^0.18.1",
61
137
  "picocolors": "^1.1.1",
62
- "@zitadel/server": "0.1.0-alpha.9",
63
- "@zitadel/api": "0.1.0-alpha.9"
138
+ "rosie-skills": "^0.8.5",
139
+ "safe-stable-stringify": "^2.5.0",
140
+ "semver": "^7.7.3",
141
+ "undici": "^7.29.1",
142
+ "wrap-ansi": "^7.0.0",
143
+ "zod": "^4.3.6"
64
144
  },
65
145
  "devDependencies": {
66
- "@types/node": "^25.6.0",
146
+ "@types/node": "^24.19.1",
147
+ "@types/semver": "^7.7.1",
148
+ "@types/wrap-ansi": "^3.0.0",
149
+ "@vitest/coverage-v8": "^4.1.11",
150
+ "@zitadel/api-mock": "0.0.0",
151
+ "@zitadel/sdk-next": "0.2.0",
67
152
  "msw": "^2.14.6",
68
153
  "oclif": "^4.17.46",
69
- "tsdown": "^0.21.10",
70
- "vitest": "^3.0.0",
71
- "@zitadel/sdk-next": "0.1.0-alpha.9",
72
- "@zitadel/api-mock": "0.0.0"
154
+ "tsdown": "^0.23.0",
155
+ "typescript": "^6.0.3",
156
+ "vite": "^8.3.1",
157
+ "vitest": "^4.1.11",
158
+ "yaml": "^2.9.0"
73
159
  },
74
160
  "scripts": {
75
161
  "build": "tsdown",
76
- "typecheck": "tsc --noEmit",
162
+ "typecheck": "tsc --noEmit -p tsconfig.app.json && tsc --noEmit -p tsconfig.spec.json",
163
+ "pretest": "pnpm run build",
77
164
  "test": "vitest run",
78
- "readme": "oclif readme"
165
+ "test:all": "pnpm run test",
166
+ "check-advisories": "vitest run --config vitest.advisories.config.ts",
167
+ "readme": "oclif readme",
168
+ "lint": "biome check .",
169
+ "build-release": "node ../../scripts/release-clean.mjs local-dist && pnpm run build"
79
170
  }
80
171
  }