Q31: a Library page to read and manage documents and knowledge

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-08 06:26:15 -04:00
1 parent 4c475e5ceb
commit 5c8233d258
14 files changed
+620 -1

No files matched your search

+33
View File
@@ -59,6 +59,39 @@ export interface UpdateKnowledgeEntryInput {
changedById: string | null;
}
export interface DocumentVersionRecord {
version: number;
title: string;
content: string;
status: string;
changedByType: string;
changedById: string | null;
reason: string;
createdAt: string;
}
export interface KnowledgeRevisionRecord {
revision: number;
topic: string;
category: string;
content: string;
importance: string;
changedByType: string;
changedById: string | null;
reason: string;
createdAt: string;
}
export interface ListDocumentVersionsInput {
orgId: string;
documentId: string;
}
export interface ListKnowledgeRevisionsInput {
orgId: string;
entryId: string;
}
export interface DeleteKnowledgeEntryInput {
orgId: string;
entryId: string;
+8
View File
@@ -20,6 +20,11 @@ import type {
DeleteMeetingInput,
DeleteSprintInput,
CreateKnowledgeEntryInput,
UpdateKnowledgeEntryInput,
DocumentVersionRecord,
KnowledgeRevisionRecord,
ListDocumentVersionsInput,
ListKnowledgeRevisionsInput,
CreateProjectInput,
CreateWorkspaceInput,
DeleteAutomationRuleInput,
@@ -128,6 +133,9 @@ export interface DesktopApi {
deleteDocument(input: DeleteDocumentInput): Promise<DesktopResult<AppSnapshot>>;
createKnowledgeEntry(input: CreateKnowledgeEntryInput): Promise<DesktopResult<AppSnapshot>>;
deleteKnowledgeEntry(input: DeleteKnowledgeEntryInput): Promise<DesktopResult<AppSnapshot>>;
updateKnowledgeEntry(input: UpdateKnowledgeEntryInput): Promise<DesktopResult<AppSnapshot>>;
listDocumentVersions(input: ListDocumentVersionsInput): Promise<DesktopResult<DocumentVersionRecord[]>>;
listKnowledgeRevisions(input: ListKnowledgeRevisionsInput): Promise<DesktopResult<KnowledgeRevisionRecord[]>>;
createAutomationRule(input: CreateAutomationRuleInput): Promise<DesktopResult<AppSnapshot>>;
updateAutomationRule(input: UpdateAutomationRuleInput): Promise<DesktopResult<AppSnapshot>>;
deleteAutomationRule(input: DeleteAutomationRuleInput): Promise<DesktopResult<AppSnapshot>>;
+3
View File
@@ -68,6 +68,9 @@ export const IPC_CHANNELS = {
deleteDocument: "agentcompany:delete-document",
createKnowledgeEntry: "agentcompany:create-knowledge-entry",
deleteKnowledgeEntry: "agentcompany:delete-knowledge-entry",
updateKnowledgeEntry: "agentcompany:update-knowledge-entry",
listDocumentVersions: "agentcompany:list-document-versions",
listKnowledgeRevisions: "agentcompany:list-knowledge-revisions",
createAutomationRule: "agentcompany:create-automation-rule",
updateAutomationRule: "agentcompany:update-automation-rule",
deleteAutomationRule: "agentcompany:delete-automation-rule",