@crewkit/cli 0.1.8 → 0.1.10
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 +72 -50
- package/bin/crewkit +23 -0
- package/lib/getBinary.js +88 -0
- package/package.json +42 -86
- package/scripts/postinstall.js +38 -0
- package/bin/dev.cmd +0 -3
- package/bin/dev.js +0 -5
- package/bin/run.cmd +0 -3
- package/bin/run.js +0 -5
- package/dist/base-command.d.ts +0 -15
- package/dist/base-command.js +0 -1
- package/dist/commands/auth/dev-login.d.ts +0 -7
- package/dist/commands/auth/dev-login.js +0 -1
- package/dist/commands/auth/login.d.ts +0 -6
- package/dist/commands/auth/login.js +0 -1
- package/dist/commands/auth/logout.d.ts +0 -6
- package/dist/commands/auth/logout.js +0 -1
- package/dist/commands/auth/status.d.ts +0 -6
- package/dist/commands/auth/status.js +0 -1
- package/dist/commands/chat.d.ts +0 -19
- package/dist/commands/chat.js +0 -1
- package/dist/commands/code.d.ts +0 -11
- package/dist/commands/code.js +0 -1
- package/dist/commands/feedback.d.ts +0 -17
- package/dist/commands/feedback.js +0 -1
- package/dist/commands/init.d.ts +0 -13
- package/dist/commands/init.js +0 -1
- package/dist/config/api.d.ts +0 -18
- package/dist/config/api.js +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/lib/sentry.d.ts +0 -17
- package/dist/lib/sentry.js +0 -1
- package/dist/services/agent-sync.d.ts +0 -30
- package/dist/services/agent-sync.js +0 -1
- package/dist/services/api-client.d.ts +0 -44
- package/dist/services/api-client.js +0 -1
- package/dist/services/auth-manager.d.ts +0 -41
- package/dist/services/auth-manager.js +0 -1
- package/dist/services/backup.d.ts +0 -20
- package/dist/services/backup.js +0 -1
- package/dist/services/checksum.d.ts +0 -40
- package/dist/services/checksum.js +0 -1
- package/dist/services/git-remote-detector.d.ts +0 -40
- package/dist/services/git-remote-detector.js +0 -1
- package/dist/services/update-checker.d.ts +0 -38
- package/dist/services/update-checker.js +0 -1
- package/dist/types/api.d.ts +0 -74
- package/dist/types/api.js +0 -1
- package/oclif.manifest.json +0 -289
package/README.md
CHANGED
|
@@ -1,89 +1,111 @@
|
|
|
1
|
-
# crewkit
|
|
1
|
+
# @crewkit/cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@crewkit/cli)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
[](https://www.npmjs.com/package/@crewkit/cli)
|
|
7
|
-
[](https://www.npmjs.com/package/@crewkit/cli)
|
|
6
|
+
Manage your team's Claude Code agents from the terminal. Sync role-based configs, run A/B experiments, and track what's working - all CLI-first.
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## Installation
|
|
8
|
+
## Quick Start
|
|
12
9
|
|
|
13
10
|
```bash
|
|
14
11
|
npm install -g @crewkit/cli
|
|
12
|
+
crewkit auth login
|
|
13
|
+
crewkit code
|
|
15
14
|
```
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
That's it. Your team's agent configurations are now synced.
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
# Initialize your project
|
|
21
|
-
crewkit init
|
|
18
|
+
## Why crewkit?
|
|
22
19
|
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
- **Team consistency**: One source of truth for agent configurations across your org
|
|
21
|
+
- **Role-based modes**: Junior devs get coaching mode, seniors get autonomy
|
|
22
|
+
- **A/B testing built-in**: Experiment with prompts, measure what works
|
|
23
|
+
- **Works with your workflow**: CLI-first, integrates with your existing tools
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
## Commands
|
|
26
|
+
|
|
27
|
+
| Command | Description |
|
|
28
|
+
|---------|-------------|
|
|
29
|
+
| `crewkit code` | Launch Claude Code with your team's agent configs |
|
|
30
|
+
| `crewkit code -p "prompt"` | Headless mode for scripting and CI |
|
|
31
|
+
| `crewkit auth login` | Authenticate with crewkit |
|
|
32
|
+
| `crewkit auth status` | Check authentication status |
|
|
33
|
+
| `crewkit experiments create <agent>` | Start an A/B test on agent configurations |
|
|
34
|
+
| `crewkit experiments metrics <name>` | See which variant performs better |
|
|
29
35
|
|
|
30
36
|
## Features
|
|
31
37
|
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
38
|
+
**For Individual Developers**
|
|
39
|
+
- Automatic agent sync when you run `crewkit code`
|
|
40
|
+
- Session history and metrics tracking
|
|
41
|
+
- Works in any git repository
|
|
36
42
|
|
|
37
|
-
|
|
43
|
+
**For Teams**
|
|
44
|
+
- Role-based modes (coaching for juniors, autonomy for seniors)
|
|
45
|
+
- Centralized configuration management
|
|
46
|
+
- A/B testing framework for prompt optimization
|
|
47
|
+
- Usage analytics and cost tracking
|
|
38
48
|
|
|
39
|
-
|
|
49
|
+
## Installation
|
|
50
|
+
|
|
51
|
+
### npm (recommended)
|
|
40
52
|
|
|
41
53
|
```bash
|
|
42
|
-
|
|
43
|
-
crewkit auth status # Check authentication status
|
|
44
|
-
crewkit auth logout # Clear credentials
|
|
54
|
+
npm install -g @crewkit/cli
|
|
45
55
|
```
|
|
46
56
|
|
|
47
|
-
###
|
|
57
|
+
### Direct Download
|
|
48
58
|
|
|
49
|
-
|
|
50
|
-
crewkit init [org] [project] # Initialize crewkit in your project
|
|
51
|
-
```
|
|
59
|
+
See [GitHub Releases](https://github.com/karibew/crewkit-cli/releases) for platform-specific binaries.
|
|
52
60
|
|
|
53
|
-
|
|
61
|
+
## Supported Platforms
|
|
54
62
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
63
|
+
- macOS Apple Silicon (M1/M2/M3/M4)
|
|
64
|
+
- macOS Intel
|
|
65
|
+
- Linux x64
|
|
66
|
+
- Windows x64
|
|
59
67
|
|
|
60
|
-
##
|
|
68
|
+
## Requirements
|
|
61
69
|
|
|
62
|
-
|
|
70
|
+
- Node.js 18+ (for npm installation)
|
|
71
|
+
- Git (for project detection)
|
|
72
|
+
- A crewkit account ([sign up free](https://crewkit.io))
|
|
63
73
|
|
|
64
|
-
|
|
74
|
+
## Troubleshooting
|
|
65
75
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
76
|
+
**"Cannot connect to crewkit API"**
|
|
77
|
+
- Check your network connection
|
|
78
|
+
- Verify authentication: `crewkit auth status`
|
|
79
|
+
|
|
80
|
+
**"No agent configurations found"**
|
|
81
|
+
- Ensure you're in a git repository
|
|
82
|
+
- Check that your org has configured agents at [app.crewkit.io](https://app.crewkit.io)
|
|
69
83
|
|
|
70
|
-
|
|
71
|
-
|
|
84
|
+
**Binary not found after install**
|
|
85
|
+
- Try reinstalling: `npm install -g @crewkit/cli --force`
|
|
86
|
+
- Check if `--no-optional` flag was used (platform binaries are required)
|
|
72
87
|
|
|
73
|
-
|
|
74
|
-
|
|
88
|
+
## Privacy & Telemetry
|
|
89
|
+
|
|
90
|
+
crewkit collects anonymous error reports via Sentry to improve reliability. No code, prompts, or personal data is collected. You can disable telemetry:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
crewkit config set telemetry false
|
|
75
94
|
```
|
|
76
95
|
|
|
77
|
-
|
|
96
|
+
See our [Privacy Policy](https://crewkit.io/privacy) for details.
|
|
78
97
|
|
|
79
98
|
## Documentation
|
|
80
99
|
|
|
81
|
-
|
|
100
|
+
- [Getting Started Guide](https://crewkit.io/docs/getting-started)
|
|
101
|
+
- [CLI Reference](https://crewkit.io/docs/cli)
|
|
102
|
+
- [API Documentation](https://crewkit.io/docs/api)
|
|
82
103
|
|
|
83
|
-
##
|
|
104
|
+
## Links
|
|
84
105
|
|
|
85
|
-
-
|
|
86
|
-
-
|
|
106
|
+
- [Website](https://crewkit.io)
|
|
107
|
+
- [GitHub](https://github.com/karibew/crewkit-cli)
|
|
108
|
+
- [Changelog](https://github.com/karibew/crewkit-cli/releases)
|
|
87
109
|
|
|
88
110
|
## License
|
|
89
111
|
|
package/bin/crewkit
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
|
|
5
|
+
const { spawnSync } = require('child_process');
|
|
6
|
+
const { getBinaryPath } = require('../lib/getBinary.js');
|
|
7
|
+
|
|
8
|
+
try {
|
|
9
|
+
const binaryPath = getBinaryPath();
|
|
10
|
+
const result = spawnSync(binaryPath, process.argv.slice(2), {
|
|
11
|
+
stdio: 'inherit',
|
|
12
|
+
shell: false,
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
if (result.error) {
|
|
16
|
+
throw result.error;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
process.exit(result.status ?? 1);
|
|
20
|
+
} catch (error) {
|
|
21
|
+
console.error('crewkit:', error.message);
|
|
22
|
+
process.exit(1);
|
|
23
|
+
}
|
package/lib/getBinary.js
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const { existsSync } = require('fs');
|
|
4
|
+
const { join, dirname } = require('path');
|
|
5
|
+
|
|
6
|
+
// Platform mapping: node values -> package names
|
|
7
|
+
const PLATFORMS = {
|
|
8
|
+
'darwin-arm64': '@crewkit/cli-darwin-arm64',
|
|
9
|
+
'darwin-x64': '@crewkit/cli-darwin-x64',
|
|
10
|
+
'linux-x64': '@crewkit/cli-linux-x64',
|
|
11
|
+
'win32-x64': '@crewkit/cli-win32-x64',
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
function getPlatformKey() {
|
|
15
|
+
return `${process.platform}-${process.arch}`;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function getBinaryPath() {
|
|
19
|
+
const platformKey = getPlatformKey();
|
|
20
|
+
const packageName = PLATFORMS[platformKey];
|
|
21
|
+
|
|
22
|
+
if (!packageName) {
|
|
23
|
+
throw new Error(
|
|
24
|
+
`Unsupported platform: ${platformKey}\n` +
|
|
25
|
+
`crewkit currently supports: ${Object.keys(PLATFORMS).join(', ')}\n` +
|
|
26
|
+
`Please open an issue at https://github.com/karibew/crewkit-cli/issues`
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Check environment variable override first
|
|
31
|
+
const envPath = process.env.CREWKIT_BINARY_PATH;
|
|
32
|
+
if (envPath) {
|
|
33
|
+
if (existsSync(envPath)) {
|
|
34
|
+
return envPath;
|
|
35
|
+
}
|
|
36
|
+
console.warn(`Warning: CREWKIT_BINARY_PATH set but file not found: ${envPath}`);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
const binaryName = process.platform === 'win32' ? 'crewkit.exe' : 'crewkit';
|
|
40
|
+
const binarySubpath = process.platform === 'win32' ? binaryName : join('bin', binaryName);
|
|
41
|
+
|
|
42
|
+
// Try to resolve from optionalDependencies
|
|
43
|
+
try {
|
|
44
|
+
const packageJsonPath = require.resolve(`${packageName}/package.json`);
|
|
45
|
+
const packageDir = dirname(packageJsonPath);
|
|
46
|
+
const binaryPath = join(packageDir, binarySubpath);
|
|
47
|
+
|
|
48
|
+
if (existsSync(binaryPath)) {
|
|
49
|
+
return binaryPath;
|
|
50
|
+
}
|
|
51
|
+
} catch (e) {
|
|
52
|
+
// Package not found via require.resolve, try other methods
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Try direct node_modules lookup (handles hoisting scenarios)
|
|
56
|
+
const thisPackageDir = dirname(__dirname);
|
|
57
|
+
const lookupPaths = [
|
|
58
|
+
// Same level as this package (both in node_modules)
|
|
59
|
+
join(thisPackageDir, '..', packageName.replace('@crewkit/', '')),
|
|
60
|
+
// Scoped package path
|
|
61
|
+
join(thisPackageDir, '..', '@crewkit', packageName.replace('@crewkit/', '')),
|
|
62
|
+
// Up one more level (global installs)
|
|
63
|
+
join(thisPackageDir, '..', '..', packageName.replace('@crewkit/', '')),
|
|
64
|
+
join(thisPackageDir, '..', '..', '@crewkit', packageName.replace('@crewkit/', '')),
|
|
65
|
+
];
|
|
66
|
+
|
|
67
|
+
for (const modulePath of lookupPaths) {
|
|
68
|
+
const binaryPath = join(modulePath, binarySubpath);
|
|
69
|
+
if (existsSync(binaryPath)) {
|
|
70
|
+
return binaryPath;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// Binary not found
|
|
75
|
+
throw new Error(
|
|
76
|
+
`Could not find crewkit binary for ${platformKey}.\n\n` +
|
|
77
|
+
`This usually happens when:\n` +
|
|
78
|
+
` 1. npm was run with --no-optional or optionalDependencies are disabled\n` +
|
|
79
|
+
` 2. The package manager couldn't install platform-specific packages\n` +
|
|
80
|
+
` 3. Your platform is not supported\n\n` +
|
|
81
|
+
`Try reinstalling with:\n` +
|
|
82
|
+
` npm install -g @crewkit/cli\n\n` +
|
|
83
|
+
`Or set CREWKIT_BINARY_PATH to point to a crewkit binary.\n\n` +
|
|
84
|
+
`For more help, visit: https://github.com/karibew/crewkit-cli/issues`
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
module.exports = { getBinaryPath, getPlatformKey, PLATFORMS };
|
package/package.json
CHANGED
|
@@ -1,96 +1,52 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewkit/cli",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"author": "
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"dependencies": {
|
|
11
|
-
"@napi-rs/keyring": "^1.2.0",
|
|
12
|
-
"@oclif/core": "^4",
|
|
13
|
-
"@oclif/plugin-help": "^6",
|
|
14
|
-
"@oclif/plugin-plugins": "^5",
|
|
15
|
-
"@sentry/node": "^10.19.0",
|
|
16
|
-
"@types/js-yaml": "^4.0.9",
|
|
17
|
-
"axios": "^1.12.2",
|
|
18
|
-
"chokidar": "^4.0.3",
|
|
19
|
-
"js-yaml": "^4.1.0"
|
|
20
|
-
},
|
|
21
|
-
"devDependencies": {
|
|
22
|
-
"@eslint/compat": "^1",
|
|
23
|
-
"@oclif/prettier-config": "^0.2.1",
|
|
24
|
-
"@oclif/test": "^4",
|
|
25
|
-
"@types/chai": "^5",
|
|
26
|
-
"@types/mocha": "^10",
|
|
27
|
-
"@types/node": "^24",
|
|
28
|
-
"@types/sinon": "^17.0.4",
|
|
29
|
-
"chai": "^6",
|
|
30
|
-
"eslint": "^9",
|
|
31
|
-
"eslint-config-oclif": "^6",
|
|
32
|
-
"eslint-config-prettier": "^10",
|
|
33
|
-
"husky": "^9.1.7",
|
|
34
|
-
"javascript-obfuscator": "^4.1.1",
|
|
35
|
-
"mocha": "^11",
|
|
36
|
-
"oclif": "^4",
|
|
37
|
-
"shx": "^0.4.0",
|
|
38
|
-
"sinon": "^21.0.0",
|
|
39
|
-
"ts-node": "^10",
|
|
40
|
-
"typescript": "^5"
|
|
41
|
-
},
|
|
42
|
-
"overrides": {
|
|
43
|
-
"chokidar": "^4.0.3"
|
|
3
|
+
"version": "0.1.10",
|
|
4
|
+
"description": "Manage Claude Code agents for teams - role-based configs, A/B testing, accuracy tracking",
|
|
5
|
+
"author": "crewkit <hello@crewkit.io>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/karibew/crewkit-cli.git"
|
|
44
10
|
},
|
|
45
|
-
"
|
|
46
|
-
|
|
11
|
+
"homepage": "https://crewkit.io",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/karibew/crewkit-cli/issues"
|
|
47
14
|
},
|
|
48
|
-
"files": [
|
|
49
|
-
"./bin",
|
|
50
|
-
"./dist",
|
|
51
|
-
"./oclif.manifest.json"
|
|
52
|
-
],
|
|
53
|
-
"homepage": "https://github.com/karibew/crewkit-cli",
|
|
54
15
|
"keywords": [
|
|
55
|
-
"
|
|
16
|
+
"cli",
|
|
17
|
+
"ai",
|
|
18
|
+
"agents",
|
|
19
|
+
"claude",
|
|
20
|
+
"claude-code",
|
|
21
|
+
"llm",
|
|
22
|
+
"anthropic",
|
|
23
|
+
"ai-agents",
|
|
24
|
+
"developer-tools",
|
|
25
|
+
"devtools",
|
|
26
|
+
"prompt-engineering",
|
|
27
|
+
"ai-coding",
|
|
28
|
+
"agent-management"
|
|
56
29
|
],
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
"type": "module",
|
|
60
|
-
"preferGlobal": true,
|
|
61
|
-
"oclif": {
|
|
62
|
-
"bin": "crewkit",
|
|
63
|
-
"dirname": "crewkit",
|
|
64
|
-
"commands": "./dist/commands",
|
|
65
|
-
"plugins": [
|
|
66
|
-
"@oclif/plugin-help",
|
|
67
|
-
"@oclif/plugin-plugins"
|
|
68
|
-
],
|
|
69
|
-
"topicSeparator": " ",
|
|
70
|
-
"topics": {
|
|
71
|
-
"auth": {
|
|
72
|
-
"description": "Manage authentication with crewkit.io"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"additionalHelpFlags": [
|
|
76
|
-
"-h"
|
|
77
|
-
],
|
|
78
|
-
"additionalVersionFlags": [
|
|
79
|
-
"-v"
|
|
80
|
-
]
|
|
30
|
+
"bin": {
|
|
31
|
+
"crewkit": "bin/crewkit"
|
|
81
32
|
},
|
|
82
|
-
"
|
|
33
|
+
"main": "lib/getBinary.js",
|
|
34
|
+
"files": [
|
|
35
|
+
"bin",
|
|
36
|
+
"lib",
|
|
37
|
+
"scripts",
|
|
38
|
+
"README.md"
|
|
39
|
+
],
|
|
83
40
|
"scripts": {
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
"posttest": "npm run lint",
|
|
89
|
-
"prepack": "npm run build:prod && oclif manifest && oclif readme",
|
|
90
|
-
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
91
|
-
"version": "oclif readme && git add README.md",
|
|
92
|
-
"release": "standard-version --tag-prefix cli-v",
|
|
93
|
-
"prepare": "husky"
|
|
41
|
+
"postinstall": "node scripts/postinstall.js"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=18"
|
|
94
45
|
},
|
|
95
|
-
"
|
|
46
|
+
"optionalDependencies": {
|
|
47
|
+
"@crewkit/cli-darwin-arm64": "0.1.10",
|
|
48
|
+
"@crewkit/cli-darwin-x64": "0.1.3",
|
|
49
|
+
"@crewkit/cli-linux-x64": "0.1.10",
|
|
50
|
+
"@crewkit/cli-win32-x64": "0.1.3"
|
|
51
|
+
}
|
|
96
52
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
|
|
5
|
+
// Skip postinstall message in CI environments
|
|
6
|
+
if (process.env.CI || process.env.CONTINUOUS_INTEGRATION) {
|
|
7
|
+
process.exit(0);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Skip if running as a dependency (not global install)
|
|
11
|
+
if (!process.env.npm_config_global && process.env.npm_lifecycle_event === 'postinstall') {
|
|
12
|
+
// Check if this is a direct install or a dependency
|
|
13
|
+
const isDirectInstall = !process.env.npm_package_name ||
|
|
14
|
+
process.env.npm_package_name === '@crewkit/cli';
|
|
15
|
+
|
|
16
|
+
if (!isDirectInstall) {
|
|
17
|
+
process.exit(0);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const RESET = '\x1b[0m';
|
|
22
|
+
const BOLD = '\x1b[1m';
|
|
23
|
+
const DIM = '\x1b[2m';
|
|
24
|
+
const CYAN = '\x1b[36m';
|
|
25
|
+
const GREEN = '\x1b[32m';
|
|
26
|
+
|
|
27
|
+
console.log();
|
|
28
|
+
console.log(`${BOLD}${GREEN}crewkit${RESET} installed successfully!`);
|
|
29
|
+
console.log();
|
|
30
|
+
console.log(`${DIM}Get started in 30 seconds:${RESET}`);
|
|
31
|
+
console.log();
|
|
32
|
+
console.log(` ${CYAN}1.${RESET} crewkit auth login ${DIM}# authenticate${RESET}`);
|
|
33
|
+
console.log(` ${CYAN}2.${RESET} crewkit code ${DIM}# launch with team configs${RESET}`);
|
|
34
|
+
console.log();
|
|
35
|
+
console.log(`${DIM}Or run headless:${RESET} crewkit code -p "fix the tests"`);
|
|
36
|
+
console.log();
|
|
37
|
+
console.log(`${DIM}Docs:${RESET} https://crewkit.io/docs`);
|
|
38
|
+
console.log();
|
package/bin/dev.cmd
DELETED
package/bin/dev.js
DELETED
package/bin/run.cmd
DELETED
package/bin/run.js
DELETED
package/dist/base-command.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Command } from '@oclif/core';
|
|
2
|
-
/**
|
|
3
|
-
* Base command class that all crewkit commands should extend
|
|
4
|
-
* Provides common functionality like update checking and error monitoring
|
|
5
|
-
*/
|
|
6
|
-
export declare abstract class BaseCommand extends Command {
|
|
7
|
-
/**
|
|
8
|
-
* Error handler hook - runs when command throws an error
|
|
9
|
-
*/
|
|
10
|
-
catch(error: Error): Promise<void>;
|
|
11
|
-
/**
|
|
12
|
-
* Initialize hook - runs before command execution
|
|
13
|
-
*/
|
|
14
|
-
init(): Promise<void>;
|
|
15
|
-
}
|
package/dist/base-command.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function _0x4749(){var _0x2474ba=['mJyWnta1qMDewhji','y2f0y2G','mZi4nuPYBMfIvW','mMf4vLniAq','mZCXntC0vfzHuMju','mZC1mK5Lt2vjBG','mte1mJqZohDKtMzREa','yxjNDG','mJqWuwHsB1ny','odC4mJeZCeP5zLPv','sxD4EwC','BM90Awz5swzvCa','mZK0mgPSsK1WEG','ofD0rKf3vW','Aw5PDa','zgf0zuf2ywLSyq','nZa2nZq1nMLwwNn6Ca'];_0x4749=function(){return _0x2474ba;};return _0x4749();}(function(_0x345ac2,_0x21836f){var _0x149489={_0x56ffdf:0x1d7,_0x503b01:0x446,_0x2dbe40:0x448,_0xb09b28:0x441,_0x77b2d:0x43f,_0x19b4d5:0x1d9,_0x525033:0x1d8,_0x2a0b02:0x1de,_0x378e1b:0x444,_0x5392cf:0x1d4,_0x4f7856:0x43e,_0x2a0e5b:0x43a,_0x4c6a2c:0x43c,_0x2dd8f7:0x43e,_0x309bb1:0x1d3,_0xf2e7a8:0x43d,_0x31f9f9:0x43d},_0x3f7663={_0x9c316d:0xdc},_0xe3fe9f={_0x13f3da:0x33e};function _0x549176(_0x48f207,_0x2e039f,_0x56490e,_0x50f55e){return _0x3c4b(_0x50f55e-_0xe3fe9f._0x13f3da,_0x56490e);}function _0x48e3d1(_0x5eda44,_0x2b32c8,_0x53c41c,_0x5abcde){return _0x3c4b(_0x53c41c-_0x3f7663._0x9c316d,_0x5abcde);}var _0x504b27=_0x345ac2();while(!![]){try{var _0x32014e=parseInt(_0x48e3d1(0x1df,0x1df,_0x149489._0x56ffdf,0x1d0))/(0x26*0xcb+-0x4f*-0x3+-0x1f0e)*(parseInt(_0x549176(0x43d,_0x149489._0x503b01,_0x149489._0x2dbe40,_0x149489._0xb09b28))/(-0x33c*0x4+-0xc5*-0x9+-0x43*-0x17))+parseInt(_0x549176(_0x149489._0x503b01,_0x149489._0x77b2d,0x449,0x442))/(0x1a*-0x13e+-0x27b*0x6+0x2f31)+parseInt(_0x48e3d1(_0x149489._0x19b4d5,0x1e2,0x1e1,0x1db))/(0xe3e+-0x1494+0x65a)*(parseInt(_0x48e3d1(_0x149489._0x525033,0x1e2,_0x149489._0x2a0b02,0x1dd))/(0x1be6+0x225*0x9+-0x12*0x29f))+-parseInt(_0x549176(0x446,0x447,0x43f,_0x149489._0x378e1b))/(-0x95*-0x1+-0x1226+0x1197)+parseInt(_0x48e3d1(0x1d4,0x1cc,_0x149489._0x5392cf,0x1cd))/(0x2*0xc2+-0x19a8+0x182b)*(parseInt(_0x549176(_0x149489._0x4f7856,0x43c,0x43d,_0x149489._0x2a0e5b))/(-0x1*0x17ff+0x1253+-0x2da*-0x2))+parseInt(_0x549176(_0x149489._0x4c6a2c,0x43d,_0x149489._0x4f7856,_0x149489._0x2dd8f7))/(-0x3*0x31d+-0x13ad+0x6f*0x43)*(-parseInt(_0x48e3d1(0x1cb,0x1d8,_0x149489._0x309bb1,0x1cf))/(-0x14fd+0x4*0x5b3+-0x1c5*0x1))+parseInt(_0x549176(_0x149489._0xf2e7a8,0x442,0x434,_0x149489._0x31f9f9))/(-0x192d+0xc1a+0xd1e);if(_0x32014e===_0x21836f)break;else _0x504b27['push'](_0x504b27['shift']());}catch(_0x2414f9){_0x504b27['push'](_0x504b27['shift']());}}}(_0x4749,-0x16*0x21b4+-0x1*0xd479b+-0x19b785*-0x1));import{Command}from'@oclif/core';import{captureException,initSentry}from'./lib/sentry.js';function _0x25e510(_0x4e0b72,_0x195c6a,_0x2a219b,_0x2f6c6b){return _0x3c4b(_0x195c6a-0x10e,_0x4e0b72);}function _0x3c4b(_0xc396b,_0x2e3ad5){var _0x585efb=_0x4749();return _0x3c4b=function(_0x2a2c85,_0x659fa8){_0x2a2c85=_0x2a2c85-(0xb*0xbf+0x6d*-0x35+0xf53);var _0x47ac45=_0x585efb[_0x2a2c85];if(_0x3c4b['wzJXwZ']===undefined){var _0x9412cc=function(_0x41489d){var _0x2cf1c8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xb02e3c='',_0x5f166b='';for(var _0x553db0=0x213*0x12+-0xe85+0x289*-0x9,_0x593ab5,_0x242abe,_0x3a60ad=-0x3*0x81e+0x8*-0x34a+0x32aa;_0x242abe=_0x41489d['charAt'](_0x3a60ad++);~_0x242abe&&(_0x593ab5=_0x553db0%(-0x3d2+0x9*-0x37+0x1*0x5c5)?_0x593ab5*(-0x62d+0x1bf8+-0x5*0x44f)+_0x242abe:_0x242abe,_0x553db0++%(-0x2613+-0x2*0x87b+0x33d*0x11))?_0xb02e3c+=String['fromCharCode'](-0x679*-0x1+-0x2131+-0x93d*-0x3&_0x593ab5>>(-(0x1*0xe64+0x43*-0x6e+0xe68)*_0x553db0&0x3eb*0x1+-0x15b3+0x56*0x35)):0xcd*-0x17+-0x65*-0x61+-0x13da){_0x242abe=_0x2cf1c8['indexOf'](_0x242abe);}for(var _0x310b44=-0x9*0x257+0xe3b+0x6d4,_0x29c8f2=_0xb02e3c['length'];_0x310b44<_0x29c8f2;_0x310b44++){_0x5f166b+='%'+('00'+_0xb02e3c['charCodeAt'](_0x310b44)['toString'](0xd*-0x45+0x2104+0x9d1*-0x3))['slice'](-(-0x25ff+0x5e*0x46+0xc4d));}return decodeURIComponent(_0x5f166b);};_0x3c4b['LMLTwr']=_0x9412cc,_0xc396b=arguments,_0x3c4b['wzJXwZ']=!![];}var _0x14054d=_0x585efb[-0x9*-0x26b+-0x18*0x152+0x9ed],_0x2a420a=_0x2a2c85+_0x14054d,_0x1d219d=_0xc396b[_0x2a420a];return!_0x1d219d?(_0x47ac45=_0x3c4b['LMLTwr'](_0x47ac45),_0xc396b[_0x2a420a]=_0x47ac45):_0x47ac45=_0x1d219d,_0x47ac45;},_0x3c4b(_0xc396b,_0x2e3ad5);}function _0x44b514(_0x1b164b,_0x3b0d99,_0x5a11b7,_0x33b24a){return _0x3c4b(_0x1b164b-0x2c6,_0x3b0d99);}import{UpdateChecker}from'./services/update-checker.js';export class BaseCommand extends Command{async[_0x44b514(0x3c7,0x3c6,0x3c7,0x3c3)](_0x4f3f22){var _0xb35435={_0x221b4e:0x34f,_0x5ccb6:0x350,_0x330fe5:0x355,_0x9979c5:0x357,_0x35f00e:0x363},_0x59481c={_0x20139b:0xc0},_0x1a6a61={_0x1a0544:0x68,_0x55e554:0xf2},_0x6a2fdc={'Iwxyg':function(_0x128ea6,_0x5c8814,_0x301b45){return _0x128ea6(_0x5c8814,_0x301b45);}};function _0x5c9c9d(_0x2afea8,_0x85bc30,_0x28bfb7,_0x898c33){return _0x44b514(_0x898c33- -_0x1a6a61._0x1a0544,_0x2afea8,_0x28bfb7-0x174,_0x898c33-_0x1a6a61._0x55e554);}function _0x496fdb(_0x58d9cd,_0x3cfed5,_0x3825ca,_0x5f0145){return _0x44b514(_0x3cfed5- -0x639,_0x58d9cd,_0x3825ca-_0x59481c._0x20139b,_0x5f0145-0x74);}_0x6a2fdc[_0x5c9c9d(_0xb35435._0x221b4e,_0xb35435._0x5ccb6,_0xb35435._0x330fe5,_0xb35435._0x9979c5)](captureException,_0x4f3f22,{'args':this[_0x5c9c9d(0x35d,_0xb35435._0x35f00e,0x36b,0x365)],'command':this['id']});throw _0x4f3f22;}async[_0x44b514(0x3c3,0x3be,0x3c8,0x3bb)](){var _0x309d73={_0x34331e:0x123,_0x109239:0x130,_0x3a19dc:0x12d,_0x333937:0x12b,_0x144cd9:0x1d0,_0x23594e:0x1c8,_0x32a21f:0x1c1,_0x4042b9:0x126,_0x5ee8aa:0x12d},_0x14eac0={_0x698380:0x44,_0x2d48bb:0x6f,_0x5a16ee:0x162},_0x2b6052={_0x552148:0xab,_0x13fcad:0x172},_0x414035={'wBvKQ':function(_0xc8c952){return _0xc8c952();}};function _0x3982d1(_0x981448,_0x15d2df,_0x2bc9cc,_0x57a354){return _0x25e510(_0x2bc9cc,_0x15d2df- -0x335,_0x2bc9cc-_0x2b6052._0x552148,_0x57a354-_0x2b6052._0x13fcad);}function _0x340871(_0x38125d,_0x19c8fd,_0x165f4e,_0x3f5eeb){return _0x25e510(_0x38125d,_0x165f4e- -_0x14eac0._0x698380,_0x165f4e-_0x14eac0._0x2d48bb,_0x3f5eeb-_0x14eac0._0x5a16ee);}await super[_0x3982d1(-_0x309d73._0x34331e,-0x12a,-0x12d,-_0x309d73._0x109239)](),_0x414035['wBvKQ'](initSentry),UpdateChecker[_0x3982d1(-0x12f,-_0x309d73._0x3a19dc,-_0x309d73._0x333937,-0x132)+_0x340871(_0x309d73._0x144cd9,0x1c2,_0x309d73._0x23594e,_0x309d73._0x32a21f)+'ble']()[_0x3982d1(-0x128,-_0x309d73._0x4042b9,-0x12b,-_0x309d73._0x5ee8aa)](()=>{});}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function _0x5d9269(_0x125837,_0x166208,_0x3db9e3,_0xcbea18){return _0x4cb1(_0xcbea18-0x3ba,_0x166208);}(function(_0x169bc4,_0x149ef8){const _0x178320={_0x6b5872:0x1af,_0x2403e3:0x18c,_0xc7cb57:0x19f,_0x21ff9c:0x1a9,_0x2d9bc7:0x193,_0x2afb22:0x19c,_0x10e771:0x230,_0x3e3df3:0x1b3,_0x1604e6:0x1a4,_0x86d1c0:0x1b4,_0x51c9b1:0x218,_0x375072:0x1a0,_0x482eef:0x1a1,_0x28f20c:0x207,_0x53a84d:0x219,_0x4443ef:0x186,_0x5ccf69:0x198},_0x569c85={_0x14b013:0x2c1};function _0x7b91dd(_0x4b59f8,_0x45c6c7,_0x3951c1,_0x472853){return _0x4cb1(_0x472853- -0x24d,_0x3951c1);}const _0x1721fe=_0x169bc4();function _0x6aa479(_0x5749dc,_0x538870,_0x39f41b,_0x386735){return _0x4cb1(_0x39f41b- -_0x569c85._0x14b013,_0x386735);}while(!![]){try{const _0x36119e=parseInt(_0x7b91dd(-_0x178320._0x6b5872,-_0x178320._0x2403e3,-_0x178320._0x6b5872,-0x19e))/(-0x11*-0x1e7+-0x83c*-0x4+-0x4146)*(-parseInt(_0x7b91dd(-_0x178320._0xc7cb57,-_0x178320._0x21ff9c,-_0x178320._0x2d9bc7,-_0x178320._0x2afb22))/(-0x41*-0x8+-0x9*0xa6+0x1e8*0x2))+parseInt(_0x7b91dd(-0x191,-0x192,-0x19c,-0x19b))/(-0x2c6*0x1+0x6c3+-0x3fa)+-parseInt(_0x6aa479(-0x228,-0x239,-0x22e,-_0x178320._0x10e771))/(-0x7c4*-0x2+-0x21d6+0x1d5*0xa)+parseInt(_0x7b91dd(-0x1b8,-0x1b4,-0x1a7,-_0x178320._0x3e3df3))/(-0x11*0x29+0xd5b+-0xa9d)*(-parseInt(_0x7b91dd(-_0x178320._0x1604e6,-0x1a6,-0x1bd,-_0x178320._0x86d1c0))/(0xe*-0x28f+-0x6*-0x435+-0x3b*-0x2e))+-parseInt(_0x7b91dd(-0x1a6,-0x1c0,-0x1ab,-0x1b2))/(0x130d+0x585+-0x3d*0x67)*(parseInt(_0x6aa479(-0x21e,-0x21c,-_0x178320._0x51c9b1,-0x215))/(-0xb18*-0x1+0x23f2+-0x2f02))+parseInt(_0x7b91dd(-_0x178320._0x1604e6,-_0x178320._0x375072,-0x19c,-_0x178320._0x482eef))/(0x1*-0x1099+0x65d+0xb*0xef)+parseInt(_0x6aa479(-_0x178320._0x28f20c,-0x219,-_0x178320._0x53a84d,-0x219))/(0x25a9*0x1+-0x2486+0x1*-0x119)*(parseInt(_0x7b91dd(-0x19b,-_0x178320._0x1604e6,-_0x178320._0x4443ef,-_0x178320._0x5ccf69))/(-0xa3*-0x18+0x83*-0x2a+0x641));if(_0x36119e===_0x149ef8)break;else _0x1721fe['push'](_0x1721fe['shift']());}catch(_0x76d24){_0x1721fe['push'](_0x1721fe['shift']());}}}(_0x4434,0x86680+0x2*-0x15197+0x3d1df));function _0x4cb1(_0x1ad437,_0x1b0399){const _0x55e04e=_0x4434();return _0x4cb1=function(_0x4999be,_0x3814b1){_0x4999be=_0x4999be-(0x8d*0x15+-0x2*-0xb21+-0x2141);let _0x17fc4f=_0x55e04e[_0x4999be];if(_0x4cb1['syqWgi']===undefined){var _0x50dbb0=function(_0x5445d4){const _0x1a1532='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xe7b0b6='',_0x3cfe5f='';for(let _0x40298b=-0xfb3+-0x25*0x2f+0x1*0x167e,_0x5560c3,_0x1ca392,_0x4fb4e5=0x2400+-0x4e+-0x11d9*0x2;_0x1ca392=_0x5445d4['charAt'](_0x4fb4e5++);~_0x1ca392&&(_0x5560c3=_0x40298b%(-0x24b+0x1*0x14ec+0x5*-0x3b9)?_0x5560c3*(0x3*-0x74f+-0x52*0x3+0x1723*0x1)+_0x1ca392:_0x1ca392,_0x40298b++%(-0xa*-0xb7+-0x2691+0x1f6f))?_0xe7b0b6+=String['fromCharCode'](0x161*-0x1a+0x1401+0x10d8&_0x5560c3>>(-(0x1*0x2360+0x10c3*-0x1+0x129b*-0x1)*_0x40298b&-0x5ec*-0x1+0x4*0x7a6+-0x36*0xad)):0x471+-0x2369+0x2*0xf7c){_0x1ca392=_0x1a1532['indexOf'](_0x1ca392);}for(let _0x2a5724=0x1f66+0x1*-0x107f+-0x221*0x7,_0x31f5ed=_0xe7b0b6['length'];_0x2a5724<_0x31f5ed;_0x2a5724++){_0x3cfe5f+='%'+('00'+_0xe7b0b6['charCodeAt'](_0x2a5724)['toString'](-0x25*0xf8+-0xd*-0x19+0x1*0x22a3))['slice'](-(-0x2310+0x1*0x9c5+0x33*0x7f));}return decodeURIComponent(_0x3cfe5f);};_0x4cb1['rkjXKO']=_0x50dbb0,_0x1ad437=arguments,_0x4cb1['syqWgi']=!![];}const _0x57b243=_0x55e04e[-0x3fb*-0x8+-0x2565+0xcb*0x7],_0x1c5846=_0x4999be+_0x57b243,_0x169c77=_0x1ad437[_0x1c5846];return!_0x169c77?(_0x17fc4f=_0x4cb1['rkjXKO'](_0x17fc4f),_0x1ad437[_0x1c5846]=_0x17fc4f):_0x17fc4f=_0x169c77,_0x17fc4f;},_0x4cb1(_0x1ad437,_0x1b0399);}import{BaseCommand}from'../../base-command.js';import{CrewkitApiClient}from'../../services/api-client.js';function _0x8b7ebd(_0x1b91aa,_0x557263,_0xfec885,_0x1d6d57){return _0x4cb1(_0xfec885- -0x398,_0x1b91aa);}function _0x4434(){const _0x27ad86=['B3CGCNvUoIbJCG','zgv2x3rVA2vUxW','Bg9N','zxjYB3i','zxDRAxqGy29Kzq','Af90B2TLBG','zxb0CYb0AgLZia','lMjPBIaLpIa8jq','BcbKzxzLBg9WBq','zw50igXVz2LUia','8j+uPYbezxzLBg9WBq','mJy2oda0mfjbExz2vG','oda4Ce9qturj','4PYfifn0B3jLzcbK','uxvPy2SGBg9NAq','mZq3nda1ngXpyMfVtW','C2vZie9bDxrOkq','zgvZy3jPChrPBW','mtm4mtmZCurWvefJ','zMfPBgvK','oeDIwujmsG','ndi4mZi4vMjbANjo','4PQG77IpicbuAgLZig9U','C3rVCMvuB2TLBG','mtmYA2jirKfJ','zxyGDg9Rzw46ia','ndu1nda5nLjVB1vprq','pcu9ignVBMzPzW','zgv2x3jLzNjLCW','psbJB21Tyw5KlG','BhKGD29YA3mGAq','ywWGqvbjigfJyW','mtu0nZi0ng9OsgnvCa','mJbUy1zWBvq','mJyZmJDsyKjjAeO','BM93'];_0x4434=function(){return _0x27ad86;};return _0x4434();}import{AuthManager}from'../../services/auth-manager.js';export default class AuthDevLogin extends BaseCommand{static [_0x8b7ebd(-0x2da,-0x2e2,-0x2ea,-0x2e3)+'n']=_0x5d9269(0x466,0x475,0x477,0x465)+'n\x20for\x20loca'+_0x8b7ebd(-0x2ff,-0x2e2,-0x2f3,-0x2ec)+'ent\x20(bypas'+_0x8b7ebd(-0x2e3,-0x2f5,-0x2eb,-0x2f6);static ['examples']=[_0x8b7ebd(-0x312,-0x30a,-0x304,-0x2f4)+_0x8b7ebd(-0x2ef,-0x2f7,-0x2f4,-0x304)+_0x8b7ebd(-0x300,-0x30b,-0x302,-0x310)+'id\x20%>'];static ['hidden']=!![];async['run'](){const _0xda249b={_0x3e3ec0:0x235,_0x5879ef:0x24e,_0x22adfb:0x240,_0x19b9bd:0x234,_0x330418:0x14,_0x2e51e3:0x27,_0x5f323c:0x243,_0x399977:0x242,_0x585076:0x23d,_0x55ead8:0x26,_0xc37360:0x31,_0x1587fe:0x24,_0x256a93:0x2a,_0x31810f:0x251,_0x586746:0x21,_0x2fd64b:0x15,_0x431465:0x10,_0x5b6fc2:0x1f,_0x5d442c:0x28,_0x40e819:0x1b,_0x3eb8f2:0x32,_0xb516d5:0x15,_0x27e39d:0x15,_0x4eedba:0x22,_0x3c54f7:0x17,_0x4f4774:0x20,_0x4aed50:0x22,_0x2c95f9:0x257,_0x2cb549:0x24c,_0x4c31f2:0x3c},_0x2565e0={_0x246824:0xca},_0x532322={_0x5d1787:0x543,_0x10f84a:0x96},_0x5b101d={'AZGlz':function(_0x454c66,_0x3f0e2c){return _0x454c66+_0x3f0e2c;},'YEaYr':_0x23760a(_0xda249b._0x3e3ec0,_0xda249b._0x5879ef,_0xda249b._0x22adfb,_0xda249b._0x19b9bd)+_0x514ea3(0x25,0x37,_0xda249b._0x330418,0x33),'GOfyX':_0x514ea3(0x36,0x37,0x2e,_0xda249b._0x2e51e3)+_0x23760a(_0xda249b._0x5f323c,0x242,_0xda249b._0x399977,0x234)+'f\x20your\x20loc'+_0x23760a(0x23f,_0xda249b._0x585076,_0xda249b._0x5f323c,_0xda249b._0x22adfb)+_0x514ea3(_0xda249b._0x55ead8,0x25,0x34,0x20)+'token!'},_0x36eb1b=new CrewkitApiClient(undefined,!![]);function _0x23760a(_0x1a0c6e,_0x5c3768,_0x3e9783,_0x458cfe){return _0x8b7ebd(_0x5c3768,_0x5c3768-0xaf,_0x3e9783-_0x532322._0x5d1787,_0x458cfe-_0x532322._0x10f84a);}function _0x514ea3(_0x5f5b3e,_0x94a7b7,_0x511588,_0x10dfc6){return _0x5d9269(_0x5f5b3e-_0x2565e0._0x246824,_0x511588,_0x511588-0x1e7,_0x5f5b3e- -0x437);}const _0x55072f=new AuthManager(_0x36eb1b);try{this[_0x514ea3(0x22,_0xda249b._0xc37360,0x16,_0xda249b._0x1587fe)](_0x514ea3(_0xda249b._0x256a93,0x1e,0x1e,0x23)+_0x23760a(_0xda249b._0x31810f,0x256,_0xda249b._0x31810f,0x247)+'mode');const _0x38d3d4=_0x5b101d['AZGlz'](_0x514ea3(_0xda249b._0x586746,0x2b,_0xda249b._0x2fd64b,0x10),Date[_0x514ea3(0x1f,0x1f,_0xda249b._0x431465,_0xda249b._0x5b6fc2)]());await _0x55072f[_0x514ea3(0x37,0x36,_0xda249b._0x5d442c,0x48)+'s']({'accessToken':_0x38d3d4,'refreshToken':_0x5b101d['YEaYr']}),this['log'](_0x514ea3(0x2d,0x1f,_0xda249b._0x40e819,_0xda249b._0x3eb8f2)+_0x514ea3(_0xda249b._0xb516d5,0x15,0x1c,_0xda249b._0x27e39d)+_0x38d3d4),this[_0x514ea3(_0xda249b._0x4eedba,0x2b,0x1b,_0xda249b._0x3c54f7)](_0x5b101d['GOfyX']),this['log']('\x0aYou\x20can\x20n'+_0x514ea3(_0xda249b._0x4f4774,_0xda249b._0x4aed50,0x13,_0xda249b._0xc37360)+_0x23760a(_0xda249b._0x2c95f9,0x251,_0xda249b._0x2cb549,0x245));}catch(_0x35b5ce){this[_0x514ea3(0x23,_0xda249b._0x586746,0x1f,_0xda249b._0x55ead8)](_0x35b5ce instanceof Error?_0x35b5ce['message']:'Dev\x20login\x20'+_0x514ea3(0x33,0x26,0x2a,_0xda249b._0x4c31f2),{'exit':0x1});}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function _0x11d8(_0x1379e5,_0x441d03){const _0x2e5d5b=_0xe858();return _0x11d8=function(_0x2fdddf,_0x3f275e){_0x2fdddf=_0x2fdddf-(-0xab6+0x1bac+-0x104d);let _0x1acfda=_0x2e5d5b[_0x2fdddf];if(_0x11d8['cJxQdX']===undefined){var _0x384f49=function(_0x385278){const _0x3b0a3a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5b38cb='',_0xf64ea3='';for(let _0x5cc6e0=-0x567*0x1+-0x1*-0x991+-0x2*0x215,_0x43e799,_0x5579c9,_0x114719=0xbb0+0x20ee+-0x2c9e;_0x5579c9=_0x385278['charAt'](_0x114719++);~_0x5579c9&&(_0x43e799=_0x5cc6e0%(-0x30*0xa6+-0x17*-0x101+0x80d)?_0x43e799*(-0x1425+-0xbac+0x1*0x2011)+_0x5579c9:_0x5579c9,_0x5cc6e0++%(-0x95*0x3+0x961+-0x79e))?_0x5b38cb+=String['fromCharCode'](-0x59+0x30b+-0x1d*0xf&_0x43e799>>(-(0x1c61+0x20a4+0x1*-0x3d03)*_0x5cc6e0&0x391+0x121*0xd+-0x35*0x58)):-0x1*-0x431+0xf2b*-0x1+0x5*0x232){_0x5579c9=_0x3b0a3a['indexOf'](_0x5579c9);}for(let _0x337afe=0xa3e+-0x1*-0x1f9d+0x1*-0x29db,_0x26e1b3=_0x5b38cb['length'];_0x337afe<_0x26e1b3;_0x337afe++){_0xf64ea3+='%'+('00'+_0x5b38cb['charCodeAt'](_0x337afe)['toString'](-0x35*-0x93+-0xc2f*0x3+0xe2*0x7))['slice'](-(-0x17a*-0x7+0x13a6+-0x1dfa));}return decodeURIComponent(_0xf64ea3);};_0x11d8['VCvFDg']=_0x384f49,_0x1379e5=arguments,_0x11d8['cJxQdX']=!![];}const _0x3dbb28=_0x2e5d5b[-0x4*-0x260+-0x1326+-0xf7*-0xa],_0x42483e=_0x2fdddf+_0x3dbb28,_0x1256c5=_0x1379e5[_0x42483e];return!_0x1256c5?(_0x1acfda=_0x11d8['VCvFDg'](_0x1acfda),_0x1379e5[_0x42483e]=_0x1acfda):_0x1acfda=_0x1256c5,_0x1acfda;},_0x11d8(_0x1379e5,_0x441d03);}(function(_0x26a387,_0xe29d91){const _0x365d1b={_0x874117:0x16f,_0x1b0fe2:0x15c,_0x170e2c:0x158,_0x54fb91:0x4bd,_0x5d5ba4:0x4a6,_0x2be06b:0x141,_0x568e72:0x157,_0x148fef:0x477,_0xb1a91c:0x48b,_0x34cdec:0x152,_0x2c178b:0x482,_0x45a7e8:0x162,_0x20caa7:0x180,_0x3fd51a:0x167,_0x2d5a98:0x15f,_0x132275:0x155,_0x470a01:0x13d,_0x49c29b:0x168,_0x188bf9:0x16b,_0x33b381:0x16f,_0x2c5037:0x4b6,_0x3fd691:0x492,_0x10cc1:0x14d,_0x310f2a:0x13c},_0x3c3a66=_0x26a387();function _0x26b42f(_0xcc736a,_0x18d4c4,_0x56dd30,_0x14a53a){return _0x11d8(_0xcc736a- -0x21a,_0x56dd30);}function _0x1cea3d(_0x1007d4,_0x95eb29,_0x3aa017,_0x185fee){return _0x11d8(_0x185fee-0x3ce,_0x95eb29);}while(!![]){try{const _0x4d99a7=-parseInt(_0x26b42f(-_0x365d1b._0x874117,-_0x365d1b._0x1b0fe2,-0x182,-_0x365d1b._0x170e2c))/(-0x3*0x3c8+-0x473+0xfcc)+parseInt(_0x1cea3d(_0x365d1b._0x54fb91,0x4c0,0x4a1,_0x365d1b._0x5d5ba4))/(0x210f+-0x85*0x17+-0x1*0x151a)*(-parseInt(_0x26b42f(-_0x365d1b._0x2be06b,-0x136,-_0x365d1b._0x568e72,-0x158))/(0x26b1*0x1+-0x1ade+-0xbd0))+parseInt(_0x1cea3d(_0x365d1b._0x148fef,_0x365d1b._0xb1a91c,0x482,0x483))/(-0x8*-0x64+-0xdbd+0xaa1)+parseInt(_0x26b42f(-_0x365d1b._0x34cdec,-0x13e,-0x13d,-0x14b))/(-0x1d39+-0x116d+0x1*0x2eab)*(-parseInt(_0x1cea3d(0x4b3,_0x365d1b._0x2c178b,0x492,0x49a))/(0x116+-0x929+0x819))+-parseInt(_0x26b42f(-0x171,-_0x365d1b._0x45a7e8,-0x16d,-_0x365d1b._0x20caa7))/(0x1958+-0x1e74+-0x1*-0x523)*(parseInt(_0x26b42f(-_0x365d1b._0x3fd51a,-0x168,-_0x365d1b._0x2d5a98,-0x180))/(0xb12+-0x1a*0x67+0x25*-0x4))+parseInt(_0x26b42f(-_0x365d1b._0x132275,-_0x365d1b._0x470a01,-_0x365d1b._0x49c29b,-0x165))/(0x1245*0x1+0x2570+-0x1*0x37ac)*(parseInt(_0x26b42f(-_0x365d1b._0x188bf9,-0x184,-_0x365d1b._0x33b381,-0x151))/(0x1447+0x24f7+-0x3934))+-parseInt(_0x1cea3d(_0x365d1b._0x2c5037,0x48d,_0x365d1b._0x3fd691,0x49e))/(-0x1*-0x1769+0x176e+0x2ecc*-0x1)*(-parseInt(_0x26b42f(-_0x365d1b._0x10cc1,-0x145,-_0x365d1b._0x310f2a,-0x13f))/(0xcb*-0x25+0x3e*-0x50+0xab*0x49));if(_0x4d99a7===_0xe29d91)break;else _0x3c3a66['push'](_0x3c3a66['shift']());}catch(_0x404dbf){_0x3c3a66['push'](_0x3c3a66['shift']());}}}(_0xe858,-0xd48dd+-0x5be1c+0x20ab84));function _0x1566f2(_0x30637f,_0xbfd1ca,_0x12ec9c,_0x3f10bd){return _0x11d8(_0xbfd1ca- -0x26d,_0x30637f);}import{BaseCommand}from'../../base-command.js';import{CrewkitApiClient}from'../../services/api-client.js';import{AuthManager}from'../../services/auth-manager.js';function _0x347eea(_0x36a80e,_0x3c99f3,_0x40043b,_0x3c8899){return _0x11d8(_0x3c8899-0x146,_0x40043b);}function _0xe858(){const _0x3281c1=['v0rir1y','nJG4nJuWmePTsfHOza','Bg9NAw5xAxrOra','DgLVBIbMywLSzq','B3jNyw5PEMf0Aq','B3iGyxv0AgvUDa','yxm6ia','lMjPBIaLpIa8jq','DMLZAxqGDgHLia','Bg9N','ywnJzxnZvg9Rzq','vxnLCG','yxrPB24UlI4','4PYfiefSCMvHzhKG','zxHHBxbSzxm','qxv0AgvUDgLJyq','zxjYB3i','owzNDuT0vq','cLDHAxrPBMCGzG','BwvZC2fNzq','nZvKqwHSAKO','cUkCHsbtDwnJzxnZ','Cffevwi','zM9SBg93Aw5Nia','ntqZmJK0yKPeseny','mtiXmMXKA3rdrG','yxv0AgvUDgLJyq','r0nkB0m','mJq2odi5q3H5uLrl','z2v0q3vYCMvUDa','zgvZy3jPChrPBW','pcu9ignVBMzPzW','B2TLBG','tg9Nz2vKigLUia','zNvSBhKGyxv0Aa','DguGD2L0AcbJCG','mJjWCfLpAe4','mZa2otq4v2XjqxDj','zxDRAxqUAw8','icaG','DgvK','ndi1nJDIv0DsDw4','vvjmihrVigf1Da','mZe4mdK1wuXvAKnI','zw50AwnHDgvKiq','zxzPy2vgBg93','AwnHDgLVBI4UlG','nZy2mdi3mgDMqu92tW','psbJB21Tyw5KlG','zw1HAwW','8j+uKcbtDgfYDgLUzW','mtm5mLPmrKv5zW'];_0xe858=function(){return _0x3281c1;};return _0xe858();}export default class AuthLogin extends BaseCommand{static [_0x347eea(0x22b,0x20f,0x218,0x218)+'n']=_0x1566f2(-0x1c1,-0x1aa,-0x1a4,-0x1af)+_0x1566f2(-0x1ab,-0x196,-0x185,-0x17d)+_0x347eea(0x20a,0x221,0x22f,0x220);static [_0x347eea(0x21b,0x220,0x221,0x208)]=[_0x347eea(0x20e,0x21f,0x202,0x219)+_0x347eea(0x20c,0x1f3,0x209,0x201)+_0x347eea(0x1e5,0x1e6,0x209,0x1f6)+'id\x20%>'];async['run'](){const _0x204cf7={_0x13143a:0x10d,_0x313003:0x112,_0x2f9889:0x10a,_0x8e5ee1:0x109,_0x3207a2:0x497,_0x3e75a4:0x488,_0x1b483c:0x49f,_0x375bf2:0x484,_0xdb48b1:0x47d,_0x36505e:0x46f,_0xb1a27f:0x491,_0x588e94:0x490,_0x327c8a:0x495,_0x46cf3a:0x49d,_0x2cbd22:0xf7,_0x303149:0xdf,_0x74e155:0x470,_0x162878:0x498,_0x49e6d4:0x4a1,_0x5eaacd:0x48f,_0x5e76ea:0x126,_0x1cc53c:0x128,_0x27215e:0x11c,_0xcfa0e7:0x105,_0x59e581:0x129,_0x3fc4fa:0x11c,_0x557267:0xff,_0x3773ae:0x49c,_0x445639:0x48b,_0x5f2926:0xfe,_0x8309de:0x111,_0x40efab:0x119,_0x2739ff:0x128,_0x26ac4c:0x13a,_0x390529:0xee,_0x20d21a:0x47f,_0x1b9b4d:0x485,_0xac1061:0x11e,_0x45f8ec:0x140,_0x2033e2:0x4a0,_0x380b60:0x47a,_0x2746be:0x493,_0x3f1e09:0x481,_0x1fca1e:0x4a1,_0x343856:0x113,_0x3f12e5:0xfd,_0x3ce27f:0xf0,_0x2b1be5:0x116,_0x32614f:0x113,_0x20d995:0x10e,_0x294e2d:0x480,_0x1cbb3a:0xf6,_0x42e1c4:0x124,_0x90d755:0x483,_0x1406a9:0x49a,_0x29b3d1:0x49c,_0x3578e3:0x496,_0x3cd4e9:0x4a5,_0x43be81:0x499},_0x480c1b={_0x401646:0x13d,_0x5893fe:0x153,_0x236b41:0x12c,_0x114942:0x123,_0x27f472:0x11c,_0x3fb86d:0x45a},_0xba4ded={_0x5941e9:0x24,_0x5b1f6c:0x128,_0xaf6363:0x1e8},_0x6735ff={_0x28dcef:0x3c},_0x2b25aa={_0x12d7dc:0x92},_0x498aa6={_0x219583:0x63c,_0x328e1f:0x26};function _0xa0f2f4(_0x3e65df,_0x520c00,_0x2190d8,_0x3b8429){return _0x1566f2(_0x3b8429,_0x520c00-_0x498aa6._0x219583,_0x2190d8-_0x498aa6._0x328e1f,_0x3b8429-0x1db);}const _0x1a0ccb={'scoMH':_0x13dc4e(-_0x204cf7._0x13143a,-_0x204cf7._0x313003,-_0x204cf7._0x2f9889,-_0x204cf7._0x8e5ee1)+_0xa0f2f4(_0x204cf7._0x3207a2,_0x204cf7._0x3e75a4,_0x204cf7._0x1b483c,0x493)+_0xa0f2f4(_0x204cf7._0x375bf2,_0x204cf7._0xdb48b1,0x46b,_0x204cf7._0x36505e),'CqrCl':_0xa0f2f4(_0x204cf7._0xb1a27f,_0x204cf7._0x588e94,0x496,0x496)+_0xa0f2f4(_0x204cf7._0x327c8a,_0x204cf7._0x46cf3a,0x491,0x494)+_0x13dc4e(-_0x204cf7._0x2cbd22,-0xef,-_0x204cf7._0x303149,-0xe4),'GCJoC':_0xa0f2f4(_0x204cf7._0x74e155,0x481,0x47e,_0x204cf7._0x162878)+'\x20authentic'+_0xa0f2f4(_0x204cf7._0x49e6d4,_0x204cf7._0x5eaacd,0x48f,0x485),'WDHGV':function(_0x4beb8e,_0x5043bb){return _0x4beb8e instanceof _0x5043bb;},'pQDUb':_0x13dc4e(-0x110,-_0x204cf7._0x5e76ea,-_0x204cf7._0x1cc53c,-0x107)+_0x13dc4e(-_0x204cf7._0x27215e,-_0x204cf7._0xcfa0e7,-_0x204cf7._0x59e581,-_0x204cf7._0x3fc4fa)+'d'},_0x4798d2=new CrewkitApiClient(),_0x111580=new AuthManager(_0x4798d2);function _0x13dc4e(_0x3682c9,_0xb8d722,_0x2efe5d,_0xd41a7f){return _0x1566f2(_0xd41a7f,_0x3682c9-0x9a,_0x2efe5d-_0x2b25aa._0x12d7dc,_0xd41a7f-0xbd);}try{const _0x3c4e1d=await _0x111580['getAccessT'+_0x13dc4e(-_0x204cf7._0x557267,-_0x204cf7._0x557267,-0x104,-0xf5)]();if(_0x3c4e1d){this['log'](_0x1a0ccb['CqrCl']);const _0x995461=await _0x4798d2[_0xa0f2f4(0x492,0x4a0,_0x204cf7._0x3773ae,_0x204cf7._0x445639)+_0xa0f2f4(0x484,0x48e,0x49a,0x48d)](_0x3c4e1d);this['log'](_0x13dc4e(-_0x204cf7._0x5f2926,-_0x204cf7._0x8309de,-0x115,-_0x204cf7._0x313003)+_0x13dc4e(-_0x204cf7._0x40efab,-0x121,-_0x204cf7._0x2739ff,-0x131)+_0x995461[_0x13dc4e(-0x122,-_0x204cf7._0x26ac4c,-_0x204cf7._0x2f9889,-0x10a)]+'\x20('+_0x995461[_0xa0f2f4(0x483,0x487,0x495,0x499)+'on']+')');return;}this['log'](_0x1a0ccb[_0x13dc4e(-0x104,-0x11e,-0x106,-_0x204cf7._0x390529)]);const _0x47ab47=await _0x111580[_0xa0f2f4(_0x204cf7._0x20d21a,_0x204cf7._0x1b9b4d,0x47a,0x48a)+_0x13dc4e(-0x126,-0x12b,-_0x204cf7._0xac1061,-_0x204cf7._0x45f8ec)]((_0x1c809b,_0x24a3ef,_0x3b4841)=>{this[_0x3a76f5(-0x129,-0x148,-0x13a,-0x12c)]('\x0a📱\x20Please\x20'+_0x3a76f5(-_0x480c1b._0x401646,-0x13e,-0x13b,-_0x480c1b._0x5893fe)+_0x3a76f5(-0x132,-0x13d,-_0x480c1b._0x236b41,-0x124)+_0x22bcb3(0x428,0x43d,0x42a,0x44c)+'henticate:'),this['log'](_0x3a76f5(-_0x480c1b._0x114942,-0x106,-_0x480c1b._0x27f472,-0x136)+_0x3b4841),this[_0x22bcb3(0x45a,0x450,_0x480c1b._0x3fb86d,0x44b)]('\x0a🔑\x20Enter\x20t'+'his\x20code:\x20'+_0x24a3ef);function _0x22bcb3(_0x5b9300,_0xde7cd9,_0x587f1f,_0x4060a3){return _0xa0f2f4(_0x5b9300-0x9c,_0xde7cd9- -_0x6735ff._0x28dcef,_0x587f1f-0x18b,_0x4060a3);}function _0x3a76f5(_0x49dc4e,_0x30fb24,_0x2287d0,_0x10a148){return _0x13dc4e(_0x2287d0- -_0xba4ded._0x5941e9,_0x30fb24-_0xba4ded._0x5b1f6c,_0x2287d0-_0xba4ded._0xaf6363,_0x10a148);}this['log'](_0x1a0ccb['scoMH']);}),_0x5549cf=await _0x4798d2[_0xa0f2f4(0x4a5,_0x204cf7._0x2033e2,0x4a8,0x489)+_0xa0f2f4(_0x204cf7._0x380b60,0x48e,0x496,0x49f)](_0x47ab47[_0xa0f2f4(_0x204cf7._0x2746be,0x48d,_0x204cf7._0x3f1e09,_0x204cf7._0x1fca1e)+'n']);this['log'](_0x13dc4e(-_0x204cf7._0x2f9889,-_0x204cf7._0x343856,-_0x204cf7._0x557267,-0x111)+_0x13dc4e(-_0x204cf7._0x3f12e5,-0xfc,-_0x204cf7._0x3ce27f,-0xed)+_0xa0f2f4(0x478,0x47b,0x48b,0x46e)),this[_0x13dc4e(-_0x204cf7._0x2b1be5,-0x112,-0x121,-0x117)]('Logged\x20in\x20'+_0x13dc4e(-0x119,-_0x204cf7._0x32614f,-_0x204cf7._0x20d995,-0x11a)+_0x5549cf[_0xa0f2f4(0x494,_0x204cf7._0x294e2d,0x46d,0x485)]+'\x20('+_0x5549cf['organizati'+'on']+')');}catch(_0x1850d9){this[_0x13dc4e(-0x10f,-_0x204cf7._0x1cbb3a,-_0x204cf7._0x42e1c4,-0x116)](_0x1a0ccb[_0xa0f2f4(_0x204cf7._0x327c8a,_0x204cf7._0x90d755,_0x204cf7._0x1406a9,0x47f)](_0x1850d9,Error)?_0x1850d9[_0xa0f2f4(_0x204cf7._0x29b3d1,_0x204cf7._0x3578e3,_0x204cf7._0x3cd4e9,0x490)]:_0x1a0ccb[_0xa0f2f4(0x4a6,_0x204cf7._0x43be81,0x489,0x491)],{'exit':0x1});}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(_0x22ae60,_0x108902){const _0x30fc1e={_0x47f309:0x5b1,_0x165f5a:0x5b8,_0x297421:0x5c2,_0x42d044:0x5d2,_0x1e7a0d:0x5cc,_0x182d90:0x5c1,_0x303166:0x10b,_0x5c6932:0xff,_0x1b71cb:0x109,_0xf86712:0xfa,_0x3ab2f3:0xf6,_0x168e8f:0xe1,_0x286ba8:0x108,_0x3c1371:0x103,_0x2639b5:0x5bf,_0x5d485e:0x5a8,_0x585213:0x5b2,_0x8a4617:0x103,_0xb92a62:0x5ac,_0x1f685a:0x5bc,_0x553ec9:0x101,_0x36ba2e:0xf7},_0x26bab0={_0x2b976c:0x3d7};function _0x25749f(_0x4406d7,_0x56d651,_0xf0719d,_0x3b53ea){return _0x17d7(_0xf0719d- -0xe7,_0x56d651);}function _0x4d9b52(_0x4db853,_0x44e7fb,_0xcc3468,_0x5c128e){return _0x17d7(_0x5c128e-_0x26bab0._0x2b976c,_0x44e7fb);}const _0x3e84e4=_0x22ae60();while(!![]){try{const _0x34eb52=parseInt(_0x4d9b52(0x5a3,0x5af,_0x30fc1e._0x47f309,0x5ac))/(0x22bd+-0xefc*0x2+-0x4c4)+-parseInt(_0x4d9b52(0x5b6,_0x30fc1e._0x165f5a,0x5cd,_0x30fc1e._0x297421))/(-0x7*0x43e+-0x1f66+0x3d1a)*(-parseInt(_0x25749f(0xf1,0xfd,0xff,0x108))/(-0x20e7+-0x1e3b+-0x109*-0x3d))+-parseInt(_0x4d9b52(_0x30fc1e._0x42d044,_0x30fc1e._0x1e7a0d,_0x30fc1e._0x182d90,0x5c4))/(0x1a1b*-0x1+-0x13*0x205+0x27b*0x1a)*(-parseInt(_0x25749f(_0x30fc1e._0x303166,_0x30fc1e._0x5c6932,_0x30fc1e._0x1b71cb,0x10e))/(-0x25b1+0x44*-0x9+0x281a))+parseInt(_0x25749f(_0x30fc1e._0xf86712,_0x30fc1e._0x3ab2f3,0xef,_0x30fc1e._0x168e8f))/(-0x1fce+-0x9*0x41b+-0x3*-0x16ed)*(parseInt(_0x25749f(_0x30fc1e._0x286ba8,_0x30fc1e._0x3c1371,_0x30fc1e._0x3c1371,0x10f))/(-0x1e7c+0x2532+-0x6af))+-parseInt(_0x4d9b52(_0x30fc1e._0x2639b5,_0x30fc1e._0x5d485e,0x5b3,_0x30fc1e._0x585213))/(0x9b+-0x1df7+-0x156*-0x16)*(-parseInt(_0x25749f(0x112,_0x30fc1e._0x3c1371,_0x30fc1e._0x286ba8,_0x30fc1e._0x8a4617))/(0x1efd+-0x1480+-0x3*0x37c))+parseInt(_0x4d9b52(0x5a8,_0x30fc1e._0xb92a62,_0x30fc1e._0x1f685a,0x5b6))/(0x2187*0x1+0x118f+-0x330c)+-parseInt(_0x25749f(0x108,0xf4,_0x30fc1e._0x553ec9,_0x30fc1e._0x36ba2e))/(0x11fa+-0x1701+0x289*0x2);if(_0x34eb52===_0x108902)break;else _0x3e84e4['push'](_0x3e84e4['shift']());}catch(_0x348944){_0x3e84e4['push'](_0x3e84e4['shift']());}}}(_0x304a,0x9b6d*-0x17+0xa2d63*0x1+-0x1*-0x1144f2));import{BaseCommand}from'../../base-command.js';import{CrewkitApiClient}from'../../services/api-client.js';function _0x979b72(_0x378d87,_0x2ecd14,_0x4c1076,_0x289d09){return _0x17d7(_0x378d87-0x306,_0x289d09);}function _0x17d7(_0x362613,_0x1c8f80){const _0x4196fd=_0x304a();return _0x17d7=function(_0x298f85,_0x229aa6){_0x298f85=_0x298f85-(-0x5b*-0x11+0x446+-0x35*0x29);let _0x75c22f=_0x4196fd[_0x298f85];if(_0x17d7['vJvIDf']===undefined){var _0x459afb=function(_0x2d1d91){const _0x25a0f3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2f7f43='',_0x4d214a='';for(let _0x4df051=-0x1*-0x2489+0x82a+-0x2cb3*0x1,_0x5427a4,_0x83c02a,_0x1e811a=-0x26*-0xa6+0x31*0x8b+-0x3*0x1115;_0x83c02a=_0x2d1d91['charAt'](_0x1e811a++);~_0x83c02a&&(_0x5427a4=_0x4df051%(0xaea+-0x708+-0x3de)?_0x5427a4*(-0x1b*-0xec+0x5*0x46+0x2*-0xd01)+_0x83c02a:_0x83c02a,_0x4df051++%(-0x2599+-0x1*-0x111+0x1246*0x2))?_0x2f7f43+=String['fromCharCode'](0x38*0x77+0x1292*0x1+-0x2b9b&_0x5427a4>>(-(-0x8*-0x99+0x1b*-0x92+-0x154*-0x8)*_0x4df051&-0x10a0+-0xe66+0x1f0c)):0x23ce+-0x19dd+0x9f1*-0x1){_0x83c02a=_0x25a0f3['indexOf'](_0x83c02a);}for(let _0x2513bd=-0x26a7+-0x233b*-0x1+0x36c,_0x2f16c1=_0x2f7f43['length'];_0x2513bd<_0x2f16c1;_0x2513bd++){_0x4d214a+='%'+('00'+_0x2f7f43['charCodeAt'](_0x2513bd)['toString'](-0x395+-0x9*-0x7+-0x5*-0xae))['slice'](-(-0x5bf*-0x2+0x2461+-0x2fdd*0x1));}return decodeURIComponent(_0x4d214a);};_0x17d7['mxwbOg']=_0x459afb,_0x362613=arguments,_0x17d7['vJvIDf']=!![];}const _0x336a89=_0x4196fd[-0x7c*-0x31+0x3*-0x76d+-0x175*0x1],_0x324da9=_0x298f85+_0x336a89,_0x111436=_0x362613[_0x324da9];return!_0x111436?(_0x75c22f=_0x17d7['mxwbOg'](_0x75c22f),_0x362613[_0x324da9]=_0x75c22f):_0x75c22f=_0x111436,_0x75c22f;},_0x17d7(_0x362613,_0x1c8f80);}import{AuthManager}from'../../services/auth-manager.js';function _0x1ecb9c(_0x17b40f,_0x5da552,_0x4fc2e5,_0x52423a){const _0x442669={_0x2371f7:0x38};return _0x17d7(_0x17b40f-_0x442669._0x2371f7,_0x4fc2e5);}export default class AuthLogout extends BaseCommand{static ['descriptio'+'n']='Clear\x20auth'+_0x1ecb9c(0x221,0x22f,0x228,0x228)+_0x1ecb9c(0x215,0x217,0x20c,0x218)+'ls';static [_0x1ecb9c(0x20f,0x209,0x207,0x214)]=[_0x979b72(0x4ea,0x4eb,0x4dc,0x4f6)+'.bin\x20%>\x20<%'+_0x979b72(0x4e7,0x4e0,0x4ea,0x4dc)+'id\x20%>'];async[_0x1ecb9c(0x21f,0x22a,0x22c,0x22a)](){const _0x1b3baf={_0x6fec66:0x1b,_0x13a252:0x20,_0x3aa803:0x11,_0x14891f:0xc,_0x11b805:0x2d,_0x376a11:0x23,_0x174fa3:0x31,_0x281347:0x29,_0x3f6a80:0x2d,_0x527b3f:0x20,_0x37f5ef:0x47a,_0x5a4618:0x46c,_0x470505:0x474,_0x44b81d:0x47f,_0x20a1aa:0x27,_0x53bc08:0x2f,_0x2ba095:0x1d,_0x3fbaea:0x22,_0x5d9945:0x467,_0x13ac3c:0x46c,_0x23769e:0x470,_0xa78ac5:0x24,_0x47dddf:0x31,_0x218d26:0x3b,_0x381336:0x35},_0x376b9b={_0x2641e4:0x7b},_0x4119a6={_0xe7740f:0x1e3,_0xd499e9:0x18e},_0x30fdcf={'QARqP':'✅\x20Successf'+'ully\x20logge'+_0xe2321a(-0x11,-_0x1b3baf._0x6fec66,-_0x1b3baf._0x13a252,-0x27)},_0x2e87a0=new CrewkitApiClient();function _0x2846bc(_0x494c24,_0xe6a08f,_0x4eb434,_0x2e14c1){return _0x979b72(_0x494c24- -0x6e,_0xe6a08f-_0x4119a6._0xe7740f,_0x4eb434-_0x4119a6._0xd499e9,_0x4eb434);}const _0x38a788=new AuthManager(_0x2e87a0);function _0xe2321a(_0x2dba28,_0x993ee2,_0x4576d8,_0x38de26){return _0x979b72(_0x993ee2- -0x50d,_0x993ee2-_0x376b9b._0x2641e4,_0x4576d8-0x44,_0x4576d8);}try{const _0x2e2fc6=await _0x38a788[_0xe2321a(-0x20,-0x19,-_0x1b3baf._0x3aa803,-_0x1b3baf._0x14891f)+_0xe2321a(-0x2f,-_0x1b3baf._0x11b805,-_0x1b3baf._0x376a11,-0x2c)]();if(!_0x2e2fc6){this[_0xe2321a(-_0x1b3baf._0x174fa3,-_0x1b3baf._0x281347,-_0x1b3baf._0x3f6a80,-_0x1b3baf._0x527b3f)]('⚠️\x20\x20Not\x20cur'+_0x2846bc(_0x1b3baf._0x37f5ef,0x47d,_0x1b3baf._0x5a4618,0x483)+_0x2846bc(_0x1b3baf._0x470505,_0x1b3baf._0x44b81d,0x468,0x483));return;}await _0x38a788[_0xe2321a(-0x23,-_0x1b3baf._0x20a1aa,-_0x1b3baf._0x53bc08,-_0x1b3baf._0x20a1aa)+'s'](),this['log'](_0x30fdcf[_0xe2321a(-_0x1b3baf._0x2ba095,-_0x1b3baf._0x3fbaea,-0x23,-0x20)]);}catch(_0x59cc40){this[_0x2846bc(0x470,0x46c,0x469,_0x1b3baf._0x5d9945)](_0x59cc40 instanceof Error?_0x59cc40[_0x2846bc(_0x1b3baf._0x13ac3c,_0x1b3baf._0x5d9945,0x464,_0x1b3baf._0x23769e)]:_0xe2321a(-0x1e,-_0x1b3baf._0xa78ac5,-_0x1b3baf._0x47dddf,-0x22)+_0xe2321a(-0x39,-0x2e,-_0x1b3baf._0x218d26,-_0x1b3baf._0x381336),{'exit':0x1});}}}function _0x304a(){const _0x3b4920=['mJHvA1H1sfK','z2v0qwnJzxnZva','mZqYyNPruvrL','ndK5odvtAMXsAva','BwvZC2fNzq','mte3nZu3nhzTy1HPDG','ntrStMTgtvi','zxHHBxbSzxm','zxjYB3i','BgvK','B2TLBG','mZi0mda4zuXdqMP5','AgvUDgLJyxrLza','ignYzwrLBNrPyq','Bg9N','mtq4mJmXodbXDxPxANe','y2XLyxjuB2TLBG','psbJB21Tyw5KlG','CMvUDgX5igf1Da','tg9NB3v0igzHAq','pcu9ignVBMzPzW','uufsCva','odC4mvPKBNHbyW','CNvU','ntuWmdi3mdzbueftvwO','zw50AwnHDgLVBG','nJaYnJG2BurWsNDZ','ntC0zeXyyvH6','zcbVDxq'];_0x304a=function(){return _0x3b4920;};return _0x304a();}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(_0x3ee257,_0x4702a5){const _0x1ecb1a={_0x332a4c:0x24,_0x2f9990:0x1eb,_0x4ddf70:0x1cd,_0x2d4e21:0x1db,_0x550179:0x1e7,_0x13badc:0x1d,_0x729567:0x34,_0x4b05d9:0x36,_0x573767:0x5b,_0x18d779:0x3d,_0x46cbba:0x4c,_0x20a449:0x1d3,_0x59b834:0x34,_0x5986be:0x29},_0x3c8a08={_0x202650:0x245};function _0x1a5052(_0x1f4d9e,_0x16502c,_0x3e613f,_0x263b42){return _0x24df(_0x16502c- -_0x3c8a08._0x202650,_0x1f4d9e);}function _0x4935ea(_0x2ad952,_0x494b57,_0xe74740,_0x1034bf){return _0x24df(_0x1034bf- -0xc1,_0xe74740);}const _0x12809a=_0x3ee257();while(!![]){try{const _0x4798ce=parseInt(_0x4935ea(-0x3c,-_0x1ecb1a._0x332a4c,-0x23,-0x38))/(-0x1bad+-0xc15+0x75*0x57)*(-parseInt(_0x1a5052(-_0x1ecb1a._0x2f9990,-0x1d4,-_0x1ecb1a._0x4ddf70,-0x1d5))/(0x4*-0x9b0+0xb4f+0x1b73))+-parseInt(_0x1a5052(-0x1d5,-0x1d7,-_0x1ecb1a._0x2d4e21,-_0x1ecb1a._0x550179))/(-0x1ce4+-0x2*0x2e+0x1d43)*(-parseInt(_0x4935ea(-0x43,-0x1d,-_0x1ecb1a._0x13badc,-_0x1ecb1a._0x729567))/(0xf6*-0x17+0x937*-0x1+0x1f55))+-parseInt(_0x4935ea(-0x44,-0x35,-0x4a,-0x49))/(0x2*0x86a+-0x25d*0x5+0x12*-0x47)+parseInt(_0x4935ea(-_0x1ecb1a._0x4b05d9,-_0x1ecb1a._0x573767,-0x46,-0x47))/(0x24be+0x99f+-0x1*0x2e57)+-parseInt(_0x4935ea(-0x3e,-_0x1ecb1a._0x18d779,-0x43,-_0x1ecb1a._0x46cbba))/(0x1900+-0x53f+0x9dd*-0x2)*(parseInt(_0x1a5052(-_0x1ecb1a._0x20a449,-0x1d1,-0x1ca,-0x1cc))/(-0x33f*-0x5+-0x1771*0x1+-0x12*-0x67))+parseInt(_0x1a5052(-0x196,-0x1ad,-0x1b7,-0x1b4))/(0x2*0x5de+0x4*0x2c5+0x157*-0x11)+parseInt(_0x4935ea(-0x3f,-_0x1ecb1a._0x59b834,-_0x1ecb1a._0x5986be,-0x2a))/(-0x6*-0x97+-0x645+0x1*0x2c5);if(_0x4798ce===_0x4702a5)break;else _0x12809a['push'](_0x12809a['shift']());}catch(_0x36cf53){_0x12809a['push'](_0x12809a['shift']());}}}(_0x2d8f,0x29890*-0x1+-0x1039f1*0x1+-0x1*-0x1c6955));function _0x21619a(_0x181385,_0x1afee2,_0x4bfc65,_0x4f788b){const _0x342697={_0x42ceac:0x2ce};return _0x24df(_0x181385-_0x342697._0x42ceac,_0x1afee2);}import{BaseCommand}from'../../base-command.js';function _0x24df(_0x527cd0,_0x11f9b9){const _0x40477e=_0x2d8f();return _0x24df=function(_0x808a76,_0x4b08e7){_0x808a76=_0x808a76-(0x1943+0x551+-0x1e28);let _0x4756d3=_0x40477e[_0x808a76];if(_0x24df['GITPaS']===undefined){var _0x4a92dc=function(_0x550d68){const _0x4d6161='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1c1606='',_0x27bbc8='';for(let _0x2460ac=0x1*0x2060+-0x14e+-0x1f12,_0x3cfcd9,_0x5b1f5f,_0x1727fd=0x661+0x3f7+-0xa58;_0x5b1f5f=_0x550d68['charAt'](_0x1727fd++);~_0x5b1f5f&&(_0x3cfcd9=_0x2460ac%(-0x180b+-0x443*0x4+0x291b)?_0x3cfcd9*(-0xbbe+0xa58+0x1a6)+_0x5b1f5f:_0x5b1f5f,_0x2460ac++%(-0x1d11+-0x232e+0x4043))?_0x1c1606+=String['fromCharCode'](-0x1*0x16e8+0x2e1*-0x1+-0x359*-0x8&_0x3cfcd9>>(-(0x1*-0x551+-0x67*-0x1f+0x3d*-0x1e)*_0x2460ac&0x1f1b+0x1f*-0x41+-0x1736)):-0x1955+-0x257c+0xd*0x4d5){_0x5b1f5f=_0x4d6161['indexOf'](_0x5b1f5f);}for(let _0x23df1d=-0x1*-0x6cf+-0x42b*0x3+0x3*0x1e6,_0x3e71ab=_0x1c1606['length'];_0x23df1d<_0x3e71ab;_0x23df1d++){_0x27bbc8+='%'+('00'+_0x1c1606['charCodeAt'](_0x23df1d)['toString'](0x18b2+0x1f54+-0x37f6))['slice'](-(0x15b0+-0x17e6+-0x11c*-0x2));}return decodeURIComponent(_0x27bbc8);};_0x24df['RfezyL']=_0x4a92dc,_0x527cd0=arguments,_0x24df['GITPaS']=!![];}const _0x4c8e3b=_0x40477e[0x391+0x1*-0x301+-0x90],_0x5eb198=_0x808a76+_0x4c8e3b,_0x39df06=_0x527cd0[_0x5eb198];return!_0x39df06?(_0x4756d3=_0x24df['RfezyL'](_0x4756d3),_0x527cd0[_0x5eb198]=_0x4756d3):_0x4756d3=_0x39df06,_0x4756d3;},_0x24df(_0x527cd0,_0x11f9b9);}function _0x2d8f(){const _0x556f85=['zxHHBxbSzxm','AwnHDgLVBIbZDa','mtznCuH0y24','mZyZotyWmvLYrgXbwG','AwqGjt4','zgvZy3jPChrPBW','mZm1ndmWwgf0svbc','cLvZzxi6ia','otyWnJC4Ewrhse95','y2XLyxjuB2TLBG','CNvU','A2L0igf1DgGGBa','B2TLBG','y2f0zwq','u3rHDhvZignOzq','zw50AwnHDgvK','Bg9N','t3jNyw5PEMf0Aq','Aw52ywXPza','yxr1CW','DxrOzw50AwnHDa','B3jNyw5PEMf0Aq','uxPrwuK','ndq3mdfczKn5zfC','4PQG77IpicbuB2TLBIbL','EhbPCMvKig9Yia','zs1HDxrOzw50Aq','nfvrCgj0sa','CgDJDwq','cLj1BIbGy3jLDW','4P2mie5VDcbHDxrO','lMjPBIaLpIa8jq','B2DPBMaGDg8GCG','CM9Szq','BNqGyxv0AgvUDa','y2f0zq','zxjYB3i','mti3nJq2nJbkv1jMtM8','mZu5mZCXofrPrKnzsW','B246ia','pcu9ignVBMzPzW','y2SGzMfPBgvK','uM9SztOG','ota1nta4t01pufPI','psbJB21Tyw5KlG','B2DPBMaGDg8Gyq','mtHbCLnQsMu'];_0x2d8f=function(){return _0x556f85;};return _0x2d8f();}import{CrewkitApiClient}from'../../services/api-client.js';function _0x11cdf9(_0x1a3b56,_0x38e436,_0x1da000,_0x554024){const _0x276880={_0x375e2f:0x3d0};return _0x24df(_0x38e436-_0x276880._0x375e2f,_0x1a3b56);}import{AuthManager}from'../../services/auth-manager.js';export default class AuthStatus extends BaseCommand{static [_0x11cdf9(0x45c,0x447,0x44d,0x446)+'n']='Show\x20curre'+_0x11cdf9(0x470,0x464,0x461,0x478)+_0x11cdf9(0x456,0x443,0x455,0x44d)+_0x11cdf9(0x446,0x455,0x462,0x454);static [_0x21619a(0x340,0x328,0x32d,0x33b)]=[_0x21619a(0x368,0x355,0x360,0x355)+_0x21619a(0x35f,0x34d,0x356,0x352)+_0x11cdf9(0x439,0x43f,0x445,0x452)+_0x21619a(0x344,0x33d,0x335,0x332)];async[_0x11cdf9(0x442,0x44c,0x459,0x462)](){const _0x20c5e8={_0x3e57d8:0x122,_0x6b3a4:0x167,_0x17f4c0:0x160,_0x5e2900:0x136,_0xeb2cb0:0x147,_0x331188:0x14f,_0x32a301:0x16c,_0x19506a:0x161,_0x1d86d0:0x13e,_0x55c02a:0x145,_0x25120b:0x11f,_0x1186da:0x141,_0x42907e:0x134,_0x13a84c:0x137,_0x4fc720:0x138,_0x3581c9:0x13d,_0x1d5840:0x135,_0x18784e:0x121,_0x151151:0x179,_0x293d8c:0x172,_0x284d44:0x134,_0x25d14f:0x127,_0x306ea0:0x138,_0x52c8de:0x133,_0x500d71:0x106,_0x5775b2:0x10c,_0x173f9c:0x176,_0x477fca:0x161,_0x41ed71:0x15c,_0x409251:0x17e,_0xe8796a:0x11d,_0x29634b:0x17a,_0x4fcc2f:0x179,_0x1f0e3d:0x15e,_0x22015e:0x149,_0x445693:0x16b,_0x2bfb3a:0x133,_0x2fd207:0x11b,_0x19a02b:0x156,_0x3e8bdc:0x166,_0x54b663:0x154,_0x78835a:0x16b,_0x47df16:0x156,_0x5aaeda:0x165,_0x5c9880:0x12b,_0x4468c9:0x122,_0x4fa530:0x13c,_0x1594c1:0x168,_0x3443d6:0x17b,_0x2a4579:0x173},_0x4f5057={_0x588e60:0x129},_0x38ef9f={_0x54933b:0x122},_0x10c49e={'pgcud':_0x354315(-0x12d,-0x127,-_0x20c5e8._0x3e57d8,-0x125)+_0x34621b(-0x15a,-0x157,-_0x20c5e8._0x6b3a4,-_0x20c5e8._0x17f4c0),'QzQYI':_0x34621b(-0x157,-0x16f,-0x159,-0x153)+_0x354315(-0x131,-0x13a,-_0x20c5e8._0x5e2900,-0x12e)+_0x354315(-0x146,-_0x20c5e8._0xeb2cb0,-_0x20c5e8._0x331188,-0x15c)+_0x34621b(-0x156,-_0x20c5e8._0x32a301,-0x162,-_0x20c5e8._0x19506a)+'e'},_0x1f013a=new CrewkitApiClient(),_0x13a63d=new AuthManager(_0x1f013a);function _0x34621b(_0x263e76,_0x3a7524,_0x27ebd8,_0x3f4557){return _0x21619a(_0x27ebd8- -0x4b6,_0x3f4557,_0x27ebd8-0x130,_0x3f4557-_0x38ef9f._0x54933b);}function _0x354315(_0x5450b1,_0x2b38cb,_0x28a01e,_0x4e127f){return _0x21619a(_0x2b38cb- -0x485,_0x4e127f,_0x28a01e-_0x4f5057._0x588e60,_0x4e127f-0x1c5);}try{const _0x2a846a=await _0x13a63d['getAccessT'+_0x354315(-_0x20c5e8._0x1d86d0,-0x139,-0x140,-_0x20c5e8._0x55c02a)]();if(!_0x2a846a){this['log'](_0x10c49e[_0x34621b(-0x167,-0x153,-0x15a,-0x153)]),this['log'](_0x10c49e[_0x354315(-_0x20c5e8._0x25120b,-0x12f,-_0x20c5e8._0x1186da,-0x13c)]);return;}try{const _0x53a2ca=await _0x1f013a['getCurrent'+'User'](_0x2a846a);this[_0x354315(-0x11e,-0x135,-_0x20c5e8._0x42907e,-0x13e)]('✅\x20Authenti'+_0x354315(-_0x20c5e8._0x13a84c,-_0x20c5e8._0x4fc720,-0x13a,-_0x20c5e8._0x3581c9)),this[_0x354315(-0x12f,-_0x20c5e8._0x1d5840,-0x122,-_0x20c5e8._0x18784e)](_0x34621b(-_0x20c5e8._0x151151,-_0x20c5e8._0x293d8c,-0x16f,-0x15d)+_0x53a2ca['email']),this['log'](_0x354315(-0x139,-_0x20c5e8._0x284d44,-_0x20c5e8._0x25d14f,-_0x20c5e8._0x306ea0)+_0x354315(-_0x20c5e8._0x52c8de,-0x11e,-_0x20c5e8._0x500d71,-_0x20c5e8._0x5775b2)+_0x53a2ca[_0x34621b(-_0x20c5e8._0x173f9c,-0x15b,-_0x20c5e8._0x477fca,-_0x20c5e8._0x151151)+'on']),this[_0x34621b(-_0x20c5e8._0x41ed71,-0x168,-0x166,-0x175)](_0x34621b(-0x168,-_0x20c5e8._0x409251,-0x17b,-0x193)+_0x53a2ca[_0x354315(-0x12f,-0x124,-0x128,-_0x20c5e8._0xe8796a)]);}catch{this[_0x34621b(-0x175,-_0x20c5e8._0x29634b,-0x166,-_0x20c5e8._0x4fcc2f)](_0x34621b(-0x164,-0x148,-_0x20c5e8._0x1f0e3d,-0x14d)+_0x34621b(-_0x20c5e8._0x22015e,-_0x20c5e8._0x445693,-0x15d,-0x174)+_0x354315(-0x13f,-_0x20c5e8._0x2bfb3a,-_0x20c5e8._0x25d14f,-_0x20c5e8._0x2fd207)),this[_0x34621b(-_0x20c5e8._0x19a02b,-0x17e,-_0x20c5e8._0x3e8bdc,-0x152)]('\x0aRun\x20`crew'+_0x34621b(-_0x20c5e8._0x54b663,-_0x20c5e8._0x41ed71,-_0x20c5e8._0x78835a,-0x15e)+_0x34621b(-0x148,-0x153,-_0x20c5e8._0x47df16,-_0x20c5e8._0x5aaeda)+_0x354315(-_0x20c5e8._0x25d14f,-_0x20c5e8._0x5c9880,-0x135,-0x13b)+_0x354315(-0x116,-_0x20c5e8._0x4468c9,-0x12b,-0x110)),await _0x13a63d[_0x354315(-0x12e,-_0x20c5e8._0x4fa530,-0x142,-0x150)+'s']();}}catch(_0x3d66c5){this[_0x354315(-0x136,-0x121,-0x125,-0x120)](_0x3d66c5 instanceof Error?_0x3d66c5['message']:_0x34621b(-0x15f,-0x155,-_0x20c5e8._0x1594c1,-0x171)+_0x34621b(-0x18b,-_0x20c5e8._0x3443d6,-0x17c,-_0x20c5e8._0x2a4579),{'exit':0x1});}}}
|