@ravi-os/sdk 0.2.0 → 0.2.1

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/client.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { Transport } from "./transport/types.js";
2
- import type { AdaptersListReturn, AdaptersShowReturn, AgentsCreateReturn, AgentsDebounceReturn, AgentsDebugReturn, AgentsDeleteReturn, AgentsListReturn, AgentsResetReturn, AgentsSessionReturn, AgentsSetReturn, AgentsShowReturn, AgentsSpecModeReturn, AgentsSyncInstructionsReturn, ArtifactsArchiveReturn, ArtifactsAttachReturn, ArtifactsBlobReturn, ArtifactsCreateReturn, ArtifactsEventReturn, ArtifactsEventsReturn, ArtifactsListReturn, ArtifactsShowReturn, ArtifactsUpdateReturn, ArtifactsWatchReturn, AudioGenerateReturn, ContactsAddReturn, ContactsAllowReturn, ContactsApproveReturn, ContactsBlockReturn, ContactsCheckReturn, ContactsDuplicatesReturn, ContactsFindReturn, ContactsGetReturn, ContactsGroupTagReturn, ContactsGroupUntagReturn, ContactsIdentityAddReturn, ContactsIdentityRemoveReturn, ContactsInfoReturn, ContactsLinkReturn, ContactsListReturn, ContactsMergeReturn, ContactsPendingReturn, ContactsRemoveReturn, ContactsSetReturn, ContactsTagReturn, ContactsUnlinkReturn, ContactsUntagReturn, ContextAuthorizeReturn, ContextCapabilitiesReturn, ContextCheckReturn, ContextCodexBashHookReturn, ContextCredentialsAddReturn, ContextCredentialsListReturn, ContextCredentialsRemoveReturn, ContextCredentialsSetDefaultReturn, ContextInfoReturn, ContextIssueReturn, ContextLineageReturn, ContextListReturn, ContextRevokeReturn, ContextWhoamiReturn, CostsAgentReturn, CostsAgentsReturn, CostsSessionReturn, CostsSummaryReturn, CostsTopSessionsReturn, CronAddReturn, CronDisableReturn, CronEnableReturn, CronListReturn, CronRmReturn, CronRunReturn, CronSetReturn, CronShowReturn, DaemonDevReturn, DaemonEnvReturn, DaemonInitAdminKeyReturn, DaemonInstallReturn, DaemonLogsReturn, DaemonRestartReturn, DaemonRunReturn, DaemonStartReturn, DaemonStatusReturn, DaemonStopReturn, DaemonUninstallReturn, DevinAuthCheckReturn, DevinSessionsArchiveReturn, DevinSessionsAttachmentsReturn, DevinSessionsCreateReturn, DevinSessionsInsightsReturn, DevinSessionsListReturn, DevinSessionsMessagesReturn, DevinSessionsSendReturn, DevinSessionsShowReturn, DevinSessionsSyncReturn, DevinSessionsTerminateReturn, EvalRunReturn, EventsReplayReturn, EventsStreamReturn, HeartbeatDisableReturn, HeartbeatEnableReturn, HeartbeatSetReturn, HeartbeatShowReturn, HeartbeatStatusReturn, HeartbeatTriggerReturn, HooksCreateReturn, HooksDisableReturn, HooksEnableReturn, HooksListReturn, HooksRmReturn, HooksShowReturn, HooksTestReturn, ImageAtlasSplitReturn, ImageGenerateReturn, InsightsCreateReturn, InsightsListReturn, InsightsSearchReturn, InsightsShowReturn, InstancesConnectReturn, InstancesCreateReturn, InstancesDeleteReturn, InstancesDeletedReturn, InstancesDisableReturn, InstancesDisconnectReturn, InstancesEnableReturn, InstancesGetReturn, InstancesListReturn, InstancesPendingApproveReturn, InstancesPendingListReturn, InstancesPendingRejectReturn, InstancesRestoreReturn, InstancesRoutesAddReturn, InstancesRoutesDeletedReturn, InstancesRoutesListReturn, InstancesRoutesRemoveReturn, InstancesRoutesRestoreReturn, InstancesRoutesSetReturn, InstancesRoutesShowReturn, InstancesSetReturn, InstancesShowReturn, InstancesStatusReturn, InstancesTargetReturn, MediaSendReturn, PermissionsCheckReturn, PermissionsClearReturn, PermissionsGrantReturn, PermissionsInitReturn, PermissionsListReturn, PermissionsRevokeReturn, PermissionsSyncReturn, ProjectsCreateReturn, ProjectsFixturesSeedReturn, ProjectsInitReturn, ProjectsLinkReturn, ProjectsListReturn, ProjectsNextReturn, ProjectsResourcesAddReturn, ProjectsResourcesImportReturn, ProjectsResourcesListReturn, ProjectsResourcesShowReturn, ProjectsShowReturn, ProjectsStatusReturn, ProjectsTasksAttachReturn, ProjectsTasksCreateReturn, ProjectsTasksDispatchReturn, ProjectsUpdateReturn, ProjectsWorkflowsAttachReturn, ProjectsWorkflowsStartReturn, ProxCallsCancelReturn, ProxCallsEventsReturn, ProxCallsProfilesConfigureReturn, ProxCallsProfilesListReturn, ProxCallsProfilesShowReturn, ProxCallsRequestReturn, ProxCallsRulesReturn, ProxCallsShowReturn, ProxCallsToolsBindReturn, ProxCallsToolsConfigureReturn, ProxCallsToolsCreateReturn, ProxCallsToolsListReturn, ProxCallsToolsRunReturn, ProxCallsToolsRunsReturn, ProxCallsToolsShowReturn, ProxCallsToolsUnbindReturn, ProxCallsTranscriptReturn, ProxCallsVoiceAgentsBindToolReturn, ProxCallsVoiceAgentsConfigureReturn, ProxCallsVoiceAgentsCreateReturn, ProxCallsVoiceAgentsListReturn, ProxCallsVoiceAgentsShowReturn, ProxCallsVoiceAgentsSyncReturn, ProxCallsVoiceAgentsUnbindToolReturn, ReactSendReturn, RoutesExplainReturn, RoutesListReturn, RoutesShowReturn, SdkClientCheckReturn, SdkClientGenerateReturn, SdkOpenapiCheckReturn, SdkOpenapiEmitReturn, ServiceStartReturn, ServiceTuiReturn, ServiceWaReturn, SessionsAnswerReturn, SessionsAskReturn, SessionsDebugReturn, SessionsDeleteReturn, SessionsExecuteReturn, SessionsExtendReturn, SessionsInfoReturn, SessionsInformReturn, SessionsKeepReturn, SessionsListReturn, SessionsReadReturn, SessionsRenameReturn, SessionsResetReturn, SessionsRuntimeFollowUpReturn, SessionsRuntimeForkReturn, SessionsRuntimeInterruptReturn, SessionsRuntimeListReturn, SessionsRuntimeReadReturn, SessionsRuntimeRollbackReturn, SessionsRuntimeSteerReturn, SessionsSendReturn, SessionsSetDisplayReturn, SessionsSetModelReturn, SessionsSetThinkingReturn, SessionsSetTtlReturn, SessionsTraceReturn, SettingsDeleteReturn, SettingsGetReturn, SettingsListReturn, SettingsSetReturn, SkillsInstallReturn, SkillsListReturn, SkillsShowReturn, SkillsSyncReturn, SpecsGetReturn, SpecsListReturn, SpecsNewReturn, SpecsSyncReturn, StickersAddReturn, StickersListReturn, StickersRemoveReturn, StickersSendReturn, StickersShowReturn, TagsAttachReturn, TagsCreateReturn, TagsDetachReturn, TagsListReturn, TagsSearchReturn, TagsShowReturn, TasksArchiveReturn, TasksAutomationsAddReturn, TasksAutomationsDisableReturn, TasksAutomationsEnableReturn, TasksAutomationsListReturn, TasksAutomationsRmReturn, TasksAutomationsShowReturn, TasksBlockReturn, TasksCommentReturn, TasksCreateReturn, TasksDepsAddReturn, TasksDepsLsReturn, TasksDepsRmReturn, TasksDispatchReturn, TasksDoneReturn, TasksFailReturn, TasksListReturn, TasksProfilesInitReturn, TasksProfilesListReturn, TasksProfilesPreviewReturn, TasksProfilesShowReturn, TasksProfilesValidateReturn, TasksReportReturn, TasksShowReturn, TasksUnarchiveReturn, TasksWatchReturn, TmuxAttachReturn, TmuxListReturn, TmuxOpenReturn, TmuxWatchReturn, ToolsListReturn, ToolsManifestReturn, ToolsSchemaReturn, ToolsShowReturn, ToolsTestReturn, TranscribeFileReturn, TriggersAddReturn, TriggersDisableReturn, TriggersEnableReturn, TriggersListReturn, TriggersRmReturn, TriggersSetReturn, TriggersShowReturn, TriggersTestReturn, VideoAnalyzeReturn, WhatsappDmAckReturn, WhatsappDmReadReturn, WhatsappDmSendReturn, WhatsappGroupAddReturn, WhatsappGroupCreateReturn, WhatsappGroupDemoteReturn, WhatsappGroupDescriptionReturn, WhatsappGroupInfoReturn, WhatsappGroupInviteReturn, WhatsappGroupJoinReturn, WhatsappGroupLeaveReturn, WhatsappGroupListReturn, WhatsappGroupPromoteReturn, WhatsappGroupRemoveReturn, WhatsappGroupRenameReturn, WhatsappGroupRevokeInviteReturn, WhatsappGroupSettingsReturn, WorkflowsRunsArchiveNodeReturn, WorkflowsRunsCancelReturn, WorkflowsRunsListReturn, WorkflowsRunsReleaseReturn, WorkflowsRunsShowReturn, WorkflowsRunsSkipReturn, WorkflowsRunsStartReturn, WorkflowsRunsTaskAttachReturn, WorkflowsRunsTaskCreateReturn, WorkflowsSpecsCreateReturn, WorkflowsSpecsListReturn, WorkflowsSpecsShowReturn } from "./types.js";
2
+ import type { AdaptersListReturn, AdaptersShowReturn, AgentsCreateReturn, AgentsDebounceReturn, AgentsDebugReturn, AgentsDeleteReturn, AgentsListReturn, AgentsResetReturn, AgentsSessionReturn, AgentsSetReturn, AgentsShowReturn, AgentsSpecModeReturn, AgentsSyncInstructionsReturn, ArtifactsArchiveReturn, ArtifactsAttachReturn, ArtifactsBlobReturn, ArtifactsCreateReturn, ArtifactsEventReturn, ArtifactsEventsReturn, ArtifactsListReturn, ArtifactsPublishReturn, ArtifactsReleaseActivateReturn, ArtifactsRestoreReturn, ArtifactsShowReturn, ArtifactsSnapshotReturn, ArtifactsUpdateReturn, ArtifactsVersionReturn, ArtifactsVersionsReturn, AudioGenerateReturn, CommandsListReturn, CommandsRunReturn, CommandsShowReturn, CommandsValidateReturn, ContactsActivityReturn, ContactsAddReturn, ContactsAllowReturn, ContactsApproveReturn, ContactsBlockReturn, ContactsCheckReturn, ContactsDuplicatesReturn, ContactsFindReturn, ContactsGetReturn, ContactsGroupTagReturn, ContactsGroupUntagReturn, ContactsIdentityAddReturn, ContactsIdentityRemoveReturn, ContactsInfoReturn, ContactsLinkReturn, ContactsListReturn, ContactsMergeReturn, ContactsMessagesReturn, ContactsMetadataListReturn, ContactsMetadataRemoveReturn, ContactsMetadataSetReturn, ContactsNoteReturn, ContactsPendingReturn, ContactsProfileReturn, ContactsRemoveReturn, ContactsSessionsReturn, ContactsSetReturn, ContactsTagReturn, ContactsTimelineReturn, ContactsUnlinkReturn, ContactsUntagReturn, ContextAuthorizeReturn, ContextCapabilitiesReturn, ContextCheckReturn, ContextCleanupAgentRuntimeReturn, ContextCodexBashHookReturn, ContextCredentialsAddReturn, ContextCredentialsListReturn, ContextCredentialsRemoveReturn, ContextCredentialsSetDefaultReturn, ContextInfoReturn, ContextIssueReturn, ContextLineageReturn, ContextListReturn, ContextRevokeReturn, ContextVisibilityReturn, ContextWhoamiReturn, CostsAgentReturn, CostsAgentsReturn, CostsSessionReturn, CostsSummaryReturn, CostsTopSessionsReturn, CrmAccountCreateReturn, CrmAccountLinkContactReturn, CrmAccountReturn, CrmAccountShowReturn, CrmBoardReturn, CrmContactReturn, CrmContactSetReturn, CrmContactShowReturn, CrmContactsReturn, CrmFactConfirmReturn, CrmFactListReturn, CrmFactProposeReturn, CrmFactRejectReturn, CrmNextReturn, CrmOpportunityContactsReturn, CrmOpportunityCreateReturn, CrmOpportunityLinkContactReturn, CrmOpportunityMoveReturn, CrmOpportunityReturn, CrmOpportunityShowReturn, CrmTaskCreateReturn, CrmTaskDoneReturn, CrmTaskShowReturn, CronAddReturn, CronDisableReturn, CronEnableReturn, CronListReturn, CronRmReturn, CronRunReturn, CronSetReturn, CronShowReturn, DaemonEnvReturn, DaemonInitAdminKeyReturn, DaemonInstallReturn, DaemonLogsReturn, DaemonRestartReturn, DaemonStartReturn, DaemonStatusReturn, DaemonStopReturn, DaemonUninstallReturn, DevinAuthCheckReturn, DevinSessionsArchiveReturn, DevinSessionsAttachmentsReturn, DevinSessionsCreateReturn, DevinSessionsInsightsReturn, DevinSessionsListReturn, DevinSessionsMessagesReturn, DevinSessionsSendReturn, DevinSessionsShowReturn, DevinSessionsSyncReturn, DevinSessionsTerminateReturn, EvalRunReturn, HeartbeatDisableReturn, HeartbeatEnableReturn, HeartbeatSetReturn, HeartbeatShowReturn, HeartbeatStatusReturn, HeartbeatTriggerReturn, HooksCreateReturn, HooksDisableReturn, HooksEnableReturn, HooksListReturn, HooksRmReturn, HooksShowReturn, HooksTestReturn, ImageAtlasSplitReturn, ImageGenerateReturn, InsightsCreateReturn, InsightsListReturn, InsightsSearchReturn, InsightsShowReturn, InstancesCreateReturn, InstancesDeleteReturn, InstancesDeletedReturn, InstancesDisableReturn, InstancesDisconnectReturn, InstancesEnableReturn, InstancesGetReturn, InstancesListReturn, InstancesPendingApproveReturn, InstancesPendingListReturn, InstancesPendingRejectReturn, InstancesRestoreReturn, InstancesRoutesAddReturn, InstancesRoutesDeletedReturn, InstancesRoutesListReturn, InstancesRoutesRemoveReturn, InstancesRoutesRestoreReturn, InstancesRoutesSetReturn, InstancesRoutesShowReturn, InstancesSetReturn, InstancesShowReturn, InstancesStatusReturn, InstancesTargetReturn, MediaSendReturn, ObserversListReturn, ObserversProfilesInitReturn, ObserversProfilesListReturn, ObserversProfilesPreviewReturn, ObserversProfilesShowReturn, ObserversProfilesValidateReturn, ObserversRefreshReturn, ObserversRulesDisableReturn, ObserversRulesEnableReturn, ObserversRulesExplainReturn, ObserversRulesListReturn, ObserversRulesRmReturn, ObserversRulesSetReturn, ObserversRulesShowReturn, ObserversRulesValidateReturn, ObserversShowReturn, PermissionsCheckReturn, PermissionsClearReturn, PermissionsGrantReturn, PermissionsInitReturn, PermissionsListReturn, PermissionsRevokeReturn, PermissionsSyncReturn, ProjectsCreateReturn, ProjectsFixturesSeedReturn, ProjectsInitReturn, ProjectsLinkReturn, ProjectsListReturn, ProjectsNextReturn, ProjectsResourcesAddReturn, ProjectsResourcesImportReturn, ProjectsResourcesListReturn, ProjectsResourcesShowReturn, ProjectsShowReturn, ProjectsStatusReturn, ProjectsTasksAttachReturn, ProjectsTasksCreateReturn, ProjectsTasksDispatchReturn, ProjectsUpdateReturn, ProjectsWorkflowsAttachReturn, ProjectsWorkflowsStartReturn, ProxCallsCancelReturn, ProxCallsEventsReturn, ProxCallsProfilesConfigureReturn, ProxCallsProfilesListReturn, ProxCallsProfilesShowReturn, ProxCallsRequestReturn, ProxCallsRulesReturn, ProxCallsShowReturn, ProxCallsToolsBindReturn, ProxCallsToolsConfigureReturn, ProxCallsToolsCreateReturn, ProxCallsToolsListReturn, ProxCallsToolsRunReturn, ProxCallsToolsRunsReturn, ProxCallsToolsShowReturn, ProxCallsToolsUnbindReturn, ProxCallsTranscriptReturn, ProxCallsVoiceAgentsBindToolReturn, ProxCallsVoiceAgentsConfigureReturn, ProxCallsVoiceAgentsCreateReturn, ProxCallsVoiceAgentsListReturn, ProxCallsVoiceAgentsShowReturn, ProxCallsVoiceAgentsSyncReturn, ProxCallsVoiceAgentsUnbindToolReturn, ReactSendReturn, RoutesExplainReturn, RoutesListReturn, RoutesShowReturn, SdkClientCheckReturn, SdkClientGenerateReturn, SdkOpenapiCheckReturn, SdkOpenapiEmitReturn, SdkSwiftCheckReturn, SdkSwiftGenerateReturn, SelfChatReturn, SelfContextReturn, SelfExplainReturn, SelfKnowledgeReturn, SelfPermissionsReturn, SelfRecentReturn, SelfRouteReturn, SelfWhoamiReturn, ServiceStartReturn, ServiceTuiReturn, ServiceWaReturn, SessionsAnswerReturn, SessionsAskReturn, SessionsDeleteReturn, SessionsExecuteReturn, SessionsExtendReturn, SessionsGoalReturn, SessionsInfoReturn, SessionsInformReturn, SessionsKeepReturn, SessionsListReturn, SessionsPruneReturn, SessionsReadReturn, SessionsRenameReturn, SessionsResetReturn, SessionsRuntimeFollowUpReturn, SessionsRuntimeForkReturn, SessionsRuntimeInterruptReturn, SessionsRuntimeListReturn, SessionsRuntimeReadReturn, SessionsRuntimeRollbackReturn, SessionsRuntimeSteerReturn, SessionsSendReturn, SessionsSetDisplayReturn, SessionsSetModelReturn, SessionsSetThinkingReturn, SessionsSetTtlReturn, SessionsTraceReturn, SessionsVisibilityReturn, SettingsDeleteReturn, SettingsGetReturn, SettingsListReturn, SettingsSetReturn, SkillGatesDisableReturn, SkillGatesEnableReturn, SkillGatesListReturn, SkillGatesResetReturn, SkillGatesRmReturn, SkillGatesSetReturn, SkillGatesShowReturn, SkillsInstallReturn, SkillsListReturn, SkillsShowReturn, SkillsSyncReturn, SpecsGetReturn, SpecsListReturn, SpecsNewReturn, SpecsSyncReturn, StickersAddReturn, StickersListReturn, StickersRemoveReturn, StickersSendReturn, StickersShowReturn, TagsAttachReturn, TagsCreateReturn, TagsDetachReturn, TagsListReturn, TagsSearchReturn, TagsSetReturn, TagsShowReturn, TasksArchiveReturn, TasksAutomationsAddReturn, TasksAutomationsDisableReturn, TasksAutomationsEnableReturn, TasksAutomationsListReturn, TasksAutomationsRmReturn, TasksAutomationsShowReturn, TasksBlockReturn, TasksCommentReturn, TasksCreateReturn, TasksDepsAddReturn, TasksDepsLsReturn, TasksDepsRmReturn, TasksDispatchReturn, TasksDoneReturn, TasksFailReturn, TasksListReturn, TasksProfilesInitReturn, TasksProfilesListReturn, TasksProfilesPreviewReturn, TasksProfilesShowReturn, TasksProfilesValidateReturn, TasksReportReturn, TasksShowReturn, TasksUnarchiveReturn, ToolsListReturn, ToolsManifestReturn, ToolsSchemaReturn, ToolsShowReturn, ToolsTestReturn, TranscribeFileReturn, TriggersAddReturn, TriggersDisableReturn, TriggersEnableReturn, TriggersListReturn, TriggersRmReturn, TriggersSetReturn, TriggersShowReturn, TriggersTestReturn, VideoAnalyzeReturn, WhatsappChatsListReturn, WhatsappDmAckReturn, WhatsappDmReadReturn, WhatsappDmSendReturn, WhatsappGroupAddReturn, WhatsappGroupCreateReturn, WhatsappGroupDemoteReturn, WhatsappGroupDescriptionReturn, WhatsappGroupInfoReturn, WhatsappGroupInviteReturn, WhatsappGroupJoinReturn, WhatsappGroupLeaveReturn, WhatsappGroupListReturn, WhatsappGroupPromoteReturn, WhatsappGroupRemoveReturn, WhatsappGroupRenameReturn, WhatsappGroupRevokeInviteReturn, WhatsappGroupSettingsReturn, WorkflowsRunsArchiveNodeReturn, WorkflowsRunsCancelReturn, WorkflowsRunsListReturn, WorkflowsRunsReleaseReturn, WorkflowsRunsShowReturn, WorkflowsRunsSkipReturn, WorkflowsRunsStartReturn, WorkflowsRunsTaskAttachReturn, WorkflowsRunsTaskCreateReturn, WorkflowsSpecsCreateReturn, WorkflowsSpecsListReturn, WorkflowsSpecsShowReturn } from "./types.js";
3
3
  /**
4
4
  * `RaviClient` exposes every registry command as a typed method.
5
5
  *
@@ -14,6 +14,8 @@ export declare class RaviClient {
14
14
  readonly adapters: {
15
15
  /** List session adapters with health and bind state */
