rig-constellation 0.1.0 → 0.1.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/README.md +36 -2
- package/dist/rig.js +38 -4
- package/package.json +19 -2
package/README.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
**Watch your codebase become a constellation — and give your AI agent a map of it.**
|
|
4
4
|
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://www.npmjs.com/package/rig-constellation"><img src="https://img.shields.io/npm/v/rig-constellation.svg?color=cb3837&label=npm" alt="npm version"></a>
|
|
7
|
+
<a href="https://github.com/Astralchemist/rig/actions/workflows/ci.yml"><img src="https://github.com/Astralchemist/rig/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
8
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue.svg" alt="License: Apache-2.0"></a>
|
|
9
|
+
<img src="https://img.shields.io/badge/runtime-Node%2020%2B%20%C2%B7%20Bun-339933.svg" alt="runs on Node 20+ and Bun">
|
|
10
|
+
</p>
|
|
11
|
+
|
|
5
12
|
<p align="center">
|
|
6
13
|
<a href="https://github.com/Astralchemist/rig/releases/download/v0.1.0/demo.mp4">
|
|
7
14
|
<img src="docs/demo.gif" alt="Rig — the live map of a codebase, navigated in real time" width="820">
|
|
@@ -21,10 +28,10 @@ Everything runs on your machine. No API key, no upload, nothing leaves your lapt
|
|
|
21
28
|
In any project directory:
|
|
22
29
|
|
|
23
30
|
```bash
|
|
24
|
-
|
|
31
|
+
npx rig-constellation
|
|
25
32
|
```
|
|
26
33
|
|
|
27
|
-
That's the whole thing. One command:
|
|
34
|
+
(Have [Bun](https://bun.sh)? `bunx rig-constellation` works too.) That's the whole thing. One command:
|
|
28
35
|
|
|
29
36
|
```
|
|
30
37
|
⬡ Rig — mapping your codebase…
|
|
@@ -54,6 +61,33 @@ It initializes `.rig/`, indexes your code, wires up whichever agent it detects,
|
|
|
54
61
|
|
|
55
62
|
---
|
|
56
63
|
|
|
64
|
+
## What your agent does differently
|
|
65
|
+
|
|
66
|
+
Without a map, an agent answers *"what breaks if I change `parseConfig`?"* by grepping the string and reading whatever files match — blind, lossy, and token-expensive.
|
|
67
|
+
|
|
68
|
+
With Rig it's one call:
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
rig_impact parseConfig
|
|
72
|
+
→ 7 transitive callers, ranked:
|
|
73
|
+
loadSettings calls · depth 1
|
|
74
|
+
bootstrap calls · depth 2
|
|
75
|
+
__tests__/config… tests · depth 1
|
|
76
|
+
…
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
And *"what else should I look at?"* isn't a guess — `rig_pull` returns related anchors scored by graph distance, on-device embedding similarity, and recent activity, with the three components broken out so the ranking is **explainable, not a black box**:
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
rig_pull parseConfig
|
|
83
|
+
→ { node: "validateSchema", score: 0.81,
|
|
84
|
+
components: { structural: 0.4, semantic: 0.9, recency: 0.7 } }
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
That ranked, self-explaining retrieval — not a flat grep dump — is the difference.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
57
91
|
## Privacy & local-first
|
|
58
92
|
|
|
59
93
|
- Embeddings run locally via a small on-device model (`bge-small`). **No API key required.**
|
package/dist/rig.js
CHANGED
|
@@ -3579,16 +3579,33 @@ init_bun_adapter();
|
|
|
3579
3579
|
// package.json
|
|
3580
3580
|
var package_default = {
|
|
3581
3581
|
name: "rig-constellation",
|
|
3582
|
-
version: "0.1.
|
|
3582
|
+
version: "0.1.1",
|
|
3583
3583
|
private: false,
|
|
3584
3584
|
type: "module",
|
|
3585
3585
|
description: "Local-first semantic knowledge graph",
|
|
3586
|
+
keywords: [
|
|
3587
|
+
"mcp",
|
|
3588
|
+
"model-context-protocol",
|
|
3589
|
+
"claude-code",
|
|
3590
|
+
"cursor",
|
|
3591
|
+
"code-graph",
|
|
3592
|
+
"knowledge-graph",
|
|
3593
|
+
"code-navigation",
|
|
3594
|
+
"codebase-map",
|
|
3595
|
+
"ast",
|
|
3596
|
+
"tree-sitter",
|
|
3597
|
+
"local-first",
|
|
3598
|
+
"embeddings",
|
|
3599
|
+
"rag",
|
|
3600
|
+
"ai-agents",
|
|
3601
|
+
"developer-tools"
|
|
3602
|
+
],
|
|
3586
3603
|
author: "Astralchemist <kingolajohn55@gmail.com>",
|
|
3587
3604
|
license: "Apache-2.0",
|
|
3588
3605
|
homepage: "https://github.com/Astralchemist/rig",
|
|
3589
3606
|
repository: {
|
|
3590
3607
|
type: "git",
|
|
3591
|
-
url: "https://github.com/Astralchemist/rig.git"
|
|
3608
|
+
url: "git+https://github.com/Astralchemist/rig.git"
|
|
3592
3609
|
},
|
|
3593
3610
|
bin: {
|
|
3594
3611
|
rig: "./dist/rig.js"
|
|
@@ -10915,16 +10932,33 @@ import fastifyStatic from "@fastify/static";
|
|
|
10915
10932
|
// package.json
|
|
10916
10933
|
var package_default2 = {
|
|
10917
10934
|
name: "rig-constellation",
|
|
10918
|
-
version: "0.1.
|
|
10935
|
+
version: "0.1.1",
|
|
10919
10936
|
private: false,
|
|
10920
10937
|
type: "module",
|
|
10921
10938
|
description: "Local-first semantic knowledge graph",
|
|
10939
|
+
keywords: [
|
|
10940
|
+
"mcp",
|
|
10941
|
+
"model-context-protocol",
|
|
10942
|
+
"claude-code",
|
|
10943
|
+
"cursor",
|
|
10944
|
+
"code-graph",
|
|
10945
|
+
"knowledge-graph",
|
|
10946
|
+
"code-navigation",
|
|
10947
|
+
"codebase-map",
|
|
10948
|
+
"ast",
|
|
10949
|
+
"tree-sitter",
|
|
10950
|
+
"local-first",
|
|
10951
|
+
"embeddings",
|
|
10952
|
+
"rag",
|
|
10953
|
+
"ai-agents",
|
|
10954
|
+
"developer-tools"
|
|
10955
|
+
],
|
|
10922
10956
|
author: "Astralchemist <kingolajohn55@gmail.com>",
|
|
10923
10957
|
license: "Apache-2.0",
|
|
10924
10958
|
homepage: "https://github.com/Astralchemist/rig",
|
|
10925
10959
|
repository: {
|
|
10926
10960
|
type: "git",
|
|
10927
|
-
url: "https://github.com/Astralchemist/rig.git"
|
|
10961
|
+
url: "git+https://github.com/Astralchemist/rig.git"
|
|
10928
10962
|
},
|
|
10929
10963
|
bin: {
|
|
10930
10964
|
rig: "./dist/rig.js"
|
package/package.json
CHANGED
|
@@ -1,15 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rig-constellation",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Local-first semantic knowledge graph",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"mcp",
|
|
9
|
+
"model-context-protocol",
|
|
10
|
+
"claude-code",
|
|
11
|
+
"cursor",
|
|
12
|
+
"code-graph",
|
|
13
|
+
"knowledge-graph",
|
|
14
|
+
"code-navigation",
|
|
15
|
+
"codebase-map",
|
|
16
|
+
"ast",
|
|
17
|
+
"tree-sitter",
|
|
18
|
+
"local-first",
|
|
19
|
+
"embeddings",
|
|
20
|
+
"rag",
|
|
21
|
+
"ai-agents",
|
|
22
|
+
"developer-tools"
|
|
23
|
+
],
|
|
7
24
|
"author": "Astralchemist <kingolajohn55@gmail.com>",
|
|
8
25
|
"license": "Apache-2.0",
|
|
9
26
|
"homepage": "https://github.com/Astralchemist/rig",
|
|
10
27
|
"repository": {
|
|
11
28
|
"type": "git",
|
|
12
|
-
"url": "https://github.com/Astralchemist/rig.git"
|
|
29
|
+
"url": "git+https://github.com/Astralchemist/rig.git"
|
|
13
30
|
},
|
|
14
31
|
"bin": {
|
|
15
32
|
"rig": "./dist/rig.js"
|