konteks-cli 0.0.2
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/LICENSE +21 -0
- package/README.md +53 -0
- package/dist/main.js +7559 -0
- package/package.json +76 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 zainadam.id@gmail.com
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<img width="1536" height="1024" alt="Banner" src="https://github.com/user-attachments/assets/37e29d10-ed23-409d-92b2-2c6fab854f72" />
|
|
2
|
+
|
|
3
|
+
# Konteks
|
|
4
|
+
|
|
5
|
+
**Konteks** is a memory engine for AI coding agents.
|
|
6
|
+
|
|
7
|
+
It builds a project-local context graph through autonomous **knowledge curation**, ensuring you **never re-explain your project** to an AI agent.
|
|
8
|
+
|
|
9
|
+
Memory artifacts are stored directly inside your repository, exposing compact, task-specific recall through an MCP server without requiring global installation or cloud dependencies.
|
|
10
|
+
|
|
11
|
+
## π Key Features
|
|
12
|
+
|
|
13
|
+
* **Zero-Install**: Run anywhere via `npx` or `bunx` without native dependencies.
|
|
14
|
+
* **Language-Aware**: Precise semantic parsing via Tree-sitter (not just regex).
|
|
15
|
+
* **Local-First**: Your project memory stays in your repoβno cloud, no accounts.
|
|
16
|
+
* **Token-Efficient**: High-fidelity context synthesis designed for LLM economy.
|
|
17
|
+
|
|
18
|
+
## π Documentation
|
|
19
|
+
|
|
20
|
+
For a deep dive into the philosophy, architecture, and usage, see the [Full Documentation](docs/README.md).
|
|
21
|
+
|
|
22
|
+
* [Overview](docs/getting-started/overview.md): Vision, Philosophy, and the "Why."
|
|
23
|
+
* [Session Lifecycle](docs/getting-started/lifecycle.md): How to work with Konteks (Warm Up -> Build -> Save).
|
|
24
|
+
* [Architecture Overview](docs/core-concepts/overview.md): How the memory engine works under the hood.
|
|
25
|
+
* [Glossary](docs/reference/glossary.md): Short definitions for Konteks terms.
|
|
26
|
+
|
|
27
|
+
## π Supported Languages
|
|
28
|
+
|
|
29
|
+
Konteks uses specialized grammars for semantic extraction:
|
|
30
|
+
|
|
31
|
+
* TypeScript / JavaScript
|
|
32
|
+
* HTML / JSDoc
|
|
33
|
+
* JSON
|
|
34
|
+
* PHP
|
|
35
|
+
* *(More coming soon)*
|
|
36
|
+
|
|
37
|
+
## β‘ Quickstart
|
|
38
|
+
|
|
39
|
+
Konteks runs on **Node.js (>=22)** or **Bun**. Start by initializing memory from your project root:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npx -y konteks-cli init
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Continue with the [Quickstart](docs/getting-started/quickstart.md) for MCP setup and the Warm Up -> Build -> Save flow.
|
|
46
|
+
|
|
47
|
+
## π Local Storage
|
|
48
|
+
|
|
49
|
+
Konteks writes local memory under `.konteks/`. It uses SQLite (WASM) for the graph/indexes and a content-addressed object store for payloads. No host SQLite client or native modules are required.
|
|
50
|
+
|
|
51
|
+
## βοΈ License
|
|
52
|
+
|
|
53
|
+
MIT Licensed. See [LICENSE](LICENSE) for details.
|