Add MindSpace page live edit, chat skills, and H5 deploy tooling.
Introduce page edit sessions with draft preview and patch API, chat skill picker, user memory profile, h5ApiBase resolution, voice WAV transport, and scripts for 105/g2 deployment and Plaza local dev. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+18
-2
@@ -81,6 +81,10 @@ export type MindSpaceChatContext = {
|
||||
status: string;
|
||||
categoryCode: MindSpaceCategory['code'];
|
||||
}>;
|
||||
agentSessionId?: string;
|
||||
h5ApiBase?: string;
|
||||
pageEditMode?: boolean;
|
||||
parentAgentSessionId?: string;
|
||||
};
|
||||
|
||||
export type TokenState = {
|
||||
@@ -123,7 +127,7 @@ export type HarnessBootstrapResponse = {
|
||||
refreshed: boolean;
|
||||
};
|
||||
|
||||
export type ChatState = 'idle' | 'loading' | 'streaming' | 'waiting' | 'error';
|
||||
export type ChatState = 'idle' | 'loading' | 'connecting' | 'streaming' | 'waiting' | 'error';
|
||||
|
||||
export type ToolConfirmation = {
|
||||
id: string;
|
||||
@@ -296,7 +300,7 @@ export type MindSpaceRedactedCopyResult = {
|
||||
|
||||
export type MindSpaceCleanupItem = {
|
||||
id: string;
|
||||
kind: 'stale_upload' | 'orphan_tmp' | 'workspace_temp';
|
||||
kind: 'stale_upload' | 'orphan_tmp' | 'workspace_temp' | 'stale_page_version';
|
||||
label: string;
|
||||
path: string;
|
||||
sizeBytes: number;
|
||||
@@ -484,6 +488,12 @@ export type MindSpacePageDeleteResult = {
|
||||
deletedAssetCount: number;
|
||||
freedBytes: number;
|
||||
clearedAgentJobCount: number;
|
||||
quota?: MindSpaceQuota;
|
||||
};
|
||||
|
||||
export type MindSpaceRefreshOptions = {
|
||||
quota?: MindSpaceQuota;
|
||||
freedBytes?: number;
|
||||
};
|
||||
|
||||
export type CapabilityDefinition = {
|
||||
@@ -599,6 +609,12 @@ export type UsageRecord = {
|
||||
createdAt: number;
|
||||
};
|
||||
|
||||
export type BalanceUpdate = {
|
||||
balanceCents: number;
|
||||
tokensUsed?: number;
|
||||
lastUsage?: Pick<UsageRecord, 'inputTokens' | 'outputTokens' | 'costCents'>;
|
||||
};
|
||||
|
||||
export type LedgerEntry = {
|
||||
id: number;
|
||||
userId: string;
|
||||
|
||||
Reference in New Issue
Block a user