workos 0.9.0 → 0.10.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.
- package/README.md +5 -6
- package/dist/bin.js +39 -14
- package/dist/bin.js.map +1 -1
- package/dist/commands/install-skill.d.ts +0 -1
- package/dist/commands/install-skill.js +2 -10
- package/dist/commands/install-skill.js.map +1 -1
- package/dist/commands/list-skills.d.ts +4 -0
- package/dist/commands/list-skills.js +52 -0
- package/dist/commands/list-skills.js.map +1 -0
- package/dist/commands/login.d.ts +8 -0
- package/dist/commands/login.js +41 -1
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/uninstall-skill.d.ts +11 -0
- package/dist/commands/uninstall-skill.js +116 -0
- package/dist/commands/uninstall-skill.js.map +1 -0
- package/dist/integrations/dotnet/index.js +7 -12
- package/dist/integrations/dotnet/index.js.map +1 -1
- package/dist/integrations/elixir/index.js +7 -13
- package/dist/integrations/elixir/index.js.map +1 -1
- package/dist/integrations/go/index.js +5 -11
- package/dist/integrations/go/index.js.map +1 -1
- package/dist/integrations/python/index.js +7 -13
- package/dist/integrations/python/index.js.map +1 -1
- package/dist/integrations/ruby/index.js +9 -14
- package/dist/integrations/ruby/index.js.map +1 -1
- package/dist/lib/agent-interface.js +5 -4
- package/dist/lib/agent-interface.js.map +1 -1
- package/dist/lib/agent-runner.js +24 -19
- package/dist/lib/agent-runner.js.map +1 -1
- package/dist/utils/help-json.js +55 -21
- package/dist/utils/help-json.js.map +1 -1
- package/package.json +2 -3
- package/.claude-plugin/plugin.json +0 -13
- package/skills/workos-authkit-base/SKILL.md +0 -123
- package/skills/workos-authkit-nextjs/SKILL.md +0 -247
- package/skills/workos-authkit-react/SKILL.md +0 -100
- package/skills/workos-authkit-react-router/SKILL.md +0 -117
- package/skills/workos-authkit-sveltekit/SKILL.md +0 -208
- package/skills/workos-authkit-tanstack-start/SKILL.md +0 -314
- package/skills/workos-authkit-vanilla-js/SKILL.md +0 -92
- package/skills/workos-dotnet/SKILL.md +0 -163
- package/skills/workos-elixir/SKILL.md +0 -231
- package/skills/workos-go/SKILL.md +0 -226
- package/skills/workos-kotlin/SKILL.md +0 -195
- package/skills/workos-management/SKILL.md +0 -250
- package/skills/workos-node/SKILL.md +0 -197
- package/skills/workos-php/SKILL.md +0 -160
- package/skills/workos-php-laravel/SKILL.md +0 -182
- package/skills/workos-python/SKILL.md +0 -193
- package/skills/workos-ruby/SKILL.md +0 -198
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ workos
|
|
|
15
15
|
|
|
16
16
|
## Features
|
|
17
17
|
|
|
18
|
-
- **
|
|
18
|
+
- **15 Framework Support:** Next.js, React Router, TanStack Start, React SPA, Vanilla JS, SvelteKit, Node.js (Express), Python (Django), Ruby (Rails), Go, .NET (ASP.NET Core), Kotlin (Spring Boot), Elixir (Phoenix), PHP (Laravel), PHP
|
|
19
19
|
- **AI-Powered:** Uses Claude to intelligently adapt to your project structure
|
|
20
20
|
- **Security-First:** Masks API keys, redacts from logs, saves to .env.local
|
|
21
21
|
- **Smart Detection:** Auto-detects framework, package manager, router type
|
|
@@ -50,11 +50,10 @@ workos [command]
|
|
|
50
50
|
|
|
51
51
|
Commands:
|
|
52
52
|
install Install WorkOS AuthKit into your project
|
|
53
|
-
|
|
54
|
-
logout Remove stored credentials
|
|
53
|
+
auth Manage authentication (login, logout, status)
|
|
55
54
|
env Manage environment configurations
|
|
56
55
|
doctor Diagnose WorkOS integration issues
|
|
57
|
-
|
|
56
|
+
skills Manage WorkOS skills for coding agents (install, uninstall, list)
|
|
58
57
|
|
|
59
58
|
Resource Management:
|
|
60
59
|
organization (org) Manage organizations
|
|
@@ -364,7 +363,7 @@ workos org-domain delete <id>
|
|
|
364
363
|
workos install [options]
|
|
365
364
|
|
|
366
365
|
--direct, -D Use your own Anthropic API key (bypass llm-gateway)
|
|
367
|
-
--integration <name> Framework: nextjs, react, react-router, tanstack-start, vanilla-js
|
|
366
|
+
--integration <name> Framework: nextjs, react, react-router, tanstack-start, vanilla-js, sveltekit, node, python, ruby, go, dotnet, kotlin, elixir, php-laravel, php
|
|
368
367
|
--api-key <key> WorkOS API key (required in non-interactive mode)
|
|
369
368
|
--client-id <id> WorkOS client ID (required in non-interactive mode)
|
|
370
369
|
--redirect-uri <uri> Custom redirect URI
|
|
@@ -386,7 +385,7 @@ workos install [options]
|
|
|
386
385
|
npx workos
|
|
387
386
|
|
|
388
387
|
# Specify framework
|
|
389
|
-
npx workos --integration react-router
|
|
388
|
+
npx workos install --integration react-router
|
|
390
389
|
|
|
391
390
|
# With visual dashboard (experimental)
|
|
392
391
|
npx workos dashboard
|
package/dist/bin.js
CHANGED
|
@@ -194,33 +194,58 @@ yargs(rawArgs)
|
|
|
194
194
|
});
|
|
195
195
|
return yargs.demandCommand(1, 'Please specify an auth subcommand').strict();
|
|
196
196
|
})
|
|
197
|
-
.command('
|
|
198
|
-
|
|
199
|
-
.option('
|
|
200
|
-
alias: '
|
|
201
|
-
type: '
|
|
202
|
-
|
|
197
|
+
.command('skills', 'Manage WorkOS skills for coding agents (Claude Code, Codex, Cursor, Goose)', (yargs) => {
|
|
198
|
+
registerSubcommand(yargs, 'install', 'Install bundled AuthKit skills to coding agents', (y) => y
|
|
199
|
+
.option('skill', {
|
|
200
|
+
alias: 's',
|
|
201
|
+
type: 'array',
|
|
202
|
+
string: true,
|
|
203
|
+
description: 'Install specific skill(s) by name',
|
|
203
204
|
})
|
|
205
|
+
.option('agent', {
|
|
206
|
+
alias: 'a',
|
|
207
|
+
type: 'array',
|
|
208
|
+
string: true,
|
|
209
|
+
description: 'Target specific agent(s): claude-code, codex, cursor, goose',
|
|
210
|
+
}), async (argv) => {
|
|
211
|
+
const { runInstallSkill } = await import('./commands/install-skill.js');
|
|
212
|
+
await runInstallSkill({
|
|
213
|
+
skill: argv.skill,
|
|
214
|
+
agent: argv.agent,
|
|
215
|
+
});
|
|
216
|
+
});
|
|
217
|
+
registerSubcommand(yargs, 'uninstall', 'Remove installed WorkOS skills from coding agents', (y) => y
|
|
204
218
|
.option('skill', {
|
|
205
219
|
alias: 's',
|
|
206
220
|
type: 'array',
|
|
207
221
|
string: true,
|
|
208
|
-
description: '
|
|
222
|
+
description: 'Remove specific skill(s) by name',
|
|
209
223
|
})
|
|
210
224
|
.option('agent', {
|
|
211
225
|
alias: 'a',
|
|
212
226
|
type: 'array',
|
|
213
227
|
string: true,
|
|
214
228
|
description: 'Target specific agent(s): claude-code, codex, cursor, goose',
|
|
229
|
+
}), async (argv) => {
|
|
230
|
+
const { runUninstallSkill } = await import('./commands/uninstall-skill.js');
|
|
231
|
+
await runUninstallSkill({
|
|
232
|
+
skill: argv.skill,
|
|
233
|
+
agent: argv.agent,
|
|
234
|
+
});
|
|
215
235
|
});
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
236
|
+
registerSubcommand(yargs, 'list', 'List available and installed skills', (y) => y.option('agent', {
|
|
237
|
+
alias: 'a',
|
|
238
|
+
type: 'array',
|
|
239
|
+
string: true,
|
|
240
|
+
description: 'Target specific agent(s): claude-code, codex, cursor, goose',
|
|
241
|
+
}), async (argv) => {
|
|
242
|
+
const { runListSkills } = await import('./commands/list-skills.js');
|
|
243
|
+
await runListSkills({
|
|
244
|
+
agent: argv.agent,
|
|
245
|
+
});
|
|
222
246
|
});
|
|
223
|
-
|
|
247
|
+
return yargs.demandCommand(1, 'Please specify a skills subcommand').strict();
|
|
248
|
+
})
|
|
224
249
|
.command('doctor', 'Diagnose WorkOS AuthKit integration issues in the current project', (yargs) => yargs.options({
|
|
225
250
|
verbose: {
|
|
226
251
|
type: 'boolean',
|