weio-ai 1.0.3__tar.gz

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.
Files changed (38) hide show
  1. weio_ai-1.0.3/LICENSE +21 -0
  2. weio_ai-1.0.3/MANIFEST.in +4 -0
  3. weio_ai-1.0.3/PKG-INFO +175 -0
  4. weio_ai-1.0.3/README.md +153 -0
  5. weio_ai-1.0.3/pyproject.toml +35 -0
  6. weio_ai-1.0.3/setup.cfg +4 -0
  7. weio_ai-1.0.3/src/weio_ai.egg-info/PKG-INFO +175 -0
  8. weio_ai-1.0.3/src/weio_ai.egg-info/SOURCES.txt +37 -0
  9. weio_ai-1.0.3/src/weio_ai.egg-info/dependency_links.txt +1 -0
  10. weio_ai-1.0.3/src/weio_ai.egg-info/entry_points.txt +2 -0
  11. weio_ai-1.0.3/src/weio_ai.egg-info/requires.txt +2 -0
  12. weio_ai-1.0.3/src/weio_ai.egg-info/top_level.txt +1 -0
  13. weio_ai-1.0.3/src/weio_cli/__init__.py +3 -0
  14. weio_ai-1.0.3/src/weio_cli/__main__.py +6 -0
  15. weio_ai-1.0.3/src/weio_cli/agent.py +598 -0
  16. weio_ai-1.0.3/src/weio_cli/browser_login.py +92 -0
  17. weio_ai-1.0.3/src/weio_cli/cli.py +679 -0
  18. weio_ai-1.0.3/src/weio_cli/client.py +403 -0
  19. weio_ai-1.0.3/src/weio_cli/config.py +136 -0
  20. weio_ai-1.0.3/src/weio_cli/ledger.py +122 -0
  21. weio_ai-1.0.3/src/weio_cli/settings.py +82 -0
  22. weio_ai-1.0.3/src/weio_cli/themes.py +106 -0
  23. weio_ai-1.0.3/src/weio_cli/tools.py +351 -0
  24. weio_ai-1.0.3/src/weio_cli/tui.py +466 -0
  25. weio_ai-1.0.3/src/weio_cli/updater.py +165 -0
  26. weio_ai-1.0.3/tests/conftest.py +17 -0
  27. weio_ai-1.0.3/tests/test_agent.py +105 -0
  28. weio_ai-1.0.3/tests/test_agent_native.py +276 -0
  29. weio_ai-1.0.3/tests/test_agent_session.py +50 -0
  30. weio_ai-1.0.3/tests/test_cli_auth.py +286 -0
  31. weio_ai-1.0.3/tests/test_client_tool_calling.py +125 -0
  32. weio_ai-1.0.3/tests/test_host_routing_102.py +41 -0
  33. weio_ai-1.0.3/tests/test_ledger.py +124 -0
  34. weio_ai-1.0.3/tests/test_login_preserves_credential.py +75 -0
  35. weio_ai-1.0.3/tests/test_r6_claims_parity_and_keys_truth.py +97 -0
  36. weio_ai-1.0.3/tests/test_themes.py +46 -0
  37. weio_ai-1.0.3/tests/test_tui.py +45 -0
  38. weio_ai-1.0.3/tests/test_usage_next_reset.py +92 -0
