23step 0.3.0__py3-none-win_arm64.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.
- 23step-0.3.0.data/scripts/23step.exe +0 -0
- 23step-0.3.0.dist-info/LICENSE +17 -0
- 23step-0.3.0.dist-info/METADATA +118 -0
- 23step-0.3.0.dist-info/RECORD +7 -0
- 23step-0.3.0.dist-info/WHEEL +4 -0
- step23/__init__.py +47 -0
- step23/__main__.py +20 -0
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
Copyright 2026 23step
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: 23step
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Open-source local replay server, CLI capture daemon, and OpenTelemetry hooks for AI coding agents
|
|
5
|
+
Home-page: https://open.23step.com
|
|
6
|
+
Author: 23step
|
|
7
|
+
Author-email: hello@23step.com
|
|
8
|
+
License: Apache-2.0
|
|
9
|
+
Project-URL: Homepage, https://open.23step.com
|
|
10
|
+
Project-URL: Repository, https://github.com/23Step/23step
|
|
11
|
+
Project-URL: Releases, https://github.com/23Step/23step/releases
|
|
12
|
+
Project-URL: Issues, https://github.com/23Step/23step/issues
|
|
13
|
+
Keywords: ai,agents,replay,opentelemetry,claude,cursor,codex,gemini,cli
|
|
14
|
+
Classifier: Development Status :: 4 - Beta
|
|
15
|
+
Classifier: Environment :: Console
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
18
|
+
Classifier: Operating System :: MacOS
|
|
19
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
20
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
21
|
+
Classifier: Programming Language :: Go
|
|
22
|
+
Classifier: Programming Language :: Python :: 3
|
|
23
|
+
Classifier: Topic :: Software Development :: Debuggers
|
|
24
|
+
Classifier: Topic :: Software Development :: Testing
|
|
25
|
+
Requires-Python: >=3.8
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# 23step
|
|
29
|
+
|
|
30
|
+
[](https://github.com/23Step/23step/actions/workflows/ci.yml)
|
|
31
|
+
[](LICENSE)
|
|
32
|
+
[](https://open.23step.com)
|
|
33
|
+
|
|
34
|
+
**Open-source local replay server, CLI, Desktop Overlay, and OpenTelemetry hooks for AI coding agents.**
|
|
35
|
+
|
|
36
|
+
Record every prompt, thinking trace, tool call, shell command, and browser click/screenshot into a single visual timeline — **100% locally on your machine with zero cloud or account required**.
|
|
37
|
+
|
|
38
|
+
Works with **Claude Code**, **Cursor**, **OpenAI Codex**, **Gemini CLI**, **Antigravity**, **Cline**, **Grok Bot**, and any **Vertex AI / `google-genai` / OpenTelemetry GenAI / OpenLLMetry / OpenInference / Vercel AI SDK** agent.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Why 23step
|
|
43
|
+
|
|
44
|
+
- **Single-Binary Local Replay Server (`23step serve`)**: Pure-Go SQLite (`~/.local/share/23step/local/index.db`) + local PNGs (`0700`/`0600`), standard OTLP `/v1/traces` & `/v1/logs`, embedded dark-mode replay UI with click reticles + DOM bounding boxes, live SSE, mid-run steering pins, secret/PII redaction, and Markdown/JSON export — ~15 MB static binary, zero external databases.
|
|
45
|
+
- **Universal GenAI / Vertex AI OTLP Mapper (`cli/pkg/otel`)**: Decodes protobuf and standard hex-encoded OTLP/JSON and fans out multi-part LLM spans into ordered `user_prompt` → `thought` → `tool_call` → `assistant_response` timelines without double-counting tokens.
|
|
46
|
+
- **Zero-`curl | sh` Coding-Agent Hooks**: Lifecycle hooks for Claude Code, Cursor, Codex, Gemini CLI, Antigravity, Cline, and Grok Bot are embedded directly inside the signed `23step` binary (`23step hooks install --global --local-server ...`).
|
|
47
|
+
- **Hardened Desktop Overlay (`desktop/`)**: Optional Electron floating HUD with ASAR integrity, locked Electron fuses, and OS Keychain token storage — connects directly to local `23step serve` (`127.0.0.1:8787`) or [23step Cloud](https://23step.com).
|
|
48
|
+
- **Privacy & Security by Default**: Binds strictly to loopback `127.0.0.1:8787` (refuses non-loopback binds without `--token`), scrubs secrets/PII offline (`23step redact`), supports `.23stepignore` and `23step pause`, and verifies binary provenance with `23step doctor`.
|
|
49
|
+
|
|
50
|
+
## Quick Start — 100% Local (Zero Account)
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# macOS / Linux (Homebrew)
|
|
54
|
+
brew install 23step/tap/23step
|
|
55
|
+
brew install --cask 23step/tap/23step-overlay # optional floating HUD on macOS
|
|
56
|
+
|
|
57
|
+
# Linux / macOS / Windows (PyPI — bundles native static binary, zero Go toolchain needed)
|
|
58
|
+
pip install 23step
|
|
59
|
+
# or run without installing globally:
|
|
60
|
+
uvx 23step serve --open
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
- **Debian / Ubuntu (APT):** hosted repo at `https://open.23step.com/apt` or download `.deb` from [GitHub Releases](https://github.com/23Step/23step/releases)
|
|
64
|
+
- **Fedora / RHEL / Rocky (DNF/RPM):** `sudo curl -fsSL https://open.23step.com/rpm/23step.repo -o /etc/yum.repos.d/23step.repo && sudo dnf install -y 23step`
|
|
65
|
+
- **Alpine / Arch / Windows:** download `.apk`, `.pkg.tar.zst`, or `windows_amd64.zip` / `windows_arm64.zip` from [GitHub Releases](https://github.com/23Step/23step/releases)
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
# 1. Start the local replay server (http://127.0.0.1:8787)
|
|
69
|
+
23step serve --open
|
|
70
|
+
|
|
71
|
+
# 2. Wire your coding agents locally (no login or API key required)
|
|
72
|
+
23step hooks install --global --local-server claude codex cursor gemini antigravity
|
|
73
|
+
23step doctor
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Direct Vertex AI / OTLP + Browser Click Capture
|
|
77
|
+
|
|
78
|
+
Point any OpenTelemetry GenAI, Vertex AI (`google-genai`), OpenLLMetry, OpenInference, or Vercel AI SDK agent at `http://127.0.0.1:8787/v1/traces`, and optionally attach headless Chrome CDP click/screenshot capture to the same session:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
23step start \
|
|
82
|
+
--api http://127.0.0.1:8787 \
|
|
83
|
+
--headless \
|
|
84
|
+
--cdp http://127.0.0.1:9222 \
|
|
85
|
+
--join-session \
|
|
86
|
+
--session <session-id>
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Build & Develop Locally
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
git clone https://github.com/23Step/23step.git
|
|
93
|
+
cd 23step
|
|
94
|
+
make dev # builds ./23step and opens http://127.0.0.1:8787
|
|
95
|
+
make test # runs Go CLI, Desktop Overlay, hook, and open.23step.com tests
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Repository Layout
|
|
99
|
+
|
|
100
|
+
| Path | Description |
|
|
101
|
+
| --- | --- |
|
|
102
|
+
| `cli/cmd/23step/` | `23step` CLI entrypoint (`serve`, `start`, `stop`, `hooks`, `mcp-proxy`, `doctor`, `pause`, `redact`, `update`) |
|
|
103
|
+
| `cli/pkg/` | Public Go packages (`contract`, `otel`, `client`, `reconcile`, `selfupdate`, `upload`) importable via `github.com/23Step/23step/cli/pkg/...` |
|
|
104
|
+
| `cli/internal/` | Local server & capture internals (`localserver`, `agent`, `authstore`, `capture`, `cdpinput`, `hooksinstall`, `tokenfile`, `urlprobe`, `x11`) |
|
|
105
|
+
| `desktop/` | Hardened Electron `23step Overlay` floating HUD |
|
|
106
|
+
| `.agents/hooks/`, `.cursor/hooks/`, `integrations/grokbot/` | Coding-agent hook scripts (run `make sync-hooks` after editing to update embedded copies) |
|
|
107
|
+
| `docs/` | Static site & hosted APT/RPM repos published at [open.23step.com](https://open.23step.com) |
|
|
108
|
+
| `packaging/` | Release packaging scripts (PyPI binary wheels, Homebrew formula renderer, Linux `.deb`/`.rpm`/`.apk`/Arch builders) |
|
|
109
|
+
|
|
110
|
+
## Local Open Source vs. 23step Cloud
|
|
111
|
+
|
|
112
|
+
Everything you need for individual local recording, thinking traces, click/screenshot replay, OTLP ingestion, steering pins, and export is free and Apache-2.0 licensed right here. Teams needing shared hosted replay links, org workspaces/RBAC, Shared Team Brain, or automated PR review plugins can optionally connect the same `23step` binary to [23step.com](https://23step.com).
|
|
113
|
+
|
|
114
|
+
## Contributing & Security
|
|
115
|
+
|
|
116
|
+
- **Contributing:** PRs are welcome — see [CONTRIBUTING.md](CONTRIBUTING.md) for the 30-second dev loop and guidelines.
|
|
117
|
+
- **Security:** See [SECURITY.md](SECURITY.md) for vulnerability reporting and verifying signed release binaries.
|
|
118
|
+
- **Website:** [open.23step.com](https://open.23step.com)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
23step-0.3.0.data/scripts/23step.exe,sha256=iHG1J8D98MyKsmAxkD-8AaEAnRaRTh2C2c-Z7j88fqU,14902272
|
|
2
|
+
23step-0.3.0.dist-info/LICENSE,sha256=159_A9Ru_hDdGFZnolO_n9oxLpZ-CXq_g8vJLubXh0Y,705
|
|
3
|
+
23step-0.3.0.dist-info/METADATA,sha256=JNE2k54aPqbg7dMn8Pcw75aNnkxq-uQD2PnU_QTmHOA,6981
|
|
4
|
+
23step-0.3.0.dist-info/WHEEL,sha256=rzTmlt0rE7oi8gRai-rZ_SQ8tPXiu5JQLijCBOdlhw8,102
|
|
5
|
+
step23/__init__.py,sha256=zzH-ThWmjmkqaWN2zrErpMyGjug2k5cy4lqpd-jSY7M,1262
|
|
6
|
+
step23/__main__.py,sha256=ipvTn0CaKAARJz9QhoG5MnK5cSQKOBTRBEaN9sQOcDU,379
|
|
7
|
+
23step-0.3.0.dist-info/RECORD,,
|
step23/__init__.py
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""23step CLI wrapper package (bundles the native `23step.exe` binary)."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import os
|
|
6
|
+
import shutil
|
|
7
|
+
import sys
|
|
8
|
+
import sysconfig
|
|
9
|
+
|
|
10
|
+
__version__ = '0.3.0'
|
|
11
|
+
_BIN_NAME = '23step.exe'
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def find_23step_bin() -> str:
|
|
15
|
+
"""Return the absolute path to the bundled `23step` executable."""
|
|
16
|
+
candidates: list[str] = []
|
|
17
|
+
|
|
18
|
+
scripts_dir = sysconfig.get_path("scripts")
|
|
19
|
+
if scripts_dir:
|
|
20
|
+
candidates.append(os.path.join(scripts_dir, _BIN_NAME))
|
|
21
|
+
|
|
22
|
+
for base in (sys.prefix, sys.base_prefix):
|
|
23
|
+
if not base:
|
|
24
|
+
continue
|
|
25
|
+
for sub in ("bin", "Scripts"):
|
|
26
|
+
candidates.append(os.path.join(base, sub, _BIN_NAME))
|
|
27
|
+
|
|
28
|
+
exe_dir = os.path.dirname(os.path.abspath(sys.executable))
|
|
29
|
+
candidates.append(os.path.join(exe_dir, _BIN_NAME))
|
|
30
|
+
|
|
31
|
+
seen: set[str] = set()
|
|
32
|
+
for path in candidates:
|
|
33
|
+
norm = os.path.normpath(path)
|
|
34
|
+
if norm in seen:
|
|
35
|
+
continue
|
|
36
|
+
seen.add(norm)
|
|
37
|
+
if os.path.isfile(norm):
|
|
38
|
+
return norm
|
|
39
|
+
|
|
40
|
+
on_path = shutil.which(_BIN_NAME) or shutil.which("23step")
|
|
41
|
+
if on_path:
|
|
42
|
+
return on_path
|
|
43
|
+
|
|
44
|
+
raise FileNotFoundError(
|
|
45
|
+
f"Could not locate the bundled {_BIN_NAME!r} binary. "
|
|
46
|
+
f"Searched: {', '.join(candidates)}"
|
|
47
|
+
)
|
step23/__main__.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Entry point for `python -m step23`."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import os
|
|
6
|
+
import subprocess
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
from . import find_23step_bin
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def main() -> None:
|
|
13
|
+
binary = find_23step_bin()
|
|
14
|
+
if os.name == "nt":
|
|
15
|
+
raise SystemExit(subprocess.call([binary, *sys.argv[1:]]))
|
|
16
|
+
os.execv(binary, [binary, *sys.argv[1:]])
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
if __name__ == "__main__":
|
|
20
|
+
main()
|