@anmol-srv/sigil 0.12.2 → 0.14.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.
@@ -15,202 +15,35 @@
15
15
  <div id="toasts" class="toast-stack" aria-live="polite"></div>
16
16
 
17
17
  <!-- ════════════════════════════════════════════════════════════════════
18
- ONBOARDING WIZARD (shown until SETUP_COMPLETE)
18
+ LANDING — branded splash shown on launch while we check ~/.sigil for an
19
+ existing setup, then fades to reveal setup (first run) or the dashboard.
19
20
  ════════════════════════════════════════════════════════════════════ -->
20
- <div class="onboarding" id="onboarding" hidden>
21
+ <div id="landing" class="landing">
22
+ <div class="landing-inner">
23
+ <img class="landing-mark" src="/static/design/sigil-mark.svg" alt="Sigil" width="72" height="72">
24
+ <div class="landing-name">Sigil</div>
25
+ <div class="landing-tagline">Local-first memory for your AI agents</div>
26
+ <div class="landing-spinner" aria-hidden="true"></div>
27
+ </div>
28
+ </div>
29
+
30
+ <!-- ════════════════════════════════════════════════════════════════════
31
+ NATIVE SETUP (config-store driven; replaces the legacy wizard above)
32
+ Stepped progress bar — no terminal logs. See src/gui/web/setup.js.
33
+ ════════════════════════════════════════════════════════════════════ -->
34
+ <div class="onboarding" id="setup" hidden>
21
35
  <aside class="onboarding-sidebar">
22
36
  <div class="brand">
23
37
  <img class="brand-mark" src="/static/design/sigil-mark.svg" alt="Sigil" width="20" height="20">
24
38
  <div class="brand-name">Sigil</div>
25
39
  <div class="brand-badge">setup</div>
26
40
  </div>
27
-
28
- <ol class="onboarding-steps" id="ob-steps">
29
- <li class="onboarding-step active" data-ob-step="connectors">
30
- <div class="num">1</div>
31
- <div>
32
- <div class="label">Connectors</div>
33
- <div class="desc">Editors &amp; tools</div>
34
- </div>
35
- </li>
36
- <li class="onboarding-step future" data-ob-step="llm">
37
- <div class="num">2</div>
38
- <div>
39
- <div class="label">Provider</div>
40
- <div class="desc">Fact extraction + reasoning</div>
41
- </div>
42
- </li>
43
- <li class="onboarding-step future" data-ob-step="embedding">
44
- <div class="num">3</div>
45
- <div>
46
- <div class="label">Embeddings</div>
47
- <div class="desc">Semantic search</div>
48
- </div>
49
- </li>
50
- <li class="onboarding-step future" data-ob-step="database">
51
- <div class="num">4</div>
52
- <div>
53
- <div class="label">Database</div>
54
- <div class="desc">Where memory lives</div>
55
- </div>
56
- </li>
57
- <li class="onboarding-step future" data-ob-step="finish">
58
- <div class="num">5</div>
59
- <div>
60
- <div class="label">All set</div>
61
- <div class="desc">Open the dashboard</div>
62
- </div>
63
- </li>
64
- </ol>
65
-
41
+ <ol class="onboarding-steps" id="setup-rail"></ol>
66
42
  <div class="spacer"></div>
67
43
  <p class="text-xs muted">Running locally on this machine. No telemetry; no cloud account.</p>
68
44
  </aside>
69
-
70
45
  <main class="onboarding-content">
