codefold 0.6.0__tar.gz → 0.7.0__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.
- {codefold-0.6.0 → codefold-0.7.0}/Cargo.lock +4 -4
- {codefold-0.6.0 → codefold-0.7.0}/Cargo.toml +1 -1
- {codefold-0.6.0 → codefold-0.7.0}/PKG-INFO +1 -1
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/README.md +9 -6
- {codefold-0.6.0 → codefold-0.7.0}/LICENSE +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/bindings/python/Cargo.toml +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/bindings/python/LICENSE +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/bindings/python/src/lib.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/bindings/python/tests/test_codefold.py +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/Cargo.toml +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/benches/render.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/error.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/go.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/language.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/level.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/lib.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/options.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/parse.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/python.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/result.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/rust.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/tokens.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/typescript.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/fixtures/go/auth.go +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/fixtures/python/auth.py +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/fixtures/python/heavy.py +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/fixtures/rust/auth.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/fixtures/typescript/auth.ts +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/focus.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/full_level.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/go_bodies.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/go_public.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/go_signatures.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/python_bodies.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/python_public.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/python_signatures.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/rust_bodies.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/rust_public.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/rust_signatures.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/tokens.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/typescript_bodies.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/typescript_public.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/typescript_signatures.rs +0 -0
- {codefold-0.6.0 → codefold-0.7.0}/pyproject.toml +0 -0
|
@@ -229,7 +229,7 @@ checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
|
|
|
229
229
|
|
|
230
230
|
[[package]]
|
|
231
231
|
name = "codefold-cli"
|
|
232
|
-
version = "0.
|
|
232
|
+
version = "0.7.0"
|
|
233
233
|
dependencies = [
|
|
234
234
|
"assert_cmd",
|
|
235
235
|
"clap",
|
|
@@ -239,7 +239,7 @@ dependencies = [
|
|
|
239
239
|
|
|
240
240
|
[[package]]
|
|
241
241
|
name = "codefold-core"
|
|
242
|
-
version = "0.
|
|
242
|
+
version = "0.7.0"
|
|
243
243
|
dependencies = [
|
|
244
244
|
"criterion",
|
|
245
245
|
"insta",
|
|
@@ -255,7 +255,7 @@ dependencies = [
|
|
|
255
255
|
|
|
256
256
|
[[package]]
|
|
257
257
|
name = "codefold-node"
|
|
258
|
-
version = "0.
|
|
258
|
+
version = "0.7.0"
|
|
259
259
|
dependencies = [
|
|
260
260
|
"codefold-core",
|
|
261
261
|
"napi",
|
|
@@ -265,7 +265,7 @@ dependencies = [
|
|
|
265
265
|
|
|
266
266
|
[[package]]
|
|
267
267
|
name = "codefold-py"
|
|
268
|
-
version = "0.
|
|
268
|
+
version = "0.7.0"
|
|
269
269
|
dependencies = [
|
|
270
270
|
"codefold-core",
|
|
271
271
|
"pyo3",
|
|
@@ -42,13 +42,15 @@ pip install codefold
|
|
|
42
42
|
uv add codefold
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
**Node** (
|
|
45
|
+
**Node.js** (prebuilt binaries for Linux/macOS/Windows):
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
npm install codefold
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
```js
|
|
52
|
+
import { read } from "codefold";
|
|
53
|
+
const r = read("src/auth.py", "signatures");
|
|
52
54
|
```
|
|
53
55
|
|
|
54
56
|
## Use
|
|
@@ -109,10 +111,11 @@ If you're building an agent framework or a code-aware tool and you need granular
|
|
|
109
111
|
|
|
110
112
|
## Status
|
|
111
113
|
|
|
112
|
-
Early. v0.
|
|
114
|
+
Early. v0.7.0. Python, TypeScript, Rust, Go. API is not yet stable.
|
|
113
115
|
|
|
114
116
|
### Changelog
|
|
115
117
|
|
|
118
|
+
- **0.7.0** — npm publish pipeline. `codefold` on npm with prebuilt binaries for Linux x86_64/aarch64, macOS x86_64/arm64, Windows x64. Uses napi-rs's per-platform sub-package pattern with provenance.
|
|
116
119
|
- **0.6.0** — Publishing pipeline: `codefold-core` and `codefold-cli` to crates.io, `codefold` (Python wheel) to PyPI via Trusted Publishing on tag pushes. Node.js binding (`@codefold/node`) scaffolded with napi-rs; npm publishing pipeline arrives in v0.7.0. MSRV bumped to 1.77 (napi-rs requirement).
|
|
117
120
|
- **0.5.1** — Fix Windows CI: the Go newline regression test asserted on `\n` directly, which broke when Windows checked out the fixture as CRLF. Switched to `.lines()` and added `.gitattributes` forcing LF.
|
|
118
121
|
- **0.5.0** — Go language support (`.go`). Public = uppercase-first identifier. Fixed gap rendering for grammars (like Go) that expose statement terminators as anonymous siblings.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|