Skip to content

Commit 14c6a79

Browse files
author
codejunkie99
committed
chore: prepare v0.1.1 release
1 parent bb40841 commit 14c6a79

11 files changed

Lines changed: 92 additions & 31 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.1.1
4+
5+
- Clarified installation instructions for release tarballs, source checkouts,
6+
local PATH setup, and Homebrew installs.
7+
- Updated release-facing install defaults to the
8+
`codejunkie99/agentic-harness` repository and the `v0.1.1` tag.
9+
- Prepared the Homebrew formula metadata for stable tarball-based installs.
10+
311
## 0.1.0
412

513
- Native Rust SDK and CLI for defining agents, loading workspace context,

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Formula/agentic-harness.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class AgenticHarness < Formula
22
desc "Native Rust framework and CLI for building software agents"
3-
homepage "https://github.com/agentic-harness/agentic-harness"
3+
homepage "https://github.com/codejunkie99/agentic-harness"
44
license "Apache-2.0"
5-
head "https://github.com/agentic-harness/agentic-harness.git", branch: "main"
5+
head "https://github.com/codejunkie99/agentic-harness.git", branch: "main"
66

77
depends_on "rust" => :build
88

README.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,43 @@ Pick the path that matches what you are trying to do:
5252

5353
## Install
5454

55+
Agentic Harness installs a single CLI binary named `agentic-harness`. Rust and
56+
Cargo are required for source, tarball, and Homebrew builds.
57+
58+
### Tagged Release Tarball
59+
5560
```bash
56-
git clone https://github.com/codejunkie99/agentic-harness
61+
curl -L -o agentic-harness-v0.1.1.tar.gz \
62+
https://github.com/codejunkie99/agentic-harness/archive/refs/tags/v0.1.1.tar.gz
63+
tar -xzf agentic-harness-v0.1.1.tar.gz
64+
cd agentic-harness-0.1.1
65+
./scripts/install.sh
66+
export PATH="$HOME/.agentic-harness/bin:$PATH"
67+
agentic-harness --version
68+
```
69+
70+
### Source Checkout
71+
72+
```bash
73+
git clone https://github.com/codejunkie99/agentic-harness.git
5774
cd agentic-harness
5875
./scripts/install.sh
5976
export PATH="$HOME/.agentic-harness/bin:$PATH"
6077
agentic-harness --version
6178
```
6279

63-
Homebrew HEAD installs are also available via
64-
[`Formula/agentic-harness.rb`](Formula/agentic-harness.rb).
80+
Set `AGENTIC_HARNESS_PREFIX` to install somewhere other than
81+
`$HOME/.agentic-harness`.
82+
83+
### Homebrew
84+
85+
```bash
86+
brew install --HEAD ./Formula/agentic-harness.rb
87+
agentic-harness --version
88+
```
89+
90+
The stable Homebrew formula is updated on `main` after each release tag because
91+
it needs the GitHub tarball SHA.
6592

6693
## Common Commands
6794

crates/agentic-harness-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "agentic-harness-cli"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition.workspace = true
55
license.workspace = true
66
description = "Agentic Harness command line interface."

crates/agentic-harness-cli/tests/cli.rs

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ fn agentic_harness_bin() -> &'static str {
1212
env!("CARGO_BIN_EXE_agentic-harness")
1313
}
1414