16
16
  list: (options?: {
17
+ limit?: string;
18
+ offset?: string;
17
19
  session?: string;
18
20
  status?: string;
19
21
  }) => Promise<AdaptersListReturn>;
@@ -35,7 +37,11 @@ export declare class RaviClient {
35
37
  /** Delete an agent */
36
38
  delete: (id: string) => Promise<AgentsDeleteReturn>;
37
39
  /** List all agents */
38
- list: () => Promise<AgentsListReturn>;
40
+ list: (options?: {
41
+ limit?: string;
42
+ offset?: string;
43
+ tag?: string;
44
+ }) => Promise<AgentsListReturn>;
39
45
  /** Reset agent session */
40
46
  reset: (id: string, nameOrKey?: string) => Promise<AgentsResetReturn>;
41
47
  /** Show agent session status */
@@ -63,12 +69,16 @@ export declare class RaviClient {
63
69
  /** Stream raw artifact bytes */
64
70
  blob: (id: string) => Promise<ArtifactsBlobReturn>;
65
71
  /** Create a generic Ravi artifact record */
66
- create: (kind: string, options?: {
72
+ create: (options?: {
73
+ assetBase?: string;
74
+ basePath?: string;
67
75
  command?: string;
68
76
  costUsd?: string;
69
77
  durationMs?: string;
78
+ entrypoint?: string;
70
79
  input?: string;
71
80
  inputTokens?: string;
81
+ kind?: string;
72
82
  lineage?: string;
73
83
  message?: string;
74
84
  metadata?: string;
@@ -104,13 +114,57 @@ export declare class RaviClient {
104
114
  kind?: string;
105
115
  lifecycle?: string;
106
116
  limit?: string;
117
+ offset?: string;
107
118
  rich?: boolean;
108
119
  session?: string;
109
120
  tag?: string;
110
121
  task?: string;
111
122
  }) => Promise<ArtifactsListReturn>;
123
+ /** Publish a local artifact package through a Console-compatible endpoint */
124
+ publish: (target: string, options?: {
125
+ artifactVersion?: string;
126
+ assetBase?: string;
127
+ basePath?: string;
128
+ console?: string;
129
+ description?: string;
130
+ entrypoint?: string;
131
+ idempotencyKey?: string;
132
+ name?: string;
133
+ noActivate?: boolean;
134
+ project?: string;
135
+ reason?: string;
136
+ replaceRelease?: boolean;
137
+ route?: string;
138
+ site?: string;
139
+ slug?: string;
140
+ uploadSession?: string;
141
+ visibility?: string;
142
+ }) => Promise<ArtifactsPublishReturn>;
143
+ release: {
144
+ /** Activate an existing Pages release for a local artifact */
145
+ activate: (id: string, options?: {
146
+ console?: string;
147
+ release?: string;
148
+ site?: string;
149
+ version?: string;
150
+ }) => Promise<ArtifactsReleaseActivateReturn>;
151
+ };
152
+ /** Restore current artifact content from an immutable version */
153
+ restore: (id: string, options?: {
154
+ message?: string;
155
+ version?: string;
156
+ }) => Promise<ArtifactsRestoreReturn>;
112
157
  /** Show artifact details, links and events */
113
158
  show: (id: string) => Promise<ArtifactsShowReturn>;
159
+ /** Create an immutable version snapshot for an artifact */
160
+ snapshot: (id: string, options?: {
161
+ label?: string;
162
+ manifest?: string;
163
+ message?: string;
164
+ metadata?: string;
165
+ source?: string;
166
+ status?: string;
167
+ }) => Promise<ArtifactsSnapshotReturn>;
114
168
  /** Edit artifact metadata and high-level fields */
115
169
  update: (id: string, options?: {
116
170
  command?: string;
@@ -138,11 +192,12 @@ export declare class RaviClient {
138
192
  totalTokens?: string;
139
193
  uri?: string;
140
194
  }) => Promise<ArtifactsUpdateReturn>;
141
- /** Watch artifact lifecycle until a terminal status */
142
- watch: (id: string, options?: {
143
- intervalMs?: string;
144
- timeoutMs?: string;
145
- }) => Promise<ArtifactsWatchReturn>;
195
+ /** Show one immutable artifact version */
196
+ version: (id: string, options?: {
197
+ version?: string;
198
+ }) => Promise<ArtifactsVersionReturn>;
199
+ /** List immutable versions for an artifact */
200
+ versions: (id: string) => Promise<ArtifactsVersionsReturn>;
146
201
  };
147
202
  readonly audio: {
148
203
  /** Generate speech from text using ElevenLabs TTS */
@@ -157,7 +212,34 @@ export declare class RaviClient {
157
212
  voice?: string;
158
213
  }) => Promise<AudioGenerateReturn>;
159
214
  };
215
+ readonly commands: {
216
+ /** List Ravi commands */
217
+ list: (options?: {
218
+ agent?: string;
219
+ limit?: string;
220
+ offset?: string;
221
+ tag?: string;
222
+ }) => Promise<CommandsListReturn>;
223
+ /** Render a Ravi command into its composed prompt */
224
+ run: (name: string, args: string[], options?: {
225
+ agent?: string;
226
+ }) => Promise<CommandsRunReturn>;
227
+ /** Show one Ravi command */
228
+ show: (name: string, options?: {
229
+ agent?: string;
230
+ }) => Promise<CommandsShowReturn>;
231
+ /** Validate Ravi command files */
232
+ validate: (options?: {
233
+ agent?: string;
234
+ }) => Promise<CommandsValidateReturn>;
235
+ };
160
236
  readonly contacts: {
237
+ /** Show session activity attributed to a contact */
238
+ activity: (contact: string, options?: {
239
+ limit?: string;
240
+ offset?: string;
241
+ raw?: boolean;
242
+ }) => Promise<ContactsActivityReturn>;
161
243
  /** Add/allow a contact */
162
244
  add: (identity: string, name?: string, options?: {
163
245
  agent?: string;
@@ -200,20 +282,67 @@ export declare class RaviClient {
200
282
  }) => Promise<ContactsLinkReturn>;
201
283
  /** List all contacts */
202
284
  list: (options?: {
285
+ limit?: string;
286
+ offset?: string;
203
287
  status?: string;
204
288
  }) => Promise<ContactsListReturn>;
205
289
  /** Merge two contacts (move identities from source to target) */
206
290
  merge: (source: string, target: string) => Promise<ContactsMergeReturn>;
291
+ /** Show messages attributed to a contact */
292
+ messages: (contact: string, options?: {
293
+ limit?: string;
294
+ offset?: string;
295
+ }) => Promise<ContactsMessagesReturn>;
296
+ metadata: {
297
+ /** List current scoped metadata for a contact */
298
+ list: (contact: string, options?: {
299
+ limit?: string;
300
+ offset?: string;
301
+ scope?: string;
302
+ }) => Promise<ContactsMetadataListReturn>;
303
+ /** Remove scoped metadata from a contact */
304
+ remove: (contact: string, key: string, options?: {
305
+ scope?: string;
306
+ source?: string;
307
+ }) => Promise<ContactsMetadataRemoveReturn>;
308
+ /** Set scoped metadata for a contact */
309
+ set: (contact: string, key: string, value: string, options?: {
310
+ scope?: string;
311
+ source?: string;
312
+ }) => Promise<ContactsMetadataSetReturn>;
313
+ };
314
+ /** Append a note to a contact timeline */
315
+ note: (contact: string, text: string, options?: {
316
+ scope?: string;
317
+ source?: string;
318
+ }) => Promise<ContactsNoteReturn>;
207
319
  /** List pending contacts */
208
320
  pending: (options?: {
209
321
  account?: string;
210
322
  }) => Promise<ContactsPendingReturn>;
323
+ /** Show a contact profile card */
324
+ profile: (contact: string, options?: {
325
+ includeCrm?: boolean;
326
+ limit?: string;
327
+ }) => Promise<ContactsProfileReturn>;
211
328
  /** Remove a contact */
212
329
  remove: (contact: string) => Promise<ContactsRemoveReturn>;
330
+ /** Show session summaries attributed to a contact */
331
+ sessions: (contact: string, options?: {
332
+ limit?: string;
333
+ offset?: string;
334
+ }) => Promise<ContactsSessionsReturn>;
213
335
  /** Set contact property */
214
336
  set: (contact: string, key: string, value: string) => Promise<ContactsSetReturn>;
215
337
  /** Add a tag to a contact */
216
338
  tag: (contact: string, tag: string) => Promise<ContactsTagReturn>;
339
+ /** Show contact timeline events */
340
+ timeline: (contact: string, options?: {
341
+ event?: string;
342
+ limit?: string;
343
+ offset?: string;
344
+ scope?: string;
345
+ }) => Promise<ContactsTimelineReturn>;
217
346
  /** Unlink a platform identity from its contact */
218
347
  unlink: (platformIdentity: string, options?: {
219
348
  channel?: string;
@@ -230,6 +359,14 @@ export declare class RaviClient {
230
359
  capabilities: () => Promise<ContextCapabilitiesReturn>;
231
360
  /** Check whether the current runtime context allows an action */
232
361
  check: (permission: string, objectType: string, objectId: string) => Promise<ContextCheckReturn>;
362
+ /** Dry-run or revoke stale agent-runtime contexts left by old turn-scoped issuance */
363
+ cleanupAgentRuntime: (options?: {
364
+ agent?: string;
365
+ olderThan?: string;
366
+ reason?: string;
367
+ revoke?: boolean;
368
+ session?: string;
369
+ }) => Promise<ContextCleanupAgentRuntimeReturn>;
233
370
  /** Evaluate a Codex PreToolUse Bash hook payload from stdin using the current Ravi context */
234
371
  codexBashHook: () => Promise<ContextCodexBashHookReturn>;
235
372
  credentials: {
@@ -239,7 +376,10 @@ export declare class RaviClient {
239
376
  setDefault?: boolean;
240
377
  }) => Promise<ContextCredentialsAddReturn>;
241
378
  /** List entries in the local credentials store */
242
- list: () => Promise<ContextCredentialsListReturn>;
379
+ list: (options?: {
380
+ limit?: string;
381
+ offset?: string;
382
+ }) => Promise<ContextCredentialsListReturn>;
243
383
  /** Remove a stored context-key from the credentials store */
244
384
  remove: (contextKey: string) => Promise<ContextCredentialsRemoveReturn>;
245
385
  /** Mark a stored context-key as the default */
@@ -260,6 +400,8 @@ export declare class RaviClient {
260
400
  agent?: string;
261
401
  all?: boolean;
262
402
  kind?: string;
403
+ limit?: string;
404
+ offset?: string;
263
405
  session?: string;
264
406
  }) => Promise<ContextListReturn>;
265
407
  /** Revoke a runtime context by context ID */
@@ -267,6 +409,8 @@ export declare class RaviClient {
267
409
  noCascade?: boolean;
268
410
  reason?: string;
269
411
  }) => Promise<ContextRevokeReturn>;
412
+ /** Show the current context session visibility */
413
+ visibility: () => Promise<ContextVisibilityReturn>;
270
414
  /** Resolve the current runtime context */
271
415
  whoami: () => Promise<ContextWhoamiReturn>;
272
416
  };
@@ -292,6 +436,125 @@ export declare class RaviClient {
292
436
  limit?: string;
293
437
  }) => Promise<CostsTopSessionsReturn>;
294
438
  };
439
+ readonly crm: {
440
+ account: {
441
+ /** Create a CRM account */
442
+ create: (name: string, options?: {
443
+ contact?: string;
444
+ domain?: string;
445
+ idempotencyKey?: string;
446
+ owner?: string;
447
+ }) => Promise<CrmAccountCreateReturn>;
448
+ /** Link a contact to an account */
449
+ linkContact: (account: string, contact: string, options?: {
450
+ primary?: boolean;
451
+ role?: string;
452
+ }) => Promise<CrmAccountLinkContactReturn>;
453
+ /** Show CRM account */
454
+ show: (account: string) => Promise<CrmAccountShowReturn>;
455
+ };
456
+ /** Show CRM account */
457
+ accountCommand: (account: string) => Promise<CrmAccountReturn>;
458
+ /** Show open opportunity board */
459
+ board: () => Promise<CrmBoardReturn>;
460
+ contact: {
461
+ /** Set one CRM contact profile field */
462
+ set: (contact: string, field: string, value: string, options?: {
463
+ source?: string;
464
+ }) => Promise<CrmContactSetReturn>;
465
+ /** Show CRM profile for one contact */
466
+ show: (contact: string) => Promise<CrmContactShowReturn>;
467
+ };
468
+ /** Show CRM profile for one contact */
469
+ contactCommand: (contact: string) => Promise<CrmContactReturn>;
470
+ /** List CRM contact cards */
471
+ contacts: (options?: {
472
+ limit?: string;
473
+ offset?: string;
474
+ owner?: string;
475
+ status?: string;
476
+ }) => Promise<CrmContactsReturn>;
477
+ fact: {
478
+ /** Confirm a CRM fact */
479
+ confirm: (fact: string) => Promise<CrmFactConfirmReturn>;
480
+ /** List CRM facts */
481
+ list: (options?: {
482
+ account?: string;
483
+ contact?: string;
484
+ entity?: string;
485
+ entityType?: string;
486
+ key?: string;
487
+ limit?: string;
488
+ offset?: string;
489
+ opportunity?: string;
490
+ status?: string;
491
+ }) => Promise<CrmFactListReturn>;
492
+ /** Propose or confirm a CRM fact */
493
+ propose: (entityType: string, entity: string, key: string, value: string, options?: {
494
+ account?: string;
495
+ confidence?: string;
496
+ contact?: string;
497
+ idempotencyKey?: string;
498
+ opportunity?: string;
499
+ status?: string;
500
+ }) => Promise<CrmFactProposeReturn>;
501
+ /** Reject a CRM fact */
502
+ reject: (fact: string) => Promise<CrmFactRejectReturn>;
503
+ };
504
+ /** List open CRM next actions */
505
+ next: (options?: {
506
+ account?: string;
507
+ contact?: string;
508
+ limit?: string;
509
+ offset?: string;
510
+ opportunity?: string;
511
+ owner?: string;
512
+ }) => Promise<CrmNextReturn>;
513
+ opportunity: {
514
+ /** List contacts linked to an opportunity */
515
+ contacts: (opportunity: string) => Promise<CrmOpportunityContactsReturn>;
516
+ /** Create a CRM opportunity */
517
+ create: (title: string, options?: {
518
+ account?: string;
519
+ contact?: string;
520
+ currency?: string;
521
+ idempotencyKey?: string;
522
+ owner?: string;
523
+ stage?: string;
524
+ value?: string;
525
+ }) => Promise<CrmOpportunityCreateReturn>;
526
+ /** Link a contact to an opportunity */
527
+ linkContact: (opportunity: string, contact: string, options?: {
528
+ account?: string;
529
+ primary?: boolean;
530
+ role?: string;
531
+ }) => Promise<CrmOpportunityLinkContactReturn>;
532
+ /** Move an opportunity to another stage */
533
+ move: (opportunity: string, stage: string, options?: {
534
+ lostReason?: string;
535
+ }) => Promise<CrmOpportunityMoveReturn>;
536
+ /** Show CRM opportunity */
537
+ show: (opportunity: string) => Promise<CrmOpportunityShowReturn>;
538
+ };
539
+ /** Show CRM opportunity */
540
+ opportunityCommand: (opportunity: string) => Promise<CrmOpportunityReturn>;
541
+ task: {
542
+ /** Create a CRM relationship task */
543
+ create: (title: string, options?: {
544
+ account?: string;
545
+ contact?: string;
546
+ due?: string;
547
+ idempotencyKey?: string;
548
+ opportunity?: string;
549
+ owner?: string;
550
+ priority?: string;
551
+ }) => Promise<CrmTaskCreateReturn>;
552
+ /** Complete a CRM task */
553
+ done: (task: string) => Promise<CrmTaskDoneReturn>;
554
+ /** Show CRM task */
555
+ show: (task: string) => Promise<CrmTaskShowReturn>;
556
+ };
557
+ };
295
558
  readonly cron: {
296
559
  /** Add a new scheduled job */
297
560
  add: (name: string, options?: {
@@ -311,7 +574,11 @@ export declare class RaviClient {
311
574
  /** Enable a job */
312
575
  enable: (id: string) => Promise<CronEnableReturn>;
313
576
  /** List all scheduled jobs */
314
- list: () => Promise<CronListReturn>;
577
+ list: (options?: {
578
+ limit?: string;
579
+ offset?: string;
580
+ tag?: string;
581
+ }) => Promise<CronListReturn>;
315
582
  /** Delete a job */
316
583
  rm: (id: string) => Promise<CronRmReturn>;
317
584
  /** Manually run a job (ignores schedule) */
@@ -322,8 +589,6 @@ export declare class RaviClient {
322
589
  show: (id: string) => Promise<CronShowReturn>;
323
590
  };
324
591
  readonly daemon: {
325
- /** Run daemon in dev mode with auto-rebuild on file changes */
326
- dev: () => Promise<DaemonDevReturn>;
327
592
  /** Edit environment file (~/.ravi/.env) */
328
593
  env: () => Promise<DaemonEnvReturn>;
329
594
  /** Bootstrap the admin runtime context-key. Refuses to run if any live admin context already exists. */
@@ -347,8 +612,6 @@ export declare class RaviClient {
347
612
  build?: boolean;
348
613
  message?: string;
349
614
  }) => Promise<DaemonRestartReturn>;
350
- /** Run daemon in foreground (used by PM2) */
351
- run: () => Promise<DaemonRunReturn>;
352
615
  /** Start the daemon via PM2 */
353
616
  start: () => Promise<DaemonStartReturn>;
354
617
  /** Show daemon and infrastructure status */
@@ -400,6 +663,7 @@ export declare class RaviClient {
400
663
  /** List local or remote Devin sessions */
401
664
  list: (options?: {
402
665
  limit?: string;
666
+ offset?: string;
403
667
  remote?: boolean;
404
668
  status?: string;
405
669
  tag?: string;
@@ -433,31 +697,6 @@ export declare class RaviClient {
433
697
  output?: string;
434
698
  }) => Promise<EvalRunReturn>;
435
699
  };
436
- readonly events: {
437
- /** Replay persisted JetStream events with filters */
438
- replay: (options?: {
439
- agent?: string;
440
- chat?: string;
441
- contains?: string;
442
- limit?: string;
443
- raw?: boolean;
444
- scan?: string;
445
- session?: string;
446
- since?: string;
447
- stream?: string;
448
- subject?: string;
449
- type?: string;
450
- until?: string;
451
- where?: string;
452
- }) => Promise<EventsReplayReturn>;
453
- /** Stream all events in real-time (default command) */
454
- stream: (options?: {
455
- filter?: string;
456
- noClaude?: boolean;
457
- noHeartbeat?: boolean;
458
- only?: string;
459
- }) => Promise<EventsStreamReturn>;
460
- };
461
700
  readonly heartbeat: {
462
701
  /** Disable heartbeat for an agent */
463
702
  disable: (id: string) => Promise<HeartbeatDisableReturn>;
@@ -498,7 +737,11 @@ export declare class RaviClient {
498
737
  /** Enable a hook */
499
738
  enable: (id: string) => Promise<HooksEnableReturn>;
500
739
  /** List configured hooks */
501
- list: () => Promise<HooksListReturn>;
740
+ list: (options?: {
741
+ limit?: string;
742
+ offset?: string;
743
+ tag?: string;
744
+ }) => Promise<HooksListReturn>;
502
745
  /** Delete a hook */
503
746
  rm: (id: string) => Promise<HooksRmReturn>;
504
747
  /** Show hook details */
@@ -565,6 +808,7 @@ export declare class RaviClient {
565
808
  linkType?: string;
566
809
  profile?: string;
567
810
  session?: string;
811
+ tag?: string[];
568
812
  task?: string;
569
813
  }) => Promise<InsightsCreateReturn>;
570
814
  /** List recent insights with optional filters */
@@ -574,10 +818,12 @@ export declare class RaviClient {
574
818
  importance?: string;
575
819
  kind?: string;
576
820
  limit?: string;
821
+ offset?: string;
577
822
  profile?: string;
578
823
  query?: string;
579
824
  rich?: boolean;
580
825
  session?: string;
826
+ tag?: string;
581
827
  task?: string;
582
828
  }) => Promise<InsightsListReturn>;
583
829
  /** Search insights by free text */
@@ -588,11 +834,6 @@ export declare class RaviClient {
588
834
  show: (id: string) => Promise<InsightsShowReturn>;
589
835
  };
590
836
  readonly instances: {
591
- /** Connect an instance to omni (QR code for WhatsApp) */
592
- connect: (name: string, options?: {
593
- agent?: string;
594
- channel?: string;
595
- }) => Promise<InstancesConnectReturn>;
596
837
  /** Create a new instance */
597
838
  create: (name: string, options?: {
598
839
  agent?: string;
@@ -613,14 +854,21 @@ export declare class RaviClient {
613
854
  /** Get an instance property */
614
855
  get: (name: string, key: string) => Promise<InstancesGetReturn>;
615
856
  /** List all instances */
616
- list: () => Promise<InstancesListReturn>;
857
+ list: (options?: {
858
+ limit?: string;
859
+ offset?: string;
860
+ tag?: string;
861
+ }) => Promise<InstancesListReturn>;
617
862
  pending: {
618
863
  /** Approve a pending contact or chat */
619
864
  approve: (name: string, contact: string, options?: {
620
865
  agent?: string;
621
866
  }) => Promise<InstancesPendingApproveReturn>;
622
867
  /** List pending contacts and chats for an instance */
623
- list: (name: string) => Promise<InstancesPendingListReturn>;
868
+ list: (name: string, options?: {
869
+ limit?: string;
870
+ offset?: string;
871
+ }) => Promise<InstancesPendingListReturn>;
624
872
  /** Reject and remove a pending contact or chat */
625
873
  reject: (name: string, contact: string) => Promise<InstancesPendingRejectReturn>;
626
874
  };
@@ -639,7 +887,11 @@ export declare class RaviClient {
639
887
  /** List soft-deleted routes */
640
888
  deleted: (name?: string) => Promise<InstancesRoutesDeletedReturn>;
641
889
  /** List routes for an instance */
642
- list: (name: string) => Promise<InstancesRoutesListReturn>;
890
+ list: (name: string, options?: {
891
+ limit?: string;
892
+ offset?: string;
893
+ tag?: string;
894
+ }) => Promise<InstancesRoutesListReturn>;
643
895
  /** Remove a route (soft-delete, recoverable) */
644
896
  remove: (name: string, pattern: string, options?: {
645
897
  allowRuntimeMismatch?: boolean;
@@ -678,6 +930,81 @@ export declare class RaviClient {
678
930
  to?: string;
679
931
  }) => Promise<MediaSendReturn>;
680
932
  };
933
+ readonly observers: {
934
+ /** List session observer bindings */
935
+ list: (options?: {
936
+ agent?: string;
937
+ limit?: string;
938
+ offset?: string;
939
+ session?: string;
940
+ }) => Promise<ObserversListReturn>;
941
+ profiles: {
942
+ /** Create a Markdown observer profile scaffold */
943
+ init: (profileId: string, options?: {
944
+ overwrite?: boolean;
945
+ source?: string;
946
+ }) => Promise<ObserversProfilesInitReturn>;
947
+ /** List observer profiles */
948
+ list: (options?: {
949
+ limit?: string;
950
+ offset?: string;
951
+ }) => Promise<ObserversProfilesListReturn>;
952
+ /** Render an observer profile preview */
953
+ preview: (profileId: string, options?: {
954
+ event?: string;
955
+ }) => Promise<ObserversProfilesPreviewReturn>;
956
+ /** Show one observer profile */
957
+ show: (profileId: string) => Promise<ObserversProfilesShowReturn>;
958
+ /** Validate observer profiles */
959
+ validate: (profileId?: string) => Promise<ObserversProfilesValidateReturn>;
960
+ };
961
+ /** Apply observer rules to an existing source session */
962
+ refresh: (session: string) => Promise<ObserversRefreshReturn>;
963
+ rules: {
964
+ /** Disable an observer rule */
965
+ disable: (id: string) => Promise<ObserversRulesDisableReturn>;
966
+ /** Enable an observer rule */
967
+ enable: (id: string) => Promise<ObserversRulesEnableReturn>;
968
+ /** Explain observer rule matching for a source session */
969
+ explain: (session: string) => Promise<ObserversRulesExplainReturn>;
970
+ /** List observer rules */
971
+ list: (options?: {
972
+ limit?: string;
973
+ offset?: string;
974
+ }) => Promise<ObserversRulesListReturn>;
975
+ /** Delete an observer rule */
976
+ rm: (id: string) => Promise<ObserversRulesRmReturn>;
977
+ /** Create or overwrite an observer rule */
978
+ set: (id: string, observerAgentId: string, options?: {
979
+ delivery?: string;
980
+ disabled?: boolean;
981
+ events?: string;
982
+ meta?: string;
983
+ mode?: string;
984
+ model?: string;
985
+ permissions?: string;
986
+ priority?: string;
987
+ profile?: string;
988
+ provider?: string;
989
+ role?: string;
990
+ scope?: string;
991
+ sourceAgent?: string;
992
+ sourceProfile?: string;
993
+ sourceProject?: string;
994
+ sourceSession?: string;
995
+ sourceTask?: string;
996
+ tag?: string;
997
+ tagInherited?: boolean;
998
+ tagTarget?: string;
999
+ }) => Promise<ObserversRulesSetReturn>;
1000
+ /** Show one observer rule */
1001
+ show: (id: string) => Promise<ObserversRulesShowReturn>;
1002
+ /** Validate observer rules */
1003
+ validate: () => Promise<ObserversRulesValidateReturn>;
1004
+ };
1005
+ /** Show one observer binding */
1006
+ show: (bindingId: string) => Promise<ObserversShowReturn>;
1007
+ };
681
1008
  readonly permissions: {
682
1009
  /** Check if a subject has a permission on an object */
683
1010
  check: (subject: string, permission: string, object: string) => Promise<PermissionsCheckReturn>;
@@ -691,7 +1018,9 @@ export declare class RaviClient {
691
1018
  init: (subject: string, template: string) => Promise<PermissionsInitReturn>;
692
1019
  /** List relations */
693
1020
  list: (options?: {
1021
+ limit?: string;
694
1022
  object?: string;
1023
+ offset?: string;
695
1024
  relation?: string;
696
1025
  source?: string;
697
1026
  subject?: string;
@@ -742,11 +1071,15 @@ export declare class RaviClient {
742
1071
  }) => Promise<ProjectsLinkReturn>;
743
1072
  /** List projects */
744
1073
  list: (options?: {
1074
+ limit?: string;
1075
+ offset?: string;
745
1076
  status?: string;
1077
+ tag?: string;
746
1078
  }) => Promise<ProjectsListReturn>;
747
1079
  /** List projects as an operational next-work surface */
748
1080
  next: (options?: {
749
1081
  status?: string;
1082
+ tag?: string;
750
1083
  }) => Promise<ProjectsNextReturn>;
751
1084
  resources: {
752
1085
  /** Add one resource link to a project */
@@ -767,6 +1100,8 @@ export declare class RaviClient {
767
1100
  }) => Promise<ProjectsResourcesImportReturn>;
768
1101
  /** List resource links for a project */
769
1102
  list: (project: string, options?: {
1103
+ limit?: string;
1104
+ offset?: string;
770
1105
  type?: string;
771
1106
  }) => Promise<ProjectsResourcesListReturn>;
772
1107
  /** Show one resource link on a project */
@@ -847,7 +1182,11 @@ export declare class RaviClient {
847
1182
  voicemailPolicy?: string;
848
1183
  }) => Promise<ProxCallsProfilesConfigureReturn>;
849
1184
  /** List available call profiles */
850
- list: () => Promise<ProxCallsProfilesListReturn>;
1185
+ list: (options?: {
1186
+ limit?: string;
1187
+ offset?: string;
1188
+ tag?: string;
1189
+ }) => Promise<ProxCallsProfilesListReturn>;
851
1190
  /** Show a call profile by ID */
852
1191
  show: (profile_id: string) => Promise<ProxCallsProfilesShowReturn>;
853
1192
  };
@@ -891,7 +1230,10 @@ export declare class RaviClient {
891
1230
  }) => Promise<ProxCallsToolsCreateReturn>;
892
1231
  /** List call tools */
893
1232
  list: (options?: {
1233
+ limit?: string;
1234
+ offset?: string;
894
1235
  profile?: string;
1236
+ tag?: string;
895
1237
  }) => Promise<ProxCallsToolsListReturn>;
896
1238
  /** Execute a tool (dry-run validates without side effects) */
897
1239
  run: (tool_id: string, options?: {
@@ -930,7 +1272,11 @@ export declare class RaviClient {
930
1272
  voiceId?: string;
931
1273
  }) => Promise<ProxCallsVoiceAgentsCreateReturn>;
932
1274
  /** List voice agents */
933
- list: () => Promise<ProxCallsVoiceAgentsListReturn>;
1275
+ list: (options?: {
1276
+ limit?: string;
1277
+ offset?: string;
1278
+ tag?: string;
1279
+ }) => Promise<ProxCallsVoiceAgentsListReturn>;
934
1280
  /** Show a voice agent by ID */
935
1281
  show: (voice_agent_id: string) => Promise<ProxCallsVoiceAgentsShowReturn>;
936
1282
  /** Sync voice agent to provider (dry-run by default) */
@@ -953,7 +1299,11 @@ export declare class RaviClient {
953
1299
  channel?: string;
954
1300
  }) => Promise<RoutesExplainReturn>;
955
1301
  /** List routes across all instances or for one instance */
956
- list: (name?: string) => Promise<RoutesListReturn>;
1302
+ list: (name?: string, options?: {
1303
+ limit?: string;
1304
+ offset?: string;
1305
+ tag?: string;
1306
+ }) => Promise<RoutesListReturn>;
957
1307
  /** Show route details */
958
1308
  show: (name: string, pattern: string) => Promise<RoutesShowReturn>;
959
1309
  };
@@ -981,6 +1331,43 @@ export declare class RaviClient {
981
1331
  stdout?: boolean;
982
1332
  }) => Promise<SdkOpenapiEmitReturn>;
983
1333
  };
1334
+ swift: {
1335
+ /** Compare on-disk Ravi Swift SDK sources to a fresh emit; exit 1 on drift */
1336
+ check: (options?: {
1337
+ out?: string;
1338
+ version?: string;
1339
+ }) => Promise<SdkSwiftCheckReturn>;
1340
+ /** Generate the Ravi Swift SDK source files from the live registry */
1341
+ generate: (options?: {
1342
+ out?: string;
1343
+ version?: string;
1344
+ }) => Promise<SdkSwiftGenerateReturn>;
1345
+ };
1346
+ };
1347
+ readonly self: {
1348
+ /** Show the current chat binding and participants */
1349
+ chat: (options?: {
1350
+ depth?: string;
1351
+ }) => Promise<SelfChatReturn>;
1352
+ /** Show the full current self-context packet */
1353
+ context: (options?: {
1354
+ depth?: string;
1355
+ limit?: string;
1356
+ }) => Promise<SelfContextReturn>;
1357
+ /** Explain how Ravi resolved the current self-context */
1358
+ explain: () => Promise<SelfExplainReturn>;
1359
+ /** Show current knowledge integration status for this context */
1360
+ knowledge: () => Promise<SelfKnowledgeReturn>;
1361
+ /** Show capabilities inherited by the current context */
1362
+ permissions: () => Promise<SelfPermissionsReturn>;
1363
+ /** Show bounded recent message metadata for the current chat */
1364
+ recent: (options?: {
1365
+ limit?: string;
1366
+ }) => Promise<SelfRecentReturn>;
1367
+ /** Show route information that led to the current session */
1368
+ route: () => Promise<SelfRouteReturn>;
1369
+ /** Show the current agent/session identity */
1370
+ whoami: () => Promise<SelfWhoamiReturn>;
984
1371
  };
985
1372
  readonly service: {
986
1373
  /** Start the bot server */
@@ -1003,10 +1390,6 @@ export declare class RaviClient {
1003
1390
  channel?: string;
1004
1391
  to?: string;
1005
1392
  }) => Promise<SessionsAskReturn>;
1006
- /** Tail live runtime events for a session (defaults to current session when available) */
1007
- debug: (nameOrKey?: string, options?: {
1008
- timeout?: string;
1009
- }) => Promise<SessionsDebugReturn>;
1010
1393
  /** Delete a session permanently */
1011
1394
  delete: (nameOrKey: string) => Promise<SessionsDeleteReturn>;
1012
1395
  /** Send an execute command to another session (fire-and-forget) */
@@ -1017,6 +1400,14 @@ export declare class RaviClient {
1017
1400
  }) => Promise<SessionsExecuteReturn>;
1018
1401
  /** Extend an ephemeral session's TTL */
1019
1402
  extend: (nameOrKey: string, duration?: string) => Promise<SessionsExtendReturn>;
1403
+ /** Inspect or mutate persisted session goal state */
1404
+ goal: (action: string, nameOrKey: string, objective?: string, options?: {
1405
+ budget?: string;
1406
+ project?: string;
1407
+ seconds?: string;
1408
+ task?: string;
1409
+ tokens?: string;
1410
+ }) => Promise<SessionsGoalReturn>;
1020
1411
  /** Show unified session inspection details */
1021
1412
  info: (nameOrKey: string) => Promise<SessionsInfoReturn>;
1022
1413
  /** Send an informational message to another session (fire-and-forget) */
@@ -1031,7 +1422,19 @@ export declare class RaviClient {
1031
1422
  list: (options?: {
1032
1423
  agent?: string;
1033
1424
  ephemeral?: boolean;
1425
+ limit?: string;
1426
+ live?: boolean;
1427
+ offset?: string;
1428
+ tag?: string;
1034
1429
  }) => Promise<SessionsListReturn>;
1430
+ /** Prune sessions inactive for a duration (dry-run by default) */
1431
+ prune: (options?: {
1432
+ agent?: string;
1433
+ ephemeral?: boolean;
1434
+ execute?: boolean;
1435
+ inactiveFor?: string;
1436
+ namePrefix?: string;
1437
+ }) => Promise<SessionsPruneReturn>;
1035
1438
  /** Read message history of a session (normalized) */
1036
1439
  read: (nameOrKey: string, options?: {
1037
1440
  count?: string;
@@ -1115,6 +1518,8 @@ export declare class RaviClient {
1115
1518
  turn?: string;
1116
1519
  until?: string;
1117
1520
  }) => Promise<SessionsTraceReturn>;
1521
+ /** Show runtime session visibility state */
1522
+ visibility: (nameOrKey: string) => Promise<SessionsVisibilityReturn>;
1118
1523
  };
1119
1524
  readonly settings: {
1120
1525
  /** Delete a setting */
@@ -1124,10 +1529,41 @@ export declare class RaviClient {
1124
1529
  /** List live settings (legacy account.* hidden by default) */
1125
1530
  list: (options?: {
1126
1531
  legacy?: boolean;
1532
+ limit?: string;
1533
+ offset?: string;
1127
1534
  }) => Promise<SettingsListReturn>;
1128
1535
  /** Set a setting value */
1129
1536
  set: (key: string, value: string) => Promise<SettingsSetReturn>;
1130
1537
  };
1538
+ readonly skillGates: {
1539
+ /** Disable a skill gate rule */
1540
+ disable: (id: string) => Promise<SkillGatesDisableReturn>;
1541
+ /** Enable a configured skill gate rule */
1542
+ enable: (id: string) => Promise<SkillGatesEnableReturn>;
1543
+ /** List skill gate rules */
1544
+ list: (options?: {
1545
+ limit?: string;
1546
+ offset?: string;
1547
+ tag?: string;
1548
+ }) => Promise<SkillGatesListReturn>;
1549
+ /** Delete a configured override and restore the default behavior */
1550
+ reset: (id: string) => Promise<SkillGatesResetReturn>;
1551
+ /** Remove a custom gate or disable a default gate */
1552
+ rm: (id: string) => Promise<SkillGatesRmReturn>;
1553
+ /** Create or overwrite a skill gate rule */
1554
+ set: (id: string, skill: string, options?: {
1555
+ command?: string;
1556
+ commandPrefix?: string;
1557
+ commandRegex?: string;
1558
+ groupRegex?: string;
1559
+ pattern?: string;
1560
+ tool?: string;
1561
+ toolPrefix?: string;
1562
+ toolRegex?: string;
1563
+ }) => Promise<SkillGatesSetReturn>;
1564
+ /** Show one skill gate rule */
1565
+ show: (id: string) => Promise<SkillGatesShowReturn>;
1566
+ };
1131
1567
  readonly skills: {
1132
1568
  /** Install Ravi catalog skills or skills from an explicit source */
1133
1569
  install: (name?: string, options?: {
@@ -1142,7 +1578,10 @@ export declare class RaviClient {
1142
1578
  list: (options?: {
1143
1579
  codex?: boolean;
1144
1580
  installed?: boolean;
1581
+ limit?: string;
1582
+ offset?: string;
1145
1583
  source?: string;
1584
+ tag?: string;
1146
1585
  }) => Promise<SkillsListReturn>;
1147
1586
  /** Show a Ravi catalog skill, installed skill or source skill */
1148
1587
  show: (name: string, options?: {
@@ -1161,6 +1600,8 @@ export declare class RaviClient {
1161
1600
  list: (options?: {
1162
1601
  domain?: string;
1163
1602
  kind?: string;
1603
+ limit?: string;
1604
+ offset?: string;
1164
1605
  }) => Promise<SpecsListReturn>;
1165
1606
  /** Create a new spec under .ravi/specs */
1166
1607
  new: (id: string, options?: {
@@ -1183,7 +1624,10 @@ export declare class RaviClient {
1183
1624
  overwrite?: boolean;
1184
1625
  }) => Promise<StickersAddReturn>;
1185
1626
  /** List stickers in the typed catalog */
1186
- list: () => Promise<StickersListReturn>;
1627
+ list: (options?: {
1628
+ limit?: string;
1629
+ offset?: string;
1630
+ }) => Promise<StickersListReturn>;
1187
1631
  /** Remove a sticker catalog entry */
1188
1632
  remove: (id: string) => Promise<StickersRemoveReturn>;
1189
1633
  /** Send a sticker to the current WhatsApp chat */
@@ -1197,11 +1641,37 @@ export declare class RaviClient {
1197
1641
  show: (id: string) => Promise<StickersShowReturn>;
1198
1642
  };
1199
1643
  readonly tags: {
1200
- /** Attach a tag to an agent or session */
1644
+ /** Attach a tag to a Ravi asset */
1201
1645
  attach: (slug: string, options?: {
1202
1646
  agent?: string;
1647
+ artifact?: string;
1648
+ callProfile?: string;
1649
+ callRequest?: string;
1650
+ callTool?: string;
1651
+ callVoiceAgent?: string;
1652
+ chat?: string;
1653
+ command?: string;
1654
+ contact?: string;
1655
+ cronJob?: string;
1656
+ devinSession?: string;
1657
+ hook?: string;
1658
+ insight?: string;
1659
+ instance?: string;
1203
1660
  meta?: string;
1661
+ profile?: string;
1662
+ project?: string;
1663
+ route?: string;
1204
1664
  session?: string;
1665
+ skill?: string;
1666
+ skillGateRule?: string;
1667
+ source?: string;
1668
+ target?: string;
1669
+ task?: string;
1670
+ taskAutomation?: string;
1671
+ trigger?: string;
1672
+ workflowNode?: string;
1673
+ workflowRun?: string;
1674
+ workflowSpec?: string;
1205
1675
  }) => Promise<TagsAttachReturn>;
1206
1676
  /** Create a new tag definition */
1207
1677
  create: (slug: string, options?: {
@@ -1209,20 +1679,88 @@ export declare class RaviClient {
1209
1679
  kind?: string;
1210
1680
  label?: string;
1211
1681
  meta?: string;
1682
+ source?: string;
1212
1683
  }) => Promise<TagsCreateReturn>;
1213
- /** Detach a tag from an agent or session */
1684
+ /** Detach a tag from a Ravi asset */
1214
1685
  detach: (slug: string, options?: {
1215
1686
  agent?: string;
1687
+ artifact?: string;
1688
+ callProfile?: string;
1689
+ callRequest?: string;
1690
+ callTool?: string;
1691
+ callVoiceAgent?: string;
1692
+ chat?: string;
1693
+ command?: string;
1694
+ contact?: string;
1695
+ cronJob?: string;
1696
+ devinSession?: string;
1697
+ hook?: string;
1698
+ insight?: string;
1699
+ instance?: string;
1700
+ profile?: string;
1701
+ project?: string;
1702
+ route?: string;
1216
1703
  session?: string;
1704
+ skill?: string;
1705
+ skillGateRule?: string;
1706
+ source?: string;
1707
+ target?: string;
1708
+ task?: string;
1709
+ taskAutomation?: string;
1710
+ trigger?: string;
1711
+ workflowNode?: string;
1712
+ workflowRun?: string;
1713
+ workflowSpec?: string;
1217
1714
  }) => Promise<TagsDetachReturn>;
1218
1715
  /** List tag definitions */
1219
- list: () => Promise<TagsListReturn>;
1716
+ list: (options?: {
1717
+ cursor?: string;
1718
+ kind?: string;
1719
+ limit?: string;
1720
+ order?: string;
1721
+ query?: string;
1722
+ sort?: string;
1723
+ source?: string;
1724
+ }) => Promise<TagsListReturn>;
1220
1725
  /** Search bindings by tag or asset */
1221
1726
  search: (options?: {
1222
1727
  agent?: string;
1728
+ artifact?: string;
1729
+ callProfile?: string;
1730
+ callRequest?: string;
1731
+ callTool?: string;
1732
+ callVoiceAgent?: string;
1733
+ chat?: string;
1734
+ command?: string;
1735
+ contact?: string;
1736
+ cronJob?: string;
1737
+ cursor?: string;
1738
+ devinSession?: string;
1739
+ hook?: string;
1740
+ insight?: string;
1741
+ instance?: string;
1742
+ kind?: string;
1743
+ limit?: string;
1744
+ order?: string;
1745
+ profile?: string;
1746
+ project?: string;
1747
+ route?: string;
1223
1748
  session?: string;
1749
+ skill?: string;
1750
+ skillGateRule?: string;
1751
+ sort?: string;
1752
+ source?: string;
1224
1753
  tag?: string;
1754
+ target?: string;
1755
+ task?: string;
1756
+ taskAutomation?: string;
1757
+ trigger?: string;
1758
+ workflowNode?: string;
1759
+ workflowRun?: string;
1760
+ workflowSpec?: string;
1225
1761
  }) => Promise<TagsSearchReturn>;
1762
+ /** Set tag definition metadata */
1763
+ set: (slug: string, key: string, value: string) => Promise<TagsSetReturn>;
1226
1764
  /** Show one tag and its bindings */
1227
1765
  show: (slug: string) => Promise<TagsShowReturn>;
1228
1766
  };
@@ -1258,7 +1796,11 @@ export declare class RaviClient {
1258
1796
  /** Enable a task automation */
1259
1797
  enable: (id: string) => Promise<TasksAutomationsEnableReturn>;
1260
1798
  /** List configured task automations */
1261
- list: () => Promise<TasksAutomationsListReturn>;
1799
+ list: (options?: {
1800
+ limit?: string;
1801
+ offset?: string;
1802
+ tag?: string;
1803
+ }) => Promise<TasksAutomationsListReturn>;
1262
1804
  /** Delete a task automation */
1263
1805
  rm: (id: string) => Promise<TasksAutomationsRmReturn>;
1264
1806
  /** Show one task automation and its recent runs */
@@ -1286,6 +1828,7 @@ export declare class RaviClient {
1286
1828
  reportEvents?: string;
1287
1829
  reportTo?: string;
1288
1830
  session?: string;
1831
+ tag?: string[];
1289
1832
  thinking?: string;
1290
1833
  worktreeBranch?: string;
1291
1834
  worktreeMode?: string;
@@ -1295,7 +1838,10 @@ export declare class RaviClient {
1295
1838
  /** Add one gating dependency to a task */
1296
1839
  add: (taskId: string, dependencyTaskId: string) => Promise<TasksDepsAddReturn>;
1297
1840
  /** List gating dependencies and dependents for a task */
1298
- ls: (taskId: string) => Promise<TasksDepsLsReturn>;
1841
+ ls: (taskId: string, options?: {
1842
+ limit?: string;
1843
+ offset?: string;
1844
+ }) => Promise<TasksDepsLsReturn>;
1299
1845
  /** Remove one gating dependency from a task */
1300
1846
  rm: (taskId: string, dependencyTaskId: string) => Promise<TasksDepsRmReturn>;
1301
1847
  };
@@ -1323,16 +1869,24 @@ export declare class RaviClient {
1323
1869
  list: (options?: {
1324
1870
  agent?: string;
1325
1871
  all?: boolean;
1872
+ allTime?: boolean;
1326
1873
  archived?: boolean;
1874
+ cursor?: string;
1327
1875
  last?: string;
1876
+ limit?: string;
1328
1877
  mine?: boolean;
1878
+ order?: string;
1329
1879
  parent?: string;
1330
1880
  profile?: string;
1331
1881
  root?: string;
1332
1882
  roots?: boolean;
1333
1883
  session?: string;
1884
+ since?: string;
1885
+ sort?: string;
1334
1886
  status?: string;
1887
+ tag?: string;
1335
1888
  text?: string;
1889
+ until?: string;
1336
1890
  }) => Promise<TasksListReturn>;
1337
1891
  profiles: {
1338
1892
  /** Create a profile scaffold in the workspace or user catalog */
@@ -1341,7 +1895,10 @@ export declare class RaviClient {
1341
1895
  source?: string;
1342
1896
  }) => Promise<TasksProfilesInitReturn>;
1343
1897
  /** List resolved task profiles from all catalog sources */
1344
- list: () => Promise<TasksProfilesListReturn>;
1898
+ list: (options?: {
1899
+ limit?: string;
1900
+ offset?: string;
1901
+ }) => Promise<TasksProfilesListReturn>;
1345
1902
  /** Render a profile preview with the resolved template context */
1346
1903
  preview: (profileId: string, options?: {
1347
1904
  agent?: string;
@@ -1369,24 +1926,13 @@ export declare class RaviClient {
1369
1926
  }) => Promise<TasksShowReturn>;
1370
1927
  /** Restore an archived task to the default list */
1371
1928
  unarchive: (taskId: string) => Promise<TasksUnarchiveReturn>;
1372
- /** Watch task events live */
1373
- watch: (taskId?: string) => Promise<TasksWatchReturn>;
1374
- };
1375
- readonly tmux: {
1376
- /** Attach or switch to an agent/session inside tmux */
1377
- attach: (agent: string, session?: string) => Promise<TmuxAttachReturn>;
1378
- /** List Ravi-managed tmux sessions and windows */
1379
- list: () => Promise<TmuxListReturn>;
1380
- /** Ensure a tmux session/window exists for an agent or session */
1381
- open: (agent: string, session?: string) => Promise<TmuxOpenReturn>;
1382
- /** Listen to NATS prompts and open tmux windows automatically */
1383
- watch: (options?: {
1384
- sync?: boolean;
1385
- }) => Promise<TmuxWatchReturn>;
1386
1929
  };
1387
1930
  readonly tools: {
1388
1931
  /** List all available CLI tools */
1389
- list: () => Promise<ToolsListReturn>;
1932
+ list: (options?: {
1933
+ limit?: string;
1934
+ offset?: string;
1935
+ }) => Promise<ToolsListReturn>;
1390
1936
  /** Export tools as JSON manifest */
1391
1937
  manifest: () => Promise<ToolsManifestReturn>;
1392
1938
  /** Export tools as JSON Schema */
@@ -1418,7 +1964,11 @@ export declare class RaviClient {
1418
1964
  /** Enable a trigger */
1419
1965
  enable: (id: string) => Promise<TriggersEnableReturn>;
1420
1966
  /** List all event triggers */
1421
- list: () => Promise<TriggersListReturn>;
1967
+ list: (options?: {
1968
+ limit?: string;
1969
+ offset?: string;
1970
+ tag?: string;
1971
+ }) => Promise<TriggersListReturn>;
1422
1972
  /** Delete a trigger */
1423
1973
  rm: (id: string) => Promise<TriggersRmReturn>;
1424
1974
  /** Set trigger property */
@@ -1436,6 +1986,15 @@ export declare class RaviClient {
1436
1986
  }) => Promise<VideoAnalyzeReturn>;
1437
1987
  };
1438
1988
  readonly whatsapp: {
1989
+ chats: {
1990
+ /** List chats with message activity in the last N days (or since a date) */
1991
+ list: (options?: {
1992
+ instance?: string;
1993
+ limit?: string;
1994
+ since?: string;
1995
+ type?: string;
1996
+ }) => Promise<WhatsappChatsListReturn>;
1997
+ };
1439
1998
  dm: {
1440
1999
  /** Send read receipt (blue ticks) for a specific message */
1441
2000
  ack: (contact: string, messageId: string, options?: {
@@ -1489,6 +2048,8 @@ export declare class RaviClient {
1489
2048
  /** List all groups the bot participates in */
1490
2049
  list: (options?: {
1491
2050
  account?: string;
2051
+ limit?: string;
2052
+ offset?: string;
1492
2053
  }) => Promise<WhatsappGroupListReturn>;
1493
2054
  /** Promote participants to admin */
1494
2055
  promote: (groupId: string, participants: string, options?: {
@@ -1519,7 +2080,10 @@ export declare class RaviClient {
1519
2080
  /** Cancel one workflow node run */
1520
2081
  cancel: (runId: string, nodeKey: string) => Promise<WorkflowsRunsCancelReturn>;
1521
2082
  /** List workflow runs */
1522
- list: () => Promise<WorkflowsRunsListReturn>;
2083
+ list: (options?: {
2084
+ limit?: string;
2085
+ offset?: string;
2086
+ }) => Promise<WorkflowsRunsListReturn>;
1523
2087
  /** Release a manual node transition or gate */
1524
2088
  release: (runId: string, nodeKey: string) => Promise<WorkflowsRunsReleaseReturn>;
1525
2089
  /** Show one workflow run with node state */
@@ -1549,7 +2113,10 @@ export declare class RaviClient {
1549
2113
  file?: string;
1550
2114
  }) => Promise<WorkflowsSpecsCreateReturn>;
1551
2115
  /** List workflow specs */
1552
- list: () => Promise<WorkflowsSpecsListReturn>;
2116
+ list: (options?: {
2117
+ limit?: string;
2118
+ offset?: string;
2119
+ }) => Promise<WorkflowsSpecsListReturn>;
1553
2120
  /** Show one workflow spec */
1554
2121
  show: (specId: string) => Promise<WorkflowsSpecsShowReturn>;
1555
2122
  };