synapse-kit 0.0.0-stage → 0.3.1
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.ko.md +129 -0
- package/README.md +127 -2
- package/dist/causal-memory.json +4581 -0
- package/dist/cli-memory.d.ts +5 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +3474 -0
- package/dist/compiler/causal-build.d.ts +51 -0
- package/dist/compiler/causal-graph.d.ts +6 -0
- package/dist/compiler/cli.d.ts +2 -0
- package/dist/compiler/cli.js +1299 -0
- package/dist/compiler/core/config.d.ts +16 -0
- package/dist/compiler/core/engine.d.ts +17 -0
- package/dist/compiler/core/reporter.d.ts +5 -0
- package/dist/compiler/i18n.d.ts +281 -0
- package/dist/compiler/index.d.ts +21 -0
- package/dist/compiler/index.js +1983 -0
- package/dist/compiler/plugins/cpp.d.ts +19 -0
- package/dist/compiler/plugins/csharp.d.ts +13 -0
- package/dist/compiler/plugins/go.d.ts +15 -0
- package/dist/compiler/plugins/java.d.ts +16 -0
- package/dist/compiler/plugins/native.d.ts +12 -0
- package/dist/compiler/plugins/nsis.d.ts +8 -0
- package/dist/compiler/plugins/python.d.ts +21 -0
- package/dist/compiler/plugins/rust.d.ts +9 -0
- package/dist/compiler/plugins/schema.d.ts +12 -0
- package/dist/compiler/plugins/svelte.d.ts +10 -0
- package/dist/compiler/plugins/typescript.d.ts +23 -0
- package/dist/compiler/types.d.ts +72 -0
- package/dist/compiler/virtual_120b_types.d.ts +18 -0
- package/dist/core/config.d.ts +16 -0
- package/dist/core/engine.d.ts +17 -0
- package/dist/core/reporter.d.ts +5 -0
- package/dist/db/index.js +1910 -0
- package/dist/i18n.d.ts +281 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +8282 -0
- package/dist/memory/causal-benchmark.d.ts +29 -0
- package/dist/memory/causal-branch.d.ts +79 -0
- package/dist/memory/causal-build.d.ts +51 -0
- package/dist/memory/causal-config.d.ts +38 -0
- package/dist/memory/causal-context.d.ts +113 -0
- package/dist/memory/causal-contexts.json +316 -0
- package/dist/memory/causal-graph.d.ts +6 -0
- package/dist/memory/causal-graveyard.d.ts +94 -0
- package/dist/memory/causal-lens.d.ts +133 -0
- package/dist/memory/causal-memory.json +5054 -0
- package/dist/memory/causal-migrator.d.ts +11 -0
- package/dist/memory/causal-peer.d.ts +53 -0
- package/dist/memory/causal-predictor.d.ts +42 -0
- package/dist/memory/causal-query.d.ts +21 -0
- package/dist/memory/causal-server.d.ts +578 -0
- package/dist/memory/causal-store.d.ts +280 -0
- package/dist/memory/causal-synthesizer.d.ts +96 -0
- package/dist/memory/causal-timeseries.d.ts +92 -0
- package/dist/memory/cli.d.ts +13 -0
- package/dist/memory/cli.js +5668 -0
- package/dist/memory/index.d.ts +13 -0
- package/dist/memory/index.js +4451 -0
- package/dist/plugins/cpp.d.ts +19 -0
- package/dist/plugins/csharp.d.ts +13 -0
- package/dist/plugins/go.d.ts +15 -0
- package/dist/plugins/java.d.ts +16 -0
- package/dist/plugins/native.d.ts +12 -0
- package/dist/plugins/nsis.d.ts +8 -0
- package/dist/plugins/python.d.ts +21 -0
- package/dist/plugins/rust.d.ts +9 -0
- package/dist/plugins/schema.d.ts +12 -0
- package/dist/plugins/svelte.d.ts +10 -0
- package/dist/plugins/typescript.d.ts +23 -0
- package/dist/src/cli.d.ts +2 -0
- package/dist/src/core/config.d.ts +12 -0
- package/dist/src/core/engine.d.ts +9 -0
- package/dist/src/core/reporter.d.ts +5 -0
- package/dist/src/index.d.ts +13 -0
- package/dist/src/memory/causal-graph.d.ts +6 -0
- package/dist/src/plugins/native.d.ts +12 -0
- package/dist/src/plugins/nsis.d.ts +8 -0
- package/dist/src/plugins/rust.d.ts +9 -0
- package/dist/src/plugins/schema.d.ts +12 -0
- package/dist/src/plugins/svelte.d.ts +10 -0
- package/dist/src/types.d.ts +55 -0
- package/dist/types.d.ts +72 -0
- package/package.json +87 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Vesper
|
|
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.ko.md
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# 🧠 Synapse Kit (`synapse-kit`)
|
|
2
|
+
> **AI-Native Unified Twin-Core: Polyglot Compiler Engine & Causal Memory 2.0 Brain**
|
|
3
|
+
> 🌐 **Language / 언어**: [English (Global)](./README.md) | **한국어 (Korean)**
|
|
4
|
+
> **공식 웹사이트**: [https://synapse.minseok.online](https://synapse.minseok.online) | **메모리 포털**: [https://synapse.minseok.online/memory/](https://synapse.minseok.online/memory/)
|
|
5
|
+
|
|
6
|
+
[](https://www.npmjs.com/package/synapse-kit)
|
|
7
|
+
[](https://opensource.org/licenses/MIT)
|
|
8
|
+
[](https://bun.sh)
|
|
9
|
+
[]()
|
|
10
|
+
|
|
11
|
+
`Synapse Kit`은 **초고속 10대 언어·시스템 인과율 컴파일러(`compiler/`)**와 **AI 에이전트 전용 0-Token 인과율 메모리(`memory/`)**가 결합된 차세대 AI-Native 양대 트윈 코어 프레임워크입니다.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 📌 목차
|
|
16
|
+
1. [🏛️ 2대 트윈 코어 아키텍처](#-2대-트윈-코어-아키텍처)
|
|
17
|
+
2. [💾 Causal Memory 2.0 & 3대 핵심 안전장치](#-causal-memory-20--3대-핵심-안전장치)
|
|
18
|
+
3. [📊 실측 벤치마크 (80만 줄 모노레포 & 10만 개 메모리)](#-실측-벤치마크)
|
|
19
|
+
4. [🚀 빠른 시작 (Quick Start)](#-빠른-시작-quick-start)
|
|
20
|
+
5. [💻 2대 독립 CLI 명령어 레퍼런스](#-2대-독립-cli-명령어-레퍼런스)
|
|
21
|
+
6. [🧩 7대 표준 언어 + 3대 시스템 체커 플러그인](#-체커-플러그인-생태계)
|
|
22
|
+
7. [📦 서브패스 Import 지원](#-서브패스-import-지원)
|
|
23
|
+
8. [라이선스](#-라이선스)
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 🏛️ 2대 트윈 코어 아키텍처
|
|
28
|
+
|
|
29
|
+
저장소와 패키지 루트 레벨에서 **컴파일러**와 **메모리**가 1:1 대등한 최상위 모듈로 완전히 분리 격리되어 있습니다:
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
synapse-kit/
|
|
33
|
+
├── compiler/ ➔ ⚡ [Synapse Compiler] 10대 언어 동시 병렬 검증·빌드·패키징
|
|
34
|
+
├── memory/ ➔ 💾 [Synapse Memory] 10만 개 규칙 SQLite WAL 인과율 메모리
|
|
35
|
+
└── db/ ➔ 🗄️ [Synapse DB] 범용 마크다운-퍼스트 인메모리 커넥톰 데이터베이스
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
* **`synapse-compiler` (`synapse-kit/compiler`)**: 순수 빌드 가속만 필요한 모노레포 프로젝트를 위한 초고속 컴파일러.
|
|
39
|
+
* **`synapse-causal-memory` (`synapse-kit/memory`)**: Claude Code, Cursor, Antigravity 등 AI 에이전트의 컨텍스트 윈도우를 99% 절약하는 인과율 메모리.
|
|
40
|
+
* **`synapse-db` (`synapse-kit/db`)**: 위키링크 시냅스 자동 결합, 한국어 N-gram BM25 검색, SQLite/JSON 마이그레이터, 옵시디언 캔버스(`.canvas`) 내보내기를 지원하는 범용 마크다운 커넥톰 DB.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 💾 Causal Memory 2.0 & 3대 핵심 안전장치
|
|
45
|
+
|
|
46
|
+
무차별 텍스트 누적형 지식 그래프를 폐기하고, **원인(Cause) ➔ 불변 제약(Invariant) ➔ 파급 조치(Effect)** 기반 공명 엔진으로 진화했습니다.
|
|
47
|
+
|
|
48
|
+
1. **🛡️ [기억 상실 방지] 2단 하이브리드 티어 (Hybrid Tier)**
|
|
49
|
+
- **Tier 1 (글로벌 상시 불변식)**: 항상 50 토큰 고정 주입 (개발자 터미널 선호, 절대 금지 사항 등 브레인스토밍 단계 기억 보존).
|
|
50
|
+
- **Tier 2 (도메인 인과 공명)**: 파일 수정/키워드 감지 시에만 10~30 토큰 정밀 주입, 무관한 작업 0.00초 스킵.
|
|
51
|
+
2. **⚙️ [유지보수 비용 제로] Git & AST 자동 추론 (Auto-Harvesting)**
|
|
52
|
+
- 사람이 스키마를 수동 편집하지 않고, `synapse check/build` 통과 시 Git diff와 AST 심볼에서 인과 트리거를 자동 수집·학습.
|
|
53
|
+
3. **🔒 [동시성 충돌 방지] 단일 SQLite WAL 모드 (Atomic Transaction)**
|
|
54
|
+
- 텍스트 JSON 락 경합을 원천 차단하고 `PRAGMA journal_mode = WAL` 기반으로 다중 에이전트/웹 동시 읽기·쓰기 ACID 원자성 보장.
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## 📊 실측 벤치마크
|
|
59
|
+
|
|
60
|
+
| 검증 영역 | 벤치마크 시나리오 | 기존 방식 | Synapse Kit v0.2.2 | 개선율 |
|
|
61
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
62
|
+
| **컴파일러** | 7대 언어 80만 줄 전체 검증 | 28.13s (순차 총합) | **1.54s ~ 19.92s** (병렬 완결) | **최대 28배 가속** |
|
|
63
|
+
| **컴파일러** | Svelte 5 + TS 7.1 네이티브 융합 | 149.21s (구형) | **0.78s** (네이티브) | **-99.5% 극적 단축** |
|
|
64
|
+
| **컴파일러** | 단일 파일 수정 스마트 스킵 | 28.13s (전체 재실행) | **0.31s** (70만 줄 0초 스킵) | **-98.9% 단축** |
|
|
65
|
+
| **메모리** | 500개 경고 폭주 토큰 다이어트 | 42,673 Tokens (ANSI) | **351 Tokens** (JSON) | **-99.2% 압축 (121.6배)** |
|
|
66
|
+
| **메모리** | 10만 개 인과 규칙 동시 판별 | 450 ms (JSON 파싱) | **1.72 ms** (SQLite WAL) | **261배 가속** |
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 🚀 빠른 시작 (Quick Start)
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
# 1. 패키지 설치
|
|
74
|
+
bun add -d synapse-kit
|
|
75
|
+
|
|
76
|
+
# 2. 컴파일러 초기화
|
|
77
|
+
bunx synapse init
|
|
78
|
+
|
|
79
|
+
# 3. 인과율 검증 실행 (미수정 파일 0.00초 스킵)
|
|
80
|
+
bunx synapse check
|
|
81
|
+
|
|
82
|
+
# 4. AI 에이전트 연동용 초소형 JSON 모드
|
|
83
|
+
bunx synapse check --compact
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 💻 2대 독립 CLI 명령어 레퍼런스
|
|
89
|
+
|
|
90
|
+
### 1. 컴파일러 CLI (`synapse`)
|
|
91
|
+
```bash
|
|
92
|
+
bunx synapse check # 일상 인과 스마트 검증
|
|
93
|
+
bunx synapse check --all # 10대 언어 전방위 강제 전체 검증
|
|
94
|
+
bunx synapse check -i # 에러 발생 시 동결 및 저장 즉시 0.05s 핫픽스 재검증
|
|
95
|
+
bunx synapse build # 미변경 트랙 0초 스킵 멀티트랙 병렬 빌드
|
|
96
|
+
bunx synapse package # NSIS 단일 타겟 + zlib 고속 스트리밍 번들링
|
|
97
|
+
bunx synapse sign # 바이너리 SHA-256 변경 시 Minisign Ed25519 서명
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### 2. 인과율 메모리 CLI (`synapse-memory`)
|
|
101
|
+
```bash
|
|
102
|
+
bunx synapse-memory query --files "src/core/engine.ts" # 파일 인과 공명 규칙 조회
|
|
103
|
+
bunx synapse-memory audit # 10만 개 메모리 무결성 감사
|
|
104
|
+
bunx synapse-memory harvest # Git diff 기반 인과 트리거 자동 수집
|
|
105
|
+
bunx synapse-memory serve --port 4242 # 로컬 데몬 & MCP Stdio 서버 기동
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## 📦 서브패스 Import 지원
|
|
111
|
+
|
|
112
|
+
독립적인 모듈화로 원하는 영역만 선택적으로 Import 할 수 있습니다:
|
|
113
|
+
|
|
114
|
+
```typescript
|
|
115
|
+
// 1. 통합 진입점
|
|
116
|
+
import { defineConfig, CausalMemoryStore } from 'synapse-kit';
|
|
117
|
+
|
|
118
|
+
// 2. 컴파일러 전용 모듈
|
|
119
|
+
import { rustChecker, svelteChecker, executeChecks } from 'synapse-kit/compiler';
|
|
120
|
+
|
|
121
|
+
// 3. 인과율 메모리 전용 모듈
|
|
122
|
+
import { CausalMemoryStore, runCausalQuery } from 'synapse-kit/memory';
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 📄 라이선스
|
|
128
|
+
|
|
129
|
+
MIT License © 2026 Vesper & Project Synapse Authors.
|
package/README.md
CHANGED
|
@@ -1,3 +1,128 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 🧠 Synapse Kit (`synapse-kit`)
|
|
2
|
+
> **AI-Native Unified Twin-Core: Polyglot Compiler Engine & Causal Memory 2.0 Brain**
|
|
3
|
+
> 🌐 **Language / 언어**: **English (Global)** | [한국어 (Korean)](./README.ko.md)
|
|
4
|
+
> **Official Website**: [https://synapse.minseok.online](https://synapse.minseok.online) | **Memory Portal**: [https://synapse.minseok.online/memory/](https://synapse.minseok.online/memory/)
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
[](https://www.npmjs.com/package/synapse-kit)
|
|
7
|
+
[](https://opensource.org/licenses/MIT)
|
|
8
|
+
[](https://bun.sh)
|
|
9
|
+
[]()
|
|
10
|
+
|
|
11
|
+
`Synapse Kit` is a next-generation AI-native twin-core framework coupling a **blazing-fast 10-language compiler engine (`compiler/`)** with an **AI agent 0-token causal memory brain (`memory/`)**.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 📌 Table of Contents
|
|
16
|
+
1. [🏛️ Top-Level Twin-Core Architecture](#-top-level-twin-core-architecture)
|
|
17
|
+
2. [💾 Causal Memory 2.0 & 3 Core Safeguards](#-causal-memory-20--3-core-safeguards)
|
|
18
|
+
3. [📊 Empirical Benchmarks (800K Monorepo & 100K Memory)](#-empirical-benchmarks)
|
|
19
|
+
4. [🚀 Quick Start](#-quick-start)
|
|
20
|
+
5. [💻 Dual Independent CLI Commands](#-dual-independent-cli-commands)
|
|
21
|
+
6. [📦 Sub-path Imports Support](#-sub-path-imports-support)
|
|
22
|
+
7. [License](#-license)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 🏛️ Top-Level Twin-Core Architecture
|
|
27
|
+
|
|
28
|
+
The repository and package layout strictly decouples the **compiler** and **memory** into equal peer modules at the root:
|
|
29
|
+
|
|
30
|
+
```text
|
|
31
|
+
synapse-kit/
|
|
32
|
+
├── compiler/ ➔ ⚡ [Synapse Compiler] Concurrent polyglot check, build & bundle
|
|
33
|
+
├── memory/ ➔ 💾 [Synapse Memory] 100,000-rule SQLite WAL causal memory brain
|
|
34
|
+
└── db/ ➔ 🗄️ [Synapse DB] Universal Markdown-First & In-Memory Connectome DB
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
* **`synapse-compiler` (`synapse-kit/compiler`)**: For teams and CI pipelines wanting pure, ultra-fast monorepo build acceleration.
|
|
38
|
+
* **`synapse-causal-memory` (`synapse-kit/memory`)**: For Claude Code, Cursor, and Antigravity agents seeking 99.2% token compression.
|
|
39
|
+
* **`synapse-db` (`synapse-kit/db`)**: Universal Markdown-First & In-Memory Connectome Database with Wikilink Auto-Wiring, Korean 2-gram BM25 search, SQLite/JSON migrator, and Obsidian `.canvas` exporter.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## 💾 Causal Memory 2.0 & 3 Core Safeguards
|
|
44
|
+
|
|
45
|
+
Replaces unindexed text-dumping graphs with a structured **Cause ➔ Invariant ➔ Effect** resonance engine.
|
|
46
|
+
|
|
47
|
+
1. **🛡️ 2-Tier Hybrid Architecture (Zero Memory Loss)**
|
|
48
|
+
- **Tier 1 (Global Invariants)**: Constant 50 tokens (preserves terminal prefs and global constraints in zero-shot tasks).
|
|
49
|
+
- **Tier 2 (Domain Resonance)**: 10~30 tokens precisely injected only upon matched files/keywords; 0.00s skip for unrelated work.
|
|
50
|
+
2. **⚙️ Git & AST Auto-Harvesting (Zero Maintenance Cost)**
|
|
51
|
+
- Automatically harvests and tunes file triggers from Git diffs and AST symbols upon passing `synapse check/build`.
|
|
52
|
+
3. **🔒 Single SQLite WAL Mode (Atomic Concurrency)**
|
|
53
|
+
- Guarantees non-blocking concurrent reads and ACID atomic writes across multi-agent and dashboard environments via `PRAGMA journal_mode = WAL`.
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## 📊 Empirical Benchmarks
|
|
58
|
+
|
|
59
|
+
| Domain | Scenario | Traditional CI / Toolchains | Synapse Kit v0.2.2 | Improvement |
|
|
60
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
61
|
+
| **Compiler** | 7-Language 800K LOC Full Check | 28.13s (Sequential sum) | **1.54s ~ 19.92s** (Parallel) | **Up to 28x faster** |
|
|
62
|
+
| **Compiler** | Svelte 5 + TS 7.1 Native Fusion | 149.21s (Legacy tsc) | **0.78s** (Native Oxc) | **-99.5% reduction** |
|
|
63
|
+
| **Compiler** | Single-File Edit Causal Skip | 28.13s (Full rerun) | **0.31s** (700K lines 0.00s) | **-98.9% faster** |
|
|
64
|
+
| **Memory** | 500-Warning Burst Context Diet | 42,673 Tokens (Raw ANSI) | **351 Tokens** (Min JSON) | **-99.2% diet (121.6x)** |
|
|
65
|
+
| **Memory** | 100,000 Causal Rules Evaluation | 450 ms (JSON parse) | **1.72 ms** (SQLite WAL) | **261x faster** |
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## 🚀 Quick Start
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# 1. Install package
|
|
73
|
+
bun add -d synapse-kit
|
|
74
|
+
|
|
75
|
+
# 2. Initialize configuration
|
|
76
|
+
bunx synapse init
|
|
77
|
+
|
|
78
|
+
# 3. Run causal verification (0.00s skip on clean files)
|
|
79
|
+
bunx synapse check
|
|
80
|
+
|
|
81
|
+
# 4. Minimal compact JSON mode for AI agents
|
|
82
|
+
bunx synapse check --compact
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 💻 Dual Independent CLI Commands
|
|
88
|
+
|
|
89
|
+
### 1. Compiler CLI (`synapse`)
|
|
90
|
+
```bash
|
|
91
|
+
bunx synapse check # Everyday causal smart check
|
|
92
|
+
bunx synapse check --all # Full verification across all 10 checkers
|
|
93
|
+
bunx synapse check -i # Live in-memory hotfix watcher (0.05s upon save)
|
|
94
|
+
bunx synapse build # Multi-track incremental parallel build
|
|
95
|
+
bunx synapse package # Single NSIS target + zlib high-speed streaming
|
|
96
|
+
bunx synapse sign # Cryptographic Minisign Ed25519 binary signing
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### 2. Causal Memory CLI (`synapse-memory`)
|
|
100
|
+
```bash
|
|
101
|
+
bunx synapse-memory query --files "compiler/core/engine.ts" # Query active invariants
|
|
102
|
+
bunx synapse-memory audit # Integrity audit of 100k rules
|
|
103
|
+
bunx synapse-memory harvest # Auto-harvest Git triggers
|
|
104
|
+
bunx synapse-memory serve --port 4242 # Start local daemon & MCP stdio
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## 📦 Sub-path Imports Support
|
|
110
|
+
|
|
111
|
+
Import only what you need:
|
|
112
|
+
|
|
113
|
+
```typescript
|
|
114
|
+
// 1. Unified Entrypoint
|
|
115
|
+
import { defineConfig, CausalMemoryStore } from 'synapse-kit';
|
|
116
|
+
|
|
117
|
+
// 2. Pure Compiler Module
|
|
118
|
+
import { rustChecker, svelteChecker, executeChecks } from 'synapse-kit/compiler';
|
|
119
|
+
|
|
120
|
+
// 3. Pure Causal Memory Module
|
|
121
|
+
import { CausalMemoryStore, runCausalQuery } from 'synapse-kit/memory';
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## 📄 License
|
|
127
|
+
|
|
128
|
+
MIT License © 2026 Vesper & Project Synapse Authors.
|