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.
Files changed (44) hide show
  1. {codefold-0.6.0 → codefold-0.7.0}/Cargo.lock +4 -4
  2. {codefold-0.6.0 → codefold-0.7.0}/Cargo.toml +1 -1
  3. {codefold-0.6.0 → codefold-0.7.0}/PKG-INFO +1 -1
  4. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/README.md +9 -6
  5. {codefold-0.6.0 → codefold-0.7.0}/LICENSE +0 -0
  6. {codefold-0.6.0 → codefold-0.7.0}/bindings/python/Cargo.toml +0 -0
  7. {codefold-0.6.0 → codefold-0.7.0}/bindings/python/LICENSE +0 -0
  8. {codefold-0.6.0 → codefold-0.7.0}/bindings/python/src/lib.rs +0 -0
  9. {codefold-0.6.0 → codefold-0.7.0}/bindings/python/tests/test_codefold.py +0 -0
  10. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/Cargo.toml +0 -0
  11. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/benches/render.rs +0 -0
  12. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/error.rs +0 -0
  13. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/go.rs +0 -0
  14. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/language.rs +0 -0
  15. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/level.rs +0 -0
  16. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/lib.rs +0 -0
  17. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/options.rs +0 -0
  18. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/parse.rs +0 -0
  19. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/python.rs +0 -0
  20. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/result.rs +0 -0
  21. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/rust.rs +0 -0
  22. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/tokens.rs +0 -0
  23. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/src/typescript.rs +0 -0
  24. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/fixtures/go/auth.go +0 -0
  25. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/fixtures/python/auth.py +0 -0
  26. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/fixtures/python/heavy.py +0 -0
  27. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/fixtures/rust/auth.rs +0 -0
  28. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/fixtures/typescript/auth.ts +0 -0
  29. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/focus.rs +0 -0
  30. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/full_level.rs +0 -0
  31. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/go_bodies.rs +0 -0
  32. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/go_public.rs +0 -0
  33. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/go_signatures.rs +0 -0
  34. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/python_bodies.rs +0 -0
  35. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/python_public.rs +0 -0
  36. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/python_signatures.rs +0 -0
  37. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/rust_bodies.rs +0 -0
  38. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/rust_public.rs +0 -0
  39. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/rust_signatures.rs +0 -0
  40. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/tokens.rs +0 -0
  41. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/typescript_bodies.rs +0 -0
  42. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/typescript_public.rs +0 -0
  43. {codefold-0.6.0 → codefold-0.7.0}/crates/codefold-core/tests/typescript_signatures.rs +0 -0
  44. {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.6.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.6.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.6.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.6.0"
268
+ version = "0.7.0"
269
269
  dependencies = [
270
270
  "codefold-core",
271
271
  "pyo3",
@@ -3,7 +3,7 @@ resolver = "2"
3
3
  members = ["crates/codefold-core", "bindings/python"]
4
4
 
5
5
  [workspace.package]
6
- version = "0.6.0"
6
+ version = "0.7.0"
7
7
  edition = "2021"
8
8
  license = "MIT"
9
9
  authors = ["maxenceleguery <maxence.leguery@gmail.com>"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codefold
3
- Version: 0.6.0
3
+ Version: 0.7.0
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -42,13 +42,15 @@ pip install codefold
42
42
  uv add codefold
43
43
  ```
44
44
 
45
- **Node** (build from source for now; prebuilt npm packages coming in v0.7.0):
45
+ **Node.js** (prebuilt binaries for Linux/macOS/Windows):
46
46
 
47
47
  ```sh
48
- cd bindings/node
49
- npm install
50
- npm run build
51
- node -e 'import("./index.js").then(m => console.log(m.read("../../crates/codefold-core/tests/fixtures/python/auth.py").content))'
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.6.0. Python, TypeScript, Rust, Go. API is not yet stable.
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