Skip to content

Commit 65b910d

Browse files
genednaclaude
andauthored
Bump to 0.7.0 (#109)
* chore: align intent pipeline lifecycle and comments Signed-off-by: Quanyi Ma <eli@patch.sh> * docs: add agent and protocol documentation set Signed-off-by: Quanyi Ma <eli@patch.sh> * refactor: replace plan fwindow with iframes and update docs Signed-off-by: Quanyi Ma <eli@patch.sh> * docs: expand agent object documentation Signed-off-by: Quanyi Ma <eli@patch.sh> * feat: add agent event objects Signed-off-by: Quanyi Ma <eli@patch.sh> * refactor: address review feedback on object model - Remove clone-on-copy in intent_event.rs - Delegate ObjectTrait::object_hash to ObjectHash::from_type_and_data - Add ObjectType round-trip tests for variant coverage - Include mismatched intent IDs in Plan error message - Replace ParentLike trait with direct &[Uuid] parameter Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Quanyi Ma <eli@patch.sh> * Document and refine intent workflow model Signed-off-by: Quanyi Ma <eli@patch.sh> * ci: add crates.io publish workflow on tag push Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Quanyi Ma <eli@patch.sh> * ci: add least-privilege permissions to publish workflow Signed-off-by: Quanyi Ma <eli@patch.sh> --------- Signed-off-by: Quanyi Ma <eli@patch.sh> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 258677f commit 65b910d

29 files changed

Lines changed: 3315 additions & 3996 deletions

.github/workflows/publish.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish to crates.io
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: dtolnay/rust-toolchain@stable
18+
19+
- name: Verify tag version matches Cargo.toml
20+
run: |
21+
CARGO_VERSION=$(grep '^version' Cargo.toml | head -1 | sed 's/.*"\(.*\)".*/\1/')
22+
TAG_VERSION="${GITHUB_REF_NAME#v}"
23+
if [ "$CARGO_VERSION" != "$TAG_VERSION" ]; then
24+
echo "Error: Tag version ($TAG_VERSION) does not match Cargo.toml version ($CARGO_VERSION)"
25+
exit 1
26+
fi
27+
28+
- name: Publish to crates.io
29+
run: cargo publish
30+
env:
31+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "git-internal"
3-
version = "0.6.1"
3+
version = "0.7.0"
44
edition = "2024"
55
authors = ["Eli Ma <genedna@gmail.com>"]
66
description = "High-performance Rust library for Git internal objects, Pack files, and AI-assisted development objects (Intent, Plan, Task, Run, Evidence, Decision) with delta compression, streaming I/O, and smart protocol support."
@@ -11,7 +11,7 @@ readme = "README.md"
1111
homepage = "https://libra.tools"
1212
repository = "https://github.com/web3infra-foundation/libra"
1313
license = "MIT"
14-
exclude = ["tests", ".github"]
14+
exclude = ["tests", ".github", ".claude", ".devcontainer", "examples"]
1515

1616
[badges]
1717
maintenance = { status = "actively-developed" }
@@ -48,7 +48,7 @@ sha2 = "0.10.9"
4848
crc32fast = "1.4"
4949
ring = "0.17.8"
5050
serde_json = "1.0.149"
51-
zstd-sys = { version = "2.0.16+zstd.1.5.7", features = ["experimental"] }
51+
zstd-sys = { version = "2.0.16", features = ["experimental"] }
5252
sea-orm = { version = "1.1.17", features = ["sqlx-sqlite"] }
5353
flate2 = { version = "1.1.9", features = ["zlib"] }
5454
serde = { version = "1.0.228", features = ["derive"] }

0 commit comments

Comments
 (0)