-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathagent-memory.rb
More file actions
26 lines (22 loc) · 795 Bytes
/
Copy pathagent-memory.rb
File metadata and controls
26 lines (22 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
class AgentMemory < Formula
desc "agentmemory CLI: persistent memory for coding agents with qmd semantic search"
homepage "https://github.com/jayzeng/agentmemory"
url "https://github.com/jayzeng/agentmemory/archive/refs/tags/v0.4.13.tar.gz"
sha256 "f5a8ffe0989661ad2846d30d154a906b7c23c9b89b324462656bd0d6c4f790d1"
version "0.4.13"
license "MIT"
depends_on "bun" => :build
def install
system "bun", "build", "src/cli.ts",
"--compile",
"--outfile", "agent-memory",
"--define", "__VERSION__=\"'#{version}'\""
libexec.install "skills"
libexec_bin = libexec/"bin"
libexec_bin.install "agent-memory"
bin.env_script_all_files(libexec_bin, AGENT_MEMORY_SKILLS_ROOT: libexec)
end
test do
system "#{bin}/agent-memory", "status"
end
end