repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | export type Tier = "KNOWN" | "LEARNED" | "INFERRED"; |
| #2 | export interface Entry { |
| #3 | tier: Tier; |
| #4 | key: string; |
| #5 | value: unknown; |
| #6 | ts: number; |
| #7 | provenance?: string; |
| #8 | } |
| #9 | export interface ClawdVaultOpts { |
| #10 | workspace: string; |
| #11 | vaultDir?: string; |
| #12 | } |
| #13 | export interface VaultSnapshot { |
| #14 | owner: string; |
| #15 | tiers: Record<Tier, Entry[]>; |
| #16 | workspace_manifest: string[]; |
| #17 | } |
| #18 | export declare class ClawdVault { |
| #19 | #private; |
| #20 | constructor(opts: ClawdVaultOpts); |
| #21 | writeKnown(owner: string, entry: Omit<Entry, "tier" | "ts">): void; |
| #22 | writeLearned(owner: string, entry: Omit<Entry, "tier" | "ts">): void; |
| #23 | writeInferred(owner: string, data: object): void; |
| #24 | read(owner: string, tier: Tier): Promise<Entry[]>; |
| #25 | flushAll(): Promise<void>; |
| #26 | snapshot(owner: string): Promise<VaultSnapshot>; |
| #27 | rehydrateFromSnapshot(snapshot: Omit<VaultSnapshot, "workspace_manifest">): Promise<void>; |
| #28 | brainAsk(owner: string, query: string): Promise<string | null>; |
| #29 | } |
| #30 | //# sourceMappingURL=index.d.ts.map |