ws-aitoolkit 0.1.6__tar.gz → 0.1.7__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.
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/PKG-INFO +42 -42
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/README.md +41 -41
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/pyproject.toml +1 -1
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/pyproject.toml.orig +1 -1
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/_build.py +2 -2
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/cli.py +2 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/eval.py +3 -3
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/gate.py +224 -20
- ws_aitoolkit-0.1.7/src/ws/gatecorpus.py +362 -0
- ws_aitoolkit-0.1.7/src/ws/guards/checkout_pin.py +453 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/guards/claims.py +115 -35
- ws_aitoolkit-0.1.7/src/ws/guards/dev_server.py +443 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/guards/session_context.py +4 -3
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/api.py +5 -1
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/records.py +1 -1
- ws_aitoolkit-0.1.7/src/ws/home/sources/opencode.py +219 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/modules.py +97 -22
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/policy.py +436 -661
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/ntfy.py +94 -2
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/setup_ui/__init__.py +4 -4
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/setup_ui/flow.py +22 -5
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/setup_ui/inline.py +45 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/setup_ui/web.py +27 -9
- ws_aitoolkit-0.1.7/src/ws/shellwords.py +1669 -0
- ws_aitoolkit-0.1.7/src/ws/term/__init__.py +9 -0
- ws_aitoolkit-0.1.7/src/ws/term/app.py +169 -0
- ws_aitoolkit-0.1.7/src/ws/term/assets.py +1674 -0
- ws_aitoolkit-0.1.7/src/ws/term/bridge.py +374 -0
- ws_aitoolkit-0.1.7/src/ws/term/cli.py +187 -0
- ws_aitoolkit-0.1.7/src/ws/term/keys.py +55 -0
- ws_aitoolkit-0.1.7/src/ws/term/page.py +425 -0
- ws_aitoolkit-0.1.7/src/ws/term/testing.py +68 -0
- ws_aitoolkit-0.1.7/src/ws/term/tmux.py +155 -0
- ws_aitoolkit-0.1.7/src/ws/term/websocket.py +267 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/ui/server.py +84 -16
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/LICENSE +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/NOTICE +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/__init__.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/__main__.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/adapters/__init__.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/adapters/claude_code.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/adapters/opencode.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/adapters/opencode_plugin.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/approvals.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/brand.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/broker.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/canary.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/config_cmd.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/devices.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/doctor.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/evalstats.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/extcmd.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/frontmatter.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/globals.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/guards/__init__.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/guards/_paths.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/guards/bulk_staging.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/guards/record_calls.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/guards/skill_gate.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/guards/spawn_cap.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/guards/syntax_check.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/guards/test_weakening.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/__init__.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/cli.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/__init__.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/_files.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/asks_jsonl.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/claude_code.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/collie.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/events_dir.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/otel_jsonl.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/transcripts.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/ws_approvals.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/ws_eval.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/ws_plugins.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/ws_runs.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/home/sources/ws_sessions.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/install.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/jobs.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/jsonl.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/mcp_server.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/memory.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/notes.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/notesdetect.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/osinfo.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/output.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/profile.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/rating.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/__init__.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/_schedule.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/anthropic.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/commands.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/launchd.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/markdown_git.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/notify_none.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/opencode.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/restic.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/secrets_env.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/secrets_ws.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/sops_age.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/roles/systemd.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/run.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/runrecord.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/runschema.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/sandbox.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/secrets.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/selfcmd.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/session.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/skills/__init__.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/skills/align.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/skills/checkpoint.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/skills/dataviz.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/skills/resume.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/skills/ship.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/skills/taste_gate.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/status.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/style.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/testing/__init__.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/testing/mockprovider.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/testing/scenarios.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/ui/__init__.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/ui/components.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/ui/css.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/usage.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/userconfig.py +0 -0
- {ws_aitoolkit-0.1.6 → ws_aitoolkit-0.1.7}/src/ws/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ws-aitoolkit
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.7
|
|
4
4
|
Summary: Your memory, skills and rules, in any AI.
|
|
5
5
|
Author: Michael Fry
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -47,7 +47,7 @@ Or install the package yourself:
|
|
|
47
47
|
pipx install ws-aitoolkit
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
For other ways to install, including a pinned version, see [Install ws](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
50
|
+
For other ways to install, including a pinned version, see [Install ws](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/install.md).
|
|
51
51
|
|
|
52
52
|
## First command
|
|
53
53
|
|
|
@@ -68,7 +68,7 @@ the roles you set up (runner, model, budget, secrets, memory, notes, scheduler,
|
|
|
68
68
|
Doctor exits with 1 while anything needs doing, so a new install exits with 1. Run `ws init` to answer the three setup
|
|
69
69
|
questions, or `ws setup` to go step by step. `ws doctor --json` gives the same report for scripts.
|
|
70
70
|
|
|
71
|
-
To follow a whole first session, see the [first-run tutorial](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
71
|
+
To follow a whole first session, see the [first-run tutorial](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/tutorials/first-run.md).
|
|
72
72
|
|
|
73
73
|
## Skills
|
|
74
74
|
|
|
@@ -89,7 +89,7 @@ ws version --json
|
|
|
89
89
|
|
|
90
90
|
The output has `version`, `git_sha`, `dirty`, `build_date`, `python`, `install_path` and `install_source`. Each release
|
|
91
91
|
carries a checksum, a build provenance attestation, a Sigstore bundle and an SBOM. To check them, see
|
|
92
|
-
[Verify a release](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
92
|
+
[Verify a release](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/verify-a-release.md).
|
|
93
93
|
|
|
94
94
|
## Troubleshooting
|
|
95
95
|
|
|
@@ -100,55 +100,55 @@ carries a checksum, a build provenance attestation, a Sigstore bundle and an SBO
|
|
|
100
100
|
| Native Windows | ws runs inside WSL2. Run `wsl --install -d Ubuntu-24.04`, then run the installer in that shell. |
|
|
101
101
|
| `ws` isn't found after the install | Run `uv tool update-shell` or `pipx ensurepath`, then open a new terminal. |
|
|
102
102
|
|
|
103
|
-
For more, see [Troubleshoot ws](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
103
|
+
For more, see [Troubleshoot ws](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/troubleshoot.md).
|
|
104
104
|
|
|
105
105
|
## Documentation
|
|
106
106
|
|
|
107
|
-
Start with the [documentation map](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
107
|
+
Start with the [documentation map](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/README.md). Pages are grouped as tutorials, how-to guides, explanation and
|
|
108
108
|
reference (the [Diátaxis](https://diataxis.fr/) split).
|
|
109
109
|
|
|
110
110
|
| Page | What it covers |
|
|
111
111
|
|---|---|
|
|
112
|
-
| [Usage](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
113
|
-
| [First run](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
114
|
-
| [Install](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
115
|
-
| [Verify a release](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
116
|
-
| [Upgrade and uninstall](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
117
|
-
| [Troubleshoot](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
118
|
-
| [Use the gate](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
119
|
-
| [Use the wall](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
120
|
-
| [Approve a command](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
121
|
-
| [Store a secret](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
122
|
-
| [Apply the Rule of Two](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
123
|
-
| [Set a budget](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
124
|
-
| [Send drafts only](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
125
|
-
| [Run an eval](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
126
|
-
| [The gate](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
127
|
-
| [The wall](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
128
|
-
| [Approvals](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
129
|
-
| [The broker](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
130
|
-
| [The Rule of Two](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
131
|
-
| [Budget](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
132
|
-
| [Draft-only sending](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
133
|
-
| [Known limits](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
134
|
-
| [Write-up 1](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
135
|
-
| [CLI reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
136
|
-
| [Doctor checks](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
137
|
-
| [Policy reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
138
|
-
| [Eval reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
139
|
-
| [Lab reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
140
|
-
| [`ws version --json`](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
141
|
-
| [Principles](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
142
|
-
|
|
143
|
-
For contributors: [CONTRIBUTING.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
144
|
-
[CHANGELOG.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
112
|
+
| [Usage](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/usage.md) | Every command, one task each |
|
|
113
|
+
| [First run](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/tutorials/first-run.md) | Install, check, set up and run a first task |
|
|
114
|
+
| [Install](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/install.md) | Install options and pinning a version |
|
|
115
|
+
| [Verify a release](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/verify-a-release.md) | Checksum, attestation, Sigstore bundle |
|
|
116
|
+
| [Upgrade and uninstall](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/upgrade-and-uninstall.md) | Move to a new version, or remove ws |
|
|
117
|
+
| [Troubleshoot](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/troubleshoot.md) | Install and doctor failures |
|
|
118
|
+
| [Use the gate](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/use-the-gate.md) | Turn the policy into each runner's rules |
|
|
119
|
+
| [Use the wall](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/use-the-wall.md) | Run a runner inside the sandbox |
|
|
120
|
+
| [Approve a command](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/approve-a-command.md) | Give a refused call a single-use yes |
|
|
121
|
+
| [Store a secret](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/store-a-secret.md) | Keep a key where agents can't read it |
|
|
122
|
+
| [Apply the Rule of Two](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/apply-the-rule-of-two.md) | Limit what one session can combine |
|
|
123
|
+
| [Set a budget](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/set-a-budget.md) | Cap spend per month |
|
|
124
|
+
| [Send drafts only](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/send-drafts-only.md) | Let agents draft, never send |
|
|
125
|
+
| [Run an eval](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/run-an-eval.md) | Compare two setups on your own tasks |
|
|
126
|
+
| [The gate](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/gate.md) | How policy becomes enforcement |
|
|
127
|
+
| [The wall](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/wall.md) | What the sandbox stops and what it doesn't |
|
|
128
|
+
| [Approvals](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/approvals.md) | Why an approval is bound and single-use |
|
|
129
|
+
| [The broker](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/broker.md) | Why agents never see a secret |
|
|
130
|
+
| [The Rule of Two](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/rule-of-two.md) | The design rule behind the policy |
|
|
131
|
+
| [Budget](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/budget.md) | How caps are counted |
|
|
132
|
+
| [Draft-only sending](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/draft-only-sending.md) | Why ws never sends for you |
|
|
133
|
+
| [Known limits](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/known-limits.md) | What ws doesn't protect against yet |
|
|
134
|
+
| [Write-up 1](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/write-up-1.md) | The design and what we measured |
|
|
135
|
+
| [CLI reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/cli.md) | Every command and flag |
|
|
136
|
+
| [Doctor checks](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/doctor-checks.md) | Every check ID |
|
|
137
|
+
| [Policy reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/policy.md) | Every `policy.toml` key |
|
|
138
|
+
| [Eval reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/eval.md) | Task format, graders, metrics |
|
|
139
|
+
| [Lab reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/lab.md) | The lab machine and the launch matrix |
|
|
140
|
+
| [`ws version --json`](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/version-json.md) | The fields of the version report |
|
|
141
|
+
| [Principles](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/principles.md) | The rules ws follows and the check for each |
|
|
142
|
+
|
|
143
|
+
For contributors: [CONTRIBUTING.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/CONTRIBUTING.md), [SECURITY.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/SECURITY.md), [SUPPORT.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/SUPPORT.md),
|
|
144
|
+
[CHANGELOG.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/CHANGELOG.md) and [AGENTS.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/AGENTS.md).
|
|
145
145
|
|
|
146
146
|
## Status
|
|
147
147
|
|
|
148
148
|
ws is pre-1.0. Commands, JSON output and `policy.toml` keys can still change between releases, and the
|
|
149
|
-
[CHANGELOG](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
150
|
-
[Known limits](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
149
|
+
[CHANGELOG](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/CHANGELOG.md) says when they do. Doctor IDs never change meaning once released. Read
|
|
150
|
+
[Known limits](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/known-limits.md) before you rely on the wall or the gate.
|
|
151
151
|
|
|
152
152
|
## Licence
|
|
153
153
|
|
|
154
|
-
ws is [Apache-2.0](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
154
|
+
ws is [Apache-2.0](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/LICENSE). Contributions need the [CLA](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/CLA.md), signed through a bot on your first pull request.
|
|
@@ -26,7 +26,7 @@ Or install the package yourself:
|
|
|
26
26
|
pipx install ws-aitoolkit
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
For other ways to install, including a pinned version, see [Install ws](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
29
|
+
For other ways to install, including a pinned version, see [Install ws](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/install.md).
|
|
30
30
|
|
|
31
31
|
## First command
|
|
32
32
|
|
|
@@ -47,7 +47,7 @@ the roles you set up (runner, model, budget, secrets, memory, notes, scheduler,
|
|
|
47
47
|
Doctor exits with 1 while anything needs doing, so a new install exits with 1. Run `ws init` to answer the three setup
|
|
48
48
|
questions, or `ws setup` to go step by step. `ws doctor --json` gives the same report for scripts.
|
|
49
49
|
|
|
50
|
-
To follow a whole first session, see the [first-run tutorial](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
50
|
+
To follow a whole first session, see the [first-run tutorial](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/tutorials/first-run.md).
|
|
51
51
|
|
|
52
52
|
## Skills
|
|
53
53
|
|
|
@@ -68,7 +68,7 @@ ws version --json
|
|
|
68
68
|
|
|
69
69
|
The output has `version`, `git_sha`, `dirty`, `build_date`, `python`, `install_path` and `install_source`. Each release
|
|
70
70
|
carries a checksum, a build provenance attestation, a Sigstore bundle and an SBOM. To check them, see
|
|
71
|
-
[Verify a release](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
71
|
+
[Verify a release](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/verify-a-release.md).
|
|
72
72
|
|
|
73
73
|
## Troubleshooting
|
|
74
74
|
|
|
@@ -79,55 +79,55 @@ carries a checksum, a build provenance attestation, a Sigstore bundle and an SBO
|
|
|
79
79
|
| Native Windows | ws runs inside WSL2. Run `wsl --install -d Ubuntu-24.04`, then run the installer in that shell. |
|
|
80
80
|
| `ws` isn't found after the install | Run `uv tool update-shell` or `pipx ensurepath`, then open a new terminal. |
|
|
81
81
|
|
|
82
|
-
For more, see [Troubleshoot ws](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
82
|
+
For more, see [Troubleshoot ws](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/troubleshoot.md).
|
|
83
83
|
|
|
84
84
|
## Documentation
|
|
85
85
|
|
|
86
|
-
Start with the [documentation map](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
86
|
+
Start with the [documentation map](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/README.md). Pages are grouped as tutorials, how-to guides, explanation and
|
|
87
87
|
reference (the [Diátaxis](https://diataxis.fr/) split).
|
|
88
88
|
|
|
89
89
|
| Page | What it covers |
|
|
90
90
|
|---|---|
|
|
91
|
-
| [Usage](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
92
|
-
| [First run](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
93
|
-
| [Install](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
94
|
-
| [Verify a release](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
95
|
-
| [Upgrade and uninstall](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
96
|
-
| [Troubleshoot](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
97
|
-
| [Use the gate](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
98
|
-
| [Use the wall](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
99
|
-
| [Approve a command](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
100
|
-
| [Store a secret](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
101
|
-
| [Apply the Rule of Two](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
102
|
-
| [Set a budget](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
103
|
-
| [Send drafts only](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
104
|
-
| [Run an eval](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
105
|
-
| [The gate](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
106
|
-
| [The wall](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
107
|
-
| [Approvals](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
108
|
-
| [The broker](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
109
|
-
| [The Rule of Two](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
110
|
-
| [Budget](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
111
|
-
| [Draft-only sending](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
112
|
-
| [Known limits](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
113
|
-
| [Write-up 1](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
114
|
-
| [CLI reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
115
|
-
| [Doctor checks](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
116
|
-
| [Policy reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
117
|
-
| [Eval reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
118
|
-
| [Lab reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
119
|
-
| [`ws version --json`](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
120
|
-
| [Principles](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
121
|
-
|
|
122
|
-
For contributors: [CONTRIBUTING.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
123
|
-
[CHANGELOG.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
91
|
+
| [Usage](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/usage.md) | Every command, one task each |
|
|
92
|
+
| [First run](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/tutorials/first-run.md) | Install, check, set up and run a first task |
|
|
93
|
+
| [Install](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/install.md) | Install options and pinning a version |
|
|
94
|
+
| [Verify a release](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/verify-a-release.md) | Checksum, attestation, Sigstore bundle |
|
|
95
|
+
| [Upgrade and uninstall](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/upgrade-and-uninstall.md) | Move to a new version, or remove ws |
|
|
96
|
+
| [Troubleshoot](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/troubleshoot.md) | Install and doctor failures |
|
|
97
|
+
| [Use the gate](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/use-the-gate.md) | Turn the policy into each runner's rules |
|
|
98
|
+
| [Use the wall](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/use-the-wall.md) | Run a runner inside the sandbox |
|
|
99
|
+
| [Approve a command](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/approve-a-command.md) | Give a refused call a single-use yes |
|
|
100
|
+
| [Store a secret](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/store-a-secret.md) | Keep a key where agents can't read it |
|
|
101
|
+
| [Apply the Rule of Two](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/apply-the-rule-of-two.md) | Limit what one session can combine |
|
|
102
|
+
| [Set a budget](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/set-a-budget.md) | Cap spend per month |
|
|
103
|
+
| [Send drafts only](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/send-drafts-only.md) | Let agents draft, never send |
|
|
104
|
+
| [Run an eval](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/how-to/run-an-eval.md) | Compare two setups on your own tasks |
|
|
105
|
+
| [The gate](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/gate.md) | How policy becomes enforcement |
|
|
106
|
+
| [The wall](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/wall.md) | What the sandbox stops and what it doesn't |
|
|
107
|
+
| [Approvals](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/approvals.md) | Why an approval is bound and single-use |
|
|
108
|
+
| [The broker](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/broker.md) | Why agents never see a secret |
|
|
109
|
+
| [The Rule of Two](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/rule-of-two.md) | The design rule behind the policy |
|
|
110
|
+
| [Budget](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/budget.md) | How caps are counted |
|
|
111
|
+
| [Draft-only sending](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/draft-only-sending.md) | Why ws never sends for you |
|
|
112
|
+
| [Known limits](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/known-limits.md) | What ws doesn't protect against yet |
|
|
113
|
+
| [Write-up 1](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/write-up-1.md) | The design and what we measured |
|
|
114
|
+
| [CLI reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/cli.md) | Every command and flag |
|
|
115
|
+
| [Doctor checks](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/doctor-checks.md) | Every check ID |
|
|
116
|
+
| [Policy reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/policy.md) | Every `policy.toml` key |
|
|
117
|
+
| [Eval reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/eval.md) | Task format, graders, metrics |
|
|
118
|
+
| [Lab reference](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/lab.md) | The lab machine and the launch matrix |
|
|
119
|
+
| [`ws version --json`](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/version-json.md) | The fields of the version report |
|
|
120
|
+
| [Principles](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/reference/principles.md) | The rules ws follows and the check for each |
|
|
121
|
+
|
|
122
|
+
For contributors: [CONTRIBUTING.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/CONTRIBUTING.md), [SECURITY.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/SECURITY.md), [SUPPORT.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/SUPPORT.md),
|
|
123
|
+
[CHANGELOG.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/CHANGELOG.md) and [AGENTS.md](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/AGENTS.md).
|
|
124
124
|
|
|
125
125
|
## Status
|
|
126
126
|
|
|
127
127
|
ws is pre-1.0. Commands, JSON output and `policy.toml` keys can still change between releases, and the
|
|
128
|
-
[CHANGELOG](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
129
|
-
[Known limits](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
128
|
+
[CHANGELOG](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/CHANGELOG.md) says when they do. Doctor IDs never change meaning once released. Read
|
|
129
|
+
[Known limits](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/docs/explanation/known-limits.md) before you rely on the wall or the gate.
|
|
130
130
|
|
|
131
131
|
## Licence
|
|
132
132
|
|
|
133
|
-
ws is [Apache-2.0](https://github.com/Michael-A-Fry/ws/blob/v0.1.
|
|
133
|
+
ws is [Apache-2.0](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/LICENSE). Contributions need the [CLA](https://github.com/Michael-A-Fry/ws/blob/v0.1.7/CLA.md), signed through a bot on your first pull request.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""Written by the release workflow before uv build; absent in a checkout."""
|
|
2
2
|
|
|
3
|
-
git_sha = "
|
|
3
|
+
git_sha = "bdf97631ac0685ac1ed207851d751d6af06924cc"
|
|
4
4
|
dirty = False
|
|
5
|
-
build_date = "2026-11-
|
|
5
|
+
build_date = "2026-11-07T01:59:07Z"
|
|
6
6
|
source = "release"
|
|
@@ -41,6 +41,7 @@ from ws.home import cli as home_cli
|
|
|
41
41
|
from ws.output import WsError
|
|
42
42
|
from ws.profile import ProfileError, load, profile_path, write_if_changed
|
|
43
43
|
from ws.style import Style
|
|
44
|
+
from ws.term import cli as term_cli
|
|
44
45
|
|
|
45
46
|
YES = {"y", "yes", "true", "1", "on"}
|
|
46
47
|
NO = {"n", "no", "false", "0", "off"}
|
|
@@ -287,6 +288,7 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
287
288
|
status.register(sub)
|
|
288
289
|
ws_eval.register(sub)
|
|
289
290
|
home_cli.register(sub)
|
|
291
|
+
term_cli.register(sub)
|
|
290
292
|
version.register(sub)
|
|
291
293
|
return p
|
|
292
294
|
|
|
@@ -47,8 +47,8 @@ Harvest never approves anything. It writes each proposal to `$WS_HOME/eval/propo
|
|
|
47
47
|
until you give it a real one), all or none. `approve` shows the prompt and asks you (`--yes` for scripts). Prompts that
|
|
48
48
|
look like they hold a secret are not proposed: ws has no prompt scrubber, so it refuses a prompt that names a registered
|
|
49
49
|
secret, or looks like a key, token, password or URL with a password. It checks names and shapes, not secret values (ws
|
|
50
|
-
cannot read the store safely). Read each proposal before you approve it;
|
|
51
|
-
catch.
|
|
50
|
+
cannot read the store safely). Read each proposal before you approve it; confidential or client data in a prompt is for
|
|
51
|
+
you to catch.
|
|
52
52
|
"""
|
|
53
53
|
|
|
54
54
|
from __future__ import annotations
|
|
@@ -558,7 +558,7 @@ pattern = '^\\s*14:00\\s*-\\s*15:00\\s*$'
|
|
|
558
558
|
id = "starter-plain-english"
|
|
559
559
|
family = "work-style"
|
|
560
560
|
kind = "capability"
|
|
561
|
-
prompt = "Rewrite draft.md in plain
|
|
561
|
+
prompt = "Rewrite draft.md in plain English, in 30 words or fewer, and save it as plain.md. Do not use the words leverage, synergies or operationalise."
|
|
562
562
|
trials = 3
|
|
563
563
|
timeout_s = 300
|
|
564
564
|
|