afot-cli 1.0.0 → 1.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/README.md
CHANGED
|
@@ -76,31 +76,37 @@ Launch the interactive model switcher anytime inside the TUI:
|
|
|
76
76
|
|
|
77
77
|
---
|
|
78
78
|
|
|
79
|
-
## 🚀
|
|
79
|
+
## 🚀 Installation & Getting Started
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
### Install globally via NPM
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
|
-
npm install -g afot
|
|
84
|
+
npm install -g afot-cli
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
Once installed, launch AFOT CLI from anywhere in your terminal:
|
|
88
88
|
|
|
89
89
|
```bash
|
|
90
|
-
|
|
90
|
+
afot
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Or run directly with NPX (zero install)
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
npx afot-cli
|
|
91
97
|
```
|
|
92
98
|
|
|
93
|
-
|
|
99
|
+
### Install from Source
|
|
94
100
|
|
|
95
101
|
```bash
|
|
96
|
-
|
|
97
|
-
cd
|
|
98
|
-
npm
|
|
102
|
+
git clone https://github.com/karthikeyanV2K/Afot-agent.git
|
|
103
|
+
cd Afot-agent
|
|
104
|
+
npm install
|
|
105
|
+
npm run build
|
|
106
|
+
cd packages/cli && npm link
|
|
99
107
|
|
|
100
|
-
# Now run
|
|
108
|
+
# Now run:
|
|
101
109
|
afot
|
|
102
|
-
afot --help
|
|
103
|
-
afot -p "Explain this project structure"
|
|
104
110
|
```
|
|
105
111
|
|
|
106
112
|
Alternatively, use the built-in bin wrapper in the root directory:
|
|
@@ -55704,7 +55704,7 @@ var providerCommand = {
|
|
|
55704
55704
|
import process12 from "node:process";
|
|
55705
55705
|
|
|
55706
55706
|
// packages/cli/src/generated/git-commit.ts
|
|
55707
|
-
var GIT_COMMIT_INFO = "
|
|
55707
|
+
var GIT_COMMIT_INFO = "ac32ec740";
|
|
55708
55708
|
|
|
55709
55709
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
55710
55710
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
updateExtension,
|
|
42
42
|
validateAuthMethod,
|
|
43
43
|
validateContextFilePath
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-3VW6Q756.js";
|
|
45
45
|
import {
|
|
46
46
|
startCommand,
|
|
47
47
|
startServer
|
|
@@ -18768,7 +18768,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
18768
18768
|
}
|
|
18769
18769
|
}
|
|
18770
18770
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
18771
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
18771
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-BLIUNKI5.js");
|
|
18772
18772
|
await doStartUI(
|
|
18773
18773
|
config,
|
|
18774
18774
|
settings,
|
package/bundle/gemini.js
CHANGED
|
@@ -110,7 +110,7 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
} else {
|
|
113
|
-
const { main } = await import("./gemini-
|
|
113
|
+
const { main } = await import("./gemini-WPZU4UIC.js");
|
|
114
114
|
const { FatalError, writeToStderr } = await import("./dist-S4A5TTFD.js");
|
|
115
115
|
const { runExitCleanup } = await import("./cleanup-7VTQUIOQ.js");
|
|
116
116
|
main().catch(async (error) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "afot-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "AFOT CLI (All For One Tech) - Terminal-first autonomous AI coding agent with multi-provider support, interactive diffs, and instant undo.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
11
11
|
"bin": {
|
|
12
|
-
"afot": "bundle/gemini.js"
|
|
13
|
-
"gemini": "bundle/gemini.js"
|
|
12
|
+
"afot": "bundle/gemini.js"
|
|
14
13
|
},
|
|
15
14
|
"files": [
|
|
16
15
|
"bundle/",
|