flowchart TD
A["User Input (Voice Query)"] --> B["Responder (Talker: System 1 - Fast)"]
B -->|Simple Task| C["Quick Response (Voice Output)"]
B -->|Complex Task| D["Shared Memory (Beliefs, Plans, Context)"]
B -->|Delegate/Wait Briefly| E["Thinker (Reasoner: System 2 - Slow)"]
E -->|Reasoning, Planning, Tool Calls| D
D -->|Update Insights| B
B -->|Enhanced Response| C
subgraph "Low Latency Loop"
graph TD
A[Input] --> B[Reasoning]
B --> C[Action]
C --> D[Output]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable */ | |
// ../worker-constellation-entry/src/ai/tensor.ts | |
var TypedArrayProto = Object.getPrototypeOf(Uint8Array); | |
function isArray(value) { | |
return Array.isArray(value) || value instanceof TypedArrayProto; | |
} | |
function arrLength(obj) { | |
return obj instanceof TypedArrayProto | |
? obj.length | |
: obj |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Detect browsers | |
*/ | |
// Opera | |
var isOpera = | |
(navigator.userAgent.indexOf('Opera') || navigator.userAgent.indexOf('OPR')) != -1; | |
// Firefox | |
var isFirefox = navigator.userAgent.indexOf('Firefox') != -1; | |
// Safari | |
var isSafari = navigator.userAgent.indexOf('Safari') != -1; |