ohwow 0.6.6 → 0.6.9
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.
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
-- Conversation digests: LLM-distilled summaries of older conversation segments.
|
|
2
|
+
-- Part of the tiered context system: hot (recent messages) → warm (digests) → cold (memories).
|
|
3
|
+
|
|
4
|
+
CREATE TABLE IF NOT EXISTS orchestrator_conversation_digests (
|
|
5
|
+
id TEXT PRIMARY KEY,
|
|
6
|
+
conversation_id TEXT NOT NULL,
|
|
7
|
+
workspace_id TEXT NOT NULL,
|
|
8
|
+
segment_start_idx INTEGER NOT NULL,
|
|
9
|
+
segment_end_idx INTEGER NOT NULL,
|
|
10
|
+
digest TEXT NOT NULL DEFAULT '{}', -- JSON: { decisions, facts, goals, toolOutcomes, openQuestions, summary }
|
|
11
|
+
token_count INTEGER DEFAULT 0,
|
|
12
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
CREATE INDEX IF NOT EXISTS idx_conv_digests_conversation
|
|
16
|
+
ON orchestrator_conversation_digests(conversation_id);
|
|
17
|
+
|
|
18
|
+
CREATE INDEX IF NOT EXISTS idx_conv_digests_workspace
|
|
19
|
+
ON orchestrator_conversation_digests(workspace_id);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
-- Goal checkpoints: automatically detected conversational goals with lifecycle tracking.
|
|
2
|
+
-- Goals carry across sessions for cross-conversation continuity.
|
|
3
|
+
|
|
4
|
+
CREATE TABLE IF NOT EXISTS orchestrator_goal_checkpoints (
|
|
5
|
+
id TEXT PRIMARY KEY,
|
|
6
|
+
conversation_id TEXT NOT NULL,
|
|
7
|
+
workspace_id TEXT NOT NULL,
|
|
8
|
+
goal_text TEXT NOT NULL,
|
|
9
|
+
status TEXT NOT NULL DEFAULT 'active'
|
|
10
|
+
CHECK (status IN ('active', 'achieved', 'abandoned', 'deferred')),
|
|
11
|
+
context_snapshot TEXT, -- JSON: key decisions/facts at checkpoint time
|
|
12
|
+
achieved_at TEXT,
|
|
13
|
+
message_index INTEGER,
|
|
14
|
+
created_at TEXT NOT NULL DEFAULT (datetime('now'))
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
CREATE INDEX IF NOT EXISTS idx_goal_checkpoints_workspace_status
|
|
18
|
+
ON orchestrator_goal_checkpoints(workspace_id, status);
|
|
19
|
+
|
|
20
|
+
CREATE INDEX IF NOT EXISTS idx_goal_checkpoints_conversation
|
|
21
|
+
ON orchestrator_goal_checkpoints(conversation_id);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ohwow",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.9",
|
|
4
4
|
"description": "Local-first AI business operating system. Put your business ops on autopilot with AI agents that learn, remember, and coordinate.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jesus David Oñoro Delgado <ogsus@ohwow.fun>",
|