@gorajing/zuun 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -90,7 +90,7 @@ For the git post-commit hook, manual captures, and shell pipelines:
90
90
 
91
91
  ```bash
92
92
  npm install -g @gorajing/zuun
93
- zuun --version # should print 0.1.2
93
+ zuun --version # should print 0.1.3
94
94
  ```
95
95
 
96
96
  (The npm package is scoped as `@gorajing/zuun` because `zuun` is too close to an existing unscoped package. The CLI binary is still `zuun` — the scope is just for the registry namespace.)
@@ -230,7 +230,7 @@ Required fields:
230
230
  | `created` | ISO 8601 | UTC |
231
231
  | `body` | string | One self-contained claim. "Local-first beats cloud-first because…" — not a paragraph. |
232
232
  | `kind` | enum | `decision` · `observation` · `pattern` · `commitment` · `reference` |
233
- | `source`| enum | `claude-code` · `cursor` · `git` · `manual` · `import` |
233
+ | `source`| enum | `claude-code` · `cursor` · `codex` · `git` · `manual` · `import` |
234
234
 
235
235
  Optional fields: `stance`, `tags[]`, `related[]`, `confidence`, `origin`, `project`.
236
236
 
@@ -248,7 +248,7 @@ Environment variables:
248
248
  | `OLLAMA_URL` | `http://127.0.0.1:11434` | Ollama server for embeddings |
249
249
  | `ZUUN_EMBED_MODEL` | `nomic-embed-text` | Embedding model name |
250
250
  | `ZUUN_SEARCH_BLEND` | `fts=0.45,vec=0.45,recency=0.1` | Hybrid search weights |
251
- | `ZUUN_MCP_SOURCE` | `claude-code` | Tag for entries created via MCP |
251
+ | `ZUUN_MCP_SOURCE` | `claude-code` | `source` tag for entries created via MCP — any `source` enum value (e.g. `codex` when wired into Codex). Unrecognized values fall back to `claude-code`. |
252
252
  | `ZUUN_BIN` | *(set by shim)* | Absolute path to `bin/zuun.js`, used by git hook installer |
253
253
  | `EDITOR` | `vi` | Editor for `zuun edit` |
254
254
 
@@ -302,7 +302,7 @@ Budget: **warm search <100ms on 1k entries**. Current on M-series Mac: ~2ms hybr
302
302
 
303
303
  ## Project status
304
304
 
305
- **v0.1.2 released.** Audit-derived lints: `zuun doctor` now reports audit cadence and exits nonzero when the corpus has 50+ entries since the last audit-tagged entry; `capture`/`remember` route stray entry IDs from tags into related and flag short untagged decisions. 201 tests green. Published to npm; plugin installable from GitHub via the marketplace flow, with the full plugin surface verified end-to-end on a real Claude Code session (MCP tools, slash command, SessionStart hook, git post-commit hook). Perf within budget by ~50×. See [CHANGELOG.md](CHANGELOG.md) for release history.
305
+ **v0.1.3 released.** `codex` is now a first-class entry source: wire `zuun mcp` into Codex (OpenAI CLI) via `[mcp_servers.zuun]` with `ZUUN_MCP_SOURCE=codex`, and Codex-captured memories are attributed correctly instead of falling back to `claude-code`. 203 tests green. Published to npm; plugin installable from GitHub via the marketplace flow, with the full plugin surface verified end-to-end on a real Claude Code session (MCP tools, slash command, SessionStart hook, git post-commit hook). Perf within budget by ~50×. See [CHANGELOG.md](CHANGELOG.md) for release history.
306
306
 
307
307
  This is pre-1.0 software. Schema is versioned (`schema_version: 2`); breaking changes will get a migration path, not a silent reset.
308
308
 
package/dist/cli.js CHANGED
@@ -45,7 +45,7 @@ const doctor_1 = require("./lib/doctor");
45
45
  const log_1 = require("./lib/log");
46
46
  // Kept in sync with package.json on release. If this drifts again, switch to
47
47
  // a runtime read of package.json (deferred: avoiding rootDir + tsc complexity).
48
- const VERSION = "0.1.2";
48
+ const VERSION = "0.1.3";
49
49
  const HELP = `usage: zuun <command>
50
50
 
51
51
  commands:
package/dist/lib/entry.js CHANGED
@@ -28,6 +28,7 @@ exports.EntryKind = zod_1.z.enum([
28
28
  exports.EntrySource = zod_1.z.enum([
29
29
  "claude-code", // auto-captured from a Claude Code session
30
30
  "cursor", // auto-captured from Cursor
31
+ "codex", // captured from a Codex (OpenAI CLI) session via the MCP server
31
32
  "git", // captured from a commit / PR / diff
32
33
  "manual", // user typed it in via remember() or CLI
33
34
  "import", // bulk-imported from another system
package/dist/mcp.js CHANGED
@@ -59,7 +59,7 @@ SCOPING: Retrieval is automatically scoped to the current project (resolved from
59
59
 
60
60
  OUTPUT: A markdown list of up to \`limit\` entries. Each line shows id, kind, relative age, and body. If no matching prior context exists, returns "no prior context" — treat that as signal, not an error. The entries you see are the entries your past self already thought were worth remembering; cite their ids when referencing them.`;
61
61
  async function main() {
62
- const server = new index_js_1.Server({ name: "zuun", version: "0.1.2" }, { capabilities: { tools: {} } });
62
+ const server = new index_js_1.Server({ name: "zuun", version: "0.1.3" }, { capabilities: { tools: {} } });
63
63
  server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => ({
64
64
  tools: [
65
65
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gorajing/zuun",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Persistent memory for AI-assisted work — local-first markdown + SQLite, hybrid search, Claude Code plugin.",
5
5
  "author": "Jin Choi",
6
6
  "license": "MIT",