overlord-cli 3.5.2 → 3.5.4
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 -2
- package/bin/_cli/auth.mjs +6 -2
- package/bin/_cli/index.mjs +1 -1
- package/bin/_cli/setup.mjs +547 -52
- package/package.json +3 -2
- package/plugins/overlord/.codex-plugin/plugin.json +35 -0
- package/plugins/overlord/.mcp.json +11 -0
- package/plugins/overlord/README.md +41 -0
- package/plugins/overlord/assets/icon.png +0 -0
- package/plugins/overlord/assets/logo.png +0 -0
- package/plugins/overlord/assets/screenshot.svg +28 -0
- package/plugins/overlord/scripts/overlord-mcp.mjs +626 -0
- package/plugins/overlord/skills/overlord-ticket-workflow/SKILL.md +26 -0
package/README.md
CHANGED
|
@@ -29,6 +29,9 @@ ovld auth login
|
|
|
29
29
|
ovld attach
|
|
30
30
|
ovld create "Investigate the failing build"
|
|
31
31
|
ovld prompt "Draft a fix for the onboarding flow"
|
|
32
|
+
ovld setup codex
|
|
33
|
+
ovld setup cursor
|
|
34
|
+
ovld setup gemini
|
|
32
35
|
ovld setup all
|
|
33
36
|
ovld doctor
|
|
34
37
|
```
|
|
@@ -48,8 +51,8 @@ ovld doctor
|
|
|
48
51
|
- `ticket` - work with a single ticket
|
|
49
52
|
- `protocol` - run ticket lifecycle commands
|
|
50
53
|
- `connect`, `restart`, `run`, `resume`, `context` - launch or resume an agent session
|
|
51
|
-
- `setup` - install the Overlord connector for a supported agent
|
|
52
|
-
- `doctor` - verify installed agent connectors
|
|
54
|
+
- `setup` - install the Overlord connector or plugin bundle for a supported agent
|
|
55
|
+
- `doctor` - verify installed agent connectors and check whether a newer CLI version is available
|
|
53
56
|
|
|
54
57
|
## Publishing
|
|
55
58
|
|
package/bin/_cli/auth.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import http from 'node:http';
|
|
|
7
7
|
|
|
8
8
|
import { buildAuthHeaders, clearCredentials, loadCredentials, loadRuntime, saveCredentials } from './credentials.mjs';
|
|
9
9
|
|
|
10
|
-
const DEFAULT_OVERLORD_URL = process.env.OVERLORD_URL ?? '
|
|
10
|
+
const DEFAULT_OVERLORD_URL = process.env.OVERLORD_URL ?? 'https://ovld.ai';
|
|
11
11
|
const DEFAULT_CLI_REDIRECT_URI = 'http://127.0.0.1:45619/callback';
|
|
12
12
|
const DEFAULT_DEVICE_POLL_INTERVAL_SECONDS = 5;
|
|
13
13
|
|
|
@@ -412,9 +412,13 @@ export async function authLoginViaOAuthLoopback(platformUrl, localSecret) {
|
|
|
412
412
|
// Public auth commands
|
|
413
413
|
// ---------------------------------------------------------------------------
|
|
414
414
|
|
|
415
|
+
export function resolveLoginPlatformUrl(runtime = loadRuntime()) {
|
|
416
|
+
return process.env.OVERLORD_URL ?? runtime?.platform_url ?? DEFAULT_OVERLORD_URL;
|
|
417
|
+
}
|
|
418
|
+
|
|
415
419
|
export async function authLogin() {
|
|
416
420
|
const runtime = loadRuntime();
|
|
417
|
-
const platformUrl =
|
|
421
|
+
const platformUrl = resolveLoginPlatformUrl(runtime);
|
|
418
422
|
const localSecret = runtime?.local_secret ?? process.env.OVERLORD_LOCAL_SECRET ?? '';
|
|
419
423
|
|
|
420
424
|
console.log('Starting Overlord CLI authorization...\n');
|
package/bin/_cli/index.mjs
CHANGED
|
@@ -27,7 +27,7 @@ Usage:
|
|
|
27
27
|
${primaryCommand} restart <agent> Resume an agent session
|
|
28
28
|
${primaryCommand} context Print ticket context (requires TICKET_ID)
|
|
29
29
|
${primaryCommand} setup <agent|all> Install Overlord agent connector
|
|
30
|
-
${primaryCommand} doctor Validate installed agent connectors
|
|
30
|
+
${primaryCommand} doctor Validate installed agent connectors and check for CLI updates
|
|
31
31
|
${primaryCommand} version Show the installed CLI version
|
|
32
32
|
${primaryCommand} help Show this help message
|
|
33
33
|
|