@adrive/cli 0.1.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.
- package/LICENSE +202 -0
- package/README.md +84 -0
- package/dist/commands/auth-login.js +23 -0
- package/dist/commands/auth-logout.js +24 -0
- package/dist/commands/auth-status.js +20 -0
- package/dist/commands/billing.js +32 -0
- package/dist/commands/context.js +33 -0
- package/dist/commands/init.js +84 -0
- package/dist/commands/ls.js +23 -0
- package/dist/commands/plan.js +36 -0
- package/dist/commands/pull.js +29 -0
- package/dist/commands/push.js +31 -0
- package/dist/commands/run-log.js +21 -0
- package/dist/commands/search.js +37 -0
- package/dist/commands/whoami.js +13 -0
- package/dist/index.js +121 -0
- package/dist/lib/api-client.js +122 -0
- package/dist/lib/config.js +65 -0
- package/dist/lib/detect-agents.js +223 -0
- package/dist/lib/poll-auth.js +57 -0
- package/package.json +61 -0
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@adrive/cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "AgentDrive CLI — the persistent workspace your agents share across Claude Code, Codex, Cursor, and LangGraph.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"adrive": "dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"main": "dist/index.js",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"README.md",
|
|
14
|
+
"LICENSE"
|
|
15
|
+
],
|
|
16
|
+
"homepage": "https://agentdrive.sh",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/Rakesh1002/agentdrive.git",
|
|
20
|
+
"directory": "packages/cli"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/Rakesh1002/agentdrive/issues"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"agentdrive",
|
|
27
|
+
"agent",
|
|
28
|
+
"ai-agent",
|
|
29
|
+
"mcp",
|
|
30
|
+
"model-context-protocol",
|
|
31
|
+
"cli",
|
|
32
|
+
"claude-code",
|
|
33
|
+
"codex",
|
|
34
|
+
"cursor",
|
|
35
|
+
"langgraph"
|
|
36
|
+
],
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "tsc && node -e \"import('node:fs').then(fs => fs.chmodSync('dist/index.js', 0o755))\"",
|
|
42
|
+
"dev": "tsc --watch",
|
|
43
|
+
"typecheck": "tsc --noEmit",
|
|
44
|
+
"test": "vitest run"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"commander": "^12.1.0",
|
|
48
|
+
"kleur": "^4.1.5",
|
|
49
|
+
"open": "^10.1.0",
|
|
50
|
+
"prompts": "^2.4.2"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/node": "^22.0.0",
|
|
54
|
+
"@types/prompts": "^2.4.9",
|
|
55
|
+
"typescript": "^5.7.0",
|
|
56
|
+
"vitest": "^2.1.0"
|
|
57
|
+
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=20"
|
|
60
|
+
}
|
|
61
|
+
}
|