zam-core 0.7.1 → 0.8.0
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.
- package/dist/cli/index.js +2046 -189
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +107 -6
- package/dist/index.js +331 -65
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -537,9 +537,10 @@ declare function deleteCardForUser(db: Database, tokenId: string, userId: string
|
|
|
537
537
|
*
|
|
538
538
|
* Ported from the PoC's due-tokens command.
|
|
539
539
|
*
|
|
540
|
-
* When `domain` is set, only due cards
|
|
540
|
+
* When `domain` or `knowledgeContext` is set, only matching due cards are
|
|
541
|
+
* returned.
|
|
541
542
|
*/
|
|
542
|
-
declare function getDueCards(db: Database, userId: string, now?: string, domain?: string): Promise<DueCard[]>;
|
|
543
|
+
declare function getDueCards(db: Database, userId: string, now?: string, domain?: string, knowledgeContext?: string): Promise<DueCard[]>;
|
|
543
544
|
/**
|
|
544
545
|
* Get all blocked cards for a user.
|
|
545
546
|
*
|
|
@@ -548,6 +549,68 @@ declare function getDueCards(db: Database, userId: string, now?: string, domain?
|
|
|
548
549
|
*/
|
|
549
550
|
declare function getBlockedCards(db: Database, userId: string): Promise<BlockedCard[]>;
|
|
550
551
|
|
|
552
|
+
/**
|
|
553
|
+
* Knowledge Context repository — typed wrappers around the contexts and token_contexts tables.
|
|
554
|
+
*
|
|
555
|
+
* A context represents a first-class facet (e.g. work, school, private) that can have
|
|
556
|
+
* attributes like default generation language.
|
|
557
|
+
*/
|
|
558
|
+
|
|
559
|
+
interface KnowledgeContext {
|
|
560
|
+
id: string;
|
|
561
|
+
name: string;
|
|
562
|
+
label: string | null;
|
|
563
|
+
language: string | null;
|
|
564
|
+
created_at: string;
|
|
565
|
+
}
|
|
566
|
+
interface CreateKnowledgeContextInput {
|
|
567
|
+
name: string;
|
|
568
|
+
label?: string | null;
|
|
569
|
+
language?: string | null;
|
|
570
|
+
}
|
|
571
|
+
interface UpdateKnowledgeContextInput {
|
|
572
|
+
name?: string;
|
|
573
|
+
label?: string | null;
|
|
574
|
+
language?: string | null;
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* Create a new knowledge context.
|
|
578
|
+
*/
|
|
579
|
+
declare function createKnowledgeContext(db: Database, input: CreateKnowledgeContextInput): Promise<KnowledgeContext>;
|
|
580
|
+
/**
|
|
581
|
+
* Retrieve a knowledge context by its unique name.
|
|
582
|
+
*/
|
|
583
|
+
declare function getKnowledgeContextByName(db: Database, name: string): Promise<KnowledgeContext | undefined>;
|
|
584
|
+
/**
|
|
585
|
+
* Retrieve a knowledge context by its ULID.
|
|
586
|
+
*/
|
|
587
|
+
declare function getKnowledgeContextById(db: Database, id: string): Promise<KnowledgeContext | undefined>;
|
|
588
|
+
/**
|
|
589
|
+
* List all knowledge contexts ordered by creation date (oldest first) or name.
|
|
590
|
+
*/
|
|
591
|
+
declare function listKnowledgeContexts(db: Database): Promise<KnowledgeContext[]>;
|
|
592
|
+
/**
|
|
593
|
+
* Update mutable fields on a knowledge context.
|
|
594
|
+
*/
|
|
595
|
+
declare function updateKnowledgeContext(db: Database, id: string, updates: UpdateKnowledgeContextInput): Promise<KnowledgeContext>;
|
|
596
|
+
/**
|
|
597
|
+
* Delete a knowledge context. Cascades deletion of associated token mappings.
|
|
598
|
+
*/
|
|
599
|
+
declare function deleteKnowledgeContext(db: Database, id: string): Promise<void>;
|
|
600
|
+
/**
|
|
601
|
+
* Assign a token to a knowledge context.
|
|
602
|
+
* Safe to call repeatedly (noop if already assigned).
|
|
603
|
+
*/
|
|
604
|
+
declare function assignTokenToContext(db: Database, tokenId: string, contextId: string): Promise<void>;
|
|
605
|
+
/**
|
|
606
|
+
* Remove a token from a knowledge context.
|
|
607
|
+
*/
|
|
608
|
+
declare function unassignTokenFromContext(db: Database, tokenId: string, contextId: string): Promise<void>;
|
|
609
|
+
/**
|
|
610
|
+
* List all knowledge contexts assigned to a given token.
|
|
611
|
+
*/
|
|
612
|
+
declare function listContextsForToken(db: Database, tokenId: string): Promise<KnowledgeContext[]>;
|
|
613
|
+
|
|
551
614
|
/**
|
|
552
615
|
* Prerequisite repository — typed wrappers around the prerequisites table.
|
|
553
616
|
*
|
|
@@ -562,6 +625,7 @@ interface Prerequisite {
|
|
|
562
625
|
/** A prerequisite row joined with the token it points to. */
|
|
563
626
|
interface PrerequisiteWithToken extends Prerequisite {
|
|
564
627
|
slug: string;
|
|
628
|
+
title: string;
|
|
565
629
|
concept: string;
|
|
566
630
|
domain: string;
|
|
567
631
|
bloom_level: number;
|
|
@@ -603,6 +667,7 @@ declare function getDependents(db: Database, tokenId: string): Promise<Prerequis
|
|
|
603
667
|
interface NeighborhoodToken {
|
|
604
668
|
id: string;
|
|
605
669
|
slug: string;
|
|
670
|
+
title: string;
|
|
606
671
|
concept: string;
|
|
607
672
|
domain: string;
|
|
608
673
|
bloom_level: number;
|
|
@@ -802,6 +867,7 @@ type SymbiosisMode = "shadowing" | "copilot" | "autonomy";
|
|
|
802
867
|
interface Token {
|
|
803
868
|
id: string;
|
|
804
869
|
slug: string;
|
|
870
|
+
title: string;
|
|
805
871
|
concept: string;
|
|
806
872
|
domain: string;
|
|
807
873
|
bloom_level: BloomLevel$1;
|
|
@@ -817,6 +883,7 @@ interface Token {
|
|
|
817
883
|
}
|
|
818
884
|
interface CreateTokenInput {
|
|
819
885
|
slug: string;
|
|
886
|
+
title?: string;
|
|
820
887
|
concept: string;
|
|
821
888
|
domain?: string;
|
|
822
889
|
bloom_level?: BloomLevel$1;
|
|
@@ -828,6 +895,7 @@ interface CreateTokenInput {
|
|
|
828
895
|
topic_id?: string | null;
|
|
829
896
|
}
|
|
830
897
|
interface UpdateTokenInput {
|
|
898
|
+
title?: string | null;
|
|
831
899
|
concept?: string;
|
|
832
900
|
domain?: string;
|
|
833
901
|
bloom_level?: BloomLevel$1;
|
|
@@ -840,6 +908,15 @@ interface UpdateTokenInput {
|
|
|
840
908
|
}
|
|
841
909
|
interface ListTokensOptions {
|
|
842
910
|
domain?: string;
|
|
911
|
+
/**
|
|
912
|
+
* Filter by domain prefix using `/` as separator (e.g. "company-team").
|
|
913
|
+
* Matches exact or startsWith(prefix + "/").
|
|
914
|
+
*/
|
|
915
|
+
domainPrefix?: string;
|
|
916
|
+
/**
|
|
917
|
+
* Filter by knowledge context name (e.g. "work-company").
|
|
918
|
+
*/
|
|
919
|
+
knowledgeContext?: string;
|
|
843
920
|
}
|
|
844
921
|
interface TokenDeleteImpact {
|
|
845
922
|
cards: number;
|
|
@@ -908,13 +985,14 @@ declare function deleteToken(db: Database, slug: string): Promise<DeleteTokenRes
|
|
|
908
985
|
*/
|
|
909
986
|
declare function findTokens(db: Database, query: string): Promise<ScoredToken[]>;
|
|
910
987
|
/**
|
|
911
|
-
* List all tokens, optionally filtered by domain.
|
|
912
|
-
* Results are ordered by bloom_level then slug.
|
|
988
|
+
* List all tokens, optionally filtered by domain or knowledge context.
|
|
989
|
+
* Results are ordered by bloom_level then domain then slug (or bloom_level then slug if domain-filtered).
|
|
913
990
|
*/
|
|
914
991
|
declare function listTokens(db: Database, options?: ListTokensOptions): Promise<Token[]>;
|
|
915
992
|
interface PersonalCard {
|
|
916
993
|
tokenId: string;
|
|
917
994
|
slug: string;
|
|
995
|
+
title: string;
|
|
918
996
|
concept: string;
|
|
919
997
|
domain: string;
|
|
920
998
|
bloomLevel: BloomLevel$1;
|
|
@@ -938,14 +1016,28 @@ interface PersonalCard {
|
|
|
938
1016
|
topicId: string | null;
|
|
939
1017
|
}
|
|
940
1018
|
declare function slugify(text: string): string;
|
|
1019
|
+
/**
|
|
1020
|
+
* Strip domain prefix (using / separator) from slug for display.
|
|
1021
|
+
*/
|
|
1022
|
+
declare function getShortSlug(slug: string, domainPrefix?: string | null): string;
|
|
1023
|
+
/**
|
|
1024
|
+
* Primary display name for a token: human title if present, else short slug.
|
|
1025
|
+
* Never falls back to concept (which is a spoiler).
|
|
1026
|
+
*/
|
|
1027
|
+
declare function getDisplayTitle(t: {
|
|
1028
|
+
title?: string | null;
|
|
1029
|
+
slug: string;
|
|
1030
|
+
}, activeDomainScope?: string | null): string;
|
|
941
1031
|
declare function generateTokenSlug(db: Database, domain: string, concept: string, question?: string | null): Promise<string>;
|
|
942
1032
|
declare function listPersonalCards(db: Database, userId: string, options?: {
|
|
943
1033
|
query?: string;
|
|
944
1034
|
domain?: string;
|
|
1035
|
+
knowledgeContext?: string;
|
|
945
1036
|
}): Promise<PersonalCard[]>;
|
|
946
1037
|
interface CurriculumCardInput {
|
|
947
1038
|
question: string;
|
|
948
1039
|
concept: string;
|
|
1040
|
+
title?: string;
|
|
949
1041
|
domain: string;
|
|
950
1042
|
source_link?: string | null;
|
|
951
1043
|
context?: string;
|
|
@@ -982,6 +1074,7 @@ interface FoundationProposalInput {
|
|
|
982
1074
|
question: string;
|
|
983
1075
|
concept: string;
|
|
984
1076
|
domain: string;
|
|
1077
|
+
title?: string;
|
|
985
1078
|
context?: string;
|
|
986
1079
|
bloom_level?: number;
|
|
987
1080
|
symbiosis_mode?: string | null;
|
|
@@ -1002,6 +1095,7 @@ interface SourceProposalInput {
|
|
|
1002
1095
|
question: string;
|
|
1003
1096
|
concept: string;
|
|
1004
1097
|
domain: string;
|
|
1098
|
+
title?: string;
|
|
1005
1099
|
bloom_level: number;
|
|
1006
1100
|
symbiosis_mode: string;
|
|
1007
1101
|
excerpt: string;
|
|
@@ -1054,7 +1148,9 @@ interface EmbeddedTokenRow {
|
|
|
1054
1148
|
* vector derives from exactly this string — never the slug, which is an
|
|
1055
1149
|
* identifier, not meaning.
|
|
1056
1150
|
*/
|
|
1057
|
-
declare function embeddingContentForToken(t: Pick<Token, "concept" | "question" | "domain">
|
|
1151
|
+
declare function embeddingContentForToken(t: Pick<Token, "concept" | "question" | "domain"> & {
|
|
1152
|
+
title?: string | null;
|
|
1153
|
+
}): string;
|
|
1058
1154
|
declare function computeContentHash(text: string): string;
|
|
1059
1155
|
/**
|
|
1060
1156
|
* Encode a vector as a little-endian float32 BLOB. Builds a fresh buffer (no
|
|
@@ -1850,11 +1946,13 @@ interface ReviewQueueOptions {
|
|
|
1850
1946
|
maxNew?: number;
|
|
1851
1947
|
maxReviews?: number;
|
|
1852
1948
|
now?: Date;
|
|
1949
|
+
knowledgeContext?: string;
|
|
1853
1950
|
}
|
|
1854
1951
|
interface ReviewQueueItem {
|
|
1855
1952
|
cardId: string;
|
|
1856
1953
|
tokenId: string;
|
|
1857
1954
|
slug: string;
|
|
1955
|
+
title: string;
|
|
1858
1956
|
concept: string;
|
|
1859
1957
|
domain: string;
|
|
1860
1958
|
bloomLevel: number;
|
|
@@ -2102,6 +2200,7 @@ interface WorkspaceConfig {
|
|
|
2102
2200
|
sourceControl?: WorkspaceSourceControl;
|
|
2103
2201
|
knowledgeScopes?: string[];
|
|
2104
2202
|
defaultAgent?: string;
|
|
2203
|
+
activeKnowledgeContext?: string;
|
|
2105
2204
|
}
|
|
2106
2205
|
/** Load ~/.zam/config.json. Returns an empty config if missing or unreadable. */
|
|
2107
2206
|
declare function loadInstallConfig(path?: string): InstallConfig;
|
|
@@ -2136,6 +2235,8 @@ declare function removeConfiguredWorkspace(id: string, path?: string): Workspace
|
|
|
2136
2235
|
* good for moving snapshots between machines"), never for behavior.
|
|
2137
2236
|
*/
|
|
2138
2237
|
declare function detectSyncProvider(dir: string): string | null;
|
|
2238
|
+
declare function getActiveWorkspaceContext(path?: string): string | undefined;
|
|
2239
|
+
declare function setActiveWorkspaceContext(contextName: string | undefined, path?: string): boolean;
|
|
2139
2240
|
|
|
2140
2241
|
interface InstallResult {
|
|
2141
2242
|
success: boolean;
|
|
@@ -2233,4 +2334,4 @@ declare function resolveAllBeliefPaths(db: Database): Promise<string[]>;
|
|
|
2233
2334
|
*/
|
|
2234
2335
|
declare function resolveAllGoalPaths(db: Database): Promise<string[]>;
|
|
2235
2336
|
|
|
2236
|
-
export { type ADOConfig, type ADOCredentials, type AgentSkill, type AnalysisResult, type ApplySessionSynthesisInput, type ApplySessionSynthesisResult, BUILT_IN_SENSITIVE_MATCHERS, type BloomLevel$1 as BloomLevel, type CaptureDecision, type CaptureDenialReason, type CaptureRequest, type Card, type CardDeletionImpact, type CardState$1 as CardState, type CascadeBlockResult, type CommandRecord, type CommandSequence, type ConfirmFoundationsResult, type ConnectionOptions, type CreateAgentSkillInput, type CreateGoalInput, type CreateReviewInput, type CreateSessionInput, type CreateTokenInput, type Credentials, type CurriculumCardInput, DEFAULT_OBSERVER_POLICY, DEFAULT_REVIEW_CONTEXT_MAX_CHARS, type Database, type DatabaseProvider, type DatabaseTargetInfo, type DatabaseValue, type DeleteCardResult, type DeleteTokenResult, type DiscoveryOptions, type DomainCompetence, type EmbeddedTokenRow, type EmbeddingCoverage, type EmbeddingStaleness, type EvaluateInput, type EvaluateResult, type ExecuteReviewActionInput, type ExecutionContext, type FSRSParameters, type FoundationProposalInput, type FoundationSuggestion, type Goal, type GoalFrontmatter, type GoalStatus, type GoalSummary, HOMEBREW_CASK, type HybridScoredToken, type HybridSearchOptions, type ImportCurriculumResult, type ImportResult, type InstallChannel, type InstallConfig, type InstallMode, type InstallPlan, type InstallResult, type LocalLLMRunner, type LogStepInput, type MachineAiConfig, type MachineProviderRecord, type MachineRoleBinding, type MonitorEvent, type Neighborhood, type NeighborhoodToken, OBSERVER_POLICY_UNSET_HINT, OBSERVER_POLICY_VERSION, type ObservationRating, type ObserverConsent, type ObserverPolicy, type ObserverRetention, type ObserverScope, type ObserverSettingKey, type OllamaDetectionOptions, type PersonalCard, type PrepareSessionSynthesisInput, type Prerequisite, type PrerequisiteWithToken, type PromptInput, REVIEW_CONTEXT_CACHE_TTL_MS, type Rating, type RecallPrompt, type RemoteDatabaseOptions, type RepoPaths, type ResolvedCaptureTarget, type ResolvedReference, type ReviewActionResult, type ReviewActionType, type ReviewContext, type ReviewLog, type ReviewQueue, type ReviewQueueItem, type ReviewQueueOptions, type RunResult, SIDECAR_POLICY_FILE, SNAPSHOT_VERSION, type SchedulingCard, type Session, type SessionStep, type SessionSummary, type SessionSynthesisCandidate, type SessionSynthesisEvidence, type SessionSynthesisPreview, type SessionSynthesisRecord, type SidecarPrivacyPolicy, type SkillProposal, type SkillSource, type SnapshotManifest, type SourceProposalInput, type SplitProposalInput, type Statement, type SuggestFoundationsOptions, type SupportedLocale, type SymbiosisMode, type SynthesisConfidence, type SystemProfile, type Token, type TokenDeleteImpact, type TokenEmbedding, type TokenNeedingEmbedding, type TokenPattern, type TranslationKey, type TursoCredentials, UI_OBSERVATION_PROTOCOL_VERSION, type UiActionType, type UiApplicationContext, type UiCandidateToken, type UiEvidenceRef, type UiEvidenceType, type UiObservationKind, type UiObservationReport, type UiObservedAction, type UnblockResult, type UpdateActionKind, type UpdateCardInput, type UpdateDecision, type UpdateStep, type UpdateStepKind, type UpdateTokenInput, type UserSetting, type UserStats, WINGET_PACKAGE_ID, type WorkItem, type WorkspaceConfig, type WorkspaceKind, type WorkspaceSourceControl, addPrerequisite, analyzeObservation, appendUiObservationReport, applySessionSynthesis, buildAncestorMap, buildReviewQueue, buildUiSynthesisCandidates, cascadeBlock, clearADOCredentials, clearProviderApiKey, clearReviewContextCache, clearTursoCredentials, compareVersions, computeContentHash, confirmCardSplit, confirmFoundations, confirmSourceImport, cosineSimilarity, createAgentSkill, createFSRS, createGoal, createToken, decidePostCapture, decidePreCapture, decideUpdate, decodeEmbedding, deleteCardForUser, deleteSetting, deleteToken, deprecateToken, detectSyncProvider, detectSystemLocale, discoverSkills, distributeGlobalSkills, embeddingContentForToken, encodeEmbedding, endSession, ensureCard, ensureMonitorDir, ensureUiObserverDir, evaluateRating, executeReviewAction, exportSnapshot, extractTasks, extractTokenRefs, fetchActiveWorkItems, findTokens, generateBashHooks, generateBashUnhooks, generateConceptFreeCue, generatePowerShellHooks, generatePowerShellUnhooks, generatePrompt, generateTokenSlug, generateZshHooks, generateZshUnhooks, getADOCredentials, getActiveWorkspace, getActiveWorkspaceId, getAgentSkill, getAllSettings, getAllSettingsDetailed, getBlockedCards, getCard, getCardById, getCardDeletionImpact, getConfiguredWorkspaces, getDatabaseTargetInfo, getDefaultDbPath, getDependents, getDomainCompetence, getDueCards, getEmbeddingCoverage, getGoal, getGoalTree, getInstallChannel, getInstallMode, getMachineAiConfig, getMonitorDir, getMonitorLogStats, getMonitorPath, getPackageSkillPath, getPrerequisites, getProviderApiKey, getRepoPaths, getReviewsForCard, getReviewsForUser, getSessionSummary, getSessionSynthesisRecords, getSetting, getSystemProfile, getTokenById, getTokenBySlug, getTokenDeleteImpact, getTokenEmbedding, getTokenNeighborhood, getTursoCredentials, getUiObservationPath, getUiObserverDir, getUserStats, hasCommand, importCurriculumCards, importSnapshot, injectShellHooks, installFastFlowLM, installOllama, installOpenCode, interleave, isObserverPolicyConfigured, isOllamaInstalled, isUiObservationReport, listAgentSkills, listEmbeddedTokens, listGoals, listPersonalCards, listProviderApiKeyRefs, listTokens, listTokensNeedingEmbedding, loadADOConfig, loadCredentials, loadInstallConfig, logReview, logStep, matchBuiltInSensitive, matchDenylist, matchesFilePath, monitorLogExists, normalizeLocale, normalizePath, openDatabase, openDatabaseWithSync, openRemoteDatabase, pairCommands, parseGoalFile, parseMonitorLog, parseObserverList, parseObserverPolicy, parseSnapshot, parseUiObservationLog, planOpenCodeInstall, planUpdate, prepareLocalModel, prepareSessionSynthesis, readMonitorLog, readUiObservationLog, removeConfiguredWorkspace, resolveAllBeliefPaths, resolveAllGoalPaths, resolveObserverPolicy, resolveOllamaCommand, resolveReference, resolveRepoPath, resolveReviewContext, saveConfiguredWorkspaces, saveCredentials, saveInstallConfig, saveMachineAiConfig, searchTokensHybrid, serializeGoal, setADOCredentials, setActiveWorkspaceId, setInstallChannel, setInstallMode, setProviderApiKey, setSetting, setTursoCredentials, slugify, startSession, suggestFoundations, syncObserverSidecarPolicy, t, toSidecarPrivacyPolicy, uiObservationLogExists, uiObservationTimeSpan, unblockReady, updateCard, updateGoalStatus, updateToken, upsertConfiguredWorkspace, upsertTokenEmbedding, verifySnapshot, wouldCreateCycle, writeMonitorEvent };
|
|
2337
|
+
export { type ADOConfig, type ADOCredentials, type AgentSkill, type AnalysisResult, type ApplySessionSynthesisInput, type ApplySessionSynthesisResult, BUILT_IN_SENSITIVE_MATCHERS, type BloomLevel$1 as BloomLevel, type CaptureDecision, type CaptureDenialReason, type CaptureRequest, type Card, type CardDeletionImpact, type CardState$1 as CardState, type CascadeBlockResult, type CommandRecord, type CommandSequence, type ConfirmFoundationsResult, type ConnectionOptions, type CreateAgentSkillInput, type CreateGoalInput, type CreateKnowledgeContextInput, type CreateReviewInput, type CreateSessionInput, type CreateTokenInput, type Credentials, type CurriculumCardInput, DEFAULT_OBSERVER_POLICY, DEFAULT_REVIEW_CONTEXT_MAX_CHARS, type Database, type DatabaseProvider, type DatabaseTargetInfo, type DatabaseValue, type DeleteCardResult, type DeleteTokenResult, type DiscoveryOptions, type DomainCompetence, type EmbeddedTokenRow, type EmbeddingCoverage, type EmbeddingStaleness, type EvaluateInput, type EvaluateResult, type ExecuteReviewActionInput, type ExecutionContext, type FSRSParameters, type FoundationProposalInput, type FoundationSuggestion, type Goal, type GoalFrontmatter, type GoalStatus, type GoalSummary, HOMEBREW_CASK, type HybridScoredToken, type HybridSearchOptions, type ImportCurriculumResult, type ImportResult, type InstallChannel, type InstallConfig, type InstallMode, type InstallPlan, type InstallResult, type KnowledgeContext, type ListTokensOptions, type LocalLLMRunner, type LogStepInput, type MachineAiConfig, type MachineProviderRecord, type MachineRoleBinding, type MonitorEvent, type Neighborhood, type NeighborhoodToken, OBSERVER_POLICY_UNSET_HINT, OBSERVER_POLICY_VERSION, type ObservationRating, type ObserverConsent, type ObserverPolicy, type ObserverRetention, type ObserverScope, type ObserverSettingKey, type OllamaDetectionOptions, type PersonalCard, type PrepareSessionSynthesisInput, type Prerequisite, type PrerequisiteWithToken, type PromptInput, REVIEW_CONTEXT_CACHE_TTL_MS, type Rating, type RecallPrompt, type RemoteDatabaseOptions, type RepoPaths, type ResolvedCaptureTarget, type ResolvedReference, type ReviewActionResult, type ReviewActionType, type ReviewContext, type ReviewLog, type ReviewQueue, type ReviewQueueItem, type ReviewQueueOptions, type RunResult, SIDECAR_POLICY_FILE, SNAPSHOT_VERSION, type SchedulingCard, type Session, type SessionStep, type SessionSummary, type SessionSynthesisCandidate, type SessionSynthesisEvidence, type SessionSynthesisPreview, type SessionSynthesisRecord, type SidecarPrivacyPolicy, type SkillProposal, type SkillSource, type SnapshotManifest, type SourceProposalInput, type SplitProposalInput, type Statement, type SuggestFoundationsOptions, type SupportedLocale, type SymbiosisMode, type SynthesisConfidence, type SystemProfile, type Token, type TokenDeleteImpact, type TokenEmbedding, type TokenNeedingEmbedding, type TokenPattern, type TranslationKey, type TursoCredentials, UI_OBSERVATION_PROTOCOL_VERSION, type UiActionType, type UiApplicationContext, type UiCandidateToken, type UiEvidenceRef, type UiEvidenceType, type UiObservationKind, type UiObservationReport, type UiObservedAction, type UnblockResult, type UpdateActionKind, type UpdateCardInput, type UpdateDecision, type UpdateKnowledgeContextInput, type UpdateStep, type UpdateStepKind, type UpdateTokenInput, type UserSetting, type UserStats, WINGET_PACKAGE_ID, type WorkItem, type WorkspaceConfig, type WorkspaceKind, type WorkspaceSourceControl, addPrerequisite, analyzeObservation, appendUiObservationReport, applySessionSynthesis, assignTokenToContext, buildAncestorMap, buildReviewQueue, buildUiSynthesisCandidates, cascadeBlock, clearADOCredentials, clearProviderApiKey, clearReviewContextCache, clearTursoCredentials, compareVersions, computeContentHash, confirmCardSplit, confirmFoundations, confirmSourceImport, cosineSimilarity, createAgentSkill, createFSRS, createGoal, createKnowledgeContext, createToken, decidePostCapture, decidePreCapture, decideUpdate, decodeEmbedding, deleteCardForUser, deleteKnowledgeContext, deleteSetting, deleteToken, deprecateToken, detectSyncProvider, detectSystemLocale, discoverSkills, distributeGlobalSkills, embeddingContentForToken, encodeEmbedding, endSession, ensureCard, ensureMonitorDir, ensureUiObserverDir, evaluateRating, executeReviewAction, exportSnapshot, extractTasks, extractTokenRefs, fetchActiveWorkItems, findTokens, generateBashHooks, generateBashUnhooks, generateConceptFreeCue, generatePowerShellHooks, generatePowerShellUnhooks, generatePrompt, generateTokenSlug, generateZshHooks, generateZshUnhooks, getADOCredentials, getActiveWorkspace, getActiveWorkspaceContext, getActiveWorkspaceId, getAgentSkill, getAllSettings, getAllSettingsDetailed, getBlockedCards, getCard, getCardById, getCardDeletionImpact, getConfiguredWorkspaces, getDatabaseTargetInfo, getDefaultDbPath, getDependents, getDisplayTitle, getDomainCompetence, getDueCards, getEmbeddingCoverage, getGoal, getGoalTree, getInstallChannel, getInstallMode, getKnowledgeContextById, getKnowledgeContextByName, getMachineAiConfig, getMonitorDir, getMonitorLogStats, getMonitorPath, getPackageSkillPath, getPrerequisites, getProviderApiKey, getRepoPaths, getReviewsForCard, getReviewsForUser, getSessionSummary, getSessionSynthesisRecords, getSetting, getShortSlug, getSystemProfile, getTokenById, getTokenBySlug, getTokenDeleteImpact, getTokenEmbedding, getTokenNeighborhood, getTursoCredentials, getUiObservationPath, getUiObserverDir, getUserStats, hasCommand, importCurriculumCards, importSnapshot, injectShellHooks, installFastFlowLM, installOllama, installOpenCode, interleave, isObserverPolicyConfigured, isOllamaInstalled, isUiObservationReport, listAgentSkills, listContextsForToken, listEmbeddedTokens, listGoals, listKnowledgeContexts, listPersonalCards, listProviderApiKeyRefs, listTokens, listTokensNeedingEmbedding, loadADOConfig, loadCredentials, loadInstallConfig, logReview, logStep, matchBuiltInSensitive, matchDenylist, matchesFilePath, monitorLogExists, normalizeLocale, normalizePath, openDatabase, openDatabaseWithSync, openRemoteDatabase, pairCommands, parseGoalFile, parseMonitorLog, parseObserverList, parseObserverPolicy, parseSnapshot, parseUiObservationLog, planOpenCodeInstall, planUpdate, prepareLocalModel, prepareSessionSynthesis, readMonitorLog, readUiObservationLog, removeConfiguredWorkspace, resolveAllBeliefPaths, resolveAllGoalPaths, resolveObserverPolicy, resolveOllamaCommand, resolveReference, resolveRepoPath, resolveReviewContext, saveConfiguredWorkspaces, saveCredentials, saveInstallConfig, saveMachineAiConfig, searchTokensHybrid, serializeGoal, setADOCredentials, setActiveWorkspaceContext, setActiveWorkspaceId, setInstallChannel, setInstallMode, setProviderApiKey, setSetting, setTursoCredentials, slugify, startSession, suggestFoundations, syncObserverSidecarPolicy, t, toSidecarPrivacyPolicy, uiObservationLogExists, uiObservationTimeSpan, unassignTokenFromContext, unblockReady, updateCard, updateGoalStatus, updateKnowledgeContext, updateToken, upsertConfiguredWorkspace, upsertTokenEmbedding, verifySnapshot, wouldCreateCycle, writeMonitorEvent };
|