@doguyilmaz/aims 0.3.1 → 0.3.3

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
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://raw.githubusercontent.com/doguyilmaz/aims/v0.3.1/assets/logo.svg" width="96" height="96" alt="aims logo: a prompt whose cursor is coral and ivory">
2
+ <img src="https://raw.githubusercontent.com/doguyilmaz/aims/v0.3.3/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>
@@ -10,9 +10,9 @@
10
10
  </p>
11
11
 
12
12
  <p align="center">
13
- <a href="https://doguyilmaz.github.io/aims/">Documentation</a> ·
14
- <a href="https://doguyilmaz.github.io/aims/installation/">Install</a> ·
15
- <a href="https://doguyilmaz.github.io/aims/quick-start/">Quick start</a>
13
+ <a href="https://aims.apps.doguyilmaz.com">Documentation</a> ·
14
+ <a href="https://aims.apps.doguyilmaz.com/installation">Install</a> ·
15
+ <a href="https://aims.apps.doguyilmaz.com/quick-start">Quick start</a>
16
16
  </p>
17
17
 
18
18
  ---
@@ -27,12 +27,29 @@
27
27
  ```text
28
28
  $ aims status
29
29
  Claude Code ~/.claude
30
- ● personal me@gmail.com pro ready 5h [##....] 38% 7d [#.....] 12%
31
- work me@company.com max limited 2h10m 5h [######] 100% 7d [####..] 64% 5h resets 2h10m
30
+ order of this project (~/code/client-app); elsewhere personal → work
31
+ ● personal me@gmail.com pro login expired 5h ━━━━━━ – 7d ━━━━━━ 37% marked by a session
32
+ work me@company.com team ready 5h ━━━━━━ 2% 7d ━━━━━━ 84% 7d resets 4d default login, standing in for personal
32
33
 
33
34
  Codex ~/.codex
34
- ● personal me@gmail.com plus ready 5h [#.....] 9% 7d [##....] 31%
35
- work me@company.com team ready 5h [......] – 7d [......] –
35
+ ● personal me@gmail.com plus ready 5h ━━━━━━ 9% 7d ━━━━━━ 31%
36
+ work me@company.com business ready 5h ━━━━━━ – 7d ━━━━━━ – default login
37
+
38
+ Open sessions
39
+ Claude Code work auto ~/code/client-app · 12h59m ago
40
+ Claude Code work auto ~/code/api · 2h4m ago
41
+ Codex personal auto ~/code/blog · 6m ago
42
+
43
+ Next
44
+ → claude/personal is not logged in aims login claude personal
45
+ → codex/personal keeps unused database copies (51 MB) that can go aims doctor
46
+
47
+ How it works
48
+ claude and codex start on personal. At a limit or a dead login the
49
+ conversation continues on work, and goes back to personal once it works again.
50
+ claude/personal cannot be used now (login expired); new claude sessions start
51
+ on work.
52
+ aims claude@work keeps a session on work and never moves it.
36
53
  ```
37
54
 
38
55
  ## Install
@@ -44,7 +61,7 @@ npm install -g @doguyilmaz/aims
44
61
  go install github.com/doguyilmaz/aims/cmd/aims@latest
45
62
  ```
46
63
 
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/).
64
+ On Windows: `irm https://raw.githubusercontent.com/doguyilmaz/aims/main/scripts/install.ps1 | iex`, or Scoop. See [Installation](https://aims.apps.doguyilmaz.com/installation).
48
65
 
49
66
  ## Start
50
67
 
@@ -70,11 +87,11 @@ personal ▰▱▱▱▱ 12% · 7d 31% · auto → work
70
87
  | `claude`, `aims claude` | your first account | moves to the next account, and back once the first works again |
71
88
  | `aims claude@work` | work | stays on work (pinned) |
72
89
 
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.
90
+ `aims` alone shows your accounts, the sessions open now and anything left to set up. `aims order` changes which account comes first (in this project; `--global` for every folder), and `aims doctor` checks everything.
74
91
 
75
92
  ## How it works
76
93
 
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/).
94
+ 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://aims.apps.doguyilmaz.com/how-it-works).
78
95
 
79
96
  ## Development
80
97
 
@@ -84,7 +101,7 @@ go run ./cmd/aims status
84
101
  hugo server --source docs # the documentation site
85
102
  ```
86
103
 
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).
104
+ Each supported CLI is an adapter in `internal/tool/<name>`; adding one is described in [Adding a tool](https://aims.apps.doguyilmaz.com/how-it-works#adding-a-tool).
88
105
 
89
106
  ## License
90
107
 
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/installation/ for other ways to install.',
13
+ 'See https://aims.apps.doguyilmaz.com/installation for other ways to install.',
14
14
  );
15
15
  process.exit(1);
16
16
  }
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@doguyilmaz/aims",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "Several Claude Code and Codex accounts on one machine: instant switching, shared history, failover.",
5
5
  "license": "MIT",
6
- "homepage": "https://doguyilmaz.github.io/aims/",
6
+ "homepage": "https://aims.apps.doguyilmaz.com",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/doguyilmaz/aims.git"