weio-ai 1.0.3__py3-none-any.whl
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.
- weio_ai-1.0.3.dist-info/METADATA +175 -0
- weio_ai-1.0.3.dist-info/RECORD +19 -0
- weio_ai-1.0.3.dist-info/WHEEL +5 -0
- weio_ai-1.0.3.dist-info/entry_points.txt +2 -0
- weio_ai-1.0.3.dist-info/licenses/LICENSE +21 -0
- weio_ai-1.0.3.dist-info/top_level.txt +1 -0
- weio_cli/__init__.py +3 -0
- weio_cli/__main__.py +6 -0
- weio_cli/agent.py +598 -0
- weio_cli/browser_login.py +92 -0
- weio_cli/cli.py +679 -0
- weio_cli/client.py +403 -0
- weio_cli/config.py +136 -0
- weio_cli/ledger.py +122 -0
- weio_cli/settings.py +82 -0
- weio_cli/themes.py +106 -0
- weio_cli/tools.py +351 -0
- weio_cli/tui.py +466 -0
- weio_cli/updater.py +165 -0
|
@@ -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,19 @@
|
|
|
1
|
+
weio_ai-1.0.3.dist-info/licenses/LICENSE,sha256=L3LRhvKbuzf5IVjslvG973NOogRpLfDuX_BQ0EGCMgk,1067
|
|
2
|
+
weio_cli/__init__.py,sha256=u7-7wCx8-qMkD4qX8GjqkVh0OUWxZlkqqxmnE_4seZs,119
|
|
3
|
+
weio_cli/__main__.py,sha256=4JMK66Wj4uLZTKbF-sT3LAxOsr6buig77PmOkJCRRxw,83
|
|
4
|
+
weio_cli/agent.py,sha256=OsngHgGjiP-6F17vPxpXByTU36cAcDn-vYtV7Vac_Ak,32584
|
|
5
|
+
weio_cli/browser_login.py,sha256=PNltFS1OC6mJlvfSTuyj-DWhbqUalRvwW7seWvOwTx8,3448
|
|
6
|
+
weio_cli/cli.py,sha256=GSTAFr27-FuURKM404gVb75IKLrHrjqe93dCNjaCyRc,27739
|
|
7
|
+
weio_cli/client.py,sha256=Py6sCr1ocQf4XcfLo_9MAkSFiBG7otX3q7AFJt8ix_Q,19561
|
|
8
|
+
weio_cli/config.py,sha256=LwEU2Vj8qmLJMIFrXWN1wwrhJFviLnbhpFm2DpkqdJg,4469
|
|
9
|
+
weio_cli/ledger.py,sha256=a_uP0Ik7Bf4L5gPirgp9idcYZQuWVruC3uhxmzLpnE4,3705
|
|
10
|
+
weio_cli/settings.py,sha256=7S--UsJEOFPDYQ9ErbJfP58ObOpVoCZn0x1kJGUdKl8,2533
|
|
11
|
+
weio_cli/themes.py,sha256=GE2ldu2QRGrotin0dj2Se2hjs2lUgslk41_mh4Mrv1Q,2759
|
|
12
|
+
weio_cli/tools.py,sha256=miM0Wddn1BdrMJyGxg3_E-6Y3-_dYQk6gPGc8JR1nsI,15467
|
|
13
|
+
weio_cli/tui.py,sha256=Ex60uVqP5enFI7hSboaToS7WJIaTLwsbmDfV1-t9tQA,18063
|
|
14
|
+
weio_cli/updater.py,sha256=9ngOH-5imyt__1sIj38wq_fCfryAEy32iq5DCmmVT_Q,5814
|
|
15
|
+
weio_ai-1.0.3.dist-info/METADATA,sha256=mU64IqgI19fu8-1jgu-Hb4AeuHivFIH4EHXLEkttX4Q,5511
|
|
16
|
+
weio_ai-1.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
17
|
+
weio_ai-1.0.3.dist-info/entry_points.txt,sha256=ajvOKy55J0dpmBti--kDg0hezZ2AbDeuWhLXwt168_8,43
|
|
18
|
+
weio_ai-1.0.3.dist-info/top_level.txt,sha256=DVK4iUUPQAd1X7WLsHCcepsCW7JJB0dRe3ZN0ZnSfpo,9
|
|
19
|
+
weio_ai-1.0.3.dist-info/RECORD,,
|
|
@@ -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 @@
|
|
|
1
|
+
weio_cli
|
weio_cli/__init__.py
ADDED