shardstitch 0.0.9 → 0.0.10
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 +71 -65
- package/cli.js +15 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,65 +1,71 @@
|
|
|
1
|
-
# ShardStitch
|
|
2
|
-
|
|
3
|
-
**"Rate limit reached." "Context window full." "VRAM out of memory."**
|
|
4
|
-
|
|
5
|
-
Your code is half-written. Your plan is in your head. ShardStitch captures your entire session — git diff, changed files, dependency graph, intent — and stitches it into the next AI tool. One hotkey. Keep building like nothing happened.
|
|
6
|
-
|
|
7
|
-
## Install
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm install shardstitch
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
- **
|
|
41
|
-
- **
|
|
42
|
-
- **
|
|
43
|
-
- **
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
- **
|
|
51
|
-
- **
|
|
52
|
-
- **
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
# ShardStitch
|
|
2
|
+
|
|
3
|
+
**"Rate limit reached." "Context window full." "VRAM out of memory."**
|
|
4
|
+
|
|
5
|
+
Your code is half-written. Your plan is in your head. ShardStitch captures your entire session — git diff, changed files, dependency graph, intent — and stitches it into the next AI tool. One hotkey. Keep building like nothing happened.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g shardstitch # installs the launcher
|
|
11
|
+
shardstitch install <your-license-key> # after purchase — downloads & activates the app
|
|
12
|
+
shardstitch # launch the dashboard
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
ShardStitch is a **one-time purchase** (no subscription). `npm install` gives you the
|
|
16
|
+
installer; activate it with the license key from your purchase email. Get a key at
|
|
17
|
+
[shardstitch.com](https://shardstitch.com).
|
|
18
|
+
|
|
19
|
+
## What it does
|
|
20
|
+
|
|
21
|
+
When Claude, Cursor, Codex, or Gemini locks you out mid-session, ShardStitch:
|
|
22
|
+
|
|
23
|
+
1. **Scans your project** — git diff, changed files, recent commits, your notes
|
|
24
|
+
2. **Builds a dependency graph** — impact radius, architecture communities — and warns the next AI what's dangerous to touch
|
|
25
|
+
3. **Generates a continuation prompt** formatted for the target tool
|
|
26
|
+
4. **Injects it** into the tool's pickup file (CLAUDE.md, AGENTS.md, GEMINI.md, .cursorrules) for automatic discovery
|
|
27
|
+
|
|
28
|
+
Under 30 seconds, end to end.
|
|
29
|
+
|
|
30
|
+
## Not just for switching tools
|
|
31
|
+
|
|
32
|
+
The same trick fixes a bloated session in the *same* tool. Long AI chats accumulate a huge context tree — token burn climbs, responses slow down, and eventually you hit "Service is busy" even with quota left. ShardStitch is the clean-restart button: extract a compact context, open a fresh window of the same tool, paste, keep going.
|
|
33
|
+
|
|
34
|
+
## 23 supported AI tools
|
|
35
|
+
|
|
36
|
+
Claude Code, Claude Desktop, Cursor, Codex CLI, Gemini CLI, Windsurf, Aider, Kiro, Amazon Q Developer, DeepSeek, OpenCode, Trae, Factory Droid, OpenClaw, Amp, Cline, Roo Code, Kilo Code, Crush, Kimi, Qwen Code, Antigravity, and Grok.
|
|
37
|
+
|
|
38
|
+
## 7 surfaces
|
|
39
|
+
|
|
40
|
+
- **Web dashboard** — scan, generate, copy, download
|
|
41
|
+
- **VS Code / Cursor extension** — Alt+G hotkey
|
|
42
|
+
- **MCP server** — Claude Code, Cursor, and Windsurf call it directly
|
|
43
|
+
- **CLI** — `npx shardstitch` or `shardstitch capture`
|
|
44
|
+
- **Desktop app** — standalone Windows exe
|
|
45
|
+
- **Autosave hooks** — auto-inject on session end
|
|
46
|
+
- **Local LLM failover** — Ollama, vLLM, LM Studio (zero cloud)
|
|
47
|
+
|
|
48
|
+
## Key features
|
|
49
|
+
|
|
50
|
+
- **Per-agent formatting** — 22 per-agent format adapters across the 23 supported tools
|
|
51
|
+
- **AI task router** — semantic matching picks the best tool for each task
|
|
52
|
+
- **Persistent memory** — project decisions survive across sessions
|
|
53
|
+
- **Team coordination** — shared `.shardstitch/` directory
|
|
54
|
+
- **Tamper-evident audit trail** — hash-chained timeline logs
|
|
55
|
+
- **Dependency graph analysis** — impact radius, god nodes, architecture communities
|
|
56
|
+
|
|
57
|
+
## Local-first
|
|
58
|
+
|
|
59
|
+
Your code and conversations never leave your machine — no telemetry, no cloud
|
|
60
|
+
processing. The **only** network call is a single HTTPS request at activation to
|
|
61
|
+
validate your license key; everything else runs entirely on your hardware.
|
|
62
|
+
Activation needs a license key, not an account.
|
|
63
|
+
|
|
64
|
+
## Links
|
|
65
|
+
|
|
66
|
+
- Website: https://shardstitch.com
|
|
67
|
+
- GitHub: https://github.com/shardstitch/shardstitch
|
|
68
|
+
- X / Twitter: https://x.com/ShardStitch
|
|
69
|
+
- VS Code / Cursor Extension: https://marketplace.visualstudio.com/items?itemName=shardstitch.shardstitch
|
|
70
|
+
- Changelog: https://github.com/shardstitch/shardstitch/releases
|
|
71
|
+
- Support: support@shardstitch.com
|
package/cli.js
CHANGED
|
@@ -17,13 +17,21 @@ const ACTIVATION_FILE = join(os.homedir(), ".shardstitch", "activation.json");
|
|
|
17
17
|
const MACHINE_SALT = "shardstitch-activation/1";
|
|
18
18
|
|
|
19
19
|
// --- Supply-chain hardening -------------------------------------------------
|
|
20
|
-
// The binary
|
|
21
|
-
//
|
|
22
|
-
//
|
|
23
|
-
|
|
20
|
+
// The binary is downloaded over HTTPS and its SHA-256 is verified against the
|
|
21
|
+
// hashes EMBEDDED in this published package BEFORE it is ever made executable
|
|
22
|
+
// or run. Embedding (rather than fetching a manifest from the same host that
|
|
23
|
+
// serves the binary) means a compromised download origin cannot swap the
|
|
24
|
+
// binary without also defeating npm's own package integrity — a strictly
|
|
25
|
+
// stronger trust anchor. Downloads (and any redirects) are additionally
|
|
26
|
+
// restricted to an allowlist of trusted hosts. See SECURITY.md.
|
|
27
|
+
//
|
|
28
|
+
// Keep in lockstep with packages/pypi/shardstitch/__init__.py _CHECKSUMS.
|
|
29
|
+
// Regenerate with: python tools/gen_checksums.py. An empty string means "no
|
|
30
|
+
// binary published for this platform yet" — cmdInstall fails CLOSED on it.
|
|
31
|
+
const EMBEDDED_CHECKSUMS = {
|
|
24
32
|
windows: "14642911d2f2fee8baf92ad30948b96e01dbd66167bab3ab0cbf443a33ea58a6",
|
|
25
|
-
linux:
|
|
26
|
-
mac:
|
|
33
|
+
linux: "",
|
|
34
|
+
mac: "",
|
|
27
35
|
};
|
|
28
36
|
const TRUSTED_DOWNLOAD_HOST_SUFFIXES = [
|
|
29
37
|
"shardstitch.com",
|
|
@@ -184,7 +192,6 @@ function sha256File(path) {
|
|
|
184
192
|
});
|
|
185
193
|
}
|
|
186
194
|
|
|
187
|
-
|
|
188
195
|
async function cmdInstall(key) {
|
|
189
196
|
key = key.trim();
|
|
190
197
|
console.log();
|
|
@@ -247,7 +254,7 @@ async function cmdInstall(key) {
|
|
|
247
254
|
// on our pinned domain BEFORE making it executable or running it. Fails closed.
|
|
248
255
|
const allowUnverified = process.argv.includes("--allow-unverified");
|
|
249
256
|
try {
|
|
250
|
-
const expected = (
|
|
257
|
+
const expected = (EMBEDDED_CHECKSUMS[PLATFORM] || "").toLowerCase();
|
|
251
258
|
const actual = (await sha256File(exePath)).toLowerCase();
|
|
252
259
|
if (!expected) {
|
|
253
260
|
throw new Error(`no published checksum for platform "${PLATFORM}"`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shardstitch",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "ShardStitch — capture your AI coding session (git diff, dependency graph, intent) and stitch it into the next tool.
|
|
3
|
+
"version": "0.0.10",
|
|
4
|
+
"description": "ShardStitch — capture your AI coding session (git diff, dependency graph, intent) and stitch it into the next tool. 23 AI tools supported. Local-first, no telemetry. https://shardstitch.com",
|
|
5
5
|
"homepage": "https://shardstitch.com",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/shardstitch/shardstitch/issues"
|