@lifeaitools/clauth 0.3.5 → 0.3.6

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.
@@ -180,6 +180,13 @@ function dashboardHtml(port, whitelist) {
180
180
  <script>
181
181
  const BASE = "http://127.0.0.1:${port}";
182
182
 
183
+ const SERVICE_HINTS = {
184
+ "neo4j": "neo4j+s://username:password@instance.databases.neo4j.io",
185
+ "supabase-db": "postgresql://postgres:password@db.ref.supabase.co:5432/postgres",
186
+ "r2": "accountId:accessKeyId:secretAccessKey",
187
+ "namecheap": "apiUser:apiKey",
188
+ };
189
+
183
190
  const KEY_URLS = {
184
191
  "github": "https://github.com/settings/tokens",
185
192
  "vercel": "https://vercel.com/account/tokens",
@@ -300,7 +307,8 @@ async function loadServices() {
300
307
  </div>
301
308
  <div class="set-panel" id="set-panel-\${s.name}">
302
309
  <label>New value for <strong>\${s.name}</strong> — paste here, never in chat</label>
303
- <textarea class="set-input" id="set-input-\${s.name}" placeholder="Paste credential…" spellcheck="false"></textarea>
310
+ <textarea class="set-input" id="set-input-\${s.name}" placeholder="\${SERVICE_HINTS[s.name] || "Paste credential…"}" spellcheck="false"></textarea>
311
+ \${SERVICE_HINTS[s.name] ? \`<div style="font-size:.72rem;color:#475569;margin-top:4px;font-family:'Courier New',monospace">\${SERVICE_HINTS[s.name]}</div>\` : ""}
304
312
  <div class="set-foot">
305
313
  <button class="btn btn-save" onclick="saveKey('\${s.name}')">Save</button>
306
314
  <button class="btn btn-cancel" onclick="toggleSet('\${s.name}')">Cancel</button>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifeaitools/clauth",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Hardware-bound credential vault for the LIFEAI infrastructure stack",
5
5
  "type": "module",
6
6
  "bin": {