@doguyilmaz/aims 0.2.2 → 0.3.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 +24 -16
- package/bin/aims.js +1 -1
- package/bin/darwin-arm64/aims +0 -0
- package/bin/darwin-x64/aims +0 -0
- package/bin/linux-arm64/aims +0 -0
- package/bin/linux-x64/aims +0 -0
- package/bin/win32-x64/aims.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/doguyilmaz/aims/v0.
|
|
2
|
+
<img src="https://raw.githubusercontent.com/doguyilmaz/aims/v0.3.0/assets/logo.svg" width="96" height="96" alt="aims logo: a prompt whose cursor is coral and ivory">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">aims</h1>
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
13
|
<a href="https://doguyilmaz.github.io/aims/">Documentation</a> ·
|
|
14
|
-
<a href="https://doguyilmaz.github.io/aims/
|
|
15
|
-
<a href="https://doguyilmaz.github.io/aims/
|
|
14
|
+
<a href="https://doguyilmaz.github.io/aims/installation/">Install</a> ·
|
|
15
|
+
<a href="https://doguyilmaz.github.io/aims/quick-start/">Quick start</a>
|
|
16
16
|
</p>
|
|
17
17
|
|
|
18
18
|
---
|
|
@@ -20,9 +20,8 @@
|
|
|
20
20
|
**aims** stands for **AI multi-session**. It lets you use a personal and a work account (or more) for Claude Code and Codex on one computer, without logging out and in to switch.
|
|
21
21
|
|
|
22
22
|
- **Log in once per account.** Each account keeps its own login in its own folder. Nothing is copied.
|
|
23
|
-
- **
|
|
24
|
-
- **One history.** Conversations, settings, skills and MCP servers are shared, so
|
|
25
|
-
- **Failover.** When an account is out of quota or its login died, the next session goes to the next account. Headless runs retry on their own when the failed attempt changed nothing.
|
|
23
|
+
- **Sessions move on their own.** A session starts on your first account. At a usage limit it moves to the next one and continues the conversation, and it moves back once the first works again.
|
|
24
|
+
- **One history.** Conversations, settings, skills and MCP servers are shared, so a conversation started on one account continues on the other. Or keep an account's history separate.
|
|
26
25
|
- **Your AI can use it.** An MCP server and a skill let Claude Code and Codex check accounts, fail over, and hand a task to another account.
|
|
27
26
|
|
|
28
27
|
```text
|
|
@@ -45,7 +44,7 @@ npm install -g @doguyilmaz/aims
|
|
|
45
44
|
go install github.com/doguyilmaz/aims/cmd/aims@latest
|
|
46
45
|
```
|
|
47
46
|
|
|
48
|
-
On Windows: `irm https://raw.githubusercontent.com/doguyilmaz/aims/main/scripts/install.ps1 | iex`, or Scoop. See [Installation](https://doguyilmaz.github.io/aims/
|
|
47
|
+
On Windows: `irm https://raw.githubusercontent.com/doguyilmaz/aims/main/scripts/install.ps1 | iex`, or Scoop. See [Installation](https://doguyilmaz.github.io/aims/installation/).
|
|
49
48
|
|
|
50
49
|
## Start
|
|
51
50
|
|
|
@@ -53,20 +52,29 @@ On Windows: `irm https://raw.githubusercontent.com/doguyilmaz/aims/main/scripts/
|
|
|
53
52
|
aims init
|
|
54
53
|
```
|
|
55
54
|
|
|
56
|
-
The setup finds Claude Code and Codex, turns the login you already have into your first account, creates the second, and connects the tools to aims. Then:
|
|
55
|
+
The setup finds Claude Code and Codex, turns the login you already have into your first account, creates the second, asks which one sessions start on, and connects the tools to aims. Then start sessions the way you always do:
|
|
57
56
|
|
|
58
57
|
```bash
|
|
59
|
-
|
|
60
|
-
aims claude # Claude Code as the active account
|
|
61
|
-
aims claude@work # as work, for this session
|
|
62
|
-
aims use work # new sessions use work
|
|
63
|
-
aims failover claude --resume # this account is out: switch and continue the conversation
|
|
64
|
-
aims doctor # check everything
|
|
58
|
+
claude # or codex: aims picks the account and watches the session
|
|
65
59
|
```
|
|
66
60
|
|
|
61
|
+
With the shell integration (`aims setup` offers it), plain `claude` and `codex` go through aims. Without it, type `aims claude` and `aims codex`. Each session says what aims does with it when it starts, and Claude Code's status line shows it while it runs:
|
|
62
|
+
|
|
63
|
+
```text
|
|
64
|
+
› claude: personal (auto → work)
|
|
65
|
+
personal ▰▱▱▱▱ 12% · 7d 31% · auto → work
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
| Start a session with | It starts on | At a limit |
|
|
69
|
+
| --- | --- | --- |
|
|
70
|
+
| `claude`, `aims claude` | your first account | moves to the next account, and back once the first works again |
|
|
71
|
+
| `aims claude@work` | work | stays on work (pinned) |
|
|
72
|
+
|
|
73
|
+
`aims` alone shows your accounts, the sessions open now and anything left to set up. `aims order` changes which account comes first, and `aims doctor` checks everything.
|
|
74
|
+
|
|
67
75
|
## How it works
|
|
68
76
|
|
|
69
|
-
Claude Code and Codex read their state from one folder (`CLAUDE_CONFIG_DIR`, `CODEX_HOME`). aims gives each account its own folder holding only its login, and links everything else to your normal `~/.claude` and `~/.codex`. `aims claude` sets the variable and starts the real `claude`; aims is not a proxy and never sees your prompts. Details in [How it works](https://doguyilmaz.github.io/aims/
|
|
77
|
+
Claude Code and Codex read their state from one folder (`CLAUDE_CONFIG_DIR`, `CODEX_HOME`). aims gives each account its own folder holding only its login, and links everything else to your normal `~/.claude` and `~/.codex`. `aims claude` sets the variable and starts the real `claude`; aims is not a proxy and never sees your prompts. Details in [How it works](https://doguyilmaz.github.io/aims/how-it-works/).
|
|
70
78
|
|
|
71
79
|
## Development
|
|
72
80
|
|
|
@@ -76,7 +84,7 @@ go run ./cmd/aims status
|
|
|
76
84
|
hugo server --source docs # the documentation site
|
|
77
85
|
```
|
|
78
86
|
|
|
79
|
-
Each supported CLI is an adapter in `internal/tool/<name>`; adding one is described in [Adding a tool](https://doguyilmaz.github.io/aims/
|
|
87
|
+
Each supported CLI is an adapter in `internal/tool/<name>`; adding one is described in [Adding a tool](https://doguyilmaz.github.io/aims/how-it-works/#adding-a-tool).
|
|
80
88
|
|
|
81
89
|
## License
|
|
82
90
|
|
package/bin/aims.js
CHANGED
|
@@ -10,7 +10,7 @@ const bin = path.join(__dirname, key, process.platform === 'win32' ? 'aims.exe'
|
|
|
10
10
|
if (!fs.existsSync(bin)) {
|
|
11
11
|
console.error(
|
|
12
12
|
`aims: there is no build for ${key} in this package.\n` +
|
|
13
|
-
'See https://doguyilmaz.github.io/aims/
|
|
13
|
+
'See https://doguyilmaz.github.io/aims/installation/ for other ways to install.',
|
|
14
14
|
);
|
|
15
15
|
process.exit(1);
|
|
16
16
|
}
|
package/bin/darwin-arm64/aims
CHANGED
|
Binary file
|
package/bin/darwin-x64/aims
CHANGED
|
Binary file
|
package/bin/linux-arm64/aims
CHANGED
|
Binary file
|
package/bin/linux-x64/aims
CHANGED
|
Binary file
|
package/bin/win32-x64/aims.exe
CHANGED
|
Binary file
|
package/package.json
CHANGED