integral-mind 0.1.0

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 ADDED
@@ -0,0 +1,52 @@
1
+ # integral-mind
2
+
3
+ CLI for [Integral Mind](https://github.com/nutter96/Integral-Mind) — push sessions, text, files, and URLs into your self-hosted knowledge base, search it, and inspect it over HTTPS. A thin HTTP client: no database, no parsers, one dependency.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install -g integral-mind
9
+ ```
10
+
11
+ Requires Node 20+. Installs two identical bins: `im` and `integral-mind`. Works on Linux, macOS, and Windows (the `sync repo` connector additionally needs `git` on PATH).
12
+
13
+ ## Quickstart
14
+
15
+ ```bash
16
+ im config set url https://your-instance.example.com
17
+ im config set token imk_... # create one in the webapp: Settings → MCP tokens
18
+
19
+ im push text "First captured note"
20
+ im search "captured"
21
+ ```
22
+
23
+ Environment variables `INTEGRAL_MIND_URL` and `INTEGRAL_MIND_TOKEN` override the config file, so headless/CI use needs no file at all.
24
+
25
+ ## Commands
26
+
27
+ ```text
28
+ im config set <url|token> <value> Store connection settings
29
+ im config show Show effective config and its sources
30
+ im push session [options] Push a session envelope (redacted by default)
31
+ im push text|file|url|youtube ... Capture content
32
+ im search <query> [options] Hybrid search (--type --after --before --code --sessions)
33
+ im sync <connector> [options] Delta-sync a machine-local source (mempalace, obsidian, repo)
34
+ im recent / im stats Recently ingested sources / corpus statistics
35
+ im projects|sources|tokens ... Admin operations (admin token)
36
+ im hooks install claude Auto-push Claude Code sessions at session end
37
+ im docs Print the full manual
38
+ ```
39
+
40
+ Run `im docs` for the canonical manual, or `im docs --drop-in` for an AGENTS.md block you can paste into a repo.
41
+
42
+ ## Notes for Windows
43
+
44
+ The config file lives at `~/.config/integral-mind/config.json` on every platform (that is `C:\Users\you\.config\integral-mind\` on Windows). On POSIX systems it is written mode `0600` because it holds a bearer token; on Windows the default location inherits your profile directory's per-user ACL instead. If you point `INTEGRAL_MIND_CONFIG_DIR` somewhere outside your profile on Windows, securing that directory is up to you — the CLI does not inspect ACLs.
45
+
46
+ ## Exit codes
47
+
48
+ `0` success · `1` runtime failure · `2` usage error · `3` auth failure · `4` not found · `5` validation rejected
49
+
50
+ ## License
51
+
52
+ MIT