@prismer/sdk 2.0.4 → 2.0.6
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.js +241 -38
- package/dist/index.d.mts +303 -10
- package/dist/index.d.ts +303 -10
- package/dist/index.js +137 -38
- package/dist/index.mjs +136 -38
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -534,6 +534,86 @@ interface IMMessageAttachment {
|
|
|
534
534
|
revision?: number | null;
|
|
535
535
|
role?: 'attachment' | 'context' | 'output';
|
|
536
536
|
}
|
|
537
|
+
/** MIME types accepted for inline images (extend as needed). */
|
|
538
|
+
type ImageMime = 'image/png' | 'image/jpeg' | 'image/webp' | 'image/gif' | (string & {});
|
|
539
|
+
/** MIME types accepted for inline audio. */
|
|
540
|
+
type AudioMime = 'audio/mpeg' | 'audio/wav' | 'audio/webm' | 'audio/ogg' | (string & {});
|
|
541
|
+
/** MIME types accepted for inline video. */
|
|
542
|
+
type VideoMime = 'video/mp4' | 'video/webm' | 'video/quicktime' | (string & {});
|
|
543
|
+
type ContentBlockText = {
|
|
544
|
+
kind: 'text';
|
|
545
|
+
text: string;
|
|
546
|
+
};
|
|
547
|
+
type ContentBlockImage = {
|
|
548
|
+
kind: 'image';
|
|
549
|
+
assetId: string;
|
|
550
|
+
mediaType: ImageMime;
|
|
551
|
+
alt?: string;
|
|
552
|
+
};
|
|
553
|
+
type ContentBlockAudio = {
|
|
554
|
+
kind: 'audio';
|
|
555
|
+
assetId: string;
|
|
556
|
+
mediaType: AudioMime;
|
|
557
|
+
durationMs?: number;
|
|
558
|
+
};
|
|
559
|
+
type ContentBlockVideo = {
|
|
560
|
+
kind: 'video';
|
|
561
|
+
assetId: string;
|
|
562
|
+
mediaType: VideoMime;
|
|
563
|
+
durationMs?: number;
|
|
564
|
+
thumbnailUrl?: string;
|
|
565
|
+
};
|
|
566
|
+
type ContentBlockFile = {
|
|
567
|
+
kind: 'file';
|
|
568
|
+
assetId: string;
|
|
569
|
+
mediaType: string;
|
|
570
|
+
filename: string;
|
|
571
|
+
};
|
|
572
|
+
type ContentBlockToolUse = {
|
|
573
|
+
kind: 'tool_use';
|
|
574
|
+
toolCallId: string;
|
|
575
|
+
toolName: string;
|
|
576
|
+
inputJson: unknown;
|
|
577
|
+
};
|
|
578
|
+
type ContentBlockToolResult = {
|
|
579
|
+
kind: 'tool_result';
|
|
580
|
+
toolCallId: string;
|
|
581
|
+
output: ContentBlock[];
|
|
582
|
+
};
|
|
583
|
+
type ContentBlockReasoning = {
|
|
584
|
+
kind: 'reasoning';
|
|
585
|
+
text: string;
|
|
586
|
+
redacted?: boolean;
|
|
587
|
+
};
|
|
588
|
+
/** v2.0 §4.6 ContentBlock discriminated union (Anthropic-shape, 8 variants). */
|
|
589
|
+
type ContentBlock = ContentBlockText | ContentBlockImage | ContentBlockAudio | ContentBlockVideo | ContentBlockFile | ContentBlockToolUse | ContentBlockToolResult | ContentBlockReasoning;
|
|
590
|
+
/**
|
|
591
|
+
* v2.0 §4.6 ChatMessage — used by TaskInput.messages and other multi-turn
|
|
592
|
+
* dispatch shapes. Content may be a plain string (legacy / single-text) or a
|
|
593
|
+
* ContentBlock[] (multimodal). Adapters MUST handle both forms.
|
|
594
|
+
*/
|
|
595
|
+
interface ChatMessage {
|
|
596
|
+
role: 'system' | 'user' | 'assistant' | 'tool';
|
|
597
|
+
content: string | ContentBlock[];
|
|
598
|
+
/** Optional name (tool message provenance, OpenAI-compat). */
|
|
599
|
+
name?: string;
|
|
600
|
+
/** Optional tool_call_id (for role='tool' responses). */
|
|
601
|
+
toolCallId?: string;
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* Task input payload (v2.0 — adds optional `messages` for native multimodal
|
|
605
|
+
* dispatch). `prompt` remains for legacy single-text path. Daemon adapters
|
|
606
|
+
* prefer `messages` when present; `prompt` is converted to a single user
|
|
607
|
+
* ChatMessage when `messages` is omitted.
|
|
608
|
+
*/
|
|
609
|
+
interface TaskInput {
|
|
610
|
+
/** Legacy single-text prompt. Kept for backward compatibility. */
|
|
611
|
+
prompt?: string;
|
|
612
|
+
/** v2.0 §4.6 multi-turn message array (preferred path for multimodal). */
|
|
613
|
+
messages?: ChatMessage[];
|
|
614
|
+
/** Arbitrary capability-specific input fields. */
|
|
615
|
+
[k: string]: unknown;
|
|
616
|
+
}
|
|
537
617
|
interface IMMessage {
|
|
538
618
|
id: string;
|
|
539
619
|
conversationId?: string;
|
|
@@ -546,6 +626,18 @@ interface IMMessage {
|
|
|
546
626
|
updatedAt?: string;
|
|
547
627
|
metadata?: Record<string, any> | string;
|
|
548
628
|
attachments?: IMMessageAttachment[] | null;
|
|
629
|
+
/**
|
|
630
|
+
* v2.0 §4.6 — multimodal content blocks. Coexists with `content` (single
|
|
631
|
+
* string) and `attachments` (legacy) for the 6-sprint double-write window.
|
|
632
|
+
* When the server returns ContentBlock[], renderers should prefer this.
|
|
633
|
+
*/
|
|
634
|
+
contentBlocks?: ContentBlock[] | null;
|
|
635
|
+
/**
|
|
636
|
+
* v2.0 §4.1 — per-conversation strictly monotonic boundary sequence number
|
|
637
|
+
* stamped by the server inside the same tx as the message insert.
|
|
638
|
+
* SDK clients persist this as their reconcile cursor.
|
|
639
|
+
*/
|
|
640
|
+
boundarySeq?: number;
|
|
549
641
|
}
|
|
550
642
|
interface IMRouting {
|
|
551
643
|
mode: string;
|
|
@@ -739,6 +831,24 @@ interface IMSendOptions {
|
|
|
739
831
|
quotedMessageId?: string;
|
|
740
832
|
/** Override auto-signing for this message (e.g., skip signing for system_event) */
|
|
741
833
|
skipSigning?: boolean;
|
|
834
|
+
/**
|
|
835
|
+
* v2.0 §3.0.2 Gap A-④ — idempotency key for safe retry.
|
|
836
|
+
*
|
|
837
|
+
* If omitted, the SDK auto-generates a UUID (`crypto.randomUUID()`) per
|
|
838
|
+
* send call and includes it in the `X-Idempotency-Key` HTTP header. The
|
|
839
|
+
* server applies UNIQUE `(conversationId, idempotencyKey)` dedup
|
|
840
|
+
* (see migration 401 + B1 server endpoint).
|
|
841
|
+
*
|
|
842
|
+
* Explicit callers (e.g. retry wrappers) should pass the same key across
|
|
843
|
+
* all retry attempts to trigger server-side dedup. Pairs cleanly with the
|
|
844
|
+
* server's P2002 race-safe re-read path (see message.service.ts).
|
|
845
|
+
*/
|
|
846
|
+
idempotencyKey?: string;
|
|
847
|
+
/**
|
|
848
|
+
* v2.0 §4.6 — multimodal content blocks. When set, `content` is treated as
|
|
849
|
+
* a fallback summary string for adapters that don't speak ContentBlock yet.
|
|
850
|
+
*/
|
|
851
|
+
contentBlocks?: ContentBlock[];
|
|
742
852
|
}
|
|
743
853
|
interface IMPaginationOptions {
|
|
744
854
|
limit?: number;
|
|
@@ -1038,7 +1148,7 @@ interface IMCompactOptions {
|
|
|
1038
1148
|
interface IMMemoryFile {
|
|
1039
1149
|
id: string;
|
|
1040
1150
|
ownerId: string;
|
|
1041
|
-
ownerType: 'user' | 'agent';
|
|
1151
|
+
ownerType: 'user' | 'agent' | 'workspace';
|
|
1042
1152
|
scope: string;
|
|
1043
1153
|
path: string;
|
|
1044
1154
|
version: number;
|
|
@@ -1366,8 +1476,129 @@ interface IMAgentSkillAckInput {
|
|
|
1366
1476
|
error?: string | null;
|
|
1367
1477
|
lastSyncError?: string | null;
|
|
1368
1478
|
}
|
|
1369
|
-
|
|
1370
|
-
|
|
1479
|
+
interface IMAgentSpec {
|
|
1480
|
+
identity: {
|
|
1481
|
+
did?: string | null;
|
|
1482
|
+
imUserId: string;
|
|
1483
|
+
displayName: string;
|
|
1484
|
+
username?: string;
|
|
1485
|
+
avatarUrl?: string;
|
|
1486
|
+
};
|
|
1487
|
+
definition: {
|
|
1488
|
+
roleTemplateSlug?: string;
|
|
1489
|
+
operatingPrinciples?: unknown;
|
|
1490
|
+
hermesConfig?: unknown;
|
|
1491
|
+
openclawConfig?: unknown;
|
|
1492
|
+
profileConfig: Record<string, unknown>;
|
|
1493
|
+
taskAuthority: 'executor' | 'orchestrator' | string;
|
|
1494
|
+
approvalPolicy: 'strict' | 'auto-low-risk' | 'autonomous' | string;
|
|
1495
|
+
};
|
|
1496
|
+
skills: Array<{
|
|
1497
|
+
skillSlug: string;
|
|
1498
|
+
version: string;
|
|
1499
|
+
source: string;
|
|
1500
|
+
config?: Record<string, unknown>;
|
|
1501
|
+
envDeps?: Record<string, unknown>;
|
|
1502
|
+
executable?: Record<string, unknown>;
|
|
1503
|
+
}>;
|
|
1504
|
+
memory: {
|
|
1505
|
+
scope: 'agent-private' | 'workspace-shared' | string;
|
|
1506
|
+
storeRef: string;
|
|
1507
|
+
};
|
|
1508
|
+
environment: {
|
|
1509
|
+
containerImage: string;
|
|
1510
|
+
containerSnapshot?: string | null;
|
|
1511
|
+
perAgentDirs: string[];
|
|
1512
|
+
envVars?: Record<string, unknown>;
|
|
1513
|
+
quotas?: Record<string, unknown>;
|
|
1514
|
+
};
|
|
1515
|
+
workspaceId?: string;
|
|
1516
|
+
agentCard?: Record<string, unknown>;
|
|
1517
|
+
}
|
|
1518
|
+
interface IMAgentSnapshot {
|
|
1519
|
+
id: string;
|
|
1520
|
+
agentImUserId: string;
|
|
1521
|
+
workspaceId: string;
|
|
1522
|
+
definition: IMAgentSpec['definition'];
|
|
1523
|
+
skills: IMAgentSpec['skills'];
|
|
1524
|
+
containerSnapshotId?: string | null;
|
|
1525
|
+
perAgentDirManifest?: unknown;
|
|
1526
|
+
memoryDumpRef?: string | null;
|
|
1527
|
+
includeMemory: boolean;
|
|
1528
|
+
createdAt: string;
|
|
1529
|
+
createdBy?: string;
|
|
1530
|
+
status: string;
|
|
1531
|
+
sizeBytes?: number | null;
|
|
1532
|
+
}
|
|
1533
|
+
interface IMAgentPack {
|
|
1534
|
+
id: string;
|
|
1535
|
+
slug: string;
|
|
1536
|
+
version: string;
|
|
1537
|
+
publisherImUserId: string;
|
|
1538
|
+
publisherDid: string;
|
|
1539
|
+
definition: IMAgentSpec['definition'];
|
|
1540
|
+
skills: IMAgentSpec['skills'];
|
|
1541
|
+
environment: Record<string, unknown>;
|
|
1542
|
+
metadata?: Record<string, unknown> | null;
|
|
1543
|
+
license: string;
|
|
1544
|
+
curatedQuality: string;
|
|
1545
|
+
status: string;
|
|
1546
|
+
createdAt: string;
|
|
1547
|
+
}
|
|
1548
|
+
interface IMAgentSnapshotOptions {
|
|
1549
|
+
includeMemory?: boolean;
|
|
1550
|
+
label?: string;
|
|
1551
|
+
metadata?: Record<string, unknown>;
|
|
1552
|
+
}
|
|
1553
|
+
interface IMAgentRestoreOptions {
|
|
1554
|
+
snapshotId: string;
|
|
1555
|
+
overrideMemory?: boolean;
|
|
1556
|
+
}
|
|
1557
|
+
interface IMAgentPublishOptions {
|
|
1558
|
+
slug?: string;
|
|
1559
|
+
version?: string;
|
|
1560
|
+
license?: string;
|
|
1561
|
+
metadata?: Record<string, unknown>;
|
|
1562
|
+
stripMemory?: boolean;
|
|
1563
|
+
}
|
|
1564
|
+
interface IMAgentPackListOptions {
|
|
1565
|
+
q?: string;
|
|
1566
|
+
curatedQuality?: string;
|
|
1567
|
+
license?: string;
|
|
1568
|
+
publisherDid?: string;
|
|
1569
|
+
cursor?: string;
|
|
1570
|
+
limit?: number;
|
|
1571
|
+
}
|
|
1572
|
+
interface IMAgentForkOptions {
|
|
1573
|
+
targetWorkspaceId: string;
|
|
1574
|
+
displayName?: string;
|
|
1575
|
+
identityOptions?: {
|
|
1576
|
+
avatarUrl?: string;
|
|
1577
|
+
publicKeyBase64?: string;
|
|
1578
|
+
};
|
|
1579
|
+
}
|
|
1580
|
+
interface IMAgentForkResult {
|
|
1581
|
+
agentSpec: IMAgentSpec;
|
|
1582
|
+
newDid?: string | null;
|
|
1583
|
+
newImUserId: string;
|
|
1584
|
+
package: IMAgentPack;
|
|
1585
|
+
}
|
|
1586
|
+
/**
|
|
1587
|
+
* Per-call options for the internal request function (v2.0).
|
|
1588
|
+
* `headers` — extra request headers to merge in (caller wins over default
|
|
1589
|
+
* Authorization/X-IM-Agent on collision).
|
|
1590
|
+
*/
|
|
1591
|
+
interface RequestOpts {
|
|
1592
|
+
headers?: Record<string, string>;
|
|
1593
|
+
}
|
|
1594
|
+
/**
|
|
1595
|
+
* Internal request function type.
|
|
1596
|
+
*
|
|
1597
|
+
* v2.0: added optional 5th `opts` parameter so callers can inject extra
|
|
1598
|
+
* headers (e.g. `X-Idempotency-Key` for message sends). Backward compatible —
|
|
1599
|
+
* existing 4-arg callsites still type-check.
|
|
1600
|
+
*/
|
|
1601
|
+
type RequestFn = <T>(method: string, path: string, body?: unknown, query?: Record<string, string>, opts?: RequestOpts) => Promise<T>;
|
|
1371
1602
|
interface ExecutionContext {
|
|
1372
1603
|
error?: string;
|
|
1373
1604
|
provider?: string;
|
|
@@ -2490,6 +2721,11 @@ interface AgentHostDeclarePayload {
|
|
|
2490
2721
|
platform: 'darwin' | 'linux' | 'win32';
|
|
2491
2722
|
agents: HostedAgentDeclaration[];
|
|
2492
2723
|
}
|
|
2724
|
+
interface RejectedHostedAgent {
|
|
2725
|
+
imUserId: string;
|
|
2726
|
+
reason: 'bound-to-other-daemon' | 'not-owned' | 'unknown';
|
|
2727
|
+
ownerDaemonId?: string;
|
|
2728
|
+
}
|
|
2493
2729
|
interface HostAckedPayload {
|
|
2494
2730
|
workspaceId: string;
|
|
2495
2731
|
syncCursor: {
|
|
@@ -2501,6 +2737,8 @@ interface HostAckedPayload {
|
|
|
2501
2737
|
/** Profile IDs the daemon declared but that no longer exist on the cloud
|
|
2502
2738
|
* (soft-deleted). The daemon should remove these from its local store. */
|
|
2503
2739
|
profilesToDelete: string[];
|
|
2740
|
+
acceptedAgents?: string[];
|
|
2741
|
+
rejectedAgents?: RejectedHostedAgent[];
|
|
2504
2742
|
}
|
|
2505
2743
|
interface AgentStatusChangedPayload {
|
|
2506
2744
|
agentImUserId: string;
|
|
@@ -3316,8 +3554,15 @@ declare class AccountClient {
|
|
|
3316
3554
|
declare class DirectClient {
|
|
3317
3555
|
private _r;
|
|
3318
3556
|
constructor(_r: RequestFn);
|
|
3319
|
-
/**
|
|
3320
|
-
|
|
3557
|
+
/**
|
|
3558
|
+
* Send a direct message to a user.
|
|
3559
|
+
*
|
|
3560
|
+
* v2.0 §4.6 — `content` may now be a `ContentBlock[]` for multimodal sends.
|
|
3561
|
+
* v2.0 §3.0.2 Gap A-④ — when `options.idempotencyKey` is omitted, the SDK
|
|
3562
|
+
* generates a UUID per call and stamps it into the `X-Idempotency-Key`
|
|
3563
|
+
* header. Pass the same key across retries to trigger server dedup.
|
|
3564
|
+
*/
|
|
3565
|
+
send(userId: string, content: string | ContentBlock[], options?: IMSendOptions): Promise<IMResult<IMMessageData>>;
|
|
3321
3566
|
/** Get direct message history with a user */
|
|
3322
3567
|
getMessages(userId: string, options?: IMPaginationOptions): Promise<IMResult<IMMessage[]>>;
|
|
3323
3568
|
}
|
|
@@ -3331,8 +3576,13 @@ declare class GroupsClient {
|
|
|
3331
3576
|
list(): Promise<IMResult<IMGroupData[]>>;
|
|
3332
3577
|
/** Get group details */
|
|
3333
3578
|
get(groupId: string): Promise<IMResult<IMGroupData>>;
|
|
3334
|
-
/**
|
|
3335
|
-
|
|
3579
|
+
/**
|
|
3580
|
+
* Send a message to a group.
|
|
3581
|
+
*
|
|
3582
|
+
* v2.0 §4.6 — `content` may now be a `ContentBlock[]` for multimodal sends.
|
|
3583
|
+
* v2.0 §3.0.2 Gap A-④ — auto-generates `X-Idempotency-Key` per call.
|
|
3584
|
+
*/
|
|
3585
|
+
send(groupId: string, content: string | ContentBlock[], options?: IMSendOptions): Promise<IMResult<IMMessageData>>;
|
|
3336
3586
|
/** Get group message history */
|
|
3337
3587
|
getMessages(groupId: string, options?: IMPaginationOptions): Promise<IMResult<IMMessage[]>>;
|
|
3338
3588
|
/** Add a member to a group (owner/admin only) */
|
|
@@ -3373,8 +3623,21 @@ declare class ConversationsClient {
|
|
|
3373
3623
|
declare class MessagesClient {
|
|
3374
3624
|
private _r;
|
|
3375
3625
|
constructor(_r: RequestFn);
|
|
3376
|
-
/**
|
|
3377
|
-
|
|
3626
|
+
/**
|
|
3627
|
+
* Send a message to a conversation.
|
|
3628
|
+
*
|
|
3629
|
+
* v2.0 §4.6 — `content` may now be a `ContentBlock[]` for multimodal sends.
|
|
3630
|
+
* The SDK serialises ContentBlock[] into `body.contentBlocks` (preferred
|
|
3631
|
+
* path) while still writing a string `content` for legacy renderers during
|
|
3632
|
+
* the §4.6 6-sprint double-read window.
|
|
3633
|
+
*
|
|
3634
|
+
* v2.0 §3.0.2 Gap A-④ — when `options.idempotencyKey` is omitted, the SDK
|
|
3635
|
+
* auto-generates `crypto.randomUUID()` per call and includes it as the
|
|
3636
|
+
* `X-Idempotency-Key` HTTP header. The server applies UNIQUE
|
|
3637
|
+
* `(conversationId, idempotencyKey)` dedup; pass the same key across
|
|
3638
|
+
* retries to safely re-send.
|
|
3639
|
+
*/
|
|
3640
|
+
send(conversationId: string, content: string | ContentBlock[], options?: IMSendOptions): Promise<IMResult<IMMessageData>>;
|
|
3378
3641
|
/** Get message history for a conversation */
|
|
3379
3642
|
getHistory(conversationId: string, options?: IMPaginationOptions): Promise<IMResult<IMMessage[]>>;
|
|
3380
3643
|
/** Edit a message */
|
|
@@ -3711,6 +3974,35 @@ declare class EvolutionSkillsClient {
|
|
|
3711
3974
|
stars?: number;
|
|
3712
3975
|
}>>;
|
|
3713
3976
|
}
|
|
3977
|
+
/** Agent 4-tuple lifecycle: spec, snapshots, publish, and fork. */
|
|
3978
|
+
declare class AgentsClient {
|
|
3979
|
+
private _r;
|
|
3980
|
+
constructor(_r: RequestFn);
|
|
3981
|
+
spec(agentId: string, workspaceId?: string): Promise<IMResult<IMAgentSpec>>;
|
|
3982
|
+
snapshot(agentId: string, options?: IMAgentSnapshotOptions): Promise<IMResult<IMAgentSnapshot>>;
|
|
3983
|
+
snapshots(agentId: string, options?: {
|
|
3984
|
+
cursor?: string;
|
|
3985
|
+
limit?: number;
|
|
3986
|
+
}): Promise<IMResult<{
|
|
3987
|
+
items: IMAgentSnapshot[];
|
|
3988
|
+
nextCursor?: string;
|
|
3989
|
+
}>>;
|
|
3990
|
+
restore(agentId: string, options: IMAgentRestoreOptions): Promise<IMResult<{
|
|
3991
|
+
restored: boolean;
|
|
3992
|
+
agentSpec: IMAgentSpec;
|
|
3993
|
+
snapshot: IMAgentSnapshot;
|
|
3994
|
+
}>>;
|
|
3995
|
+
publish(agentId: string, options?: IMAgentPublishOptions): Promise<IMResult<IMAgentPack>>;
|
|
3996
|
+
listPacks(options?: IMAgentPackListOptions): Promise<IMResult<{
|
|
3997
|
+
items: IMAgentPack[];
|
|
3998
|
+
nextCursor?: string;
|
|
3999
|
+
}>>;
|
|
4000
|
+
forkPack(packIdOrSlug: string, options: IMAgentForkOptions): Promise<IMResult<IMAgentForkResult>>;
|
|
4001
|
+
deletePack(packIdOrSlug: string): Promise<IMResult<{
|
|
4002
|
+
deleted: boolean;
|
|
4003
|
+
packageId: string;
|
|
4004
|
+
}>>;
|
|
4005
|
+
}
|
|
3714
4006
|
/** Skill Evolution: gene management, analysis, recording, distillation */
|
|
3715
4007
|
declare class EvolutionClient {
|
|
3716
4008
|
private _r;
|
|
@@ -4249,6 +4541,7 @@ declare class IMClient {
|
|
|
4249
4541
|
readonly knowledge: KnowledgeLinkClient;
|
|
4250
4542
|
readonly identity: IdentityClient;
|
|
4251
4543
|
readonly security: SecurityClient;
|
|
4544
|
+
readonly agents: AgentsClient;
|
|
4252
4545
|
readonly evolution: EvolutionClient;
|
|
4253
4546
|
readonly community: CommunityHub;
|
|
4254
4547
|
readonly files: FilesClient;
|
|
@@ -4352,4 +4645,4 @@ declare class PrismerClient {
|
|
|
4352
4645
|
|
|
4353
4646
|
declare function createClient(config: PrismerConfig): PrismerClient;
|
|
4354
4647
|
|
|
4355
|
-
export { AccountClient, type AgentChangedPayload, type AgentHostDeclarePayload, type AgentProfileChangedPayload, type AgentStatusChangedPayload, type AssetChangedPayload, type AssetDispatchObservation, type AssetDispatchStrategy, type AssetRef, AssetsClient, AttachmentQueue, type AuthenticatedPayload, type BatchSummary, type BatchUrlCost, BindingsClient, type CacheManager, type Card, type CardCreateInput, type CardFilters, type CardKanbanMetadata, type CardKanbanMetadataSource, type CardKanbanStatus, type CardMetadata, type CardMove, type CommandResult, CommunityHub, type CommunityHubConfig, ContactsClient, type ControlCommand, ConversationsClient, CreditsClient, type DaemonControlPlane, type DecryptResult, type DerivationMode, DirectClient, type DisconnectedPayload, E2EEncryption, ENVIRONMENTS, type EncryptedContextResult, type EncryptedFileResult, type EncryptedMessage, type Environment, type ErrorPayload, EvolutionCache, EvolutionClient, EvolutionRuntime, type EvolutionRuntimeConfig, type EvolutionSession, EvolutionSkillsClient, type EvolutionSyncDelta, type EvolutionSyncSnapshot, type ExecutionContext, type ExecutionPolicy, type FileInput, FilesClient, type GeneCategory, type GeneSelectionResult, type GeneVisibility, GroupsClient, type HostAckedPayload, type HostedAgentDeclaration, type IMAccountDeleteResult, type IMAgentCard, type IMAgentPersonality, type IMAgentSkillAckInput, type IMAgentSkillInstallOptions, type IMAgentSkillListOptions, type IMAgentSkillRecord, type IMAgentStatus, type IMAnalyzeOptions, type IMAnalyzeResult, type IMAsset, type IMAssetDetail, type IMAssetListOptions, type IMAssetPreviewContract, type IMAssetPreviewKind, type IMAssetPreviewStatus, type IMAssetRevision, type IMAssetRevisionList, type IMAssetUploadOptions, type IMAutocompleteResult, type IMBinding, type IMBindingData, type IMBlockedUser, type IMCapsule, IMClient, type IMCompactOptions, type IMCompactionSummary, type IMCompleteTaskOptions, type IMConfirmResult, type IMContact, type IMConversation, type IMConversationsOptions, type IMCreateBindingOptions, type IMCreateGeneOptions, type IMCreateGroupOptions, type IMCreateMemoryFileOptions, type IMCreateRuntimeInstallationOptions, type IMCreateTaskOptions, type IMCreateWorkspaceFileOptions, type IMCreateWorkspaceOptions, type IMCreditsData, type IMDiscoverAgent, type IMDiscoverOptions, type IMEvolutionEdge, type IMEvolutionStats, type IMFileQuota, type IMForkGeneOptions, type IMFriendRequest, type IMGene, type IMGeneListOptions, type IMGroupData, type IMGroupMember, type IMIdentityKey, type IMInstallAgentOnRuntimeOptions, type IMInstallAgentOnRuntimeResult, type IMKeyAuditEntry, type IMKeyVerifyResult, type IMKnowledgeLink, type IMMeData, type IMMemoryDigest, type IMMemoryDigestOptions, type IMMemoryFile, type IMMemoryFileDetail, type IMMemoryKnowledgeLinks, type IMMemoryLoadResult, type IMMessage, type IMMessageAttachment, type IMMessageData, type IMMultipartInitResult, type IMOwnedAgent, type IMPaginationOptions, type IMPresignOptions, type IMPresignResult, IMRealtimeClient, type IMRecordOutcomeOptions, type IMRegisterData, type IMRegisterKeyOptions, type IMRegisterOptions, type IMResult, type IMRouting, type IMRuntimeInstallation, type IMSendOptions, type IMSkillContent, type IMSkillCreateInput, type IMSkillInfo, type IMSkillInstallResult, type IMSkillSearchOptions, type IMSkillUpdateInput, type IMTask, type IMTaskDetail, type IMTaskListOptions, type IMTaskLog, type IMTaskResult, type IMTokenData, type IMTransaction, type IMUpdateMemoryFileOptions, type IMUpdateTaskOptions, type IMUpdateWorkspaceOptions, type IMUser, type IMUserProfile, type IMWSMessage, type IMWorkspace, type IMWorkspaceData, type IMWorkspaceFile, type IMWorkspaceFileSyncResult, type IMWorkspaceInitGroupOptions, type IMWorkspaceInitOptions, type IMWorkspaceOrchestrator, type IMWorkspaceOrchestratorEnvelope, type IMWorkspaceSyncResult, IdentityClient, IndexedDBStorage, type KeyManager, KnowledgeLinkClient, type KnowledgeLinkSource, type KnowledgeLinkType, type LLMBackend, type LLMDispatcher, type LLMResult, type LLMTask, type LoadOptions, type LoadResult, type LoadResultItem, MemoryClient, MemoryStorage, type MessageDeletedPayload, type MessageEditPayload, type MessageNewPayload, type MessageReactionPayload, MessagesClient, type ModelEntry, type NotificationSink, type OfflineConfig, type OfflineEventMap, type OfflineEventType, OfflineManager, type OutboxOperation, type ParseCost, type ParseCostBreakdown, type ParseDocument, type ParseDocumentImage, type ParseOptions, type ParseResult, type ParseUsage, type PongPayload, type PresenceChangedPayload, PrismerClient, type PrismerConfig, type PrismerEvent, type QueryCost, type QuerySummary, type QueuedAttachment, type QueuedTask, type RankingFactors, type RealtimeCommand, type RealtimeConfig, type RealtimeEventMap, type RealtimeEventType, RealtimeSSEClient, type RealtimeState, RealtimeWSClient, type ReconnectingPayload, type RequestFn, RuntimeInstallationsClient, type RuntimePhase, type RuntimeRoute, SQLiteStorage, type SaveBatchOptions, type SaveOptions, type SaveResult, type ScheduleType, SecurityClient, type SendFileOptions, type SendFileResult, type SessionMetrics, type SignalEnrichmentConfig, type SignalTag, type SingleUrlCost, type StorageAdapter, type StoredContact, type StoredConversation, type StoredMessage, type Suggestion, type SyncEvent, type SyncResult, TabCoordinator, type TaskCancelPayload, type TaskDispatchContextEntry, type TaskDispatchProgressPayload, type TaskDispatchReplyPayload, type TaskDispatchRequestPayload, type TaskEventEnvelope, type TaskEventType, type TaskExecutor, type TaskKind, type TaskStatus, TasksClient, type TypingIndicatorPayload, type UploadOptions, type UploadResult, WORKSPACE_ASSETS_ROUTE, type WorkspaceAssetFilters, type WorkspaceAssetRoute, type WorkspaceAssetUploadInput, type WorkspaceAssetsApiContract, type WorkspaceChangedPayload, WorkspaceClient, type WorkspaceFileChangedPayload, WorkspaceFilesClient, WorkspacesClient, createClient, createEnrichedExtractor, decryptContext, decryptFile, decryptMessages, decryptOnReceive, PrismerClient as default, encryptContext, encryptFile, encryptForSend, extractSignals, guessMimeType, readCardKanbanMetadata, safeSlug, writeCardKanbanMetadata };
|
|
4648
|
+
export { AccountClient, type AgentChangedPayload, type AgentHostDeclarePayload, type AgentProfileChangedPayload, type AgentStatusChangedPayload, AgentsClient, type AssetChangedPayload, type AssetDispatchObservation, type AssetDispatchStrategy, type AssetRef, AssetsClient, AttachmentQueue, type AudioMime, type AuthenticatedPayload, type BatchSummary, type BatchUrlCost, BindingsClient, type CacheManager, type Card, type CardCreateInput, type CardFilters, type CardKanbanMetadata, type CardKanbanMetadataSource, type CardKanbanStatus, type CardMetadata, type CardMove, type ChatMessage, type CommandResult, CommunityHub, type CommunityHubConfig, ContactsClient, type ContentBlock, type ContentBlockAudio, type ContentBlockFile, type ContentBlockImage, type ContentBlockReasoning, type ContentBlockText, type ContentBlockToolResult, type ContentBlockToolUse, type ContentBlockVideo, type ControlCommand, ConversationsClient, CreditsClient, type DaemonControlPlane, type DecryptResult, type DerivationMode, DirectClient, type DisconnectedPayload, E2EEncryption, ENVIRONMENTS, type EncryptedContextResult, type EncryptedFileResult, type EncryptedMessage, type Environment, type ErrorPayload, EvolutionCache, EvolutionClient, EvolutionRuntime, type EvolutionRuntimeConfig, type EvolutionSession, EvolutionSkillsClient, type EvolutionSyncDelta, type EvolutionSyncSnapshot, type ExecutionContext, type ExecutionPolicy, type FileInput, FilesClient, type GeneCategory, type GeneSelectionResult, type GeneVisibility, GroupsClient, type HostAckedPayload, type HostedAgentDeclaration, type IMAccountDeleteResult, type IMAgentCard, type IMAgentForkOptions, type IMAgentForkResult, type IMAgentPack, type IMAgentPackListOptions, type IMAgentPersonality, type IMAgentPublishOptions, type IMAgentRestoreOptions, type IMAgentSkillAckInput, type IMAgentSkillInstallOptions, type IMAgentSkillListOptions, type IMAgentSkillRecord, type IMAgentSnapshot, type IMAgentSnapshotOptions, type IMAgentSpec, type IMAgentStatus, type IMAnalyzeOptions, type IMAnalyzeResult, type IMAsset, type IMAssetDetail, type IMAssetListOptions, type IMAssetPreviewContract, type IMAssetPreviewKind, type IMAssetPreviewStatus, type IMAssetRevision, type IMAssetRevisionList, type IMAssetUploadOptions, type IMAutocompleteResult, type IMBinding, type IMBindingData, type IMBlockedUser, type IMCapsule, IMClient, type IMCompactOptions, type IMCompactionSummary, type IMCompleteTaskOptions, type IMConfirmResult, type IMContact, type IMConversation, type IMConversationsOptions, type IMCreateBindingOptions, type IMCreateGeneOptions, type IMCreateGroupOptions, type IMCreateMemoryFileOptions, type IMCreateRuntimeInstallationOptions, type IMCreateTaskOptions, type IMCreateWorkspaceFileOptions, type IMCreateWorkspaceOptions, type IMCreditsData, type IMDiscoverAgent, type IMDiscoverOptions, type IMEvolutionEdge, type IMEvolutionStats, type IMFileQuota, type IMForkGeneOptions, type IMFriendRequest, type IMGene, type IMGeneListOptions, type IMGroupData, type IMGroupMember, type IMIdentityKey, type IMInstallAgentOnRuntimeOptions, type IMInstallAgentOnRuntimeResult, type IMKeyAuditEntry, type IMKeyVerifyResult, type IMKnowledgeLink, type IMMeData, type IMMemoryDigest, type IMMemoryDigestOptions, type IMMemoryFile, type IMMemoryFileDetail, type IMMemoryKnowledgeLinks, type IMMemoryLoadResult, type IMMessage, type IMMessageAttachment, type IMMessageData, type IMMultipartInitResult, type IMOwnedAgent, type IMPaginationOptions, type IMPresignOptions, type IMPresignResult, IMRealtimeClient, type IMRecordOutcomeOptions, type IMRegisterData, type IMRegisterKeyOptions, type IMRegisterOptions, type IMResult, type IMRouting, type IMRuntimeInstallation, type IMSendOptions, type IMSkillContent, type IMSkillCreateInput, type IMSkillInfo, type IMSkillInstallResult, type IMSkillSearchOptions, type IMSkillUpdateInput, type IMTask, type IMTaskDetail, type IMTaskListOptions, type IMTaskLog, type IMTaskResult, type IMTokenData, type IMTransaction, type IMUpdateMemoryFileOptions, type IMUpdateTaskOptions, type IMUpdateWorkspaceOptions, type IMUser, type IMUserProfile, type IMWSMessage, type IMWorkspace, type IMWorkspaceData, type IMWorkspaceFile, type IMWorkspaceFileSyncResult, type IMWorkspaceInitGroupOptions, type IMWorkspaceInitOptions, type IMWorkspaceOrchestrator, type IMWorkspaceOrchestratorEnvelope, type IMWorkspaceSyncResult, IdentityClient, type ImageMime, IndexedDBStorage, type KeyManager, KnowledgeLinkClient, type KnowledgeLinkSource, type KnowledgeLinkType, type LLMBackend, type LLMDispatcher, type LLMResult, type LLMTask, type LoadOptions, type LoadResult, type LoadResultItem, MemoryClient, MemoryStorage, type MessageDeletedPayload, type MessageEditPayload, type MessageNewPayload, type MessageReactionPayload, MessagesClient, type ModelEntry, type NotificationSink, type OfflineConfig, type OfflineEventMap, type OfflineEventType, OfflineManager, type OutboxOperation, type ParseCost, type ParseCostBreakdown, type ParseDocument, type ParseDocumentImage, type ParseOptions, type ParseResult, type ParseUsage, type PongPayload, type PresenceChangedPayload, PrismerClient, type PrismerConfig, type PrismerEvent, type QueryCost, type QuerySummary, type QueuedAttachment, type QueuedTask, type RankingFactors, type RealtimeCommand, type RealtimeConfig, type RealtimeEventMap, type RealtimeEventType, RealtimeSSEClient, type RealtimeState, RealtimeWSClient, type ReconnectingPayload, type RejectedHostedAgent, type RequestFn, type RequestOpts, RuntimeInstallationsClient, type RuntimePhase, type RuntimeRoute, SQLiteStorage, type SaveBatchOptions, type SaveOptions, type SaveResult, type ScheduleType, SecurityClient, type SendFileOptions, type SendFileResult, type SessionMetrics, type SignalEnrichmentConfig, type SignalTag, type SingleUrlCost, type StorageAdapter, type StoredContact, type StoredConversation, type StoredMessage, type Suggestion, type SyncEvent, type SyncResult, TabCoordinator, type TaskCancelPayload, type TaskDispatchContextEntry, type TaskDispatchProgressPayload, type TaskDispatchReplyPayload, type TaskDispatchRequestPayload, type TaskEventEnvelope, type TaskEventType, type TaskExecutor, type TaskInput, type TaskKind, type TaskStatus, TasksClient, type TypingIndicatorPayload, type UploadOptions, type UploadResult, type VideoMime, WORKSPACE_ASSETS_ROUTE, type WorkspaceAssetFilters, type WorkspaceAssetRoute, type WorkspaceAssetUploadInput, type WorkspaceAssetsApiContract, type WorkspaceChangedPayload, WorkspaceClient, type WorkspaceFileChangedPayload, WorkspaceFilesClient, WorkspacesClient, createClient, createEnrichedExtractor, decryptContext, decryptFile, decryptMessages, decryptOnReceive, PrismerClient as default, encryptContext, encryptFile, encryptForSend, extractSignals, guessMimeType, readCardKanbanMetadata, safeSlug, writeCardKanbanMetadata };
|