71
- <!-- ── Step 1: Connectors ──────────────────────────────────────── -->
72
- <section class="wizard-step active" data-step="connectors">
73
- <h1>Connect your tools.</h1>
74
- <p class="lede">Sigil installs memory hooks into the AI coding tools you already use — one shared brain across Claude Code, Cursor, Codex, Kiro, and any MCP client. Click to connect; you can change this any time.</p>
75
-
76
- <div class="connector-grid" id="ob-connectors"><div class="muted">detecting installed tools…</div></div>
77
-
78
- <div class="wizard-actions">
79
- <div class="spacer"></div>
80
- <button class="btn ghost" data-ob-next="llm" id="ob-connectors-skip">Skip for now</button>
81
- <button class="btn primary large" data-ob-next="llm">Continue</button>
82
- </div>
83
- </section>
84
-
85
- <!-- ── Step 4: Database (linear guided flow) ───────────────────── -->
86
- <section class="wizard-step" data-step="database">
87
- <h1>Set up your database.</h1>
88
- <p class="lede">Sigil stores every fact, document, and embedding in Postgres with pgvector. Let Sigil create a local one for you, or point it at a database you control.</p>
89
-
90
- <div class="provider-card-grid" id="db-mode-cards">
91
- <label class="provider-card" data-db-mode="docker" id="ob-db-mode-docker" hidden>
92
- <input type="radio" name="db-mode" value="docker" hidden>
93
- <span class="name">Local (automatic) <span class="badge info" style="margin-left:8px;">RECOMMENDED</span></span>
94
- <span class="hint">Sigil runs a pgvector Postgres in Docker for you. Zero config.</span>
95
- </label>
96
- <label class="provider-card" data-db-mode="url">
97
- <input type="radio" name="db-mode" value="url" hidden checked>
98
- <span class="name">Connection URL</span>
99
- <span class="hint">Neon, Supabase, RDS, Render, Railway, CockroachDB.</span>
100
- </label>
101
- <label class="provider-card" data-db-mode="fields">
102
- <input type="radio" name="db-mode" value="fields" hidden>
103
- <span class="name">Local Postgres install</span>
104
- <span class="hint">Existing host + port + user + password.</span>
105
- </label>
106
- </div>
107
-
108
- <p class="muted text-sm" id="ob-db-docker-note" style="margin-top: var(--s-2);" hidden></p>
109
-
110
- <div id="ob-db-url" style="margin-top: var(--s-5);">
111
- <label class="field">
112
- <span class="label">Postgres connection URL</span>
113
- <input type="text" id="ob-db-url-input" placeholder="postgres://user:pass@host.neon.tech/db?sslmode=require" autocomplete="off">
114
- <span class="help">Paste from Neon dashboard / Supabase settings / RDS endpoint.</span>
115
- </label>
116
- </div>
117
-
118
- <div id="ob-db-fields" style="display:none; margin-top: var(--s-5);">
119
- <div class="row-2col">
120
- <label class="field"><span class="label">Host</span><input type="text" id="ob-db-host" value="localhost" autocomplete="off"></label>
121
- <label class="field"><span class="label">Port</span><input type="number" id="ob-db-port" value="5432"></label>
122
- </div>
123
- <div class="row-2col">
124
- <label class="field"><span class="label">Database</span><input type="text" id="ob-db-db" value="sigil" autocomplete="off"></label>
125
- <label class="field"><span class="label">User</span><input type="text" id="ob-db-user" value="sigil_app" autocomplete="off"></label>
126
- </div>
127
- <label class="field"><span class="label">Password</span><input type="password" id="ob-db-pass" autocomplete="off"></label>
128
- </div>
129
-
130
- <div class="flex-row" style="margin-top: var(--s-4);">
131
- <button class="btn primary" id="ob-db-setup">Set up database</button>
132
- </div>
133
-
134
- <!-- Linear flow rows (filled by JS) — replaces the old toggling buttons -->
135
- <div class="db-flow" id="ob-db-flow" hidden></div>
136
-
137
- <div class="wizard-actions">
138
- <button class="btn ghost" data-ob-back="embedding">Back</button>
139
- <div class="spacer"></div>
140
- <button class="btn primary" data-ob-next="finish" id="ob-db-next" disabled>Continue</button>
141
- </div>
142
- </section>
143
-
144
- <!-- ── Step 3: LLM provider ────────────────────────────────────── -->
145
- <section class="wizard-step" data-step="llm">
146
- <h1>Pick an LLM provider.</h1>
147
- <p class="lede">Sigil uses an LLM to extract facts from your conversations, decide whether new memory contradicts old, and synthesize search results.</p>
148
-
149
- <div class="provider-card-grid" id="ob-llm-cards"><div class="muted">loading providers…</div></div>
150
-
151
- <div id="ob-llm-fields" style="margin-top: var(--s-5);"></div>
152
-
153
- <div class="flex-row" style="margin-top: var(--s-3);">
154
- <button class="btn primary" id="ob-llm-save">Save and test</button>
155
- </div>
156
- <pre id="ob-llm-result" class="result" hidden></pre>
157
-
158
- <div class="wizard-actions">
159
- <button class="btn ghost" data-ob-back="connectors">Back</button>
160
- <div class="spacer"></div>
161
- <button class="btn primary" data-ob-next="embedding" id="ob-llm-next" disabled>Continue</button>
162
- </div>
163
- </section>
164
-
165
- <!-- ── Step 4: Embeddings ──────────────────────────────────────── -->
166
- <section class="wizard-step" data-step="embedding">
167
- <h1>Pick an embedding provider.</h1>
168
- <p class="lede">Vector embeddings power semantic search across your memory. The model choice fixes the vector shape — changing it later requires re-embedding every fact.</p>
169
-
170
- <div class="provider-card-grid" id="ob-emb-cards"><div class="muted">loading providers…</div></div>
171
- <div id="ob-emb-fields" style="margin-top: var(--s-5);"></div>
172
-
173
- <div class="flex-row" style="margin-top: var(--s-3);">
174
- <button class="btn primary" id="ob-emb-save">Save and test</button>
175
- </div>
176
- <pre id="ob-emb-result" class="result" hidden></pre>
177
-
178
- <div class="wizard-actions">
179
- <button class="btn ghost" data-ob-back="llm">Back</button>
180
- <div class="spacer"></div>
181
- <button class="btn primary" data-ob-next="database" id="ob-emb-next" disabled>Continue</button>
182
- </div>
183
- </section>
184
-
185
- <!-- ── Step 5: Finish ──────────────────────────────────────────── -->
186
- <section class="wizard-step" data-step="finish">
187
- <h1>You're set up.</h1>
188
- <p class="lede">Sigil's daemon is running on this machine. Open the dashboard to add memories, browse the knowledge base, and (later) connect more devices.</p>
189
-
190
- <div class="kv" style="margin-bottom: var(--s-5);">
191
- <div class="row"><div class="k">Daemon</div><div class="v" id="ob-finish-daemon">—</div></div>
192
- <div class="row"><div class="k">Database</div><div class="v" id="ob-finish-db">—</div></div>
193
- <div class="row"><div class="k">LLM</div><div class="v" id="ob-finish-llm">—</div></div>
194
- <div class="row"><div class="k">Embeddings</div><div class="v" id="ob-finish-emb">—</div></div>
195
- </div>
196
-
197
- <h2>Next steps</h2>
198
- <ul class="kv">
199
- <div class="row"><div class="k">CLI</div><div class="v" style="font-family: var(--font-ui);"><code>sigil remember "..."</code>, <code>sigil search "..."</code>, <code>sigil status</code></div></div>
200
- <div class="row"><div class="k">Claude Code</div><div class="v" style="font-family: var(--font-ui);">Run <code>sigil register</code> on the command line to add Sigil as an MCP server.</div></div>
201
- <div class="row"><div class="k">Other devices</div><div class="v" style="font-family: var(--font-ui);">From the Devices tab in the dashboard, create a pairing code and run <code>sigil join …</code> on the joining device.</div></div>
202
- </ul>
203
-
204
- <label class="field" style="flex-direction:row; align-items:center; gap: var(--s-2); margin-top: var(--s-5);">
205
- <input type="checkbox" id="ob-always-up" checked>
206
- <span class="label" style="text-transform:none; letter-spacing:0;">Keep Sigil always running — start on login, auto-restart on crash or reboot (recommended)</span>
207
- </label>
208
-
209
- <div class="wizard-actions">
210
- <div class="spacer"></div>
211
- <button class="btn primary large" id="ob-complete">Open the dashboard →</button>
212
- </div>
213
- </section>
46
+ <section class="wizard-step active" id="setup-main"></section>
214
47
  </main>
215
48
  </div>
216
49