weio_ai-1.0.3/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Weio, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,4 @@
1
+ include LICENSE
2
+ include README.md
3
+ include pyproject.toml
4
+ recursive-include tests *.py
weio_ai-1.0.3/PKG-INFO ADDED
@@ -0,0 +1,175 @@
1
+ Metadata-Version: 2.4
2
+ Name: weio-ai
3
+ Version: 1.0.3
4
+ Summary: Weio — an agentic coding assistant that routes inference through your Weio account.
5
+ Author: Weio, Inc.
6
+ License: MIT
7
+ Project-URL: Homepage, https://weio.ai
8
+ Project-URL: Documentation, https://weio.ai/docs
9
+ Keywords: weio,ai,cli,coding-assistant,llm
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Environment :: Console
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Topic :: Software Development :: Code Generators
16
+ Requires-Python: >=3.9
17
+ Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+ Requires-Dist: httpx>=0.24
20
+ Requires-Dist: prompt_toolkit>=3.0
21
+ Dynamic: license-file
22
+
23
+ # weio-cli
24
+
25
+ An agentic coding assistant that runs on your machine and routes inference
26
+ through your [Weio](https://weio.ai) account.
27
+
28
+ ## Install
29
+
30
+ ```bash
31
+ pip install weio-ai # or: pipx install weio-ai
32
+ ```
33
+
34
+ If you installed the previous `weio-cli` distribution, uninstall it with the same tool before installing `weio-ai`. Both distributions use the `weio` command.
35
+
36
+ Requires Python 3.9+.
37
+
38
+ ## Authenticate
39
+
40
+ Weio is in closed beta. New accounts need an approved invitation, and plan
41
+ purchases are paused. Sign in to an eligible account and create a revocable API
42
+ key in [Workspace → Keys](https://app.weio.ai/workspace/keys).
43
+
44
+ ```bash
45
+ weio login --no-browser
46
+ weio whoami
47
+ ```
48
+
49
+ Paste the key when prompted. The CLI uses `https://api.weio.ai/v1` by default.
50
+ For CI, supply `WEIO_API_KEY` from your secret store. The key is never needed
51
+ in a command argument. Browser and device-code sign-in are outside this
52
+ release's verified workflow.
53
+
54
+ ```bash
55
+ weio usage # view usage reported for your account
56
+ weio logout # clears the credential saved by login
57
+ ```
58
+
59
+ Revoke an issued key from Workspace → Keys if you no longer need it. Logout
60
+ does not unset an environment variable set by your shell.
61
+
62
+ ## Use
63
+
64
+ ### Interactive agent (default)
65
+
66
+ Run `weio` with no arguments to start an autonomous coding agent in your terminal —
67
+ like Claude Code / Codex. It reads files, searches, edits, and runs commands to
68
+ complete your task, showing each step:
69
+
70
+ ```bash
71
+ cd my-project
72
+ weio
73
+ ```
74
+
75
+ ```
76
+ weio › add a /health route to app.py and run the tests
77
+
78
+ ● Let me look at the app first.
79
+ 📖 read_file app.py
80
+ ● Adding the route.
81
+ ✎ edit_file app.py
82
+ │ + @app.get("/health")
83
+ │ + def health(): return {"ok": True}
84
+ apply edit_file to app.py? [y/N] y
85
+ ● Verifying.
86
+ ❯ run_command pytest -q
87
+ │ exit=0 … 5 passed
88
+ ✔ Added /health and confirmed tests pass.
89
+ ```
90
+
91
+ The agent uses tools: **read_file, list_dir, search, edit_file, write_file,
92
+ run_command**. File paths are confined to the project directory.
93
+
94
+ Slash commands: `/model <id>`, `/approval <mode>`, `/steps <n>`, `/settings`,
95
+ `/undo`, `/clear`, `/cwd`, `/help`, `/exit`.
96
+
97
+ ### Approval modes
98
+
99
+ Control how much the agent does without asking (`/approval` or `weio config approval`):
100
+
101
+ | Mode | Edits | Shell commands |
102
+ |---|---|---|
103
+ | `suggest` (default) | ask each time | ask each time |
104
+ | `auto-edit` | auto-apply | ask each time |
105
+ | `full-auto` | auto-apply | auto-run |
106
+
107
+ ### Settings
108
+
109
+ ```bash
110
+ weio config # show all settings
111
+ weio config approval auto-edit # set a value
112
+ weio config model pro # auto | low | mid | pro
113
+ weio config max_steps 40
114
+ ```
115
+
116
+ Settings live in `~/.weio/settings.json`. The agent uses the most capable model
117
+ your plan allows.
118
+
119
+ ### One-shot & other commands
120
+
121
+ ```bash
122
+ # Run a coding task non-interactively (auto-applies edits; add --auto to also run commands):
123
+ weio "add error handling to the fetch() in api.py"
124
+ weio code "refactor db.py to async" --auto
125
+
126
+ # Quick question (no file edits):
127
+ weio ask "what does a 502 from nginx usually mean?"
128
+
129
+ weio chat # plain interactive chat
130
+ weio usage # usage reported for your account
131
+ weio whoami # account, plan, key type, gateway, validity
132
+ weio ping # connectivity + key check
133
+ weio logout # clear the saved credential
134
+ ```
135
+
136
+ Edits are shown as a diff and require confirmation before anything is written
137
+ (use `--yolo` to apply automatically). New files are created as needed.
138
+
139
+ ## Updating
140
+
141
+ weio-cli checks PyPI once a day (fail-silent) and prints a one-line notice when a
142
+ newer version is available. To upgrade:
143
+
144
+ ```bash
145
+ weio update # upgrades in place via pip
146
+ # or
147
+ pip install -U weio-ai
148
+ ```
149
+
150
+ Disable the check with `WEIO_NO_UPDATE_CHECK=1`.
151
+
152
+ ## Configuration
153
+
154
+ | Setting | Flag | Env | Config file |
155
+ |---|---|---|---|
156
+ | API key | `--key` (any command) / `--api-key` (`weio login` only) | `WEIO_API_KEY` | `~/.weio/config.json` |
157
+ | API base | `--base` | `WEIO_BASE` | `~/.weio/config.json` |
158
+ | Model | `--model` | — | — |
159
+
160
+ Resolution order for the key (first hit wins): `--key`/`--api-key` flag →
161
+ `WEIO_API_KEY` env → the key saved by `weio login` → none (commands that need
162
+ one will ask you to log in). `weio whoami` reports which of these is active.
163
+
164
+ Using a different OpenAI-compatible endpoint (e.g. a gateway on your LAN)? Point at it with `--base http://HOST:8901/v1`.
165
+
166
+ Output is billed against your Weio account usage.
167
+
168
+
169
+ ## Release 1.0.3
170
+
171
+ The verified install and API-key workflow covers Linux with Python. The wheel
172
+ and source distribution are Python packages. See [Downloads](https://weio.ai/download)
173
+ for current availability of other platforms and standalone installers.
174
+
175
+ Weio is run by AI agents, with a human founder.
@@ -0,0 +1,153 @@
1
+ # weio-cli
2
+
3
+ An agentic coding assistant that runs on your machine and routes inference
4
+ through your [Weio](https://weio.ai) account.
5
+
6
+ ## Install
7
+
8
+ ```bash
9
+ pip install weio-ai # or: pipx install weio-ai
10
+ ```
11
+
12
+ If you installed the previous `weio-cli` distribution, uninstall it with the same tool before installing `weio-ai`. Both distributions use the `weio` command.
13
+
14
+ Requires Python 3.9+.
15
+
16
+ ## Authenticate
17
+
18
+ Weio is in closed beta. New accounts need an approved invitation, and plan
19
+ purchases are paused. Sign in to an eligible account and create a revocable API
20
+ key in [Workspace → Keys](https://app.weio.ai/workspace/keys).
21
+
22
+ ```bash
23
+ weio login --no-browser
24
+ weio whoami
25
+ ```
26
+
27
+ Paste the key when prompted. The CLI uses `https://api.weio.ai/v1` by default.
28
+ For CI, supply `WEIO_API_KEY` from your secret store. The key is never needed
29
+ in a command argument. Browser and device-code sign-in are outside this
30
+ release's verified workflow.
31
+
32
+ ```bash
33
+ weio usage # view usage reported for your account
34
+ weio logout # clears the credential saved by login
35
+ ```
36
+
37
+ Revoke an issued key from Workspace → Keys if you no longer need it. Logout
38
+ does not unset an environment variable set by your shell.
39
+
40
+ ## Use
41
+
42
+ ### Interactive agent (default)
43
+
44
+ Run `weio` with no arguments to start an autonomous coding agent in your terminal —
45
+ like Claude Code / Codex. It reads files, searches, edits, and runs commands to
46
+ complete your task, showing each step:
47
+
48
+ ```bash
49
+ cd my-project
50
+ weio
51
+ ```
52
+
53
+ ```
54
+ weio › add a /health route to app.py and run the tests
55
+
56
+ ● Let me look at the app first.
57
+ 📖 read_file app.py
58
+ ● Adding the route.
59
+ ✎ edit_file app.py
60
+ │ + @app.get("/health")
61
+ │ + def health(): return {"ok": True}
62
+ apply edit_file to app.py? [y/N] y
63
+ ● Verifying.
64
+ ❯ run_command pytest -q
65
+ │ exit=0 … 5 passed
66
+ ✔ Added /health and confirmed tests pass.
67
+ ```
68
+
69
+ The agent uses tools: **read_file, list_dir, search, edit_file, write_file,
70
+ run_command**. File paths are confined to the project directory.
71
+
72
+ Slash commands: `/model <id>`, `/approval <mode>`, `/steps <n>`, `/settings`,
73
+ `/undo`, `/clear`, `/cwd`, `/help`, `/exit`.
74
+
75
+ ### Approval modes
76
+
77
+ Control how much the agent does without asking (`/approval` or `weio config approval`):
78
+
79
+ | Mode | Edits | Shell commands |
80
+ |---|---|---|
81
+ | `suggest` (default) | ask each time | ask each time |
82
+ | `auto-edit` | auto-apply | ask each time |
83
+ | `full-auto` | auto-apply | auto-run |
84
+
85
+ ### Settings
86
+
87
+ ```bash
88
+ weio config # show all settings
89
+ weio config approval auto-edit # set a value
90
+ weio config model pro # auto | low | mid | pro
91
+ weio config max_steps 40
92
+ ```
93
+
94
+ Settings live in `~/.weio/settings.json`. The agent uses the most capable model
95
+ your plan allows.
96
+
97
+ ### One-shot & other commands
98
+
99
+ ```bash
100
+ # Run a coding task non-interactively (auto-applies edits; add --auto to also run commands):
101
+ weio "add error handling to the fetch() in api.py"
102
+ weio code "refactor db.py to async" --auto
103
+
104
+ # Quick question (no file edits):
105
+ weio ask "what does a 502 from nginx usually mean?"
106
+
107
+ weio chat # plain interactive chat
108
+ weio usage # usage reported for your account
109
+ weio whoami # account, plan, key type, gateway, validity
110
+ weio ping # connectivity + key check
111
+ weio logout # clear the saved credential
112
+ ```
113
+
114
+ Edits are shown as a diff and require confirmation before anything is written
115
+ (use `--yolo` to apply automatically). New files are created as needed.
116
+
117
+ ## Updating
118
+
119
+ weio-cli checks PyPI once a day (fail-silent) and prints a one-line notice when a
120
+ newer version is available. To upgrade:
121
+
122
+ ```bash
123
+ weio update # upgrades in place via pip
124
+ # or
125
+ pip install -U weio-ai
126
+ ```
127
+
128
+ Disable the check with `WEIO_NO_UPDATE_CHECK=1`.
129
+
130
+ ## Configuration
131
+
132
+ | Setting | Flag | Env | Config file |
133
+ |---|---|---|---|
134
+ | API key | `--key` (any command) / `--api-key` (`weio login` only) | `WEIO_API_KEY` | `~/.weio/config.json` |
135
+ | API base | `--base` | `WEIO_BASE` | `~/.weio/config.json` |
136
+ | Model | `--model` | — | — |
137
+
138
+ Resolution order for the key (first hit wins): `--key`/`--api-key` flag →
139
+ `WEIO_API_KEY` env → the key saved by `weio login` → none (commands that need
140
+ one will ask you to log in). `weio whoami` reports which of these is active.
141
+
142
+ Using a different OpenAI-compatible endpoint (e.g. a gateway on your LAN)? Point at it with `--base http://HOST:8901/v1`.
143
+
144
+ Output is billed against your Weio account usage.
145
+
146
+
147
+ ## Release 1.0.3
148
+
149
+ The verified install and API-key workflow covers Linux with Python. The wheel
150
+ and source distribution are Python packages. See [Downloads](https://weio.ai/download)
151
+ for current availability of other platforms and standalone installers.
152
+
153
+ Weio is run by AI agents, with a human founder.
@@ -0,0 +1,35 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "weio-ai"
7
+ version = "1.0.3"
8
+ description = "Weio — an agentic coding assistant that routes inference through your Weio account."
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ license = { text = "MIT" }
12
+ authors = [{ name = "Weio, Inc." }]
13
+ keywords = ["weio", "ai", "cli", "coding-assistant", "llm"]
14
+ classifiers = [
15
+ "Development Status :: 4 - Beta",
16
+ "Environment :: Console",
17
+ "Intended Audience :: Developers",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Programming Language :: Python :: 3",
20
+ "Topic :: Software Development :: Code Generators",
21
+ ]
22
+ dependencies = ["httpx>=0.24", "prompt_toolkit>=3.0"]
23
+
24
+ [project.urls]
25
+ Homepage = "https://weio.ai"
26
+ Documentation = "https://weio.ai/docs"
27
+
28
+ [project.scripts]
29
+ weio = "weio_cli.cli:main"
30
+
31
+ [tool.setuptools]
32
+ package-dir = { "" = "src" }
33
+
34
+ [tool.setuptools.packages.find]
35
+ where = ["src"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,175 @@
1
+ Metadata-Version: 2.4
2
+ Name: weio-ai
3
+ Version: 1.0.3
4
+ Summary: Weio — an agentic coding assistant that routes inference through your Weio account.
5
+ Author: Weio, Inc.
6
+ License: MIT
7
+ Project-URL: Homepage, https://weio.ai
8
+ Project-URL: Documentation, https://weio.ai/docs
9
+ Keywords: weio,ai,cli,coding-assistant,llm
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Environment :: Console
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Topic :: Software Development :: Code Generators
16
+ Requires-Python: >=3.9
17
+ Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+ Requires-Dist: httpx>=0.24
20
+ Requires-Dist: prompt_toolkit>=3.0
21
+ Dynamic: license-file
22
+
23
+ # weio-cli
24
+
25
+ An agentic coding assistant that runs on your machine and routes inference
26
+ through your [Weio](https://weio.ai) account.
27
+
28
+ ## Install
29
+
30
+ ```bash
31
+ pip install weio-ai # or: pipx install weio-ai
32
+ ```
33
+
34
+ If you installed the previous `weio-cli` distribution, uninstall it with the same tool before installing `weio-ai`. Both distributions use the `weio` command.
35
+
36
+ Requires Python 3.9+.
37
+
38
+ ## Authenticate
39
+
40
+ Weio is in closed beta. New accounts need an approved invitation, and plan
41
+ purchases are paused. Sign in to an eligible account and create a revocable API
42
+ key in [Workspace → Keys](https://app.weio.ai/workspace/keys).
43
+
44
+ ```bash
45
+ weio login --no-browser
46
+ weio whoami
47
+ ```
48
+
49
+ Paste the key when prompted. The CLI uses `https://api.weio.ai/v1` by default.
50
+ For CI, supply `WEIO_API_KEY` from your secret store. The key is never needed
51
+ in a command argument. Browser and device-code sign-in are outside this
52
+ release's verified workflow.
53
+
54
+ ```bash
55
+ weio usage # view usage reported for your account
56
+ weio logout # clears the credential saved by login
57
+ ```
58
+
59
+ Revoke an issued key from Workspace → Keys if you no longer need it. Logout
60
+ does not unset an environment variable set by your shell.
61
+
62
+ ## Use
63
+
64
+ ### Interactive agent (default)
65
+
66
+ Run `weio` with no arguments to start an autonomous coding agent in your terminal —
67
+ like Claude Code / Codex. It reads files, searches, edits, and runs commands to
68
+ complete your task, showing each step:
69
+
70
+ ```bash
71
+ cd my-project
72
+ weio
73
+ ```
74
+
75
+ ```
76
+ weio › add a /health route to app.py and run the tests
77
+
78
+ ● Let me look at the app first.
79
+ 📖 read_file app.py
80
+ ● Adding the route.
81
+ ✎ edit_file app.py
82
+ │ + @app.get("/health")
83
+ │ + def health(): return {"ok": True}
84
+ apply edit_file to app.py? [y/N] y
85
+ ● Verifying.
86
+ ❯ run_command pytest -q
87
+ │ exit=0 … 5 passed
88
+ ✔ Added /health and confirmed tests pass.
89
+ ```
90
+
91
+ The agent uses tools: **read_file, list_dir, search, edit_file, write_file,
92
+ run_command**. File paths are confined to the project directory.
93
+
94
+ Slash commands: `/model <id>`, `/approval <mode>`, `/steps <n>`, `/settings`,
95
+ `/undo`, `/clear`, `/cwd`, `/help`, `/exit`.
96
+
97
+ ### Approval modes
98
+
99
+ Control how much the agent does without asking (`/approval` or `weio config approval`):
100
+
101
+ | Mode | Edits | Shell commands |
102
+ |---|---|---|
103
+ | `suggest` (default) | ask each time | ask each time |
104
+ | `auto-edit` | auto-apply | ask each time |
105
+ | `full-auto` | auto-apply | auto-run |
106
+
107
+ ### Settings
108
+
109
+ ```bash
110
+ weio config # show all settings
111
+ weio config approval auto-edit # set a value
112
+ weio config model pro # auto | low | mid | pro
113
+ weio config max_steps 40
114
+ ```
115
+
116
+ Settings live in `~/.weio/settings.json`. The agent uses the most capable model
117
+ your plan allows.
118
+
119
+ ### One-shot & other commands
120
+
121
+ ```bash
122
+ # Run a coding task non-interactively (auto-applies edits; add --auto to also run commands):
123
+ weio "add error handling to the fetch() in api.py"
124
+ weio code "refactor db.py to async" --auto
125
+
126
+ # Quick question (no file edits):
127
+ weio ask "what does a 502 from nginx usually mean?"
128
+
129
+ weio chat # plain interactive chat
130
+ weio usage # usage reported for your account
131
+ weio whoami # account, plan, key type, gateway, validity
132
+ weio ping # connectivity + key check
133
+ weio logout # clear the saved credential
134
+ ```
135
+
136
+ Edits are shown as a diff and require confirmation before anything is written
137
+ (use `--yolo` to apply automatically). New files are created as needed.
138
+
139
+ ## Updating
140
+
141
+ weio-cli checks PyPI once a day (fail-silent) and prints a one-line notice when a
142
+ newer version is available. To upgrade:
143
+
144
+ ```bash
145
+ weio update # upgrades in place via pip
146
+ # or
147
+ pip install -U weio-ai
148
+ ```
149
+
150
+ Disable the check with `WEIO_NO_UPDATE_CHECK=1`.
151
+
152
+ ## Configuration
153
+
154
+ | Setting | Flag | Env | Config file |
155
+ |---|---|---|---|
156
+ | API key | `--key` (any command) / `--api-key` (`weio login` only) | `WEIO_API_KEY` | `~/.weio/config.json` |
157
+ | API base | `--base` | `WEIO_BASE` | `~/.weio/config.json` |
158
+ | Model | `--model` | — | — |
159
+
160
+ Resolution order for the key (first hit wins): `--key`/`--api-key` flag →
161
+ `WEIO_API_KEY` env → the key saved by `weio login` → none (commands that need
162
+ one will ask you to log in). `weio whoami` reports which of these is active.
163
+
164
+ Using a different OpenAI-compatible endpoint (e.g. a gateway on your LAN)? Point at it with `--base http://HOST:8901/v1`.
165
+
166
+ Output is billed against your Weio account usage.
167
+
168
+
169
+ ## Release 1.0.3
170
+
171
+ The verified install and API-key workflow covers Linux with Python. The wheel
172
+ and source distribution are Python packages. See [Downloads](https://weio.ai/download)
173
+ for current availability of other platforms and standalone installers.
174
+
175
+ Weio is run by AI agents, with a human founder.
@@ -0,0 +1,37 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ pyproject.toml
5
+ setup.cfg
6
+ src/weio_ai.egg-info/PKG-INFO
7
+ src/weio_ai.egg-info/SOURCES.txt
8
+ src/weio_ai.egg-info/dependency_links.txt
9
+ src/weio_ai.egg-info/entry_points.txt
10
+ src/weio_ai.egg-info/requires.txt
11
+ src/weio_ai.egg-info/top_level.txt
12
+ src/weio_cli/__init__.py
13
+ src/weio_cli/__main__.py
14
+ src/weio_cli/agent.py
15
+ src/weio_cli/browser_login.py
16
+ src/weio_cli/cli.py
17
+ src/weio_cli/client.py
18
+ src/weio_cli/config.py
19
+ src/weio_cli/ledger.py
20
+ src/weio_cli/settings.py
21
+ src/weio_cli/themes.py
22
+ src/weio_cli/tools.py
23
+ src/weio_cli/tui.py
24
+ src/weio_cli/updater.py
25
+ tests/conftest.py
26
+ tests/test_agent.py
27
+ tests/test_agent_native.py
28
+ tests/test_agent_session.py
29
+ tests/test_cli_auth.py
30
+ tests/test_client_tool_calling.py
31
+ tests/test_host_routing_102.py
32
+ tests/test_ledger.py
33
+ tests/test_login_preserves_credential.py
34
+ tests/test_r6_claims_parity_and_keys_truth.py
35
+ tests/test_themes.py
36
+ tests/test_tui.py
37
+ tests/test_usage_next_reset.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ weio = weio_cli.cli:main
@@ -0,0 +1,2 @@
1
+ httpx>=0.24
2
+ prompt_toolkit>=3.0
@@ -0,0 +1 @@
1
+ weio_cli
@@ -0,0 +1,3 @@
1
+ """Weio CLI — an agentic coding assistant that routes inference through your Weio account."""
2
+
3
+ __version__ = "1.0.3"
@@ -0,0 +1,6 @@
1
+ import sys
2
+
3
+ from .cli import main
4
+
5
+ if __name__ == "__main__":
6
+ sys.exit(main())