Skip to content

Keshavsharma-code/deepsleep-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepSleep-Hub (v1.0.0 THE MASTER BUILD) 🚀🧠

MIT License Version Stable Engine

The Neural Cortex

🌌 The Universal AI Memory Bridge

DeepSleep Hub is a production-grade cognitive layer that bridges the gap between Cloud AI (ChatGPT, Kimi, Claude, Gemini) and your local project memory. It is the first extension to move beyond fragile DOM scraping into Stable API Interception.


🔗 The DeepSleep Ecosystem

  • DeepSleep-beta: Our terminal-based sibling. A high-speed background agent for local dev project memory and idle-time "dreaming."

💡 Why DeepSleep? (The Use Cases)

  1. Context Continuity: You were chatting with Claude about a complex React bug. You want to switch to ChatGPT for a second opinion. DeepSleep bridges the context instantly—no copy-pasting required.
  2. Project Memory: DeepSleep remembers what you discussed 3 chats ago. It creates a seamless "Second Brain" for your AI interactions.
  3. Multi-Model Intelligence: Bridge the speed of Grok with the reasoning of GPT-4o and the creative depth of Claude 3.5 Sonnet.
  4. Offline Preservation: Your conversations are vectorized and stored locally. You own your data.

🚀 Step-by-Step Master Guide

1. Installation (The Neural Hook)

  1. Download: Get the DeepSleep-Hub-v1.0.0.zip.
  2. Extract: Unzip the folder to a safe location.
  3. Developer Mode: Open Chrome and go to chrome://extensions/.
  4. Enable: Toggle Developer Mode (top right).
  5. Load: Click Load Unpacked and select the deepsleep-hub folder.

2. Using Adaptive Recall (The Handshake)

  • Automatic Capture: Simply use ChatGPT, Claude, or Gemini as normal. DeepSleep intercepts the network traffic silently.
  • Visual Pulse: The floating 🧠 will Pulse Green when it successfully captures an API event.
  • Automatic Bridge: Open a new chat. DeepSleep will detect the empty chat box and automatically prepare the Adaptive Recall handshake.
  • The Delimiter: You will see a [DeepSleep Recall] block appear in your prompt box. Just hit Enter to bridge the context.

3. Exploring the Cortex

  1. Click the extension icon in your toolbar.
  2. Click "ENTER VISUAL CORTEX".
  3. Explore your knowledge clusters in a high-fidelity 3D 🧠 graph.

DeepSleep Technical Data Architecture


🛠 Troubleshooting: The "No-Errors" Guide

❌ Error: "Adaptive Recall not triggering"

Symptoms: No text appears in the prompt box on a new chat.

  • Step 1: Ensure you have at least one recent conversation captured (the 🧠 should pulse green during your previous chat).
  • Step 2: Refresh the page. Sometimes AI platforms (like ChatGPT) hide the input box until user interaction.
  • Step 3: Click the floating 🧠 icon. This "forces" the handake menu if automation is blocked.

❌ Error: "Status 15 / File Not Found"

Symptoms: Extension fails to load or shows a red error in chrome://extensions.

  • Step 1: This usually happens if you try to load the src/ folder instead of the root. Ensure you are loading the ENTIRE deepsleep-hub directory.
  • Step 2: Remove the extension and click Load Unpacked again.

❌ Error: "AI says it doesn't know the history"

Symptoms: You hit Send, but the AI ignores the bridged context.

  • Step 1: Verify the [DeepSleep Recall] block is actually inside the text area.
  • Step 2: Use the Clipboard Bridge fallback. Click the 🧠 icon, select a memory, and wait for the "PASTE READY" toast. Then hit Ctrl+V (or Cmd+V) in the chat box.

DeepSleep Cognitive Bridge Workflow


🏗 Industrial Engineering

DeepSleep v1.0.0 is built on:

  • TypeScript: A type-safe, compiled core.
  • API Interception: Monkey-patching window.fetch to ignore UI changes.
  • Shadow DOM: UI isolation from platform re-renders.
  • Transformers.js: On-device semantic embeddings.

DeepSleep User Journey

About

The first cinematic 3D memory layer for the AI Era. Unify ChatGPT, Claude, and Gemini into a pulsing second brain. Real-time semantic extraction & 3D visualization.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors