docs: update stale comments and prompts referencing old storage formats
CI / check (pull_request) Failing after 10m12s
CI / check (pull_request) Failing after 10m12s
- architecture-reference.ts: threads.yaml/history.jsonl/registry.yaml → variable store, storage layout updated (~/.ocas/ + ~/.uwf/) - protocol types.ts: JSDoc comments updated - thread-index.ts: serialization comment updated - util-agent context.ts: buildContext JSDoc updated Only migration code in store.ts retains old file references (needed to read legacy files).
This commit is contained in:
@@ -50,7 +50,7 @@ export function markThreadSuspended(
|
||||
};
|
||||
}
|
||||
|
||||
/** Serialize for threads.yaml — compact string when not suspended. */
|
||||
/** Serialize for variable store — compact string when not suspended. */
|
||||
export function serializeThreadIndexEntry(
|
||||
entry: ThreadIndexEntry,
|
||||
): string | Record<string, string> {
|
||||
|
||||
@@ -113,7 +113,7 @@ export type StepOutput = {
|
||||
background: boolean | null;
|
||||
};
|
||||
|
||||
/** Active thread entry in ~/.uwf/threads.yaml */
|
||||
/** Active thread entry in @uwf/thread/* variable store */
|
||||
export type ThreadIndexEntry = {
|
||||
head: CasRef;
|
||||
suspendedRole: string | null;
|
||||
@@ -210,5 +210,5 @@ export type WorkflowConfig = {
|
||||
modelOverrides: Record<Scenario, ModelAlias> | null;
|
||||
};
|
||||
|
||||
/** ~/.uwf/threads.yaml */
|
||||
/** @uwf/thread/* variable store index */
|
||||
export type ThreadsIndex = Record<ThreadId, ThreadIndexEntry>;
|
||||
|
||||
Reference in New Issue
Block a user