feat: integrate client and server sharing workflows

This commit is contained in:
justme committed 2026-10-02 10:49:45 +08:00
1 parent 42b93ae2d8
commit 7406e2fe37
101 files changed
+3153 -253

No files matched your search

+1 -1
View File
@@ -46,4 +46,4 @@ export const LABEL_IV_SIZE = 12;
export const POW_NONCE_SIZE = 8;
export type ChannelMode = 'enc' | 'raw';
export type ItemKind = 'text' | 'json' | 'file' | 'other';
export type ItemKind = 'text' | 'json' | 'file' | 'manifest' | 'other';
+1 -1
View File
@@ -16,7 +16,7 @@ export interface ItemMeta {
dev?: string;
}
const KINDS: readonly ItemKind[] = ['text', 'json', 'file', 'other'];
const KINDS: readonly ItemKind[] = ['text', 'json', 'file', 'manifest', 'other'];
/** u16 meta_len ‖ meta_json。字段顺序固定,undefined 的字段省略,保证字节级确定。 */
export function encodeMeta(meta: ItemMeta): Bytes {