Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
e04ba88
fix(cli): make fresh installs portable and persistent (#892)
rohitg00 Aug 23, 2026
d547883
chore(engine): pin iii-sdk and engine at 0.19.7 (#1396)
rohitg00 Sep 24, 2026
bb6cef3
chore(engine): move iii-sdk and the engine pin to 0.22.1 (#1397)
rohitg00 Sep 24, 2026
20f26e4
feat(status): GET /agentmemory/status and a viewer Health tab (#1408)
rohitg00 Sep 25, 2026
b146382
fix(viewer): live-stream updates instead of re-fetching, keep data on…
rohitg00 Sep 25, 2026
8deb131
fix(health): measure heap pressure against the V8 heap limit (#1409)
rohitg00 Sep 25, 2026
e5fb5e9
deps(website)(deps-dev): bump @types/node in /website (#1400)
dependabot[bot] Sep 25, 2026
f08be65
deps(deps-dev): bump @types/node from 25.9.8 to 26.6.2 (#1401)
dependabot[bot] Sep 25, 2026
39658a9
fix(audit): make index_persist audit entries opt-in (#1182)
dmazhukov Sep 25, 2026
cfc1934
perf(index): throttle index saves and report each leg's save state (#…
rohitg00 Sep 26, 2026
bcf4f0d
perf(index): store vectors in fixed buckets and rebuild BM25 from con…
rohitg00 Sep 26, 2026
e69a606
perf(consolidation): write only decayed rows that changed (#1417)
rohitg00 Sep 28, 2026
00411d6
fix(api): return 413 instead of 200 when export refuses an oversized …
rohitg00 Sep 28, 2026
c2df01a
perf(remember): move the embedding call out of the global save lock (…
rohitg00 Sep 28, 2026
ec887b9
perf(patterns): bound mem::patterns to recent sessions (#1424)
rohitg00 Sep 28, 2026
2493bc5
fix(state): lock session and graph read-modify-write paths (#1421)
rohitg00 Sep 28, 2026
c314c7b
perf(context,search): per-project session index and observation looku…
rohitg00 Sep 28, 2026
92d4500
perf(stream): stop per-session stream groups and bound the viewer bac…
rohitg00 Sep 28, 2026
0c4c56f
feat(viewer): stream every page and rebuild the viewer (#1433)
rohitg00 Sep 28, 2026
2e006bd
perf(audit): store the audit log in monthly scopes (#1419)
rohitg00 Sep 28, 2026
ab3e4ef
feat(state): opt-in Redis backend for state and streams (#1425)
rohitg00 Sep 28, 2026
3b328a3
Preserve captured evidence and checkpoint new vectors earlier (#1448)
rohitg00 Sep 30, 2026
63c54d9
fix: release blockers for export, forget accounting and shutdown flus…
rohitg00 Sep 30, 2026
6e3134f
fix(graph): floor the snapshot-reported total at the nodes it returns…
cbsincool Sep 30, 2026
9925c9d
fix(search): skip graph retrieval when the graph weight is 0 (#1446)
david-waltermire Sep 30, 2026
29ecfde
fix(graph): abort the snapshot delta instead of zeroing it on a faile…
cbsincool Sep 30, 2026
656ed60
fix(sessions): mark stale active sessions abandoned (carries #1411) (…
rohitg00 Oct 1, 2026
e950d58
fix(hooks): skip agentmemory's own tools and make capture configurabl…
rohitg00 Oct 1, 2026
1abb2cb
fix(graph): bound and attribute node and edge provenance (carries #14…
rohitg00 Oct 1, 2026
976ad3e
feat(graph): compact bloated graph provenance once at boot (#1455)
rohitg00 Oct 1, 2026
e975353
fix(hooks): stop exiting before the observe request is sent (#1456)
rohitg00 Oct 1, 2026
1c52055
fix: ignore unknown session end events (#1252)
a652 Oct 1, 2026
b3d6cf5
fix(cli): faster state saves, bounded glibc arenas and a higher fd li…
rohitg00 Oct 1, 2026
194b050
fix: validate request origin and content type, require auth by defaul…
rohitg00 Oct 1, 2026
803a668
test: rename context escaping fixture
rohitg00 Oct 1, 2026
ae8946e
docs(env): document the generated secret, viewer origins and import root
rohitg00 Oct 1, 2026
461a900
chore: verify the engine download and pin CI actions and base images …
rohitg00 Oct 2, 2026
525e896
fix(clients): resolve the API secret the same way as the server and h…
rohitg00 Oct 2, 2026
9d95092
fix: scrub image descriptions and crystal metadata, confine export an…
rohitg00 Oct 2, 2026
e033903
fix: replace confined files only after the new content is written
rohitg00 Oct 2, 2026
1f64435
Merge pull request #1462 from rohitg00/fix/request-hardening
rohitg00 Oct 2, 2026
cd4ca4e
fix(index): keep vectors across a force-kill with a pending log and a…
rohitg00 Oct 1, 2026
af58455
docs(readme): describe the pending vector log and the durable backfill
rohitg00 Oct 2, 2026
ad9e889
test(status): keep the vector rows test to vector state only
rohitg00 Oct 2, 2026
89b5771
Merge pull request #1467 from rohitg00/fix/vector-durability
rohitg00 Oct 2, 2026
60b88a2
fix(capture): durable observation acceptance, restart-safe dedup and …
rohitg00 Oct 2, 2026
abb87d2
fix(capture): distinct ids for repeated prompts, lock-safe spool, aut…
rohitg00 Oct 3, 2026
f40a6c1
test: release gate that runs capture and recovery on the packed artif…
rohitg00 Oct 3, 2026
da78ea8
chore: remove issue and PR references from code and tests (#1469)
rohitg00 Oct 3, 2026
2eaf74f
feat(bench): measure capture and recovery costs with separate budgets…
rohitg00 Oct 3, 2026
73fa8e4
deps(deps): bump dotenv from 17.4.2 to 18.0.3 (#1430)
dependabot[bot] Oct 3, 2026
695b7e4
fix(capture): store a Cursor prompt once when the transcript back-fil…
rohitg00 Oct 3, 2026
2a00e7b
feat(codex): package local memory plugin and verify release compatibi…
rohitg00 Oct 3, 2026
c51bf3f
fix: embedding key precedence, structured SessionStart context, docke…
rohitg00 Oct 4, 2026
a766b7c
test(audit): restore the index_persist audit gating coverage (#1477)
rohitg00 Oct 6, 2026
d03e88f
fix(opencode): close OpenCode 2 capture gaps found in live sessions (…
rohitg00 Oct 6, 2026
359c30a
chore: 0.9.30 release prep (#1478)
rohitg00 Oct 6, 2026
8bf0c82
docs: translate README into 32 languages (#1479)
rohitg00 Oct 6, 2026
b792a2e
chore: merge agentmemory v0.9.30 into Codex fork
davidrobertson Oct 10, 2026
a16536c
fix(auth): honor custom data directories for local credentials
davidrobertson Oct 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .codex-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"source": "git-subdir",
"url": "https://github.com/davidrobertson/agentmemory.git",
"path": "./plugin",
"ref": "v0.9.28-codex.2"
"ref": "v0.9.30-codex.1"
},
"policy": {
"installation": "AVAILABLE",
"authentication": "ON_INSTALL"
},
"category": "Memory"
"category": "Developer Tools"
}
]
}
2 changes: 1 addition & 1 deletion .cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "agentmemory",
"version": "0.9.29-codex.1",
"version": "0.9.30-codex.1",
"description": "Persistent memory for Cursor: auto-captures sessions, prompts, and tool use via hooks, recalls with hybrid BM25 + vector + graph search, and exposes 54 memory tools over MCP. Keyless by default, runs entirely on your machine.",
"author": {
"name": "Rohit Ghumare",
Expand Down
105 changes: 83 additions & 22 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
# LLM key, no embedding key, and no API auth. Set keys here only when you
# want to enable the corresponding feature.
#
# Run `npx @agentmemory/agentmemory init` to copy this file into place
# automatically. Run `npx @agentmemory/agentmemory doctor` to verify that
# the daemon reads the env you expect.
# Run `npx -y @agentmemory/agentmemory@latest init` to copy this file into
# place automatically. Run `npx -y @agentmemory/agentmemory@latest doctor`
# to verify that the daemon reads the env you expect.
#
# Defaults shown in comments. Listed in priority order — the first key
# present wins on the LLM detection path (see src/config.ts::detectProvider).
Expand All @@ -21,8 +21,24 @@
# -----------------------------------------------------------------------------
#
# Without a provider key, agentmemory runs in noop mode: observations are
# indexed via zero-LLM synthetic compression, hybrid search still works,
# indexed via zero-LLM synthetic compression and BM25 recall still works,
# but LLM-backed summarisation / reflection / consolidation are disabled.
# A provider key alone does not enable LLM-written observation compression;
# that path also requires AGENTMEMORY_AUTO_COMPRESS=true.
# AGENTMEMORY_CAPTURE_ALLOW= # Comma/space list of tool names or globs to capture; when set, only these are captured
# AGENTMEMORY_CAPTURE_DENY= # Extra tool names or globs to skip, added to the defaults (memory_*, toolsearch, listmcpresources, fetchmcpresource)
# AGENTMEMORY_CAPTURE_OUTPUT_MAX=8000 # Max characters of tool output stored per captured observation
# AGENTMEMORY_PRE_COMPACT_BUDGET=1500 # Token budget for context injected by the PreCompact hook; 0 disables it
# AGENTMEMORY_CAPTURE_MAX_ATTEMPTS=5 # Attempts before a capture becomes a dead letter
# AGENTMEMORY_CAPTURE_RETRY_INTERVAL_MS=10000 # Retry sweep interval and backoff base
# AGENTMEMORY_CAPTURE_DEDUP_HOURS=168 # How long stored event ids block replays
# AGENTMEMORY_CAPTURE_EVENTS_MAX=100000 # Max stored event ids
# AGENTMEMORY_CAPTURE_INBOX_MAX=10000 # Max unprocessed events before 503
# AGENTMEMORY_CAPTURE_DEAD_MAX=1000 # Max dead letters kept
# AGENTMEMORY_CAPTURE_SPOOL=false # Turn off the hook offline spool
# AGENTMEMORY_CAPTURE_SPOOL_DIR= # Spool folder (default <data dir>/capture-spool)
# AGENTMEMORY_CAPTURE_SPOOL_MAX_BYTES=5242880 # Spool size limit
# AGENTMEMORY_CAPTURE_SPOOL_MAX_AGE_HOURS=168 # Spooled records older than this are dropped
# The detection order is OPENAI_API_KEY → MINIMAX_API_KEY → ANTHROPIC_API_KEY
# → GEMINI_API_KEY → OPENROUTER_API_KEY → noop.

Expand Down Expand Up @@ -55,7 +71,7 @@

# Opt-in Claude-subscription fallback (spawns @anthropic-ai/claude-agent-sdk
# child sessions). Off by default — the agent-sdk fallback can trigger
# Stop-hook recursion (#149 follow-up) when invoked from inside Claude Code.
# Stop-hook recursion when invoked from inside Claude Code.
# AGENTMEMORY_ALLOW_AGENT_SDK=true

# FALLBACK_PROVIDERS=anthropic,gemini # Comma-separated chain tried after the primary provider returns an error (e.g. rate limit)
Expand All @@ -64,10 +80,14 @@
# 2. Embedding provider — auto-detected, override via EMBEDDING_PROVIDER
# -----------------------------------------------------------------------------
#
# Without an embedding key, agentmemory runs in BM25-only mode for hybrid
# search. Detection order: EMBEDDING_PROVIDER override → GEMINI_API_KEY →
# Without an embedding provider, vector embeddings are disabled. `mem::search`
# uses BM25; `mem::smart-search` can also fuse structural graph matches when
# graph data exists. Remote
# provider detection order: EMBEDDING_PROVIDER override → GEMINI_API_KEY →
# OPENAI_API_KEY → VOYAGE_API_KEY → COHERE_API_KEY → OPENROUTER_API_KEY →
# local (Xenova/all-MiniLM-L6-v2, 384-dim).
# BM25-only. Local embeddings are an explicit opt-in, not the keyless default.
# `EMBEDDING_PROVIDER=local` uses Xenova/all-MiniLM-L6-v2 (384-dim) on-device;
# the first embedding request downloads the model and needs network access.

# EMBEDDING_PROVIDER=local # local | openai | voyage | cohere | gemini | openrouter

Expand All @@ -76,6 +96,8 @@
# COHERE_API_KEY=... # General-purpose embeddings

# Reuses OPENAI_API_KEY / OPENAI_BASE_URL above when EMBEDDING_PROVIDER=openai.
# OPENAI_EMBEDDING_BASE_URL=https://... # Embeddings only; falls back to OPENAI_BASE_URL
# OPENAI_EMBEDDING_API_KEY=sk-... # Embeddings only; wins over OPENAI_API_KEY when set
# OPENAI_EMBEDDING_MODEL=text-embedding-3-small # Embedding model when EMBEDDING_PROVIDER=openai
# OPENAI_EMBEDDING_DIMENSIONS=1536 # Required when the model is not in the known-models table

Expand All @@ -89,7 +111,9 @@
# Without a secret, REST endpoints are open on loopback. Set this when
# you expose the daemon beyond loopback or run behind a reverse proxy.

# AGENTMEMORY_SECRET=your-secret-here
# AGENTMEMORY_SECRET=your-secret # generated into ~/.agentmemory/secret on first start when unset
# VIEWER_ALLOWED_ORIGINS=https://memory.example.com
# AGENTMEMORY_IMPORT_ROOT=~/projects

# -----------------------------------------------------------------------------
# 4. Search tuning
Expand All @@ -98,6 +122,7 @@
# BM25_WEIGHT=0.4 # Hybrid search weight for BM25 leg
# VECTOR_WEIGHT=0.6 # Hybrid search weight for vector leg
# AGENTMEMORY_GRAPH_WEIGHT=0.2 # Graph traversal bonus on smart-search ranking
# AGENTMEMORY_GRAPH_COMPACT_ON_BOOT=false # Skip the one-time background trim of oversized graph provenance at startup
# TOKEN_BUDGET=2000 # Max tokens injected via mem::context per session
# MAX_OBS_PER_SESSION=500 # Per-session observation cap before consolidation kicks in
# SUMMARIZE_CHUNK_SIZE=400 # When mem::summarize sees a session larger than this, it chunks observations and map-reduces (chunk-summarize → reduce-merge) to stay within the LLM's context window. Default 400 ≈ 50k tokens per chunk at ~110 tok/obs. Native sessions are capped by MAX_OBS_PER_SESSION; chunking primarily matters for bulk-imported jsonl sessions, which bypass that cap.
Expand All @@ -107,8 +132,8 @@
# 5. Behaviour flags
# -----------------------------------------------------------------------------

# AGENTMEMORY_AUTO_COMPRESS=true # Run LLM compression on every observation batch (requires a provider key). Default off — synthetic compression handles most cases.
# AGENTMEMORY_INJECT_CONTEXT=true # Inject recalled memories back into agent prompts (#143). Default off — hooks capture observations but do not modify conversation.
# AGENTMEMORY_AUTO_COMPRESS=true # Run LLM-written compression on every observation batch. Requires BOTH this flag and a configured provider; a provider alone leaves synthetic compression active.
# AGENTMEMORY_INJECT_CONTEXT=true # Inject recalled memories back into agent prompts. Default off — hooks capture observations but do not modify conversation.
# CONSOLIDATION_ENABLED=true # Run the 4-tier consolidation pipeline (memories → semantic → procedural). Default off — opt in once you've measured the LLM cost.
# CONSOLIDATION_DECAY_DAYS=30 # Age (days) after which non-reinforced memories decay during consolidation
# GRAPH_EXTRACTION_ENABLED=true # Extract concept-graph edges on remember; powers the graph-traversal recall path
Expand All @@ -121,8 +146,16 @@
# AGENTMEMORY_LLM_NOTHINK=1

# AGENTMEMORY_REFLECT=true # Periodically auto-synthesize lessons from memories
# AGENTMEMORY_DROP_STALE_INDEX=true # Drop on-disk BM25 / vector index on startup if dim guard fires (#248). Recovery toggle for stuck-state debugging.
# AGENTMEMORY_DROP_STALE_INDEX=true # Drop on-disk BM25 / vector index on startup if dim guard fires. Recovery toggle for stuck-state debugging.
# AGENTMEMORY_IMAGE_EMBEDDINGS=true # Enable image embeddings when an image provider is present (experimental).
# AGENTMEMORY_AUDIT_RETENTION_MONTHS=6 # Drop whole audit-log month scopes older than N months on a daily sweep. Default 0 = keep audit history forever.
# AGENTMEMORY_AUDIT_MIGRATE_MAX_BYTES=33554432 # Largest legacy mem:audit scope file the one-time migration will read locally. Default 32 MiB; bigger or unreadable stores are left frozen.
# AGENTMEMORY_AUDIT_INDEX_PERSIST=false # Set to 1 or true to audit index migration and cleanup writes (debugging only)
# AGENTMEMORY_INDEX_SAVE_INTERVAL_MS=600000 # Minimum time between search index saves; shutdown and deletes still save immediately.
# AGENTMEMORY_VECTOR_BUCKET_SIZE=500 # Vectors held per storage bucket before a new bucket opens; a save only rewrites buckets it changed.
# AGENTMEMORY_VECTOR_BACKFILL_MAX=500 # Batch size for re-embedding vectors missing since the last save (continues across restarts); also caps the whole-store opt-in per boot.
# AGENTMEMORY_VECTOR_BACKFILL=all # Required to backfill an entire store's vectors at once (no prior vector save, or a stale legacy manifest); unset means that case waits for an explicit opt-in.
# AGENTMEMORY_VIEWER_STREAM_MAX=500 # Max items kept in the persisted "viewer" live-stream group; older entries are pruned in batches. Floored at 200 (the viewer's reload window); negative values fall back to the default

# -----------------------------------------------------------------------------
# 6. CLI / runtime knobs
Expand All @@ -135,8 +168,20 @@
# AGENTMEMORY_PROBE_TIMEOUT_MS=2000 # MCP shim livez probe timeout
# AGENTMEMORY_URL=http://localhost:3111 # REST base URL — honored by status, doctor, MCP shim
# AGENTMEMORY_VIEWER_URL=http://localhost:3113 # Override the viewer URL printed by `agentmemory status`
# Persistent iii state; same override as `--data-dir`, used by native and
# Docker starts. Explicit flag/env wins. Otherwise instance 0 reuses an
# existing ./data/state_store.db or ./data/iii-config.yaml before defaults: macOS
# ~/Library/Application Support/agentmemory; Linux $XDG_DATA_HOME/agentmemory
# or ~/.local/share/agentmemory; Windows %APPDATA%\agentmemory.
# AGENTMEMORY_DATA_DIR=/absolute/path
# AGENTMEMORY_III_CONFIG=/path/to/iii-config.yaml # Engine config the CLI starts from; the bundled default binds 127.0.0.1
# AGENTMEMORY_STATE_SAVE_INTERVAL_MS=2000 # How often the engine writes state to disk; a crash loses at most this much
# AGENTMEMORY_USE_DOCKER=1 # Prefer bundled Docker even when a compatible native iii binary exists
# AGENTMEMORY_EXPORT_ROOT=~/agentmemory-backup # Default destination for `agentmemory export`

# AGENTMEMORY_STATE_BACKEND=redis # file (default) | redis — storage adapter for iii-state and iii-stream, see README "Storage backend"
# AGENTMEMORY_REDIS_URL=redis://localhost:6379 # Required when AGENTMEMORY_STATE_BACKEND=redis

# STANDALONE_MCP=1 # MCP shim only — bypass the worker and run @agentmemory/mcp in-process
# STANDALONE_PERSIST_PATH=~/.agentmemory/local.db # Path used by the standalone MCP shim's local fallback store

Expand All @@ -154,31 +199,47 @@
# 7. Ports
# -----------------------------------------------------------------------------

# III_REST_PORT=3111 # REST API port (also affects viewer at +2)
# III_STREAMS_PORT=3112 # Streams API port
# III_ENGINE_URL=ws://localhost:49134 # iii-engine WebSocket URL (used by the worker)
# III_REST_PORT=3111 # REST API + MCP HTTP anchor
# III_STREAM_PORT=3112 # Preferred streams override; defaults to REST + 1
# III_STREAMS_PORT=3112 # Legacy alias for III_STREAM_PORT
# III_VIEWER_PORT=3113 # Viewer bind port; defaults to REST + 2
# III_ENGINE_PORT=49134 # Engine bind port; defaults to REST + 46023
# III_ENGINE_URL=ws://localhost:49134 # Explicit/remote worker WebSocket URL; takes precedence over derived engine port
# Derivation applies only while the corresponding explicit port/URL is unset.
# `--instance 1` selects 3211/3212/3213/49234 and an instance-1 data subdir.

# -----------------------------------------------------------------------------
# 8. iii engine pin
# -----------------------------------------------------------------------------
#
# agentmemory currently pins iii-engine to v0.11.2 — v0.11.6 introduces a
# new sandbox-everything-via-`iii worker add` model that agentmemory
# hasn't been refactored for yet. Override with AGENTMEMORY_III_VERSION
# only after migrating to the sandbox model manually.
# agentmemory pins iii-engine to the same release as its iii-sdk dependency
# (v0.22.1). The worker speaks the wire protocol of that engine, so the two move
# together in agentmemory releases. Override with AGENTMEMORY_III_VERSION only
# if you run your own engine and know it matches.

# AGENTMEMORY_III_VERSION=0.22.1

# Engine usage telemetry (iii). Off unless you set it; true opts in.
# III_TELEMETRY_ENABLED=false

# -----------------------------------------------------------------------------
# 9. Session sweep
# -----------------------------------------------------------------------------

# AGENTMEMORY_III_VERSION=0.11.2
# Hourly backstop that marks stale active sessions as abandoned.
# AGENTMEMORY_SESSION_SWEEP_ENABLED=false # Disable the hourly sweep
# AGENTMEMORY_SESSION_SWEEP_STALE_HOURS=24 # Inactivity hours before a session is abandoned

# -----------------------------------------------------------------------------
# 9. Claude Code bridge (opt-in)
# 10. Claude Code bridge (opt-in)
# -----------------------------------------------------------------------------

# CLAUDE_MEMORY_BRIDGE=true # Mirror compressed memories into Claude Code's CLAUDE.md
# CLAUDE_PROJECT_PATH=/path/to/your/project # Required when CLAUDE_MEMORY_BRIDGE=true
# CLAUDE_MEMORY_LINE_BUDGET=200 # Lines of memory CLAUDE.md should hold

# -----------------------------------------------------------------------------
# 10. Obsidian export (opt-in)
# 11. Obsidian export (opt-in)
# -----------------------------------------------------------------------------

# OBSIDIAN_AUTO_EXPORT=true # Auto-export memories to an Obsidian vault on every consolidation
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ updates:
commit-message:
prefix: deps
include: scope
ignore:
- dependency-name: iii-sdk
groups:
minor-and-patch:
update-types:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

permissions:
contents: read

jobs:
test:
runs-on: ${{ matrix.os }}
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/release-gate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Release gate

on:
push:
branches: [main]
paths-ignore:
- "website/**"
- "docs/**"
- "assets/**"
- "**/*.md"
- "**/*.mdx"
pull_request:
branches: [main]
paths-ignore:
- "website/**"
- "docs/**"
- "assets/**"
- "**/*.md"
- "**/*.mdx"
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

permissions:
contents: read

jobs:
packed-artifact:
name: packed artifact (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-node@v6
with:
node-version: 22
- run: npm install --legacy-peer-deps --no-audit --no-fund
- run: npm run release:gate -- --out "${{ runner.temp }}/release-gate"
- if: always()
uses: actions/upload-artifact@v4
with:
name: release-gate-${{ matrix.os }}
path: ${{ runner.temp }}/release-gate
if-no-files-found: ignore
retention-days: 14
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ integrations/hermes/__pycache__/
eval/reports/
# LongMemEval download is 278MB; fetched on demand
eval/data/longmemeval/

benchmark/results/capture-costs-*
Loading
Loading