@senguoyun/dsh-arkme 0.1.22 → 0.1.24
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/desktop_call/gallery-linear.svg +5 -0
- package/docs/consumer-plugin-contract.md +4 -0
- package/docs/third-party-notices.md +13 -0
- package/lib/client.js +32400 -15263
- package/lib/client.js.map +1 -1
- package/lib/extension-profile-restart-helper.js +19 -7
- package/lib/index.js +634 -84
- package/lib/{install-store-Beau1y-o.js → install-store-C1tAM346.js} +1 -1
- package/lib/persistent-extension.js +1 -1
- package/lib/{persistent-runtime-CNdmWCSF.js → persistent-runtime-BIJ2Er-6.js} +9419 -7883
- package/lib/plugin-updater-helper-Ddppbids.js +2 -0
- package/lib/{plugin-updater-helper-CEnlAUhI.js → plugin-updater-helper-Lmz7W2ph.js} +47 -10
- package/lib/plugin-updater-helper.js +1 -1
- package/lib/{profile-package-manager-DwuQu8ZL.js → profile-bundle-policy-CvojZuTD.js} +76 -1
- package/lib/sdk.js +64 -1
- package/lib/types/arkme-service.d.ts +26 -3
- package/lib/types/arkme-service.d.ts.map +1 -1
- package/lib/types/chat-realtime.d.ts +13 -1
- package/lib/types/chat-realtime.d.ts.map +1 -1
- package/lib/types/client/ArkmeCallSurface.d.ts.map +1 -1
- package/lib/types/client/ArkmeChatMemberActions.d.ts +3 -0
- package/lib/types/client/ArkmeChatMemberActions.d.ts.map +1 -1
- package/lib/types/client/ArkmeEmojiPicker.d.ts +25 -1
- package/lib/types/client/ArkmeEmojiPicker.d.ts.map +1 -1
- package/lib/types/client/ArkmeGroupChatControls.d.ts +2 -0
- package/lib/types/client/ArkmeGroupChatControls.d.ts.map +1 -1
- package/lib/types/client/ArkmeLogin.d.ts.map +1 -1
- package/lib/types/client/ArkmeMarketplace.d.ts +13 -3
- package/lib/types/client/ArkmeMarketplace.d.ts.map +1 -1
- package/lib/types/client/ArkmeMessageReadReceipt.d.ts +24 -0
- package/lib/types/client/ArkmeMessageReadReceipt.d.ts.map +1 -0
- package/lib/types/client/ArkmeNoteDetails.d.ts +14 -0
- package/lib/types/client/ArkmeNoteDetails.d.ts.map +1 -0
- package/lib/types/client/ArkmePersistentShell.d.ts +7 -1
- 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.map +1 -1
- package/lib/types/client/ArkmeRichComposerInput.d.ts +11 -0
- package/lib/types/client/ArkmeRichComposerInput.d.ts.map +1 -1
- package/lib/types/client/ArkmeRichContent.d.ts +9 -1
- package/lib/types/client/ArkmeRichContent.d.ts.map +1 -1
- package/lib/types/client/ArkmeSearchSurface.d.ts +19 -1
- package/lib/types/client/ArkmeSearchSurface.d.ts.map +1 -1
- package/lib/types/client/ArkmeSidebar.d.ts +37 -2
- package/lib/types/client/ArkmeSidebar.d.ts.map +1 -1
- package/lib/types/client/ArkmeSourceBreadcrumb.d.ts +29 -5
- package/lib/types/client/ArkmeSourceBreadcrumb.d.ts.map +1 -1
- package/lib/types/client/ArkmeTopicCreateDialog.d.ts +3 -1
- package/lib/types/client/ArkmeTopicCreateDialog.d.ts.map +1 -1
- package/lib/types/client/ArkmeTopicDirectoryPopover.d.ts +8 -1
- package/lib/types/client/ArkmeTopicDirectoryPopover.d.ts.map +1 -1
- package/lib/types/client/ArkmeTopicManagementDialog.d.ts +22 -0
- package/lib/types/client/ArkmeTopicManagementDialog.d.ts.map +1 -0
- package/lib/types/client/ArkmeUpdateSurfaces.d.ts.map +1 -1
- package/lib/types/client/ArkmeVirtualWorkspace.d.ts +10 -1
- package/lib/types/client/ArkmeVirtualWorkspace.d.ts.map +1 -1
- package/lib/types/client/ArkmeVoiceContent.d.ts +16 -0
- package/lib/types/client/ArkmeVoiceContent.d.ts.map +1 -0
- package/lib/types/client/ArkmeWorldSurface.d.ts +11 -3
- package/lib/types/client/ArkmeWorldSurface.d.ts.map +1 -1
- package/lib/types/client/account-settings-nav-icon.d.ts +10 -0
- package/lib/types/client/account-settings-nav-icon.d.ts.map +1 -0
- package/lib/types/client/api.d.ts +1 -1
- package/lib/types/client/api.d.ts.map +1 -1
- package/lib/types/client/arkme-login-locales.d.ts +2 -6
- package/lib/types/client/arkme-login-locales.d.ts.map +1 -1
- package/lib/types/client/arkme-theme.d.ts +1 -1
- package/lib/types/client/arkme-voice-compat.d.ts +7 -0
- package/lib/types/client/arkme-voice-compat.d.ts.map +1 -0
- package/lib/types/client/chat-directory-store.d.ts.map +1 -1
- package/lib/types/client/composer-draft-store.d.ts +6 -1
- package/lib/types/client/composer-draft-store.d.ts.map +1 -1
- package/lib/types/client/extension-share-deeplink.d.ts +13 -0
- package/lib/types/client/extension-share-deeplink.d.ts.map +1 -1
- package/lib/types/client/extension-share-presentation.d.ts +18 -0
- package/lib/types/client/extension-share-presentation.d.ts.map +1 -0
- package/lib/types/client/index.d.ts +1 -1
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/message-read-receipt-store.d.ts +63 -0
- package/lib/types/client/message-read-receipt-store.d.ts.map +1 -0
- package/lib/types/client/navigation-cache.d.ts.map +1 -1
- package/lib/types/client/realtime-client-events.d.ts.map +1 -1
- package/lib/types/client/source-list.d.ts.map +1 -1
- package/lib/types/client/source-tree.d.ts +13 -1
- package/lib/types/client/source-tree.d.ts.map +1 -1
- package/lib/types/client/ui-controller.d.ts +21 -1
- package/lib/types/client/ui-controller.d.ts.map +1 -1
- package/lib/types/extensions/client-owner.d.ts +10 -5
- package/lib/types/extensions/client-owner.d.ts.map +1 -1
- package/lib/types/extensions/manager.d.ts +19 -3
- package/lib/types/extensions/manager.d.ts.map +1 -1
- package/lib/types/extensions/persistent-client-bundle.d.ts +2 -2
- package/lib/types/extensions/persistent-client-bundle.d.ts.map +1 -1
- package/lib/types/extensions/profile-bundle-policy.d.ts +16 -0
- package/lib/types/extensions/profile-bundle-policy.d.ts.map +1 -0
- package/lib/types/extensions/profile-installer.d.ts +2 -0
- package/lib/types/extensions/profile-installer.d.ts.map +1 -1
- package/lib/types/extensions/profile-restart-helper.d.ts +5 -1
- package/lib/types/extensions/profile-restart-helper.d.ts.map +1 -1
- package/lib/types/extensions/publish-client.d.ts +3 -0
- package/lib/types/extensions/publish-client.d.ts.map +1 -1
- package/lib/types/extensions/types.d.ts +2 -0
- package/lib/types/extensions/types.d.ts.map +1 -1
- package/lib/types/host-api.d.ts.map +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/mention-metadata.d.ts +3 -0
- package/lib/types/mention-metadata.d.ts.map +1 -0
- package/lib/types/outgoing-call-assets.d.ts.map +1 -1
- package/lib/types/plugin-update.d.ts +1 -0
- package/lib/types/plugin-update.d.ts.map +1 -1
- package/lib/types/plugin-updater-helper.d.ts +9 -1
- package/lib/types/plugin-updater-helper.d.ts.map +1 -1
- package/lib/types/rich-media-routes.d.ts.map +1 -1
- package/lib/types/sdk/index.d.ts +16 -2
- package/lib/types/sdk/index.d.ts.map +1 -1
- package/lib/types/services/bot-service.d.ts +19 -1
- package/lib/types/services/bot-service.d.ts.map +1 -1
- package/lib/types/services/calendar-service.d.ts +3 -1
- package/lib/types/services/calendar-service.d.ts.map +1 -1
- package/lib/types/services/chat-realtime-service.d.ts +1 -0
- package/lib/types/services/chat-realtime-service.d.ts.map +1 -1
- package/lib/types/services/chat-service.d.ts +31 -4
- package/lib/types/services/chat-service.d.ts.map +1 -1
- package/lib/types/services/media-service.d.ts +13 -1
- package/lib/types/services/media-service.d.ts.map +1 -1
- package/lib/types/services/privacy-visibility.d.ts +17 -0
- package/lib/types/services/privacy-visibility.d.ts.map +1 -0
- package/lib/types/services/record-service.d.ts +6 -1
- package/lib/types/services/record-service.d.ts.map +1 -1
- package/lib/types/services/search-service.d.ts +7 -1
- package/lib/types/services/search-service.d.ts.map +1 -1
- package/lib/types/services/source-service.d.ts +45 -3
- package/lib/types/services/source-service.d.ts.map +1 -1
- package/lib/types/services/world-service.d.ts.map +1 -1
- package/lib/types/tools/business/conversation/favorite-stickers.d.ts +5 -0
- package/lib/types/tools/business/conversation/favorite-stickers.d.ts.map +1 -0
- package/lib/types/tools/business/conversation/index.d.ts.map +1 -1
- package/lib/types/tools/business/conversation/read-receipts.d.ts +4 -0
- package/lib/types/tools/business/conversation/read-receipts.d.ts.map +1 -0
- package/lib/types/tools/business/conversation/unread.d.ts +4 -0
- package/lib/types/tools/business/conversation/unread.d.ts.map +1 -0
- package/lib/types/tools/business/index.d.ts.map +1 -1
- package/lib/types/tools/extensions/index.d.ts.map +1 -1
- package/lib/types/tools/ports/conversations.d.ts +18 -1
- package/lib/types/tools/ports/conversations.d.ts.map +1 -1
- package/lib/types/tools/prompts/business.d.ts.map +1 -1
- package/lib/types/types.d.ts +177 -4
- package/lib/types/types.d.ts.map +1 -1
- package/package.json +12 -5
- package/lib/plugin-updater-helper-Bg28PYR7.js +0 -2
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M7.2 21H16.8C19.8 21 21 19.8 21 16.8V7.2C21 4.2 19.8 3 16.8 3H7.2C4.2 3 3 4.2 3 7.2V16.8C3 19.8 4.2 21 7.2 21Z" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M8.5 10C9.32843 10 10 9.32843 10 8.5C10 7.67157 9.32843 7 8.5 7C7.67157 7 7 7.67157 7 8.5C7 9.32843 7.67157 10 8.5 10Z" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M3.67 17.95L7.37 15.46C7.96 15.06 8.81 15.11 9.34 15.57L9.59 15.79C10.17 16.29 11.1 16.29 11.68 15.79L14.8 13.11C15.38 12.61 16.31 12.61 16.89 13.11L20.85 16.51" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
</svg>
|
|
@@ -107,6 +107,10 @@ Chat items returned by `readSource()` may include an opaque sender `avatarRef`.
|
|
|
107
107
|
|
|
108
108
|
Timeline items may include `contentBlocks` for image, video, audio, and file content. Long articles use the owner contract's `templateKind: 8`; `displayKind: 1` remains accepted only as a compatibility signal for previously sent plugin records. Each block's `mediaRef` is account-bound and short-lived. Render it with `sdk.mediaUrl(mediaRef)`; never decode or persist it. `upload()` sends a browser file only to the same-origin plugin route and returns an Arkme asset descriptor for `sendRich()`.
|
|
109
109
|
|
|
110
|
+
`capabilities().features.forwardContent === true` advertises expanded `readSource()` forward snapshots. `forwardRecords.items` may contain `sourceType`, `segments` (speaker, full text, relative start/end milliseconds), `contentBlocks` and `mediaUnavailable`. Segment audio also uses `contentBlocks`, never raw URLs. The same snapshot is returned to the built-in UI and `arkme_source_read`. Missing optional fields on older Providers mean text-only rendering, not an error. Unknown source types remain `unknown`; filenames must not determine recording type. No original chat name or source access is implied. A transcript with no attachment is not playable. `truncated` marks bounded output (100 flattened records, nesting depth four; up to 500 segments per record / 2000 total; 32 attachments per record). Display it as partial, never silently claim a complete archive.
|
|
111
|
+
|
|
112
|
+
Consumers retain no additional resources for a one-shot `readSource()`. If they call `subscribe()`, invoke its returned unsubscribe function on disposal. Refresh the received timeline when a media reference expires; do not query the private original recording or cache/decode its reference. Unsupported `contractVersion` is rejected by `capabilities()`; an absent optional `forwardContent` feature falls back to the existing text snapshot.
|
|
113
|
+
|
|
110
114
|
Long-article detail and update calls always include the opaque `sourceRef` and stable record UID. The Provider reloads the Record owner detail, verifies source membership and author ownership, and forwards the current `version` to the existing CAS update endpoint. A failed or stale update must retain the editor content and must never be retried by creating a second record. Draft helpers persist only title, body and duration in Provider state and isolate them by account, source and edited record.
|
|
111
115
|
|
|
112
116
|
The Provider exposes one facade while preserving owner boundaries: default-category/topic reads and sends go to Record, while private/group reads and sends go to Chat. Consumers must not treat these business objects as interchangeable merely because they share the same UI shell.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
## Mediabunny 1.55.2
|
|
4
|
+
|
|
5
|
+
The browser bundle includes unmodified Mediabunny code, copyright (c) Vanilagy,
|
|
6
|
+
licensed under the Mozilla Public License 2.0 (MPL-2.0).
|
|
7
|
+
|
|
8
|
+
- License: https://www.mozilla.org/MPL/2.0/
|
|
9
|
+
- Exact source distribution (includes `src` and `LICENSE`): https://registry.npmjs.org/mediabunny/-/mediabunny-1.55.2.tgz
|
|
10
|
+
- Project: https://github.com/Vanilagy/mediabunny
|
|
11
|
+
|
|
12
|
+
Mediabunny is used to demux/remux AAC voice media for local browser playback.
|
|
13
|
+
It is not used to upload media or run an external transcoding service.
|