Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/archive/worker.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Self-contained worker definition - discovered by generator
*/

import { SystemPaths } from '../../system/core/config/SystemPaths';
import { SystemPaths } from '../../src/system/core/config/SystemPaths';

export default {
name: 'archive',
Expand Down
6 changes: 6 additions & 0 deletions core/continuum-core/bindings/ConsciousnessContextRequest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.

/**
* Request to build consciousness context (replaces TS UnifiedConsciousness.getContext).
*/
export type ConsciousnessContextRequest = { room_id: string, current_message: string | null, skip_semantic_search: boolean, };
7 changes: 7 additions & 0 deletions core/continuum-core/bindings/ConsciousnessContextResponse.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { TemporalInfo } from "./TemporalInfo";

/**
* Response with formatted consciousness context for RAG injection.
*/
export type ConsciousnessContextResponse = { formatted_prompt: string | null, build_time_ms: number, temporal: TemporalInfo, cross_context_event_count: number, active_intention_count: number, has_peripheral_activity: boolean, };
7 changes: 7 additions & 0 deletions core/continuum-core/bindings/CorpusMemory.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { MemoryRecord } from "./MemoryRecord";

/**
* A memory with its optional embedding vector — sent from TS ORM to Rust.
*/
export type CorpusMemory = { record: MemoryRecord, embedding: Array<number> | null, };
7 changes: 7 additions & 0 deletions core/continuum-core/bindings/CorpusTimelineEvent.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { TimelineEvent } from "./TimelineEvent";

/**
* A timeline event with its optional embedding vector — sent from TS ORM to Rust.
*/
export type CorpusTimelineEvent = { event: TimelineEvent, embedding: Array<number> | null, };
23 changes: 23 additions & 0 deletions core/continuum-core/bindings/IPCFieldNames.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* IPC Field Name Constants
*
* MUST MATCH EXACTLY: workers/continuum-core/src/ipc/mod.rs constants
* Source of truth: Rust (VOICE_RESPONSE_FIELD_RESPONDER_IDS)
*
* DO NOT use magic strings - import from here.
* DO NOT modify without updating Rust constant first.
*/

/**
* Voice IPC Response Fields
* These values MUST match the constants defined in continuum-core/src/ipc/mod.rs
*/
export const VOICE_RESPONSE_FIELDS = {
/**
* Array of AI participant UUIDs (broadcast model)
* Rust constant: VOICE_RESPONSE_FIELD_RESPONDER_IDS
*/
RESPONDER_IDS: 'responder_ids',
} as const;

export type VoiceResponseField = typeof VOICE_RESPONSE_FIELDS[keyof typeof VOICE_RESPONSE_FIELDS];
6 changes: 6 additions & 0 deletions core/continuum-core/bindings/LayerTiming.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.

/**
* Timing for a single recall layer.
*/
export type LayerTiming = { layer: string, time_ms: number, results_found: number, };
6 changes: 6 additions & 0 deletions core/continuum-core/bindings/LoadCorpusResponse.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.

/**
* Response from corpus loading.
*/
export type LoadCorpusResponse = { memory_count: number, embedded_memory_count: number, timeline_event_count: number, embedded_event_count: number, load_time_ms: number, };
8 changes: 8 additions & 0 deletions core/continuum-core/bindings/MemoryRecallResponse.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { LayerTiming } from "./LayerTiming";
import type { MemoryRecord } from "./MemoryRecord";

/**
* Response from any recall operation.
*/
export type MemoryRecallResponse = { memories: Array<MemoryRecord>, recall_time_ms: number, layer_timings: Array<LayerTiming>, total_candidates: number, };
15 changes: 15 additions & 0 deletions core/continuum-core/bindings/MemoryRecord.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.

/**
* A single memory record — comes from the TS ORM, not SQL.
* Used as both input (corpus loading) and output (recall results).
*/
export type MemoryRecord = { id: string, persona_id: string, memory_type: string, content: string, context: Record<string, any>, timestamp: string, importance: number, access_count: number, tags: Array<string>, related_to: Array<string>, source: string | null, last_accessed_at: string | null,
/**
* Set by recall layers — indicates which layer found this memory
*/
layer: string | null,
/**
* Set by semantic recall — cosine similarity score
*/
relevance_score: number | null, };
10 changes: 10 additions & 0 deletions core/continuum-core/bindings/MultiLayerRecallRequest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.

/**
* Multi-layer recall request — the primary recall API.
*/
export type MultiLayerRecallRequest = { query_text: string | null, room_id: string, max_results: number,
/**
* Which layers to run (empty = all layers)
*/
layers: Array<string> | null, };
Loading
Loading