@senguoyun/dsh-arkme 0.1.35 → 0.1.36
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/assets/windows/arkme-credential-helper.exe +0 -0
- package/assets/windows/manifest.json +18 -2
- package/cordis.patch.yml +1 -0
- package/docs/consumer-plugin-contract.md +39 -0
- package/lib/client.js +16211 -6527
- package/lib/client.js.map +1 -1
- package/lib/index.js +672 -98
- package/lib/persistent-extension.js +1 -1
- package/lib/{persistent-runtime-e4gV6dqq.js → persistent-runtime-Bc6X98km.js} +3637 -669
- package/lib/sdk.js +28 -4
- package/lib/types/arkme-service.d.ts +48 -11
- package/lib/types/arkme-service.d.ts.map +1 -1
- package/lib/types/chat-attention.d.ts +27 -0
- package/lib/types/chat-attention.d.ts.map +1 -0
- package/lib/types/client/ArkmeArkoSurface.d.ts +4 -0
- package/lib/types/client/ArkmeArkoSurface.d.ts.map +1 -1
- package/lib/types/client/ArkmeBackgroundSoundWaveform.d.ts +11 -0
- package/lib/types/client/ArkmeBackgroundSoundWaveform.d.ts.map +1 -0
- package/lib/types/client/ArkmeBotConversationSurface.d.ts.map +1 -1
- package/lib/types/client/ArkmeBotCreateDialog.d.ts +2 -1
- package/lib/types/client/ArkmeBotCreateDialog.d.ts.map +1 -1
- package/lib/types/client/ArkmeBotSettingsPanel.d.ts.map +1 -1
- package/lib/types/client/ArkmeFooterDropdown.d.ts.map +1 -1
- package/lib/types/client/ArkmeGroupChatControls.d.ts +4 -2
- package/lib/types/client/ArkmeGroupChatControls.d.ts.map +1 -1
- package/lib/types/client/ArkmeLongArticleDialog.d.ts.map +1 -1
- package/lib/types/client/ArkmeMessageActions.d.ts +41 -0
- package/lib/types/client/ArkmeMessageActions.d.ts.map +1 -0
- package/lib/types/client/ArkmeMessageSnapshotDialog.d.ts +13 -3
- package/lib/types/client/ArkmeMessageSnapshotDialog.d.ts.map +1 -1
- package/lib/types/client/ArkmeNotificationPermissionBanner.d.ts +9 -0
- package/lib/types/client/ArkmeNotificationPermissionBanner.d.ts.map +1 -0
- package/lib/types/client/ArkmePersistentShell.d.ts.map +1 -1
- package/lib/types/client/ArkmeProductNavigation.d.ts.map +1 -1
- package/lib/types/client/ArkmeQuickAdd.d.ts +3 -1
- package/lib/types/client/ArkmeQuickAdd.d.ts.map +1 -1
- package/lib/types/client/ArkmeRecordingSurface.d.ts +19 -4
- package/lib/types/client/ArkmeRecordingSurface.d.ts.map +1 -1
- package/lib/types/client/ArkmeSearchSurface.d.ts.map +1 -1
- package/lib/types/client/ArkmeSettingsSurface.d.ts +20 -0
- package/lib/types/client/ArkmeSettingsSurface.d.ts.map +1 -1
- package/lib/types/client/ArkmeSidebar.d.ts +37 -0
- package/lib/types/client/ArkmeSidebar.d.ts.map +1 -1
- package/lib/types/client/ArkmeStartupAuthGate.d.ts.map +1 -1
- package/lib/types/client/ArkmeTopicCreateDialog.d.ts.map +1 -1
- package/lib/types/client/ArkmeVirtualWorkspace.d.ts +6 -1
- package/lib/types/client/ArkmeVirtualWorkspace.d.ts.map +1 -1
- package/lib/types/client/ArkmeVoiceContent.d.ts +6 -0
- package/lib/types/client/ArkmeVoiceContent.d.ts.map +1 -1
- package/lib/types/client/api.d.ts +4 -1
- package/lib/types/client/api.d.ts.map +1 -1
- package/lib/types/client/attention-summary-store.d.ts +22 -0
- package/lib/types/client/attention-summary-store.d.ts.map +1 -0
- package/lib/types/client/bot-chat-directory-projection.d.ts.map +1 -1
- package/lib/types/client/chat-directory-store.d.ts +1 -0
- package/lib/types/client/chat-directory-store.d.ts.map +1 -1
- package/lib/types/client/composer-draft-store.d.ts.map +1 -1
- package/lib/types/client/desktop-notification-runtime.d.ts +34 -1
- package/lib/types/client/desktop-notification-runtime.d.ts.map +1 -1
- package/lib/types/client/file-send-tasks.d.ts +3 -0
- package/lib/types/client/file-send-tasks.d.ts.map +1 -1
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/navigation-cache.d.ts.map +1 -1
- package/lib/types/client/notification-activation-store.d.ts +12 -2
- package/lib/types/client/notification-activation-store.d.ts.map +1 -1
- package/lib/types/client/read-intent-visibility.d.ts +7 -0
- package/lib/types/client/read-intent-visibility.d.ts.map +1 -0
- package/lib/types/client/realtime-client-events.d.ts +1 -0
- package/lib/types/client/realtime-client-events.d.ts.map +1 -1
- package/lib/types/client/record-capture-location.d.ts +70 -5
- package/lib/types/client/record-capture-location.d.ts.map +1 -1
- package/lib/types/client/record-input-capture.d.ts +266 -0
- package/lib/types/client/record-input-capture.d.ts.map +1 -0
- package/lib/types/client/recordings/ArkmeRecordingImportDialog.d.ts +15 -0
- package/lib/types/client/recordings/ArkmeRecordingImportDialog.d.ts.map +1 -0
- package/lib/types/client/recordings/ArkmeRecordingSpeakerEditor.d.ts +27 -0
- package/lib/types/client/recordings/ArkmeRecordingSpeakerEditor.d.ts.map +1 -0
- package/lib/types/client/recordings/ArkmeRecordingTimeline.d.ts +58 -0
- package/lib/types/client/recordings/ArkmeRecordingTimeline.d.ts.map +1 -0
- package/lib/types/client/recordings/recording-empty-illustration.d.ts +2 -0
- package/lib/types/client/recordings/recording-empty-illustration.d.ts.map +1 -0
- package/lib/types/client/recordings/recording-import-selection.d.ts +19 -0
- package/lib/types/client/recordings/recording-import-selection.d.ts.map +1 -0
- package/lib/types/client/recordings/recording-speaker-presentation.d.ts +2 -0
- package/lib/types/client/recordings/recording-speaker-presentation.d.ts.map +1 -0
- package/lib/types/client/recordings/useRecordingPlayback.d.ts +14 -0
- package/lib/types/client/recordings/useRecordingPlayback.d.ts.map +1 -0
- package/lib/types/client/source-identity.d.ts +2 -1
- package/lib/types/client/source-identity.d.ts.map +1 -1
- package/lib/types/client/ui-controller.d.ts +5 -0
- package/lib/types/client/ui-controller.d.ts.map +1 -1
- package/lib/types/file-transfer-contract.d.ts +14 -2
- package/lib/types/file-transfer-contract.d.ts.map +1 -1
- package/lib/types/file-transfer-owner.d.ts +1 -1
- package/lib/types/file-transfer-owner.d.ts.map +1 -1
- package/lib/types/host-api.d.ts.map +1 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/local-database.d.ts +9 -2
- package/lib/types/local-database.d.ts.map +1 -1
- package/lib/types/message-action-contract.d.ts +117 -0
- package/lib/types/message-action-contract.d.ts.map +1 -0
- package/lib/types/record-background-sound.d.ts +7 -0
- package/lib/types/record-background-sound.d.ts.map +1 -0
- package/lib/types/recording-import-contract.d.ts +71 -0
- package/lib/types/recording-import-contract.d.ts.map +1 -0
- package/lib/types/recording-import-coordinator.d.ts +34 -0
- package/lib/types/recording-import-coordinator.d.ts.map +1 -0
- package/lib/types/recording-import-probe.d.ts +19 -0
- package/lib/types/recording-import-probe.d.ts.map +1 -0
- package/lib/types/recording-import-ref.d.ts +7 -0
- package/lib/types/recording-import-ref.d.ts.map +1 -0
- package/lib/types/recording-import-routes.d.ts +23 -0
- package/lib/types/recording-import-routes.d.ts.map +1 -0
- package/lib/types/recording-import-shared.d.ts +19 -0
- package/lib/types/recording-import-shared.d.ts.map +1 -0
- package/lib/types/recording-presentation.d.ts +14 -1
- package/lib/types/recording-presentation.d.ts.map +1 -1
- package/lib/types/recording-time.d.ts +5 -0
- package/lib/types/recording-time.d.ts.map +1 -0
- package/lib/types/rich-media-routes.d.ts.map +1 -1
- package/lib/types/sdk/index.d.ts +9 -3
- package/lib/types/sdk/index.d.ts.map +1 -1
- package/lib/types/services/arko-service.d.ts +3 -1
- package/lib/types/services/arko-service.d.ts.map +1 -1
- package/lib/types/services/background-sound-membership-service.d.ts +17 -0
- package/lib/types/services/background-sound-membership-service.d.ts.map +1 -0
- package/lib/types/services/background-sound-preference-service.d.ts +14 -0
- package/lib/types/services/background-sound-preference-service.d.ts.map +1 -0
- package/lib/types/services/bot-conversation-service.d.ts +2 -1
- package/lib/types/services/bot-conversation-service.d.ts.map +1 -1
- package/lib/types/services/chat-realtime-service.d.ts +28 -1
- package/lib/types/services/chat-realtime-service.d.ts.map +1 -1
- package/lib/types/services/chat-service.d.ts +20 -2
- package/lib/types/services/chat-service.d.ts.map +1 -1
- package/lib/types/services/contact-directory-service.d.ts +6 -0
- package/lib/types/services/contact-directory-service.d.ts.map +1 -1
- package/lib/types/services/desktop-attention-bridge.d.ts +61 -0
- package/lib/types/services/desktop-attention-bridge.d.ts.map +1 -0
- package/lib/types/services/file-transfers.d.ts +13 -1
- package/lib/types/services/file-transfers.d.ts.map +1 -1
- package/lib/types/services/group-service.d.ts +7 -6
- package/lib/types/services/group-service.d.ts.map +1 -1
- package/lib/types/services/media-service.d.ts +17 -0
- package/lib/types/services/media-service.d.ts.map +1 -1
- package/lib/types/services/message-action-infrastructure.d.ts +29 -0
- package/lib/types/services/message-action-infrastructure.d.ts.map +1 -0
- package/lib/types/services/message-action-service.d.ts +53 -0
- package/lib/types/services/message-action-service.d.ts.map +1 -0
- package/lib/types/services/record-service.d.ts +2 -0
- package/lib/types/services/record-service.d.ts.map +1 -1
- package/lib/types/services/recording-import-gateway.d.ts +33 -0
- package/lib/types/services/recording-import-gateway.d.ts.map +1 -0
- package/lib/types/services/recording-service.d.ts +83 -4
- package/lib/types/services/recording-service.d.ts.map +1 -1
- package/lib/types/services/service.d.ts +15 -0
- package/lib/types/services/service.d.ts.map +1 -1
- package/lib/types/services/source-service.d.ts +8 -1
- package/lib/types/services/source-service.d.ts.map +1 -1
- package/lib/types/state-store.d.ts +8 -0
- package/lib/types/state-store.d.ts.map +1 -1
- package/lib/types/tools/business/account/background-sound.d.ts +4 -0
- package/lib/types/tools/business/account/background-sound.d.ts.map +1 -0
- package/lib/types/tools/business/account/index.d.ts.map +1 -1
- package/lib/types/tools/business/media/files.d.ts.map +1 -1
- package/lib/types/tools/ports/groups.d.ts +2 -2
- package/lib/types/tools/ports/groups.d.ts.map +1 -1
- package/lib/types/tools/ports/profile.d.ts +3 -1
- package/lib/types/tools/ports/profile.d.ts.map +1 -1
- package/lib/types/tools/prompts/business.d.ts.map +1 -1
- package/lib/types/tools/registry/registrar.d.ts.map +1 -1
- package/lib/types/tools/shared/conversational-confirmation.d.ts +15 -2
- package/lib/types/tools/shared/conversational-confirmation.d.ts.map +1 -1
- package/lib/types/types.d.ts +124 -6
- package/lib/types/types.d.ts.map +1 -1
- package/package.json +7 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ArkmeSessionCredentials } from '../keychain-store.js';
|
|
2
|
-
import type { ArkmeGroupAvatarPresentation, ArkmeSelfRecordItem, ArkmeSelfSummary, ArkmeSourceDirectory, ArkmeSourceDirectoryPolicyResult, ArkmeSourceItem, ArkmeSourceKind, ArkmeSourceList, ArkmeTimelineItem, ArkmeTopicCreateResult, ArkmeTopicDissolveResult, ArkmeTopicDissolveTask, ArkmeTopicHierarchyMoveResult, ArkmeTopicRenameResult } from '../types.js';
|
|
2
|
+
import type { ArkmeChatAttentionSummary, ArkmeGroupAvatarPresentation, ArkmeSelfRecordItem, ArkmeSelfSummary, ArkmeSourceDirectory, ArkmeSourceDirectoryPolicyResult, ArkmeSourceItem, ArkmeSourceKind, ArkmeSourceList, ArkmeTimelineItem, ArkmeTopicCreateResult, ArkmeTopicDissolveResult, ArkmeTopicDissolveTask, ArkmeTopicHierarchyMoveResult, ArkmeTopicRenameResult } from '../types.js';
|
|
3
3
|
import { ProfileService, type ArkmePublicProfile } from './profile-service.js';
|
|
4
4
|
import { ArkmePrivacyVisibilityService } from './privacy-visibility.js';
|
|
5
5
|
import { ServiceRuntime } from './service.js';
|
|
@@ -53,6 +53,13 @@ export declare class SourceService {
|
|
|
53
53
|
private updateTopicDissolveProgress;
|
|
54
54
|
cachedChatSource(userId: number, chatSessionUid: string): ArkmeSourceItem | undefined;
|
|
55
55
|
cachedChatSourceByKey(cacheKey: string): ArkmeSourceItem | undefined;
|
|
56
|
+
private projectChatSourceAttention;
|
|
57
|
+
private storeChatSourceByKey;
|
|
58
|
+
/**
|
|
59
|
+
* Server-owned tray summary. `summary` covers every visible conversation;
|
|
60
|
+
* paginated `items` from this endpoint must never be summed as the Dock total.
|
|
61
|
+
*/
|
|
62
|
+
chatUnreadBadgeSummary(signal?: AbortSignal): Promise<ArkmeChatAttentionSummary>;
|
|
56
63
|
/** Resolve a remote-search owner into the same viewer-bound source used by the conversation UI. */
|
|
57
64
|
searchTargetSource(sourceKind: number, sourceUid: string, displayNameInput: string, signal?: AbortSignal): Promise<ArkmeSourceItem | undefined>;
|
|
58
65
|
setChatSource(userId: number, chatSessionUid: string, source: ArkmeSourceItem): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-service.d.ts","sourceRoot":"","sources":["../../../src/services/source-service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,KAAK,EACV,4BAA4B,EAC5B,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,gCAAgC,EAChC,eAAe,EACf,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EAExB,sBAAsB,EACtB,6BAA6B,EAC7B,sBAAsB,EACvB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,cAAc,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC9E,OAAO,EAAE,6BAA6B,EAAqD,MAAM,yBAAyB,CAAA;AAC1H,OAAO,EAAoB,cAAc,EAA4B,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"source-service.d.ts","sourceRoot":"","sources":["../../../src/services/source-service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,KAAK,EACV,yBAAyB,EACzB,4BAA4B,EAC5B,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,gCAAgC,EAChC,eAAe,EACf,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EAExB,sBAAsB,EACtB,6BAA6B,EAC7B,sBAAsB,EAC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O,CAAC,YAAY;IAcpB,OAAO,CAAC,0BAA0B;IAIlC,OAAO,CAAC,0BAA0B;CAenC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { ArkmeLongArticleDraft, ArkmePendingWrite } from './types.js';
|
|
2
|
+
import { type RecordingImportAdmission, type RecordingImportJob } from './recording-import-contract.js';
|
|
3
|
+
export declare const RECORDING_IMPORT_TERMINAL_HISTORY_LIMIT = 100;
|
|
2
4
|
export declare class ArkmeStateStore {
|
|
3
5
|
private readonly path;
|
|
4
6
|
private state;
|
|
@@ -9,6 +11,12 @@ export declare class ArkmeStateStore {
|
|
|
9
11
|
putPending(userId: number, pending: ArkmePendingWrite): Promise<void>;
|
|
10
12
|
getLongArticleDraft(userId: number, sourceRef: string, itemUid?: string): Promise<ArkmeLongArticleDraft | undefined>;
|
|
11
13
|
putLongArticleDraft(userId: number, draft: ArkmeLongArticleDraft): Promise<void>;
|
|
14
|
+
listRecordingImportJobs(userId: number): Promise<RecordingImportJob[]>;
|
|
15
|
+
listAllRecordingImportJobs(): Promise<RecordingImportJob[]>;
|
|
16
|
+
getRecordingImportJob(userId: number, jobId: string): Promise<RecordingImportJob | undefined>;
|
|
17
|
+
putRecordingImportJob(userId: number, job: RecordingImportJob): Promise<void>;
|
|
18
|
+
admitRecordingImportJob(userId: number, job: RecordingImportJob, unresolvedLimit: number): Promise<RecordingImportAdmission>;
|
|
19
|
+
replaceRecordingImportJob(userId: number, job: RecordingImportJob, expectedRevision: number): Promise<boolean>;
|
|
12
20
|
removeLongArticleDraft(userId: number, sourceRef: string, itemUid?: string): Promise<void>;
|
|
13
21
|
markAttempt(userId: number, recordUid: string, error: string): Promise<void>;
|
|
14
22
|
removePending(userId: number, recordUid: string): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state-store.d.ts","sourceRoot":"","sources":["../../src/state-store.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,E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CAAC;IAU7E,uBAAuB,CAC3B,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,kBAAkB,EACvB,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,wBAAwB,CAAC;IAgC9B,yBAAyB,CAC7B,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,kBAAkB,EACvB,gBAAgB,EAAE,MAAM,GACvB,OAAO,CAAC,OAAO,CAAC;IAcb,sBAAsB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU1F,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU5E,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;YAYvD,IAAI;YASJ,MAAM;YAQN,MAAM;YAMN,IAAI;YAYJ,KAAK;CAWpB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const backgroundSoundStatusToolModule: import("../../contract/module.js").ArkmeCoreToolModule;
|
|
2
|
+
export declare const disableBackgroundSoundToolModule: import("../../contract/module.js").ArkmeCoreToolModule;
|
|
3
|
+
export declare const backgroundSoundPreferenceToolModules: import("../../contract/module.js").ArkmeCoreToolModule[];
|
|
4
|
+
//# sourceMappingURL=background-sound.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background-sound.d.ts","sourceRoot":"","sources":["../../../../../src/tools/business/account/background-sound.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,+BAA+B,wDAoB1C,CAAA;AAEF,eAAO,MAAM,gCAAgC,wDAkC3C,CAAA;AAEF,eAAO,MAAM,oCAAoC,0DAGhD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/tools/business/account/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/tools/business/account/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAK/D,eAAO,MAAM,0BAA0B,EAAE,SAAS,eAAe,EAIhE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../../../src/tools/business/media/files.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../../../src/tools/business/media/files.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,eAAe,0DAoF3B,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ArkmeGroupMemberAddResult, ArkmeGroupMemberCandidateList, ArkmeGroupProjectionResult, ArkmeSourceItem } from '../../types.js';
|
|
2
2
|
export interface ArkmeGroupToolPort {
|
|
3
3
|
createGroup(title: string, clientMutationId: string, options?: {
|
|
4
4
|
signal?: AbortSignal;
|
|
5
5
|
}): Promise<ArkmeSourceItem>;
|
|
6
|
-
renameGroup(sourceRef: string, title: string, signal?: AbortSignal): Promise<
|
|
6
|
+
renameGroup(sourceRef: string, title: string, signal?: AbortSignal): Promise<ArkmeGroupProjectionResult>;
|
|
7
7
|
listGroupMemberCandidates(sourceRef: string, options?: {
|
|
8
8
|
query?: string;
|
|
9
9
|
limit?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../../src/tools/ports/groups.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../../src/tools/ports/groups.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EAAE,6BAA6B,EAAE,0BAA0B,EAAE,eAAe,EACtG,MAAM,gBAAgB,CAAA;AAEvB,MAAM,WAAW,kBAAkB;IACjC,WAAW,CACT,KAAK,EAAE,MAAM,EACb,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,WAAW,CAAA;KAAE,GACjC,OAAO,CAAC,eAAe,CAAC,CAAA;IAC3B,WAAW,CACT,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,0BAA0B,CAAC,CAAA;IACtC,yBAAyB,CACvB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QAAC,MAAM,CAAC,EAAE,WAAW,CAAA;KAAE,GACtG,OAAO,CAAC,6BAA6B,CAAC,CAAA;IACzC,eAAe,CACb,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,SAAS,MAAM,EAAE,EAChC,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,yBAAyB,CAAC,CAAA;CACtC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import type { ArkmeIdMutationResult, ArkmeProviderCapabilities, ArkmeUserProfileSnapshot } from '../../types.js';
|
|
1
|
+
import type { ArkmeBackgroundSoundPreference, ArkmeIdMutationResult, ArkmeProviderCapabilities, ArkmeUserProfileSnapshot } from '../../types.js';
|
|
2
2
|
export interface ArkmeProfileToolPort {
|
|
3
3
|
providerCapabilities(): ArkmeProviderCapabilities;
|
|
4
4
|
cachedProfile(): Promise<ArkmeUserProfileSnapshot>;
|
|
5
5
|
refreshProfile(): Promise<ArkmeUserProfileSnapshot>;
|
|
6
6
|
setArkmeIdOnce(name: string): Promise<ArkmeIdMutationResult>;
|
|
7
|
+
backgroundSoundPreference(signal?: AbortSignal): Promise<ArkmeBackgroundSoundPreference>;
|
|
8
|
+
updateBackgroundSoundPreference(enabled: boolean, signal?: AbortSignal, expectedUserId?: number): Promise<ArkmeBackgroundSoundPreference>;
|
|
7
9
|
}
|
|
8
10
|
//# sourceMappingURL=profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../src/tools/ports/profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../src/tools/ports/profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AAEhJ,MAAM,WAAW,oBAAoB;IACnC,oBAAoB,IAAI,yBAAyB,CAAA;IACjD,aAAa,IAAI,OAAO,CAAC,wBAAwB,CAAC,CAAA;IAClD,cAAc,IAAI,OAAO,CAAC,wBAAwB,CAAC,CAAA;IACnD,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;IAC5D,yBAAyB,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAA;IACxF,+BAA+B,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,WAAW,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAAA;CAC1I"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../src/tools/prompts/business.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../src/tools/prompts/business.ts"],"names":[],"mappings":"AAuDA,eAAO,MAAM,4BAA4B,QAEkK,CAAA;AA2D3M,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,OAAO,GAAG,MAAM,CAE/D;AAED,eAAO,MAAM,0BAA0B,QAA2B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registrar.d.ts","sourceRoot":"","sources":["../../../../src/tools/registry/registrar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAE5D,OAAO,KAAK,EAAmB,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"registrar.d.ts","sourceRoot":"","sources":["../../../../src/tools/registry/registrar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAE5D,OAAO,KAAK,EAAmB,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAqC3E,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,kBAAkB,EACzB,OAAO,GAAE,gBAA6B,GACrC,cAAc,EAAE,CAGlB;AAiHD,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,OAAO,EACZ,KAAK,EAAE,cAAc,EACrB,OAAO,GAAE,gBAA6B,GACrC,IAAI,CAwBN"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import type { Agent } from '@deepseek-ai/dsh-agent';
|
|
2
|
+
import type { ToolDefinition } from '@deepseek-ai/dsh-tools';
|
|
2
3
|
export interface ArkmeConversationalConfirmationRequired {
|
|
3
4
|
status: 'confirmation_required';
|
|
4
5
|
question: string;
|
|
5
6
|
expiresAtMillis: number;
|
|
6
7
|
}
|
|
8
|
+
type ToolArguments = Parameters<ToolDefinition['execute']>[0];
|
|
9
|
+
type ToolExecution = Parameters<ToolDefinition['execute']>[1];
|
|
10
|
+
type ToolExecutionResult = ReturnType<ToolDefinition['execute']>;
|
|
11
|
+
export interface ArkmeConfirmationContextHooks<PreparedContext = unknown> {
|
|
12
|
+
prepare(args: ToolArguments, exec: ToolExecution): PreparedContext | Promise<PreparedContext>;
|
|
13
|
+
execute(args: ToolArguments, exec: ToolExecution, preparedContext: PreparedContext): ToolExecutionResult;
|
|
14
|
+
}
|
|
15
|
+
/** Adds Host-only prepare/commit state without exposing it in model arguments or Tool schemas. */
|
|
16
|
+
export declare function withArkmeConfirmationContext<PreparedContext>(definition: ToolDefinition, hooks: ArkmeConfirmationContextHooks<PreparedContext>): ToolDefinition;
|
|
17
|
+
export declare function arkmeConfirmationContextHooks(definition: ToolDefinition): ArkmeConfirmationContextHooks | undefined;
|
|
7
18
|
export declare const ARKME_CONVERSATIONAL_CONFIRMATION_PROMPT: string;
|
|
8
19
|
export declare class ArkmeConversationalConfirmation {
|
|
9
20
|
private readonly pending;
|
|
@@ -14,16 +25,18 @@ export declare class ArkmeConversationalConfirmation {
|
|
|
14
25
|
now?: () => number;
|
|
15
26
|
confirmationTtlMillis?: number;
|
|
16
27
|
});
|
|
17
|
-
prepareOrExecute<Result>(input: {
|
|
28
|
+
prepareOrExecute<Result, PreparedContext = undefined>(input: {
|
|
18
29
|
agent: Agent;
|
|
19
30
|
operationKey: string;
|
|
20
31
|
arguments: unknown;
|
|
21
32
|
question: string;
|
|
22
|
-
|
|
33
|
+
prepare?: () => PreparedContext | Promise<PreparedContext>;
|
|
34
|
+
execute(preparedContext: PreparedContext | undefined): Promise<Result>;
|
|
23
35
|
}): Promise<ArkmeConversationalConfirmationRequired | Result>;
|
|
24
36
|
private prepare;
|
|
25
37
|
private clearExpired;
|
|
26
38
|
}
|
|
27
39
|
export declare function hasLaterDirectUserMessage(agent: Agent, preparedAfterSeq: number): boolean;
|
|
28
40
|
export declare function lastSessionSeq(agent: Agent): number;
|
|
41
|
+
export {};
|
|
29
42
|
//# sourceMappingURL=conversational-confirmation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversational-confirmation.d.ts","sourceRoot":"","sources":["../../../../src/tools/shared/conversational-confirmation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"conversational-confirmation.d.ts","sourceRoot":"","sources":["../../../../src/tools/shared/conversational-confirmation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAK5D,MAAM,WAAW,uCAAuC;IACtD,MAAM,EAAE,uBAAuB,CAAA;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,MAAM,CAAA;CACxB;AAYD,KAAK,aAAa,GAAG,UAAU,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AAC7D,KAAK,aAAa,GAAG,UAAU,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AAC7D,KAAK,mBAAmB,GAAG,UAAU,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAA;AAIhE,MAAM,WAAW,6BAA6B,CAAC,eAAe,GAAG,OAAO;IACtE,OAAO,CAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,aAAa,GAAG,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;IAC7F,OAAO,CAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,aAAa,EAAE,eAAe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types/types.d.ts
CHANGED
|
@@ -24,7 +24,10 @@ export interface ArkmeClientConfig {
|
|
|
24
24
|
jiwoScanLoginEnabled: boolean;
|
|
25
25
|
callAssetBasePath: string;
|
|
26
26
|
voiceprintEnrollmentPath: string;
|
|
27
|
+
recordingImportPath: string;
|
|
28
|
+
mediaPath: string;
|
|
27
29
|
shareWebsite: string;
|
|
30
|
+
recordingWorkbenchEnabled: boolean;
|
|
28
31
|
}
|
|
29
32
|
export type ArkmeBillingPaymentMethod = 'alipay_pc_web' | 'wechat_native';
|
|
30
33
|
export type ArkmeBillingPaymentProvider = 'alipay' | 'wechat';
|
|
@@ -393,6 +396,10 @@ export interface ArkmeBotSummary {
|
|
|
393
396
|
latestMessagePreview?: string;
|
|
394
397
|
/** Unread count projected from the canonical Chat conversation, when Chat owns the Bot conversation. */
|
|
395
398
|
unreadCount?: number;
|
|
399
|
+
/** Attention count after applying the canonical Chat notification policy. */
|
|
400
|
+
badgeUnreadCount?: number;
|
|
401
|
+
/** Whether new-message notifications are allowed by the canonical Chat policy. */
|
|
402
|
+
notificationAllowed?: boolean;
|
|
396
403
|
/** Notification mute projection from the canonical Chat conversation, when available. */
|
|
397
404
|
isMuted?: boolean;
|
|
398
405
|
/** Account-bound opaque reference resolved through image.read. */
|
|
@@ -412,6 +419,13 @@ export interface ArkmeBotConversationMessage {
|
|
|
412
419
|
status: string;
|
|
413
420
|
createdAtMillis: number;
|
|
414
421
|
attachments: ArkmeBotConversationAttachment[];
|
|
422
|
+
/** Account-, owner- and conversation-bound capability; absent for unstable or owner-incomplete messages. */
|
|
423
|
+
messageActionRef?: string;
|
|
424
|
+
messageActionCapabilities?: ArkmeMessageActionCapabilities;
|
|
425
|
+
}
|
|
426
|
+
export interface ArkmeMessageActionCapabilities {
|
|
427
|
+
copyLink: boolean;
|
|
428
|
+
forward: boolean;
|
|
415
429
|
}
|
|
416
430
|
/** Safe attachment metadata; source file identifiers and remote URLs remain Host-owned. */
|
|
417
431
|
export interface ArkmeBotConversationAttachment {
|
|
@@ -941,6 +955,8 @@ export interface ArkmeProviderCapabilities {
|
|
|
941
955
|
messageReport?: true;
|
|
942
956
|
richContentRead: boolean;
|
|
943
957
|
richContentSend: boolean;
|
|
958
|
+
/** Explicit text background-sound descriptors are supported by direct and durable rich sends. */
|
|
959
|
+
backgroundSound?: true;
|
|
944
960
|
fileUpload: boolean;
|
|
945
961
|
outgoingCall: true;
|
|
946
962
|
/** Browser-safe call-history list/detail and explicit summary retry are available. */
|
|
@@ -1103,6 +1119,10 @@ export interface ArkmeSourceItem {
|
|
|
1103
1119
|
latestPreview?: string;
|
|
1104
1120
|
activeAtMillis: number;
|
|
1105
1121
|
unreadCount: number;
|
|
1122
|
+
/** Attention count after applying mute/notification policy; raw unreadCount remains authoritative. */
|
|
1123
|
+
badgeUnreadCount?: number;
|
|
1124
|
+
/** Whether new-message notifications are allowed for this conversation. */
|
|
1125
|
+
notificationAllowed?: boolean;
|
|
1106
1126
|
hasUnreadMention?: boolean;
|
|
1107
1127
|
/** Effective chat notification state. True when mute is on or push notifications are disabled. */
|
|
1108
1128
|
isMuted?: boolean;
|
|
@@ -1192,6 +1212,12 @@ export interface ArkmeRecordLocationCapture {
|
|
|
1192
1212
|
speedMetersPerSecond?: number;
|
|
1193
1213
|
capturedAtMillis: number;
|
|
1194
1214
|
}
|
|
1215
|
+
/** Browser-safe playback projection for every segment of one background recording. */
|
|
1216
|
+
export interface ArkmeMessageSnapshotBackgroundSoundPlayback {
|
|
1217
|
+
mediaRefs: string[];
|
|
1218
|
+
amplitudes: number[];
|
|
1219
|
+
durationSeconds?: number;
|
|
1220
|
+
}
|
|
1195
1221
|
export interface ArkmeMessageSnapshotDetail {
|
|
1196
1222
|
itemUid: string;
|
|
1197
1223
|
textContent: string;
|
|
@@ -1201,6 +1227,7 @@ export interface ArkmeMessageSnapshotDetail {
|
|
|
1201
1227
|
shareTimes?: number;
|
|
1202
1228
|
captureContext?: ArkmeRecordCaptureContext;
|
|
1203
1229
|
backgroundSound: 'available' | 'not-recorded' | 'disabled' | 'unknown';
|
|
1230
|
+
backgroundSoundPlayback?: ArkmeMessageSnapshotBackgroundSoundPlayback;
|
|
1204
1231
|
locationCapture?: ArkmeRecordLocationCapture;
|
|
1205
1232
|
locationLabel?: string;
|
|
1206
1233
|
weather?: string;
|
|
@@ -1465,6 +1492,23 @@ export interface ArkmeUploadedAsset {
|
|
|
1465
1492
|
size: number;
|
|
1466
1493
|
fileKind: 1 | 2 | 3 | 4;
|
|
1467
1494
|
}
|
|
1495
|
+
/** Explicit background-audio role. Ordinary `audio/*` assets never acquire this role implicitly. */
|
|
1496
|
+
export interface ArkmeRichBackgroundSoundInput {
|
|
1497
|
+
assets: ArkmeUploadedAsset[];
|
|
1498
|
+
amplitudes: number[];
|
|
1499
|
+
}
|
|
1500
|
+
export type ArkmeBackgroundSoundEligibilityReason = 'eligible' | 'membership-required' | 'membership-unavailable';
|
|
1501
|
+
/** Current-account server projection for the text background-sound switch. */
|
|
1502
|
+
export interface ArkmeBackgroundSoundPreference {
|
|
1503
|
+
userId: number;
|
|
1504
|
+
found: boolean;
|
|
1505
|
+
enabled: boolean;
|
|
1506
|
+
eligible: boolean;
|
|
1507
|
+
memberType?: number;
|
|
1508
|
+
eligibilityReason: ArkmeBackgroundSoundEligibilityReason;
|
|
1509
|
+
sourceVersion?: number;
|
|
1510
|
+
updatedAtMillis?: number;
|
|
1511
|
+
}
|
|
1468
1512
|
export interface ArkmeFavoriteSticker {
|
|
1469
1513
|
fileAssetUid: string;
|
|
1470
1514
|
fileName: string;
|
|
@@ -1500,6 +1544,7 @@ export interface ArkmeRichSendInput {
|
|
|
1500
1544
|
/** Browser/device data captured at send time, when available. */
|
|
1501
1545
|
captureContext?: ArkmeRecordCaptureContext;
|
|
1502
1546
|
assets?: ArkmeUploadedAsset[];
|
|
1547
|
+
backgroundSound?: ArkmeRichBackgroundSoundInput;
|
|
1503
1548
|
humanMentions?: ArkmeHumanMentionInput[];
|
|
1504
1549
|
botMentions?: ArkmeBotMentionInput[];
|
|
1505
1550
|
}
|
|
@@ -1662,6 +1707,8 @@ export interface ArkmeInterwovenDetail {
|
|
|
1662
1707
|
export interface ArkmeSourceSendResult {
|
|
1663
1708
|
sourceRef: string;
|
|
1664
1709
|
itemUid: string;
|
|
1710
|
+
/** Host-signed reference for immediate actions before timeline convergence. */
|
|
1711
|
+
messageActionRef?: string;
|
|
1665
1712
|
status: number;
|
|
1666
1713
|
sequence?: number;
|
|
1667
1714
|
localState: 'synced' | 'failed';
|
|
@@ -1774,6 +1821,9 @@ export interface ArkmeConversationMemberItem {
|
|
|
1774
1821
|
memberRef: string;
|
|
1775
1822
|
/** Present only when this active non-self group member can be selected for a new human mention. */
|
|
1776
1823
|
mentionRef?: string;
|
|
1824
|
+
/** Public/group-safe name bound to mentionRef; never contains the viewer's private contact label. */
|
|
1825
|
+
mentionDisplayName?: string;
|
|
1826
|
+
/** Viewer-facing label; it may be the current viewer's private contact remark. */
|
|
1777
1827
|
displayName: string;
|
|
1778
1828
|
memberName?: string;
|
|
1779
1829
|
secondaryName?: string;
|
|
@@ -1893,8 +1943,14 @@ export interface ArkmeOfficialAuthorProfile {
|
|
|
1893
1943
|
export interface ArkmeOpenPrivateChatResult {
|
|
1894
1944
|
source: ArkmeSourceItem;
|
|
1895
1945
|
}
|
|
1946
|
+
export interface ArkmeGroupActionTarget {
|
|
1947
|
+
sourceRef: string;
|
|
1948
|
+
sourceKey?: string;
|
|
1949
|
+
kind: 'group_chat';
|
|
1950
|
+
displayName: string;
|
|
1951
|
+
}
|
|
1896
1952
|
export interface ArkmeGroupSettingsSnapshot {
|
|
1897
|
-
|
|
1953
|
+
target: ArkmeGroupActionTarget;
|
|
1898
1954
|
selfRole: ArkmeGroupMemberRole;
|
|
1899
1955
|
selfStatus: ArkmeGroupMemberStatus;
|
|
1900
1956
|
canRename: boolean;
|
|
@@ -1905,10 +1961,13 @@ export interface ArkmeGroupSettingsSnapshot {
|
|
|
1905
1961
|
export interface ArkmeGroupNotificationResult {
|
|
1906
1962
|
messageDnd: boolean;
|
|
1907
1963
|
}
|
|
1908
|
-
export interface
|
|
1964
|
+
export interface ArkmeGroupProjectionResult {
|
|
1909
1965
|
source: ArkmeSourceItem;
|
|
1910
1966
|
status: 'ok';
|
|
1911
1967
|
}
|
|
1968
|
+
export interface ArkmeGroupCommandResult {
|
|
1969
|
+
status: 'ok';
|
|
1970
|
+
}
|
|
1912
1971
|
export interface ArkmeRecordingCalendarDay {
|
|
1913
1972
|
dateStamp: number;
|
|
1914
1973
|
durationMillis: number;
|
|
@@ -1948,6 +2007,42 @@ export interface ArkmeRecordingTranscriptItem {
|
|
|
1948
2007
|
isBackground: boolean;
|
|
1949
2008
|
text: string;
|
|
1950
2009
|
}
|
|
2010
|
+
/** Browser-safe day projection. Audio owner ids remain sealed in itemRef. */
|
|
2011
|
+
export interface ArkmeRecordingWorkbenchItem {
|
|
2012
|
+
itemId: string;
|
|
2013
|
+
itemRef: string;
|
|
2014
|
+
startAtMillis: number;
|
|
2015
|
+
endAtMillis: number;
|
|
2016
|
+
speakerNumber: number;
|
|
2017
|
+
speakerKey: string;
|
|
2018
|
+
speakerColorIndex: number;
|
|
2019
|
+
speakerLabel: string;
|
|
2020
|
+
speakerAvatarRef?: string;
|
|
2021
|
+
sameSpeakerItemCount: number;
|
|
2022
|
+
isSelf: boolean;
|
|
2023
|
+
isBackground: boolean;
|
|
2024
|
+
text: string;
|
|
2025
|
+
}
|
|
2026
|
+
export interface ArkmeRecordingPlayback {
|
|
2027
|
+
playbackRef: string;
|
|
2028
|
+
mimeType: string;
|
|
2029
|
+
startOffsetMillis: number;
|
|
2030
|
+
endOffsetMillis: number;
|
|
2031
|
+
}
|
|
2032
|
+
export interface ArkmeRecordingSpeakerOption {
|
|
2033
|
+
speakerRef: string;
|
|
2034
|
+
label: string;
|
|
2035
|
+
avatarRef?: string;
|
|
2036
|
+
kind: 'arkme-user' | 'speaker';
|
|
2037
|
+
currentAssignment: boolean;
|
|
2038
|
+
isCurrentUser: boolean;
|
|
2039
|
+
recommended: boolean;
|
|
2040
|
+
}
|
|
2041
|
+
export interface ArkmeRecordingSpeakerMutationResult {
|
|
2042
|
+
scope: 'item' | 'speaker';
|
|
2043
|
+
affectedCount: number;
|
|
2044
|
+
day: ArkmeRecordingDay;
|
|
2045
|
+
}
|
|
1951
2046
|
export interface ArkmeRecordingTimelineEvent {
|
|
1952
2047
|
eventId: string;
|
|
1953
2048
|
startAt: string;
|
|
@@ -1980,14 +2075,15 @@ export interface ArkmeRecordingSection<T> {
|
|
|
1980
2075
|
items: T[];
|
|
1981
2076
|
message: string;
|
|
1982
2077
|
}
|
|
1983
|
-
export interface ArkmeRecordingTranscriptSection extends ArkmeRecordingSection<
|
|
2078
|
+
export interface ArkmeRecordingTranscriptSection<T = ArkmeRecordingTranscriptItem> extends ArkmeRecordingSection<T> {
|
|
1984
2079
|
identityCoverage?: 'complete' | 'partial';
|
|
1985
2080
|
totalDurationMillis: number;
|
|
2081
|
+
processingCount: number;
|
|
1986
2082
|
}
|
|
1987
2083
|
export interface ArkmeRecordingDay {
|
|
1988
2084
|
dateStamp: number;
|
|
1989
2085
|
totalDurationMillis: number;
|
|
1990
|
-
transcript:
|
|
2086
|
+
transcript: ArkmeRecordingTranscriptSection<ArkmeRecordingWorkbenchItem>;
|
|
1991
2087
|
summary: ArkmeRecordingSection<ArkmeRecordingVersion>;
|
|
1992
2088
|
timeline: ArkmeRecordingSection<ArkmeRecordingVersion>;
|
|
1993
2089
|
}
|
|
@@ -2234,6 +2330,13 @@ export interface ArkmeArkoHistoryItem {
|
|
|
2234
2330
|
errorCode?: string;
|
|
2235
2331
|
retryOfRunUid?: string;
|
|
2236
2332
|
createdRecordUids: string[];
|
|
2333
|
+
/** Original user input Record identity. This is distinct from Agent-created side effects. */
|
|
2334
|
+
entryRecordUid?: string;
|
|
2335
|
+
/** Host-signed message action capability for one stable persisted message. */
|
|
2336
|
+
messageActionRef?: string;
|
|
2337
|
+
/** Session-bound conversation capability paired with this historical Agent message. */
|
|
2338
|
+
messageActionConversationRef?: string;
|
|
2339
|
+
messageActionCapabilities?: ArkmeMessageActionCapabilities;
|
|
2237
2340
|
}
|
|
2238
2341
|
export interface ArkmeArkoHistoryPage {
|
|
2239
2342
|
items: ArkmeArkoHistoryItem[];
|
|
@@ -2339,12 +2442,23 @@ export interface ArkmeChatRealtimeState {
|
|
|
2339
2442
|
connectionGeneration: number;
|
|
2340
2443
|
lastEventAtMillis?: number;
|
|
2341
2444
|
}
|
|
2445
|
+
/** Server-owned unread attention summary across every visible conversation. */
|
|
2446
|
+
export interface ArkmeChatAttentionSummary {
|
|
2447
|
+
badgeCount: number;
|
|
2448
|
+
mutedUnreadCount: number;
|
|
2449
|
+
sessionCountWithUnread: number;
|
|
2450
|
+
hasAttention: boolean;
|
|
2451
|
+
summaryVersion: number;
|
|
2452
|
+
updatedAtMillis: number;
|
|
2453
|
+
}
|
|
2342
2454
|
export type ArkmeChatClientEvent = {
|
|
2343
2455
|
type: 'reconcile';
|
|
2344
2456
|
revision: number;
|
|
2345
2457
|
connected: boolean;
|
|
2346
2458
|
refresh?: 'none' | 'if-stale' | 'force';
|
|
2347
2459
|
connectionGeneration: number;
|
|
2460
|
+
/** Latest server-owned full attention summary for Browser SSE reconnects. */
|
|
2461
|
+
attentionSummary?: ArkmeChatAttentionSummary;
|
|
2348
2462
|
} | {
|
|
2349
2463
|
type: 'sessions-delta';
|
|
2350
2464
|
revision: number;
|
|
@@ -2353,6 +2467,10 @@ export type ArkmeChatClientEvent = {
|
|
|
2353
2467
|
source: ArkmeSourceItem;
|
|
2354
2468
|
timelineItems: ArkmeTimelineItem[];
|
|
2355
2469
|
}>;
|
|
2470
|
+
} | {
|
|
2471
|
+
type: 'attention-summary';
|
|
2472
|
+
revision: number;
|
|
2473
|
+
summary: ArkmeChatAttentionSummary;
|
|
2356
2474
|
} | {
|
|
2357
2475
|
type: 'projection-invalidated';
|
|
2358
2476
|
revision: number;
|
|
@@ -2383,8 +2501,8 @@ export type ArkmeChatClientEvent = {
|
|
|
2383
2501
|
sourceKey: string;
|
|
2384
2502
|
throughSequence: number;
|
|
2385
2503
|
};
|
|
2386
|
-
export type ArkmePluginOperation = 'provider.capabilities' | 'provider.state' | 'chat.realtime.state' | 'auth.status' | 'auth.config' | 'auth.begin' | 'auth.poll' | 'auth.app.begin' | 'auth.app.poll' | 'auth.app.cancel' | 'auth.test.login' | 'auth.phone.send' | 'auth.phone.verify' | 'auth.logout' | 'remote.getStatus' | 'remote.renameDesktop' | 'billing.quota' | 'billing.products' | 'billing.order.create' | 'billing.order.status' | 'contacts.search' | 'contacts.add' | 'chat.private.open-from-contact' | 'group.create' | 'bots.list' | 'bots.create' | 'bots.manage.profile' | 'bots.manage.update' | 'bots.manage.reveal-token' | 'bots.manage.delete' | 'bots.private-chat.notification.status' | 'bots.private-chat.notification.update' | 'bots.private-chat.directory' | 'bots.private-chat.open' | 'bots.private-chat.refresh' | 'bots.private-chat.send' | 'bots.private-chat.mark-read' | 'records.summary' | 'records.cache' | 'records.refresh' | 'records.search' | 'records.list' | 'records.create' | 'records.outbox' | 'records.retry' | 'calendar.buckets' | 'calendar.records' | 'user.profile' | 'user.profile.refresh' | 'user.arkme-id.check' | 'user.arkme-id.set' | 'image.read' | 'images.list' | 'world.feed' | 'world.mine' | 'world.user' | 'world.author-labels' | 'chat.world.private.open' | 'chat.official-author.profile' | 'chat.official-author.private.open' | 'world.voiceprint.availability' | 'world.voiceprint.playback.generate' | 'world.voiceprint.social-context' | 'world.voiceprint.invite' | 'world.interactions.list' | 'world.interactions.create-text' | 'world.image.read' | 'world.publish-text' | 'world.publish-file-assets' | 'arrangements.list' | 'arrangements.detail' | 'arrangements.mutate' | 'arrangements.reminder-enabled' | 'arrangements.reminders.summary' | 'arrangements.reminders.list' | 'arrangements.reminders.mark-read' | 'arrangements.reminders.mark-all-read' | 'arrangements.reminders.clear' | 'extensions.reviews.list' | 'extensions.reviews.create' | 'extensions.audit.check' | 'sources.list' | 'source.directory.policy.set' | 'source.timeline' | 'source.members' | 'source.member-records' | 'source.mark-read' | 'source.read-receipts.summary-list' | 'source.read-receipts.detail' | 'source.message-report' | 'source.message-copy-link' | 'source.message-copy-link.resolve' | 'source.message-copy-link.extend' | 'source.message-snapshot.detail' | 'source.message-location.set' | 'source.link-metadata.resolve' | 'source.forward-messages' | 'source.send-text' | 'related-recordings.eligibility' | 'related-recordings.page' | 'source.ai-polish.settings' | 'source.ai-polish.notices' | 'source.ai-polish.generate-rule' | 'source.ai-polish.prepare-enable' | 'source.ai-polish.confirm-enable' | 'source.ai-polish.prepare-disable' | 'source.ai-polish.confirm-disable' | 'source.ai-polish.retry' | 'group.members' | 'group.member-candidates' | 'group.invite-preview' | 'group.members.add' | 'group.bots' | 'group.bot.add' | 'group.settings' | 'group.notification.set' | 'group.rename' | 'group.leave' | 'group.dissolve' | 'group.report' | 'user.card' | 'chat.private.open' | 'chat.member.private.open' | 'source.send-rich' | 'favorite-stickers.list' | 'favorite-stickers.add' | 'favorite-stickers.send' | 'favorite-stickers.manage' | 'files.capabilities' | 'files.search' | 'files.stage-bytes' | 'files.send.discard' | 'files.send.reconcile' | 'files.local.list' | 'files.local.open' | 'files.local.remove' | 'files.send' | 'files.send.tasks' | 'files.send.retry' | 'files.receive' | 'source.long-article.detail' | 'source.long-article.update' | 'source.long-article.draft.get' | 'source.long-article.draft.put' | 'source.long-article.draft.delete' | 'calls.outgoing.intent.claim' | 'calls.outgoing.intent.resolve' | 'calls.outgoing.prepare' | 'calls.outgoing.heartbeat' | 'calls.outgoing.release' | 'calls.outgoing.diag' | 'calls.history.list' | 'calls.history.detail' | 'calls.history.summary.retry' | 'extensions.mine.list' | 'extensions.mine.publish' | 'extensions.catalog.list' | 'extensions.catalog.detail' | 'extensions.install.preview' | 'extensions.delete' | 'extensions.metadata.update' | 'extensions.share.rotate' | 'extensions.share.detail' | 'extensions.share.resolve' | 'extensions.installed-list' | 'extensions.quarantine.status' | 'extensions.quarantine.dismiss' | 'extensions.quarantine.reenable' | 'extensions.quarantine.health' | 'extensions.enabled-state' | 'extensions.persistent.client-state' | 'extensions.enabled.set' | 'extensions.preview.delete' | 'extensions.preview.reorder' | 'extensions.catalog.list' | 'extensions.classification.tree' | 'extensions.classification.items' | 'topic.hierarchy.move' | 'topic.rename' | 'topic.dissolve' | 'topic.dissolve.status' | 'topic.dissolve.active';
|
|
2387
|
-
export type ArkmeHostOperation = ArkmePluginOperation | 'provider.instance' | 'link.metadata' | 'directory.list' | 'directory.contact.profile' | 'directory.contact.world' | 'directory.contact.open-chat' | 'directory.group.open-chat' | 'directory.bot.open-chat' | 'unmarked-speakers.options' | 'unmarked-speakers.retry-inference' | 'unmarked-speakers.segments' | 'unmarked-speakers.mark' | 'voiceprint.status' | 'voiceprint.grants' | 'voiceprint.people' | 'voiceprint.person' | 'voiceprint.person.voiceprints' | 'voiceprint.person.invite' | 'voiceprint.invite' | 'voiceprint.revoke' | 'voiceprint.restore' | 'dsh-beta-community.entry-state' | 'dsh-beta-community.join' | 'recordings.calendar' | 'recordings.day' | 'search.records' | 'search.scene' | 'search.recordings' | 'search.history' | 'search.history.create' | 'ai-video.list' | 'files.assets' | 'topic.create' | 'topic.hierarchy.move' | 'topic.rename' | 'topic.dissolve' | 'topic.dissolve.status' | 'topic.dissolve.active' | 'arko.profile' | 'arko.session' | 'arko.new-session' | 'arko.models' | 'arko.model.activate' | 'arko.history' | 'arko.ask' | 'arko.run.status' | 'arko.cancel' | 'plugin.update.status' | 'plugin.update.check' | 'plugin.update.acknowledge' | 'plugin.update.install' | 'plugin.update.install-status' | 'source.interwoven-moments' | 'source.interwoven-detail' | 'source.shared-recording-detail' | 'source.related-quick-notes.from-message' | 'source.related-quick-notes.from-moment' | 'source.related-quick-note.detail' | 'extensions.catalog.list' | 'extensions.classification.tree' | 'extensions.classification.items' | 'extensions.catalog.detail' | 'extensions.audit.check' | 'extensions.my-list' | 'extensions.delete' | 'extensions.updates' | 'extensions.install.preview' | 'extensions.install.start' | 'extensions.install.status' | 'extensions.install.pause' | 'extensions.install.resume' | 'extensions.uninstall' | 'extensions.restart' | 'extensions.client.failure' | 'extensions.bundle.client-state' | 'extensions.persistent.invoke' | 'extensions.bundle.invoke';
|
|
2504
|
+
export type ArkmePluginOperation = 'provider.capabilities' | 'provider.state' | 'chat.realtime.state' | 'auth.status' | 'auth.config' | 'auth.begin' | 'auth.poll' | 'auth.app.begin' | 'auth.app.poll' | 'auth.app.cancel' | 'auth.test.login' | 'auth.phone.send' | 'auth.phone.verify' | 'auth.logout' | 'remote.getStatus' | 'remote.renameDesktop' | 'billing.quota' | 'billing.products' | 'billing.order.create' | 'billing.order.status' | 'contacts.search' | 'contacts.add' | 'chat.private.open-from-contact' | 'group.create' | 'bots.list' | 'bots.create' | 'bots.manage.profile' | 'bots.manage.update' | 'bots.manage.reveal-token' | 'bots.manage.delete' | 'bots.private-chat.notification.status' | 'bots.private-chat.notification.update' | 'bots.private-chat.directory' | 'bots.private-chat.open' | 'bots.private-chat.refresh' | 'bots.private-chat.send' | 'bots.private-chat.mark-read' | 'records.summary' | 'records.cache' | 'records.refresh' | 'records.search' | 'records.list' | 'records.create' | 'records.outbox' | 'records.retry' | 'calendar.buckets' | 'calendar.records' | 'user.profile' | 'user.profile.refresh' | 'settings.background-sound.get' | 'settings.background-sound.update' | 'user.arkme-id.check' | 'user.arkme-id.set' | 'image.read' | 'images.list' | 'world.feed' | 'world.mine' | 'world.user' | 'world.author-labels' | 'chat.world.private.open' | 'chat.official-author.profile' | 'chat.official-author.private.open' | 'world.voiceprint.availability' | 'world.voiceprint.playback.generate' | 'world.voiceprint.social-context' | 'world.voiceprint.invite' | 'world.interactions.list' | 'world.interactions.create-text' | 'world.image.read' | 'world.publish-text' | 'world.publish-file-assets' | 'arrangements.list' | 'arrangements.detail' | 'arrangements.mutate' | 'arrangements.reminder-enabled' | 'arrangements.reminders.summary' | 'arrangements.reminders.list' | 'arrangements.reminders.mark-read' | 'arrangements.reminders.mark-all-read' | 'arrangements.reminders.clear' | 'extensions.reviews.list' | 'extensions.reviews.create' | 'extensions.audit.check' | 'sources.list' | 'source.directory.policy.set' | 'source.timeline' | 'source.members' | 'source.member-records' | 'source.mark-read' | 'source.read-receipts.summary-list' | 'source.read-receipts.detail' | 'source.message-report' | 'source.message-copy-link' | 'source.message-copy-link.resolve' | 'source.message-copy-link.extend' | 'source.message-snapshot.detail' | 'source.message-location.set' | 'source.link-metadata.resolve' | 'source.forward-messages' | 'source.send-text' | 'related-recordings.eligibility' | 'related-recordings.page' | 'source.ai-polish.settings' | 'source.ai-polish.notices' | 'source.ai-polish.generate-rule' | 'source.ai-polish.prepare-enable' | 'source.ai-polish.confirm-enable' | 'source.ai-polish.prepare-disable' | 'source.ai-polish.confirm-disable' | 'source.ai-polish.retry' | 'group.members' | 'group.member-candidates' | 'group.invite-preview' | 'group.members.add' | 'group.bots' | 'group.bot.add' | 'group.settings' | 'group.notification.set' | 'group.rename' | 'group.leave' | 'group.dissolve' | 'group.report' | 'user.card' | 'chat.private.open' | 'chat.member.private.open' | 'source.send-rich' | 'favorite-stickers.list' | 'favorite-stickers.add' | 'favorite-stickers.send' | 'favorite-stickers.manage' | 'files.capabilities' | 'files.search' | 'files.stage-bytes' | 'files.send.discard' | 'files.send.reconcile' | 'files.local.list' | 'files.local.open' | 'files.local.remove' | 'files.send' | 'files.send.tasks' | 'files.send.retry' | 'files.receive' | 'source.long-article.detail' | 'source.long-article.update' | 'source.long-article.draft.get' | 'source.long-article.draft.put' | 'source.long-article.draft.delete' | 'calls.outgoing.intent.claim' | 'calls.outgoing.intent.resolve' | 'calls.outgoing.prepare' | 'calls.outgoing.heartbeat' | 'calls.outgoing.release' | 'calls.outgoing.diag' | 'calls.history.list' | 'calls.history.detail' | 'calls.history.summary.retry' | 'extensions.mine.list' | 'extensions.mine.publish' | 'extensions.catalog.list' | 'extensions.catalog.detail' | 'extensions.install.preview' | 'extensions.delete' | 'extensions.metadata.update' | 'extensions.share.rotate' | 'extensions.share.detail' | 'extensions.share.resolve' | 'extensions.installed-list' | 'extensions.quarantine.status' | 'extensions.quarantine.dismiss' | 'extensions.quarantine.reenable' | 'extensions.quarantine.health' | 'extensions.enabled-state' | 'extensions.persistent.client-state' | 'extensions.enabled.set' | 'extensions.preview.delete' | 'extensions.preview.reorder' | 'extensions.catalog.list' | 'extensions.classification.tree' | 'extensions.classification.items' | 'topic.hierarchy.move' | 'topic.rename' | 'topic.dissolve' | 'topic.dissolve.status' | 'topic.dissolve.active';
|
|
2505
|
+
export type ArkmeHostOperation = ArkmePluginOperation | 'provider.instance' | 'link.metadata' | 'directory.list' | 'directory.contact.profile' | 'directory.contact.world' | 'directory.contact.open-chat' | 'directory.group.open-chat' | 'directory.bot.open-chat' | 'unmarked-speakers.options' | 'unmarked-speakers.retry-inference' | 'unmarked-speakers.segments' | 'unmarked-speakers.mark' | 'voiceprint.status' | 'voiceprint.grants' | 'voiceprint.people' | 'voiceprint.person' | 'voiceprint.person.voiceprints' | 'voiceprint.person.invite' | 'voiceprint.invite' | 'voiceprint.revoke' | 'voiceprint.restore' | 'dsh-beta-community.entry-state' | 'dsh-beta-community.join' | 'recordings.calendar' | 'recordings.day' | 'recordings.import.preflight' | 'recordings.import.list' | 'recordings.import.status' | 'recordings.import.retry' | 'recordings.import.cancel' | 'recordings.playback.open' | 'recordings.speaker.options' | 'recordings.speaker.assign-item' | 'search.records' | 'search.scene' | 'search.recordings' | 'search.history' | 'search.history.create' | 'ai-video.list' | 'files.assets' | 'topic.create' | 'topic.hierarchy.move' | 'topic.rename' | 'topic.dissolve' | 'topic.dissolve.status' | 'topic.dissolve.active' | 'arko.profile' | 'arko.session' | 'arko.new-session' | 'arko.models' | 'arko.model.activate' | 'arko.history' | 'arko.ask' | 'arko.run.status' | 'arko.cancel' | 'message-actions.copy-link' | 'message-actions.forward' | 'plugin.update.status' | 'plugin.update.check' | 'plugin.update.acknowledge' | 'plugin.update.install' | 'plugin.update.install-status' | 'source.interwoven-moments' | 'source.interwoven-detail' | 'source.shared-recording-detail' | 'source.related-quick-notes.from-message' | 'source.related-quick-notes.from-moment' | 'source.related-quick-note.detail' | 'extensions.catalog.list' | 'extensions.classification.tree' | 'extensions.classification.items' | 'extensions.catalog.detail' | 'extensions.audit.check' | 'extensions.my-list' | 'extensions.delete' | 'extensions.updates' | 'extensions.install.preview' | 'extensions.install.start' | 'extensions.install.status' | 'extensions.install.pause' | 'extensions.install.resume' | 'extensions.uninstall' | 'extensions.restart' | 'extensions.client.failure' | 'extensions.bundle.client-state' | 'extensions.persistent.invoke' | 'extensions.bundle.invoke';
|
|
2388
2506
|
export interface ArkmePluginRequest {
|
|
2389
2507
|
operation: ArkmeHostOperation;
|
|
2390
2508
|
params?: Record<string, unknown>;
|