@personaai/react 0.17.1 → 0.18.0
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/README.md +55 -0
- package/dist/index.cjs +214 -149
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +67 -2
- package/dist/index.d.ts +67 -2
- package/dist/index.js +201 -137
- package/dist/index.js.map +1 -1
- package/package.json +1 -6
package/dist/index.d.cts
CHANGED
|
@@ -1208,6 +1208,51 @@ interface UseMcpAdminOptions {
|
|
|
1208
1208
|
/** Free-text match against name/description. */
|
|
1209
1209
|
search?: string;
|
|
1210
1210
|
}
|
|
1211
|
+
/** `sms`, or `whatsapp` (also inferred from a `whatsapp:` prefix on `to`). */
|
|
1212
|
+
type PersonaMessageChannel = "sms" | "whatsapp";
|
|
1213
|
+
interface SendPersonaMessageInput {
|
|
1214
|
+
/** Recipient's E.164 number, e.g. `"+919876543210"`. */
|
|
1215
|
+
to: string;
|
|
1216
|
+
channel?: PersonaMessageChannel;
|
|
1217
|
+
/** Required unless {@link contentSid} supplies an approved WhatsApp template. */
|
|
1218
|
+
body?: string;
|
|
1219
|
+
mediaUrl?: string | string[];
|
|
1220
|
+
/** Approved WhatsApp template SID — required outside the 24-hour session window. */
|
|
1221
|
+
contentSid?: string;
|
|
1222
|
+
contentVariables?: Record<string, string> | string;
|
|
1223
|
+
}
|
|
1224
|
+
interface SendPersonaAgentMessageInput {
|
|
1225
|
+
agentId: string;
|
|
1226
|
+
/** Recipient's E.164 number — the same conversation is shared with SMS/WhatsApp/voice. */
|
|
1227
|
+
to: string;
|
|
1228
|
+
/** What the Agent should say (or act on) in its reply. */
|
|
1229
|
+
prompt: string;
|
|
1230
|
+
channel?: PersonaMessageChannel;
|
|
1231
|
+
/** Sender display name for channels that support one. */
|
|
1232
|
+
displayName?: string;
|
|
1233
|
+
}
|
|
1234
|
+
interface PersonaMessageDelivery {
|
|
1235
|
+
channel: PersonaMessageChannel;
|
|
1236
|
+
to: string;
|
|
1237
|
+
from: string | null;
|
|
1238
|
+
/** One Twilio SID per delivered part (long bodies are split). */
|
|
1239
|
+
messageSids: string[];
|
|
1240
|
+
status: string | null;
|
|
1241
|
+
parts: number;
|
|
1242
|
+
}
|
|
1243
|
+
interface PersonaAgentMessageDelivery extends PersonaMessageDelivery {
|
|
1244
|
+
agentId: string;
|
|
1245
|
+
}
|
|
1246
|
+
interface UseMessagesResult {
|
|
1247
|
+
/** True while either send is in flight. */
|
|
1248
|
+
isSending: boolean;
|
|
1249
|
+
/** The last failure, if any — the same error is also thrown from the call that failed. */
|
|
1250
|
+
error: Error | null;
|
|
1251
|
+
/** The most recent successful send, whichever method produced it. */
|
|
1252
|
+
lastDelivery: PersonaMessageDelivery | PersonaAgentMessageDelivery | null;
|
|
1253
|
+
send: (input: SendPersonaMessageInput) => Promise<PersonaMessageDelivery>;
|
|
1254
|
+
sendFromAgent: (input: SendPersonaAgentMessageInput) => Promise<PersonaAgentMessageDelivery>;
|
|
1255
|
+
}
|
|
1211
1256
|
|
|
1212
1257
|
interface PersonaContextValue {
|
|
1213
1258
|
baseUrl: string;
|
|
@@ -1396,6 +1441,26 @@ declare function useWorkspaceFiles(agentId: string | undefined, autoFetch?: bool
|
|
|
1396
1441
|
*/
|
|
1397
1442
|
declare function useVoice(options?: UseVoiceOptions): UseVoiceResult;
|
|
1398
1443
|
|
|
1444
|
+
/**
|
|
1445
|
+
* Outbound SMS/WhatsApp — `POST /messages` and `POST /messages/agent` on your
|
|
1446
|
+
* own backend (`createRuntime` or a framework adapter on top of it). Both
|
|
1447
|
+
* sends go through `fetchWithAuth`, exactly like every other hook here; the
|
|
1448
|
+
* Project credential never reaches the browser.
|
|
1449
|
+
*
|
|
1450
|
+
* Requires the host runtime to opt in with `capabilities: { messages: true }`
|
|
1451
|
+
* — unlike `chat`/`voice`, messaging isn't end-user-scoped server-side (`to`
|
|
1452
|
+
* is any E.164 number and each send spends the Project's Twilio balance), so
|
|
1453
|
+
* it's off by default and both routes 404 until enabled. Enabling it also
|
|
1454
|
+
* means every caller your `resolveUser` accepts on that mount can text
|
|
1455
|
+
* arbitrary numbers through it — gate it accordingly.
|
|
1456
|
+
*
|
|
1457
|
+
* Conversations are keyed by phone number, so an SMS, a WhatsApp message, and
|
|
1458
|
+
* a voice call with the same (Project, Agent, number) share one thread:
|
|
1459
|
+
* `sendFromAgent()` continues whatever conversation is already in progress
|
|
1460
|
+
* there rather than starting fresh.
|
|
1461
|
+
*/
|
|
1462
|
+
declare function useMessages(): UseMessagesResult;
|
|
1463
|
+
|
|
1399
1464
|
declare function useFiles(autoFetch?: boolean): {
|
|
1400
1465
|
files: PersonaFileItem[];
|
|
1401
1466
|
isLoading: boolean;
|
|
@@ -1770,6 +1835,6 @@ declare function supportsStreamingFetch(): boolean;
|
|
|
1770
1835
|
*/
|
|
1771
1836
|
declare function openSSEStream(opts: OpenSSEOptions): Promise<SSEStream>;
|
|
1772
1837
|
|
|
1773
|
-
declare const VERSION = "0.
|
|
1838
|
+
declare const VERSION = "0.18.0";
|
|
1774
1839
|
|
|
1775
|
-
export { ARCHITECT_AGENT_ID, type CreatePersonaAgentInput, type CreatePersonaKnowledgeBaseInput, type CreatePersonaMcpInput, type CreatePersonaRcpSourceInput, type CreatePersonaSkillInput, type CreatePersonaWorkflowInput, type OpenSSEOptions, type PersonaAgent, type PersonaAgentCategory, type PersonaAgentSnapshot, type PersonaAgentSocialLinks, type PersonaAgentVisibility, type PersonaBulkDeleteResult, type PersonaClarificationQuestion, type PersonaDeleteDocumentResult, type PersonaFileItem, type PersonaHealthInfo, type PersonaHitlActionRequest, type PersonaInterrupt, type PersonaKnowledgeBase, type PersonaKnowledgeBaseUsage, type PersonaKnowledgeDocument, type PersonaKnowledgeSearchResult, type PersonaMcp, type PersonaMcpAuthMode, type PersonaMcpAuthType, type PersonaMcpConnection, type PersonaMcpOAuthConfig, type PersonaMcpOAuthInput, type PersonaMcpResourceSummary, type PersonaMcpResourceTemplate, type PersonaMcpTestConnectionResult, type PersonaMcpTool, type PersonaMcpTransport, type PersonaMemoryAgentGroup, type PersonaMemoryFile, type PersonaMemoryList, type PersonaMessage, type PersonaNodeOnErrorAction, type PersonaNodeRetryPolicy, type PersonaNodeRun, type PersonaNodeRunState, type PersonaNodeRunStatus, type PersonaPagination, type PersonaPresentedFile, PersonaProvider, type PersonaProviderProps, type PersonaRcpParamContextMapEntry, type PersonaRcpSource, type PersonaRcpSourceTestResult, type PersonaRcpSourceToolParamSummary, type PersonaRcpSourceToolSummary, type PersonaResourceUsage, type PersonaResumeValue, type PersonaRole, type PersonaSandboxCommand, type PersonaSkill, type PersonaSkillFile, type PersonaSkillUsage, type PersonaStreamingEvent, type PersonaSubagentActivityEntry, type PersonaThread, type PersonaTodo, type PersonaToolCall, type PersonaUploadDocumentsResult, type PersonaVoiceEndReason, type PersonaVoiceState, type PersonaVoiceToolCall, type PersonaVoiceTranscriptLine, type PersonaWorkflow, type PersonaWorkflowDraft, type PersonaWorkflowEdge, type PersonaWorkflowNode, type PersonaWorkflowNodeData, type PersonaWorkflowNodeType, type PersonaWorkflowOwnerType, type PersonaWorkflowRun, type PersonaWorkflowRunStatus, type PersonaWorkflowTrigger, type PersonaWorkflowTriggerType, type PersonaWorkflowUsage, type PersonaWorkflowVersion, type PersonaWorkflowVisibility, type PersonaWorkspaceFile, type SSEReader, type SSEStream, type SendArchitectMessageOverride, type SendMessageOverride, type UpdatePersonaAgentInput, type UpdatePersonaKnowledgeBaseInput, type UpdatePersonaMcpInput, type UpdatePersonaRcpSourceInput, type UpdatePersonaSkillInput, type UpdatePersonaWorkflowInput, type UploadKnowledgeDocumentInput, type UseAgentsOptions, type UseArchitectChatOptions, type UseChatOptions, type UseKnowledgeBasesOptions, type UseMcpAdminOptions, type UseMcpConnectionsOptions, type UseMcpOptions, type UseRcpSourcesOptions, type UseSkillsOptions, type UseVoiceOptions, type UseVoiceResult, type UseWorkflowOptions, type UseWorkflowRunsOptions, type UseWorkflowStreamOptions, type UseWorkflowStreamResult, type UseWorkflowsOptions, VERSION, type WorkflowsPagination, openSSEStream, supportsStreamingFetch, useAgents, useArchitectChat, useChat, useConnection, useFiles, useKnowledgeBases, useMcp, useMcpAdmin, useMcpConnections, useMemory, usePersonaContext, useRcpSources, useSkills, useThreads, useVoice, useWorkflow, useWorkflowRuns, useWorkflowStream, useWorkflows, useWorkspaceFiles };
|
|
1840
|
+
export { ARCHITECT_AGENT_ID, type CreatePersonaAgentInput, type CreatePersonaKnowledgeBaseInput, type CreatePersonaMcpInput, type CreatePersonaRcpSourceInput, type CreatePersonaSkillInput, type CreatePersonaWorkflowInput, type OpenSSEOptions, type PersonaAgent, type PersonaAgentCategory, type PersonaAgentMessageDelivery, type PersonaAgentSnapshot, type PersonaAgentSocialLinks, type PersonaAgentVisibility, type PersonaBulkDeleteResult, type PersonaClarificationQuestion, type PersonaDeleteDocumentResult, type PersonaFileItem, type PersonaHealthInfo, type PersonaHitlActionRequest, type PersonaInterrupt, type PersonaKnowledgeBase, type PersonaKnowledgeBaseUsage, type PersonaKnowledgeDocument, type PersonaKnowledgeSearchResult, type PersonaMcp, type PersonaMcpAuthMode, type PersonaMcpAuthType, type PersonaMcpConnection, type PersonaMcpOAuthConfig, type PersonaMcpOAuthInput, type PersonaMcpResourceSummary, type PersonaMcpResourceTemplate, type PersonaMcpTestConnectionResult, type PersonaMcpTool, type PersonaMcpTransport, type PersonaMemoryAgentGroup, type PersonaMemoryFile, type PersonaMemoryList, type PersonaMessage, type PersonaMessageChannel, type PersonaMessageDelivery, type PersonaNodeOnErrorAction, type PersonaNodeRetryPolicy, type PersonaNodeRun, type PersonaNodeRunState, type PersonaNodeRunStatus, type PersonaPagination, type PersonaPresentedFile, PersonaProvider, type PersonaProviderProps, type PersonaRcpParamContextMapEntry, type PersonaRcpSource, type PersonaRcpSourceTestResult, type PersonaRcpSourceToolParamSummary, type PersonaRcpSourceToolSummary, type PersonaResourceUsage, type PersonaResumeValue, type PersonaRole, type PersonaSandboxCommand, type PersonaSkill, type PersonaSkillFile, type PersonaSkillUsage, type PersonaStreamingEvent, type PersonaSubagentActivityEntry, type PersonaThread, type PersonaTodo, type PersonaToolCall, type PersonaUploadDocumentsResult, type PersonaVoiceEndReason, type PersonaVoiceState, type PersonaVoiceToolCall, type PersonaVoiceTranscriptLine, type PersonaWorkflow, type PersonaWorkflowDraft, type PersonaWorkflowEdge, type PersonaWorkflowNode, type PersonaWorkflowNodeData, type PersonaWorkflowNodeType, type PersonaWorkflowOwnerType, type PersonaWorkflowRun, type PersonaWorkflowRunStatus, type PersonaWorkflowTrigger, type PersonaWorkflowTriggerType, type PersonaWorkflowUsage, type PersonaWorkflowVersion, type PersonaWorkflowVisibility, type PersonaWorkspaceFile, type SSEReader, type SSEStream, type SendArchitectMessageOverride, type SendMessageOverride, type SendPersonaAgentMessageInput, type SendPersonaMessageInput, type UpdatePersonaAgentInput, type UpdatePersonaKnowledgeBaseInput, type UpdatePersonaMcpInput, type UpdatePersonaRcpSourceInput, type UpdatePersonaSkillInput, type UpdatePersonaWorkflowInput, type UploadKnowledgeDocumentInput, type UseAgentsOptions, type UseArchitectChatOptions, type UseChatOptions, type UseKnowledgeBasesOptions, type UseMcpAdminOptions, type UseMcpConnectionsOptions, type UseMcpOptions, type UseMessagesResult, type UseRcpSourcesOptions, type UseSkillsOptions, type UseVoiceOptions, type UseVoiceResult, type UseWorkflowOptions, type UseWorkflowRunsOptions, type UseWorkflowStreamOptions, type UseWorkflowStreamResult, type UseWorkflowsOptions, VERSION, type WorkflowsPagination, openSSEStream, supportsStreamingFetch, useAgents, useArchitectChat, useChat, useConnection, useFiles, useKnowledgeBases, useMcp, useMcpAdmin, useMcpConnections, useMemory, useMessages, usePersonaContext, useRcpSources, useSkills, useThreads, useVoice, useWorkflow, useWorkflowRuns, useWorkflowStream, useWorkflows, useWorkspaceFiles };
|
package/dist/index.d.ts
CHANGED
|
@@ -1208,6 +1208,51 @@ interface UseMcpAdminOptions {
|
|
|
1208
1208
|
/** Free-text match against name/description. */
|
|
1209
1209
|
search?: string;
|
|
1210
1210
|
}
|
|
1211
|
+
/** `sms`, or `whatsapp` (also inferred from a `whatsapp:` prefix on `to`). */
|
|
1212
|
+
type PersonaMessageChannel = "sms" | "whatsapp";
|
|
1213
|
+
interface SendPersonaMessageInput {
|
|
1214
|
+
/** Recipient's E.164 number, e.g. `"+919876543210"`. */
|
|
1215
|
+
to: string;
|
|
1216
|
+
channel?: PersonaMessageChannel;
|
|
1217
|
+
/** Required unless {@link contentSid} supplies an approved WhatsApp template. */
|
|
1218
|
+
body?: string;
|
|
1219
|
+
mediaUrl?: string | string[];
|
|
1220
|
+
/** Approved WhatsApp template SID — required outside the 24-hour session window. */
|
|
1221
|
+
contentSid?: string;
|
|
1222
|
+
contentVariables?: Record<string, string> | string;
|
|
1223
|
+
}
|
|
1224
|
+
interface SendPersonaAgentMessageInput {
|
|
1225
|
+
agentId: string;
|
|
1226
|
+
/** Recipient's E.164 number — the same conversation is shared with SMS/WhatsApp/voice. */
|
|
1227
|
+
to: string;
|
|
1228
|
+
/** What the Agent should say (or act on) in its reply. */
|
|
1229
|
+
prompt: string;
|
|
1230
|
+
channel?: PersonaMessageChannel;
|
|
1231
|
+
/** Sender display name for channels that support one. */
|
|
1232
|
+
displayName?: string;
|
|
1233
|
+
}
|
|
1234
|
+
interface PersonaMessageDelivery {
|
|
1235
|
+
channel: PersonaMessageChannel;
|
|
1236
|
+
to: string;
|
|
1237
|
+
from: string | null;
|
|
1238
|
+
/** One Twilio SID per delivered part (long bodies are split). */
|
|
1239
|
+
messageSids: string[];
|
|
1240
|
+
status: string | null;
|
|
1241
|
+
parts: number;
|
|
1242
|
+
}
|
|
1243
|
+
interface PersonaAgentMessageDelivery extends PersonaMessageDelivery {
|
|
1244
|
+
agentId: string;
|
|
1245
|
+
}
|
|
1246
|
+
interface UseMessagesResult {
|
|
1247
|
+
/** True while either send is in flight. */
|
|
1248
|
+
isSending: boolean;
|
|
1249
|
+
/** The last failure, if any — the same error is also thrown from the call that failed. */
|
|
1250
|
+
error: Error | null;
|
|
1251
|
+
/** The most recent successful send, whichever method produced it. */
|
|
1252
|
+
lastDelivery: PersonaMessageDelivery | PersonaAgentMessageDelivery | null;
|
|
1253
|
+
send: (input: SendPersonaMessageInput) => Promise<PersonaMessageDelivery>;
|
|
1254
|
+
sendFromAgent: (input: SendPersonaAgentMessageInput) => Promise<PersonaAgentMessageDelivery>;
|
|
1255
|
+
}
|
|
1211
1256
|
|
|
1212
1257
|
interface PersonaContextValue {
|
|
1213
1258
|
baseUrl: string;
|
|
@@ -1396,6 +1441,26 @@ declare function useWorkspaceFiles(agentId: string | undefined, autoFetch?: bool
|
|
|
1396
1441
|
*/
|
|
1397
1442
|
declare function useVoice(options?: UseVoiceOptions): UseVoiceResult;
|
|
1398
1443
|
|
|
1444
|
+
/**
|
|
1445
|
+
* Outbound SMS/WhatsApp — `POST /messages` and `POST /messages/agent` on your
|
|
1446
|
+
* own backend (`createRuntime` or a framework adapter on top of it). Both
|
|
1447
|
+
* sends go through `fetchWithAuth`, exactly like every other hook here; the
|
|
1448
|
+
* Project credential never reaches the browser.
|
|
1449
|
+
*
|
|
1450
|
+
* Requires the host runtime to opt in with `capabilities: { messages: true }`
|
|
1451
|
+
* — unlike `chat`/`voice`, messaging isn't end-user-scoped server-side (`to`
|
|
1452
|
+
* is any E.164 number and each send spends the Project's Twilio balance), so
|
|
1453
|
+
* it's off by default and both routes 404 until enabled. Enabling it also
|
|
1454
|
+
* means every caller your `resolveUser` accepts on that mount can text
|
|
1455
|
+
* arbitrary numbers through it — gate it accordingly.
|
|
1456
|
+
*
|
|
1457
|
+
* Conversations are keyed by phone number, so an SMS, a WhatsApp message, and
|
|
1458
|
+
* a voice call with the same (Project, Agent, number) share one thread:
|
|
1459
|
+
* `sendFromAgent()` continues whatever conversation is already in progress
|
|
1460
|
+
* there rather than starting fresh.
|
|
1461
|
+
*/
|
|
1462
|
+
declare function useMessages(): UseMessagesResult;
|
|
1463
|
+
|
|
1399
1464
|
declare function useFiles(autoFetch?: boolean): {
|
|
1400
1465
|
files: PersonaFileItem[];
|
|
1401
1466
|
isLoading: boolean;
|
|
@@ -1770,6 +1835,6 @@ declare function supportsStreamingFetch(): boolean;
|
|
|
1770
1835
|
*/
|
|
1771
1836
|
declare function openSSEStream(opts: OpenSSEOptions): Promise<SSEStream>;
|
|
1772
1837
|
|
|
1773
|
-
declare const VERSION = "0.
|
|
1838
|
+
declare const VERSION = "0.18.0";
|
|
1774
1839
|
|
|
1775
|
-
export { ARCHITECT_AGENT_ID, type CreatePersonaAgentInput, type CreatePersonaKnowledgeBaseInput, type CreatePersonaMcpInput, type CreatePersonaRcpSourceInput, type CreatePersonaSkillInput, type CreatePersonaWorkflowInput, type OpenSSEOptions, type PersonaAgent, type PersonaAgentCategory, type PersonaAgentSnapshot, type PersonaAgentSocialLinks, type PersonaAgentVisibility, type PersonaBulkDeleteResult, type PersonaClarificationQuestion, type PersonaDeleteDocumentResult, type PersonaFileItem, type PersonaHealthInfo, type PersonaHitlActionRequest, type PersonaInterrupt, type PersonaKnowledgeBase, type PersonaKnowledgeBaseUsage, type PersonaKnowledgeDocument, type PersonaKnowledgeSearchResult, type PersonaMcp, type PersonaMcpAuthMode, type PersonaMcpAuthType, type PersonaMcpConnection, type PersonaMcpOAuthConfig, type PersonaMcpOAuthInput, type PersonaMcpResourceSummary, type PersonaMcpResourceTemplate, type PersonaMcpTestConnectionResult, type PersonaMcpTool, type PersonaMcpTransport, type PersonaMemoryAgentGroup, type PersonaMemoryFile, type PersonaMemoryList, type PersonaMessage, type PersonaNodeOnErrorAction, type PersonaNodeRetryPolicy, type PersonaNodeRun, type PersonaNodeRunState, type PersonaNodeRunStatus, type PersonaPagination, type PersonaPresentedFile, PersonaProvider, type PersonaProviderProps, type PersonaRcpParamContextMapEntry, type PersonaRcpSource, type PersonaRcpSourceTestResult, type PersonaRcpSourceToolParamSummary, type PersonaRcpSourceToolSummary, type PersonaResourceUsage, type PersonaResumeValue, type PersonaRole, type PersonaSandboxCommand, type PersonaSkill, type PersonaSkillFile, type PersonaSkillUsage, type PersonaStreamingEvent, type PersonaSubagentActivityEntry, type PersonaThread, type PersonaTodo, type PersonaToolCall, type PersonaUploadDocumentsResult, type PersonaVoiceEndReason, type PersonaVoiceState, type PersonaVoiceToolCall, type PersonaVoiceTranscriptLine, type PersonaWorkflow, type PersonaWorkflowDraft, type PersonaWorkflowEdge, type PersonaWorkflowNode, type PersonaWorkflowNodeData, type PersonaWorkflowNodeType, type PersonaWorkflowOwnerType, type PersonaWorkflowRun, type PersonaWorkflowRunStatus, type PersonaWorkflowTrigger, type PersonaWorkflowTriggerType, type PersonaWorkflowUsage, type PersonaWorkflowVersion, type PersonaWorkflowVisibility, type PersonaWorkspaceFile, type SSEReader, type SSEStream, type SendArchitectMessageOverride, type SendMessageOverride, type UpdatePersonaAgentInput, type UpdatePersonaKnowledgeBaseInput, type UpdatePersonaMcpInput, type UpdatePersonaRcpSourceInput, type UpdatePersonaSkillInput, type UpdatePersonaWorkflowInput, type UploadKnowledgeDocumentInput, type UseAgentsOptions, type UseArchitectChatOptions, type UseChatOptions, type UseKnowledgeBasesOptions, type UseMcpAdminOptions, type UseMcpConnectionsOptions, type UseMcpOptions, type UseRcpSourcesOptions, type UseSkillsOptions, type UseVoiceOptions, type UseVoiceResult, type UseWorkflowOptions, type UseWorkflowRunsOptions, type UseWorkflowStreamOptions, type UseWorkflowStreamResult, type UseWorkflowsOptions, VERSION, type WorkflowsPagination, openSSEStream, supportsStreamingFetch, useAgents, useArchitectChat, useChat, useConnection, useFiles, useKnowledgeBases, useMcp, useMcpAdmin, useMcpConnections, useMemory, usePersonaContext, useRcpSources, useSkills, useThreads, useVoice, useWorkflow, useWorkflowRuns, useWorkflowStream, useWorkflows, useWorkspaceFiles };
|
|
1840
|
+
export { ARCHITECT_AGENT_ID, type CreatePersonaAgentInput, type CreatePersonaKnowledgeBaseInput, type CreatePersonaMcpInput, type CreatePersonaRcpSourceInput, type CreatePersonaSkillInput, type CreatePersonaWorkflowInput, type OpenSSEOptions, type PersonaAgent, type PersonaAgentCategory, type PersonaAgentMessageDelivery, type PersonaAgentSnapshot, type PersonaAgentSocialLinks, type PersonaAgentVisibility, type PersonaBulkDeleteResult, type PersonaClarificationQuestion, type PersonaDeleteDocumentResult, type PersonaFileItem, type PersonaHealthInfo, type PersonaHitlActionRequest, type PersonaInterrupt, type PersonaKnowledgeBase, type PersonaKnowledgeBaseUsage, type PersonaKnowledgeDocument, type PersonaKnowledgeSearchResult, type PersonaMcp, type PersonaMcpAuthMode, type PersonaMcpAuthType, type PersonaMcpConnection, type PersonaMcpOAuthConfig, type PersonaMcpOAuthInput, type PersonaMcpResourceSummary, type PersonaMcpResourceTemplate, type PersonaMcpTestConnectionResult, type PersonaMcpTool, type PersonaMcpTransport, type PersonaMemoryAgentGroup, type PersonaMemoryFile, type PersonaMemoryList, type PersonaMessage, type PersonaMessageChannel, type PersonaMessageDelivery, type PersonaNodeOnErrorAction, type PersonaNodeRetryPolicy, type PersonaNodeRun, type PersonaNodeRunState, type PersonaNodeRunStatus, type PersonaPagination, type PersonaPresentedFile, PersonaProvider, type PersonaProviderProps, type PersonaRcpParamContextMapEntry, type PersonaRcpSource, type PersonaRcpSourceTestResult, type PersonaRcpSourceToolParamSummary, type PersonaRcpSourceToolSummary, type PersonaResourceUsage, type PersonaResumeValue, type PersonaRole, type PersonaSandboxCommand, type PersonaSkill, type PersonaSkillFile, type PersonaSkillUsage, type PersonaStreamingEvent, type PersonaSubagentActivityEntry, type PersonaThread, type PersonaTodo, type PersonaToolCall, type PersonaUploadDocumentsResult, type PersonaVoiceEndReason, type PersonaVoiceState, type PersonaVoiceToolCall, type PersonaVoiceTranscriptLine, type PersonaWorkflow, type PersonaWorkflowDraft, type PersonaWorkflowEdge, type PersonaWorkflowNode, type PersonaWorkflowNodeData, type PersonaWorkflowNodeType, type PersonaWorkflowOwnerType, type PersonaWorkflowRun, type PersonaWorkflowRunStatus, type PersonaWorkflowTrigger, type PersonaWorkflowTriggerType, type PersonaWorkflowUsage, type PersonaWorkflowVersion, type PersonaWorkflowVisibility, type PersonaWorkspaceFile, type SSEReader, type SSEStream, type SendArchitectMessageOverride, type SendMessageOverride, type SendPersonaAgentMessageInput, type SendPersonaMessageInput, type UpdatePersonaAgentInput, type UpdatePersonaKnowledgeBaseInput, type UpdatePersonaMcpInput, type UpdatePersonaRcpSourceInput, type UpdatePersonaSkillInput, type UpdatePersonaWorkflowInput, type UploadKnowledgeDocumentInput, type UseAgentsOptions, type UseArchitectChatOptions, type UseChatOptions, type UseKnowledgeBasesOptions, type UseMcpAdminOptions, type UseMcpConnectionsOptions, type UseMcpOptions, type UseMessagesResult, type UseRcpSourcesOptions, type UseSkillsOptions, type UseVoiceOptions, type UseVoiceResult, type UseWorkflowOptions, type UseWorkflowRunsOptions, type UseWorkflowStreamOptions, type UseWorkflowStreamResult, type UseWorkflowsOptions, VERSION, type WorkflowsPagination, openSSEStream, supportsStreamingFetch, useAgents, useArchitectChat, useChat, useConnection, useFiles, useKnowledgeBases, useMcp, useMcpAdmin, useMcpConnections, useMemory, useMessages, usePersonaContext, useRcpSources, useSkills, useThreads, useVoice, useWorkflow, useWorkflowRuns, useWorkflowStream, useWorkflows, useWorkspaceFiles };
|