Skip to content

Commit

Permalink
release: version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sachk committed Jan 7, 2025
1 parent 2866d3d commit a564471
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ serde = { version = "1.0", features = ["derive"] }
members = ["activitywatch-ls"]

[workspace.package]
version = "0.0.5"
version = "0.1.0"

[profile.release]
lto = "thin"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ This extension allows [ActivityWatch](https://activitywatch.net/), the free and

Uses the [activitywatch-ls](https://github.com/sachk/aw-watcher-zed/tree/main/activitywatch-ls) to receive edit events from Zed and send hearbeats to an ActivityWatch server using the [aw-client-rust](https://github.com/ActivityWatch/aw-server-rust/tree/master/aw-client-rust) library.

This is a not very nice hacky approach with a few issues, such as langauges not hardcoded into the extension in extension.toml not working and time looking at a file before changes not being counted without a complex workaround.

This plugin is heavily based on [the WakaTime plugin](https://github.com/wakatime/zed-wakatime) for Zed, thanks to them for making this a lot easier to figure out.
2 changes: 1 addition & 1 deletion extension.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id = "aw-watcher"
name = "aw-watcher"
description = "ActitityWatch watcher support"
version = "0.0.5"
version = "0.1.0"
schema_version = 1
authors = ["Sacha Korban [email protected]"]
repository = "https://github.com/sachk/aw-watcher-zed"
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ impl ActivityWatchExtension {
.map_err(|err| format!("failed to download file: {err}"))?;

// Delete old versions
// TODO: investigate why this seems to not be working locally
let entries = fs::read_dir(".")
.map_err(|err| format!("failed to list working directory {err}"))?;
for entry in entries {
Expand Down

0 comments on commit a564471

Please sign in to comment.