15+
fn release_version() -> &'static str {
16+
env!("CARGO_PKG_VERSION")
17+
}
18+
1519
fn collect_previous_name_offenders(
1620
repo_root: &Path,
1721
path: &Path,
@@ -6008,7 +6012,7 @@ fn release_packaging_artifacts_are_locally_smoke_testable() {
60086012
);
60096013
assert_eq!(
60106014
String::from_utf8_lossy(&version.stdout).trim(),
6011-
"agentic-harness 0.1.0"
6015+
format!("agentic-harness {}", release_version())
60126016
);
60136017

60146018
let install_script = root.join("scripts/install.sh");
@@ -6061,7 +6065,7 @@ fn release_packaging_artifacts_are_locally_smoke_testable() {
60616065
);
60626066

60636067
let changelog_body = fs::read_to_string(&changelog).unwrap();
6064-
assert!(changelog_body.contains("## 0.1.0"));
6068+
assert!(changelog_body.contains(&format!("## {}", release_version())));
60656069
assert!(changelog_body.contains("Native Rust"));
60666070

60676071
let smoke_body = fs::read_to_string(&smoke_doc).unwrap();
@@ -6105,7 +6109,7 @@ fn release_check_reports_packaging_readiness_as_text_and_json() {
61056109
);
61066110
let body: serde_json::Value = serde_json::from_slice(&json.stdout).unwrap();
61076111
assert_eq!(body["ok"], true);
6108-
assert_eq!(body["version"], "0.1.0");
6112+
assert_eq!(body["version"], release_version());
61096113
assert_eq!(body["checks"]["installScript"]["ok"], true);
61106114
assert_eq!(body["checks"]["homebrewFormula"]["ok"], true);
61116115
assert_eq!(body["checks"]["changelog"]["ok"], true);
@@ -6192,19 +6196,21 @@ fn package_command_creates_binary_distribution_manifest_and_checksums() {
61926196
);
61936197
let body = String::from_utf8_lossy(&text.stdout);
61946198
assert!(body.contains("Agentic Harness Package"));
6195-
assert!(body.contains("version: 0.1.0"));
6199+
assert!(body.contains(&format!("version: {}", release_version())));
61966200
assert!(body.contains("sha256:"));
61976201

61986202
let package_dir = output_dir.join(format!(
6199-
"agentic-harness-v0.1.0-{}-{}",
6203+
"agentic-harness-v{}-{}-{}",
6204+
release_version(),
62006205
std::env::consts::OS,
62016206
std::env::consts::ARCH
62026207
));
62036208
let binary = package_dir.join("agentic-harness");
62046209
let manifest = package_dir.join("manifest.json");
62056210
let checksums = package_dir.join("SHA256SUMS");
62066211
let archive = output_dir.join(format!(
6207-
"agentic-harness-v0.1.0-{}-{}.tar",
6212+
"agentic-harness-v{}-{}-{}.tar",
6213+
release_version(),
62086214
std::env::consts::OS,
62096215
std::env::consts::ARCH
62106216
));
@@ -6220,14 +6226,15 @@ fn package_command_creates_binary_distribution_manifest_and_checksums() {
62206226
let manifest: serde_json::Value =
62216227
serde_json::from_str(&fs::read_to_string(manifest).unwrap()).unwrap();
62226228
assert_eq!(manifest["name"], "agentic-harness");
6223-
assert_eq!(manifest["version"], "0.1.0");
6229+
assert_eq!(manifest["version"], release_version());
62246230
assert_eq!(manifest["platform"]["os"], std::env::consts::OS);
62256231
assert_eq!(manifest["platform"]["arch"], std::env::consts::ARCH);
62266232
assert_eq!(manifest["binary"], "agentic-harness");
62276233
assert_eq!(
62286234
manifest["archive"],
62296235
format!(
6230-
"agentic-harness-v0.1.0-{}-{}.tar",
6236+
"agentic-harness-v{}-{}-{}.tar",
6237+
release_version(),
62316238
std::env::consts::OS,
62326239
std::env::consts::ARCH
62336240
)
@@ -6249,7 +6256,8 @@ fn package_command_creates_binary_distribution_manifest_and_checksums() {
62496256
.collect::<Vec<_>>();
62506257
assert!(archive_names.contains(
62516258
&format!(
6252-
"agentic-harness-v0.1.0-{}-{}/agentic-harness",
6259+
"agentic-harness-v{}-{}-{}/agentic-harness",
6260+
release_version(),
62536261
std::env::consts::OS,
62546262
std::env::consts::ARCH
62556263
)
@@ -6259,15 +6267,16 @@ fn package_command_creates_binary_distribution_manifest_and_checksums() {
62596267
.iter()
62606268
.find(|(name, _)| {
62616269
name == &format!(
6262-
"agentic-harness-v0.1.0-{}-{}/manifest.json",
6270+
"agentic-harness-v{}-{}-{}/manifest.json",
6271+
release_version(),
62636272
std::env::consts::OS,
62646273
std::env::consts::ARCH
62656274
)
62666275
})
62676276
.expect("archive missing manifest.json");
62686277
let archived_manifest: serde_json::Value =
62696278
serde_json::from_slice(&archived_manifest.1).unwrap();
6270-
assert_eq!(archived_manifest["version"], "0.1.0");
6279+
assert_eq!(archived_manifest["version"], release_version());
62716280
assert_eq!(archived_manifest["binary"], "agentic-harness");
62726281
assert_eq!(archived_manifest["sha256"], manifest["sha256"]);
62736282

@@ -6287,7 +6296,7 @@ fn package_command_creates_binary_distribution_manifest_and_checksums() {
62876296
);
62886297
let body: serde_json::Value = serde_json::from_slice(&json.stdout).unwrap();
62896298
assert_eq!(body["ok"], true);
6290-
assert_eq!(body["artifact"]["version"], "0.1.0");
6299+
assert_eq!(body["artifact"]["version"], release_version());
62916300
assert_eq!(body["artifact"]["sha256"].as_str().unwrap().len(), 64);
62926301
assert_eq!(
62936302
body["artifact"]["archiveSha256"].as_str().unwrap().len(),
@@ -6327,7 +6336,7 @@ fn smoke_command_reports_install_readiness_as_text_and_json() {
63276336
);
63286337
let body = String::from_utf8_lossy(&text.stdout);
63296338
assert!(body.contains("Agentic Harness Smoke"));
6330-
assert!(body.contains("version: agentic-harness 0.1.0"));
6339+
assert!(body.contains(&format!("version: agentic-harness {}", release_version())));
63316340
assert!(body.contains("wizard: ok"));
63326341
assert!(body.contains("doctor: ok"));
63336342
assert!(body.contains("sandbox: ok"));
@@ -6343,7 +6352,10 @@ fn smoke_command_reports_install_readiness_as_text_and_json() {
63436352
);
63446353
let body: serde_json::Value = serde_json::from_slice(&json.stdout).unwrap();
63456354
assert_eq!(body["ok"], true);
6346-
assert_eq!(body["version"], "agentic-harness 0.1.0");
6355+
assert_eq!(
6356+
body["version"],
6357+
format!("agentic-harness {}", release_version())
6358+
);
63476359
assert_eq!(
63486360
body["workspace"],
63496361
project.canonicalize().unwrap().display().to_string()

crates/agentic-harness/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "agentic-harness"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition.workspace = true
55
license.workspace = true
66
description = "Native Rust agent runtime framework."

docs/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,3 @@ status, and release checks.
5252
- **[Release Smoke Test](release-smoke-test.md)** — clean-machine pre-publish
5353
checklist (`smoke --json`, `release-check --json`, install script, Homebrew
5454
formula, changelog).
55-
- **[Flue Migration](flue-migration.md)** — map older TypeScript Flue concepts
56-
to native Rust Agentic Harness concepts.

docs/release-smoke-test.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@ agentic-harness smoke --json
2020
agentic-harness release-check --json
2121
```
2222

23+
## Tagged Tarball Install
24+
25+
```sh
26+
curl -L -o agentic-harness-v0.1.1.tar.gz \
27+
https://github.com/codejunkie99/agentic-harness/archive/refs/tags/v0.1.1.tar.gz
28+
tar -xzf agentic-harness-v0.1.1.tar.gz
29+
cd agentic-harness-0.1.1
30+
./scripts/install.sh
31+
export PATH="$HOME/.agentic-harness/bin:$PATH"
32+
agentic-harness --version
33+
agentic-harness smoke --json
34+
```
35+
2336
## Homebrew Formula Check
2437

2538
```sh
@@ -29,6 +42,9 @@ agentic-harness --version
2942
agentic-harness tui --plain
3043
```
3144

45+
Update the stable formula on `main` after the release tag exists and the GitHub
46+
tarball SHA has been computed.
47+
3248
## Runtime Smoke
3349

3450
```sh

examples/hello-world/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "agentic-harness-example-hello-world"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition.workspace = true
55
license.workspace = true
66
publish = false

0 commit comments

Comments
 (0)