Merge pull request #7163 from cristinaponcela/feat/search

feat: search index sqlite
This commit is contained in:
Christian Klotz 2026-07-31 09:15:12 +03:00 • committed by GitHub
commit 9b50b046d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 1198 additions and 174 deletions

View file

@ -10,9 +10,10 @@ import {
formatSkillInvocation,
formatSkillsForSystemPrompt,
getOrThrow,
InMemorySessionRepo,
InMemorySessionStore,
ok,
parseCommandArgs,
SessionRepo,
streamProxy,
toError,
truncateHead,
@ -27,7 +28,7 @@ const stream = createAssistantMessageEventStream();
const agent = new Agent({ initialState: { model }, streamFn: streamSimple });
agent.steer({ role: "user", content: [{ type: "text", text: "queued" }], timestamp: 0 });
const repo = new InMemorySessionRepo();
const repo = new SessionRepo({ store: new InMemorySessionStore() });
const result = getOrThrow(ok({ value: 1 }));
const customMessage = createCustomMessage("note", "hello", true, undefined, "2026-01-01T00:00:00.000Z");
const llmMessages = convertToLlm([customMessage]);