@ravi-os/sdk 0.2.0 → 0.260519.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, ChatsListReturn, ChatsListsAddReturn, ChatsListsCreateReturn, ChatsListsDeltaReturn, ChatsListsListReturn, ChatsListsMarkReadReturn, ChatsListsMembersReturn, ChatsListsRemoveReturn, ChatsReadReturn, CommandsListReturn, CommandsRunReturn, CommandsShowReturn, CommandsValidateReturn, ContactsActivityReturn, ContactsAddReturn, ContactsAllowReturn, ContactsApproveReturn, ContactsBackfillReturn, ContactsBlockReturn, ContactsCheckReturn, ContactsDuplicatesReturn, ContactsFindReturn, ContactsGetReturn, 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, TagRulesEvaluateReturn, TagRulesExplainReturn, TagRulesListReturn, TagRulesShowReturn, TagRulesTickReturn, TagRulesValidateReturn, 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, ThreadsBriefReturn, ThreadsCloseReturn, ThreadsCommentReturn, ThreadsCreateReturn, ThreadsEntriesReturn, ThreadsLinkReturn, ThreadsListReturn, ThreadsNoteReturn, ThreadsShowReturn, 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";
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,117 @@ export declare class RaviClient {
157
212
  voice?: string;
158
213
  }) => Promise<AudioGenerateReturn>;
159
214
  };
215
+ readonly chats: {
216
+ /** List recent canonical chats */
217
+ list: (options?: {
218
+ agent?: string;
219
+ channel?: string;
220
+ contact?: string;
221
+ includeRaw?: boolean;
222
+ instance?: string;
223
+ limit?: string;
224
+ offset?: string;
225
+ query?: string;
226
+ type?: string;
227
+ }) => Promise<ChatsListReturn>;
228
+ lists: {
229
+ /** Add a chat to a reading list */
230
+ add: (list: string, chat: string, options?: {
231
+ channel?: string;
232
+ includeRaw?: boolean;
233
+ instance?: string;
234
+ owner?: string;
235
+ priority?: string;
236
+ reason?: string;
237
+ }) => Promise<ChatsListsAddReturn>;
238
+ /** Create or restore a chat reading list */
239
+ create: (name: string, options?: {
240
+ description?: string;
241
+ mode?: string;
242
+ owner?: string;
243
+ visibility?: string;
244
+ }) => Promise<ChatsListsCreateReturn>;
245
+ /** Read what changed in a chat since this list reader cursor */
246
+ delta: (list: string, chat: string, options?: {
247
+ channel?: string;
248
+ includeRaw?: boolean;
249
+ instance?: string;
250
+ limit?: string;
251
+ markRead?: boolean;
252
+ owner?: string;
253
+ reader?: string;
254
+ }) => Promise<ChatsListsDeltaReturn>;
255
+ /** List chat reading lists */
256
+ list: (options?: {
257
+ includeArchived?: boolean;
258
+ limit?: string;
259
+ offset?: string;
260
+ owner?: string;
261
+ }) => Promise<ChatsListsListReturn>;
262
+ /** Explicitly advance one reading-list cursor */
263
+ markRead: (list: string, chat: string, options?: {
264
+ channel?: string;
265
+ includeRaw?: boolean;
266
+ instance?: string;
267
+ message?: string;
268
+ owner?: string;
269
+ reader?: string;
270
+ reason?: string;
271
+ }) => Promise<ChatsListsMarkReadReturn>;
272
+ /** List chats in a reading list with unread counts */
273
+ members: (list: string, options?: {
274
+ includeRaw?: boolean;
275
+ limit?: string;
276
+ offset?: string;
277
+ owner?: string;
278
+ reader?: string;
279
+ }) => Promise<ChatsListsMembersReturn>;
280
+ /** Remove a chat from a reading list without deleting cursor history */
281
+ remove: (list: string, chat: string, options?: {
282
+ channel?: string;
283
+ instance?: string;
284
+ owner?: string;
285
+ }) => Promise<ChatsListsRemoveReturn>;
286
+ };
287
+ /** Read messages from one chat */
288
+ read: (chat: string, options?: {
289
+ channel?: string;
290
+ includeRaw?: boolean;
291
+ instance?: string;
292
+ limit?: string;
293
+ offset?: string;
294
+ order?: string;
295
+ type?: string;
296
+ }) => Promise<ChatsReadReturn>;
297
+ };
298
+ readonly commands: {
299
+ /** List Ravi commands */
300
+ list: (options?: {
301
+ agent?: string;
302
+ limit?: string;
303
+ offset?: string;
304
+ tag?: string;
305
+ }) => Promise<CommandsListReturn>;
306
+ /** Render a Ravi command into its composed prompt */
307
+ run: (name: string, args: string[], options?: {
308
+ agent?: string;
309
+ }) => Promise<CommandsRunReturn>;
310
+ /** Show one Ravi command */
311
+ show: (name: string, options?: {
312
+ agent?: string;
313
+ }) => Promise<CommandsShowReturn>;
314
+ /** Validate Ravi command files */
315
+ validate: (options?: {
316
+ agent?: string;
317
+ }) => Promise<CommandsValidateReturn>;
318
+ };
160
319
  readonly contacts: {
320
+ /** Show session activity attributed to a contact */
321
+ activity: (contact: string, options?: {
322
+ limit?: string;
323
+ offset?: string;
324
+ raw?: boolean;
325
+ }) => Promise<ContactsActivityReturn>;
161
326
  /** Add/allow a contact */
162
327
  add: (identity: string, name?: string, options?: {
163
328
  agent?: string;
@@ -169,6 +334,17 @@ export declare class RaviClient {
169
334
  approve: (contact: string, mode?: string, options?: {
170
335
  agent?: string;
171
336
  }) => Promise<ContactsApproveReturn>;
337
+ /** Backfill canonical contacts from captured chats */
338
+ backfill: (options?: {
339
+ apply?: boolean;
340
+ channel?: string;
341
+ createList?: string;
342
+ dryRun?: boolean;
343
+ instance?: string;
344
+ limit?: string;
345
+ listOwner?: string;
346
+ mode?: string;
347
+ }) => Promise<ContactsBackfillReturn>;
172
348
  /** Block a contact */
173
349
  block: (contact: string) => Promise<ContactsBlockReturn>;
174
350
  /** Check contact status (alias for info) */
@@ -181,14 +357,6 @@ export declare class RaviClient {
181
357
  }) => Promise<ContactsFindReturn>;
182
358
  /** Show canonical contact details */
183
359
  get: (contact: string) => Promise<ContactsGetReturn>;
184
- /** Set a contact's tag in a specific group */
185
- groupTag: (contact: string, group: string, tag: string) => Promise<ContactsGroupTagReturn>;
186
- /** Remove a contact's tag from a specific group */
187
- groupUntag: (contact: string, group: string) => Promise<ContactsGroupUntagReturn>;
188
- /** Add an identity to a contact (legacy alias for link) */
189
- identityAdd: (contact: string, platform: string, value: string) => Promise<ContactsIdentityAddReturn>;
190
- /** Remove an identity (legacy alias for unlink) */
191
- identityRemove: (platform: string, value: string) => Promise<ContactsIdentityRemoveReturn>;
192
360
  /** Show contact details with all identities */
193
361
  info: (contact: string) => Promise<ContactsInfoReturn>;
194
362
  /** Link a platform identity to a contact */
@@ -200,20 +368,67 @@ export declare class RaviClient {
200
368
  }) => Promise<ContactsLinkReturn>;
201
369
  /** List all contacts */
202
370
  list: (options?: {
371
+ limit?: string;
372
+ offset?: string;
203
373
  status?: string;
204
374
  }) => Promise<ContactsListReturn>;
205
375
  /** Merge two contacts (move identities from source to target) */
206
376
  merge: (source: string, target: string) => Promise<ContactsMergeReturn>;
377
+ /** Show messages attributed to a contact */
378
+ messages: (contact: string, options?: {
379
+ limit?: string;
380
+ offset?: string;
381
+ }) => Promise<ContactsMessagesReturn>;
382
+ metadata: {
383
+ /** List current scoped metadata for a contact */
384
+ list: (contact: string, options?: {
385
+ limit?: string;
386
+ offset?: string;
387
+ scope?: string;
388
+ }) => Promise<ContactsMetadataListReturn>;
389
+ /** Remove scoped metadata from a contact */
390
+ remove: (contact: string, key: string, options?: {
391
+ scope?: string;
392
+ source?: string;
393
+ }) => Promise<ContactsMetadataRemoveReturn>;
394
+ /** Set scoped metadata for a contact */
395
+ set: (contact: string, key: string, value: string, options?: {
396
+ scope?: string;
397
+ source?: string;
398
+ }) => Promise<ContactsMetadataSetReturn>;
399
+ };
400
+ /** Append a note to a contact timeline */
401
+ note: (contact: string, text: string, options?: {
402
+ scope?: string;
403
+ source?: string;
404
+ }) => Promise<ContactsNoteReturn>;
207
405
  /** List pending contacts */
208
406
  pending: (options?: {
209
407
  account?: string;
210
408
  }) => Promise<ContactsPendingReturn>;
409
+ /** Show a contact profile card */
410
+ profile: (contact: string, options?: {
411
+ includeCrm?: boolean;
412
+ limit?: string;
413
+ }) => Promise<ContactsProfileReturn>;
211
414
  /** Remove a contact */
212
415
  remove: (contact: string) => Promise<ContactsRemoveReturn>;
416
+ /** Show session summaries attributed to a contact */
417
+ sessions: (contact: string, options?: {
418
+ limit?: string;
419
+ offset?: string;
420
+ }) => Promise<ContactsSessionsReturn>;
213
421
  /** Set contact property */
214
422
  set: (contact: string, key: string, value: string) => Promise<ContactsSetReturn>;
215
423
  /** Add a tag to a contact */
216
424
  tag: (contact: string, tag: string) => Promise<ContactsTagReturn>;
425
+ /** Show contact timeline events */
426
+ timeline: (contact: string, options?: {
427
+ event?: string;
428
+ limit?: string;
429
+ offset?: string;
430
+ scope?: string;
431
+ }) => Promise<ContactsTimelineReturn>;
217
432
  /** Unlink a platform identity from its contact */
218
433
  unlink: (platformIdentity: string, options?: {
219
434
  channel?: string;
@@ -230,6 +445,14 @@ export declare class RaviClient {
230
445
  capabilities: () => Promise<ContextCapabilitiesReturn>;
231
446
  /** Check whether the current runtime context allows an action */
232
447
  check: (permission: string, objectType: string, objectId: string) => Promise<ContextCheckReturn>;
448
+ /** Dry-run or revoke stale agent-runtime contexts left by old turn-scoped issuance */
449
+ cleanupAgentRuntime: (options?: {
450
+ agent?: string;
451
+ olderThan?: string;
452
+ reason?: string;
453
+ revoke?: boolean;
454
+ session?: string;
455
+ }) => Promise<ContextCleanupAgentRuntimeReturn>;
233
456
  /** Evaluate a Codex PreToolUse Bash hook payload from stdin using the current Ravi context */
234
457
  codexBashHook: () => Promise<ContextCodexBashHookReturn>;
235
458
  credentials: {
@@ -239,7 +462,10 @@ export declare class RaviClient {
239
462
  setDefault?: boolean;
240
463
  }) => Promise<ContextCredentialsAddReturn>;
241
464
  /** List entries in the local credentials store */
242
- list: () => Promise<ContextCredentialsListReturn>;
465
+ list: (options?: {
466
+ limit?: string;
467
+ offset?: string;
468
+ }) => Promise<ContextCredentialsListReturn>;
243
469
  /** Remove a stored context-key from the credentials store */
244
470
  remove: (contextKey: string) => Promise<ContextCredentialsRemoveReturn>;
245
471
  /** Mark a stored context-key as the default */
@@ -260,6 +486,8 @@ export declare class RaviClient {
260
486
  agent?: string;
261
487
  all?: boolean;
262
488
  kind?: string;
489
+ limit?: string;
490
+ offset?: string;
263
491
  session?: string;
264
492
  }) => Promise<ContextListReturn>;
265
493
  /** Revoke a runtime context by context ID */
@@ -267,6 +495,8 @@ export declare class RaviClient {
267
495
  noCascade?: boolean;
268
496
  reason?: string;
269
497
  }) => Promise<ContextRevokeReturn>;
498
+ /** Show the current context session visibility */
499
+ visibility: () => Promise<ContextVisibilityReturn>;
270
500
  /** Resolve the current runtime context */
271
501
  whoami: () => Promise<ContextWhoamiReturn>;
272
502
  };
@@ -292,6 +522,125 @@ export declare class RaviClient {
292
522
  limit?: string;
293
523
  }) => Promise<CostsTopSessionsReturn>;
294
524
  };
525
+ readonly crm: {
526
+ account: {
527
+ /** Create a CRM account */
528
+ create: (name: string, options?: {
529
+ contact?: string;
530
+ domain?: string;
531
+ idempotencyKey?: string;
532
+ owner?: string;
533
+ }) => Promise<CrmAccountCreateReturn>;
534
+ /** Link a contact to an account */
535
+ linkContact: (account: string, contact: string, options?: {
536
+ primary?: boolean;
537
+ role?: string;
538
+ }) => Promise<CrmAccountLinkContactReturn>;
539
+ /** Show CRM account */
540
+ show: (account: string) => Promise<CrmAccountShowReturn>;
541
+ };
542
+ /** Show CRM account */
543
+ accountCommand: (account: string) => Promise<CrmAccountReturn>;
544
+ /** Show open opportunity board */
545
+ board: () => Promise<CrmBoardReturn>;
546
+ contact: {
547
+ /** Set one CRM contact profile field */
548
+ set: (contact: string, field: string, value: string, options?: {
549
+ source?: string;
550
+ }) => Promise<CrmContactSetReturn>;
551
+ /** Show CRM profile for one contact */
552
+ show: (contact: string) => Promise<CrmContactShowReturn>;
553
+ };
554
+ /** Show CRM profile for one contact */
555
+ contactCommand: (contact: string) => Promise<CrmContactReturn>;
556
+ /** List CRM contact cards */
557
+ contacts: (options?: {
558
+ limit?: string;
559
+ offset?: string;
560
+ owner?: string;
561
+ status?: string;
562
+ }) => Promise<CrmContactsReturn>;
563
+ fact: {
564
+ /** Confirm a CRM fact */
565
+ confirm: (fact: string) => Promise<CrmFactConfirmReturn>;
566
+ /** List CRM facts */
567
+ list: (options?: {
568
+ account?: string;
569
+ contact?: string;
570
+ entity?: string;
571
+ entityType?: string;
572
+ key?: string;
573
+ limit?: string;
574
+ offset?: string;
575
+ opportunity?: string;
576
+ status?: string;
577
+ }) => Promise<CrmFactListReturn>;
578
+ /** Propose or confirm a CRM fact */
579
+ propose: (entityType: string, entity: string, key: string, value: string, options?: {
580
+ account?: string;
581
+ confidence?: string;
582
+ contact?: string;
583
+ idempotencyKey?: string;
584
+ opportunity?: string;
585
+ status?: string;
586
+ }) => Promise<CrmFactProposeReturn>;
587
+ /** Reject a CRM fact */
588
+ reject: (fact: string) => Promise<CrmFactRejectReturn>;
589
+ };
590
+ /** List open CRM next actions */
591
+ next: (options?: {
592
+ account?: string;
593
+ contact?: string;
594
+ limit?: string;
595
+ offset?: string;
596
+ opportunity?: string;
597
+ owner?: string;
598
+ }) => Promise<CrmNextReturn>;
599
+ opportunity: {
600
+ /** List contacts linked to an opportunity */
601
+ contacts: (opportunity: string) => Promise<CrmOpportunityContactsReturn>;
602
+ /** Create a CRM opportunity */
603
+ create: (title: string, options?: {
604
+ account?: string;
605
+ contact?: string;
606
+ currency?: string;
607
+ idempotencyKey?: string;
608
+ owner?: string;
609
+ stage?: string;
610
+ value?: string;
611
+ }) => Promise<CrmOpportunityCreateReturn>;
612
+ /** Link a contact to an opportunity */
613
+ linkContact: (opportunity: string, contact: string, options?: {
614
+ account?: string;
615
+ primary?: boolean;
616
+ role?: string;
617
+ }) => Promise<CrmOpportunityLinkContactReturn>;
618
+ /** Move an opportunity to another stage */
619
+ move: (opportunity: string, stage: string, options?: {
620
+ lostReason?: string;
621
+ }) => Promise<CrmOpportunityMoveReturn>;
622
+ /** Show CRM opportunity */
623
+ show: (opportunity: string) => Promise<CrmOpportunityShowReturn>;
624
+ };
625
+ /** Show CRM opportunity */
626
+ opportunityCommand: (opportunity: string) => Promise<CrmOpportunityReturn>;
627
+ task: {
628
+ /** Create a CRM relationship task */
629
+ create: (title: string, options?: {
630
+ account?: string;
631
+ contact?: string;
632
+ due?: string;
633
+ idempotencyKey?: string;
634
+ opportunity?: string;
635
+ owner?: string;
636
+ priority?: string;
637
+ }) => Promise<CrmTaskCreateReturn>;
638
+ /** Complete a CRM task */
639
+ done: (task: string) => Promise<CrmTaskDoneReturn>;
640
+ /** Show CRM task */
641
+ show: (task: string) => Promise<CrmTaskShowReturn>;
642
+ };
643
+ };
295
644
  readonly cron: {
296
645
  /** Add a new scheduled job */
297
646
  add: (name: string, options?: {
@@ -311,7 +660,11 @@ export declare class RaviClient {
311
660
  /** Enable a job */
312
661
  enable: (id: string) => Promise<CronEnableReturn>;
313
662
  /** List all scheduled jobs */
314
- list: () => Promise<CronListReturn>;
663
+ list: (options?: {
664
+ limit?: string;
665
+ offset?: string;
666
+ tag?: string;
667
+ }) => Promise<CronListReturn>;
315
668
  /** Delete a job */
316
669
  rm: (id: string) => Promise<CronRmReturn>;
317
670
  /** Manually run a job (ignores schedule) */
@@ -322,8 +675,6 @@ export declare class RaviClient {
322
675
  show: (id: string) => Promise<CronShowReturn>;
323
676
  };
324
677
  readonly daemon: {
325
- /** Run daemon in dev mode with auto-rebuild on file changes */
326
- dev: () => Promise<DaemonDevReturn>;
327
678
  /** Edit environment file (~/.ravi/.env) */
328
679
  env: () => Promise<DaemonEnvReturn>;
329
680
  /** Bootstrap the admin runtime context-key. Refuses to run if any live admin context already exists. */
@@ -347,8 +698,6 @@ export declare class RaviClient {
347
698
  build?: boolean;
348
699
  message?: string;
349
700
  }) => Promise<DaemonRestartReturn>;
350
- /** Run daemon in foreground (used by PM2) */
351
- run: () => Promise<DaemonRunReturn>;
352
701
  /** Start the daemon via PM2 */
353
702
  start: () => Promise<DaemonStartReturn>;
354
703
  /** Show daemon and infrastructure status */
@@ -400,6 +749,7 @@ export declare class RaviClient {
400
749
  /** List local or remote Devin sessions */
401
750
  list: (options?: {
402
751
  limit?: string;
752
+ offset?: string;
403
753
  remote?: boolean;
404
754
  status?: string;
405
755
  tag?: string;
@@ -433,31 +783,6 @@ export declare class RaviClient {
433
783
  output?: string;
434
784
  }) => Promise<EvalRunReturn>;
435
785
  };
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
786
  readonly heartbeat: {
462
787
  /** Disable heartbeat for an agent */
463
788
  disable: (id: string) => Promise<HeartbeatDisableReturn>;
@@ -498,7 +823,11 @@ export declare class RaviClient {
498
823
  /** Enable a hook */
499
824
  enable: (id: string) => Promise<HooksEnableReturn>;
500
825
  /** List configured hooks */
501
- list: () => Promise<HooksListReturn>;
826
+ list: (options?: {
827
+ limit?: string;
828
+ offset?: string;
829
+ tag?: string;
830
+ }) => Promise<HooksListReturn>;
502
831
  /** Delete a hook */
503
832
  rm: (id: string) => Promise<HooksRmReturn>;
504
833
  /** Show hook details */
@@ -565,6 +894,7 @@ export declare class RaviClient {
565
894
  linkType?: string;
566
895
  profile?: string;
567
896
  session?: string;
897
+ tag?: string[];
568
898
  task?: string;
569
899
  }) => Promise<InsightsCreateReturn>;
570
900
  /** List recent insights with optional filters */
@@ -574,10 +904,12 @@ export declare class RaviClient {
574
904
  importance?: string;
575
905
  kind?: string;
576
906
  limit?: string;
907
+ offset?: string;
577
908
  profile?: string;
578
909
  query?: string;
579
910
  rich?: boolean;
580
911
  session?: string;
912
+ tag?: string;
581
913
  task?: string;
582
914
  }) => Promise<InsightsListReturn>;
583
915
  /** Search insights by free text */
@@ -588,15 +920,11 @@ export declare class RaviClient {
588
920
  show: (id: string) => Promise<InsightsShowReturn>;
589
921
  };
590
922
  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
923
  /** Create a new instance */
597
924
  create: (name: string, options?: {
598
925
  agent?: string;
599
926
  channel?: string;
927
+ contactIntakeMode?: string;
600
928
  dmPolicy?: string;
601
929
  groupPolicy?: string;
602
930
  }) => Promise<InstancesCreateReturn>;
@@ -613,14 +941,21 @@ export declare class RaviClient {
613
941
  /** Get an instance property */
614
942
  get: (name: string, key: string) => Promise<InstancesGetReturn>;
615
943
  /** List all instances */
616
- list: () => Promise<InstancesListReturn>;
944
+ list: (options?: {
945
+ limit?: string;
946
+ offset?: string;
947
+ tag?: string;
948
+ }) => Promise<InstancesListReturn>;
617
949
  pending: {
618
950
  /** Approve a pending contact or chat */
619
951
  approve: (name: string, contact: string, options?: {
620
952
  agent?: string;
621
953
  }) => Promise<InstancesPendingApproveReturn>;
622
954
  /** List pending contacts and chats for an instance */
623
- list: (name: string) => Promise<InstancesPendingListReturn>;
955
+ list: (name: string, options?: {
956
+ limit?: string;
957
+ offset?: string;
958
+ }) => Promise<InstancesPendingListReturn>;
624
959
  /** Reject and remove a pending contact or chat */
625
960
  reject: (name: string, contact: string) => Promise<InstancesPendingRejectReturn>;
626
961
  };
@@ -639,7 +974,11 @@ export declare class RaviClient {
639
974
  /** List soft-deleted routes */
640
975
  deleted: (name?: string) => Promise<InstancesRoutesDeletedReturn>;
641
976
  /** List routes for an instance */
642
- list: (name: string) => Promise<InstancesRoutesListReturn>;
977
+ list: (name: string, options?: {
978
+ limit?: string;
979
+ offset?: string;
980
+ tag?: string;
981
+ }) => Promise<InstancesRoutesListReturn>;
643
982
  /** Remove a route (soft-delete, recoverable) */
644
983
  remove: (name: string, pattern: string, options?: {
645
984
  allowRuntimeMismatch?: boolean;
@@ -678,6 +1017,81 @@ export declare class RaviClient {
678
1017
  to?: string;
679
1018
  }) => Promise<MediaSendReturn>;
680
1019
  };
1020
+ readonly observers: {
1021
+ /** List session observer bindings */
1022
+ list: (options?: {
1023
+ agent?: string;
1024
+ limit?: string;
1025
+ offset?: string;
1026
+ session?: string;
1027
+ }) => Promise<ObserversListReturn>;
1028
+ profiles: {
1029
+ /** Create a Markdown observer profile scaffold */
1030
+ init: (profileId: string, options?: {
1031
+ overwrite?: boolean;
1032
+ source?: string;
1033
+ }) => Promise<ObserversProfilesInitReturn>;
1034
+ /** List observer profiles */
1035
+ list: (options?: {
1036
+ limit?: string;
1037
+ offset?: string;
1038
+ }) => Promise<ObserversProfilesListReturn>;
1039
+ /** Render an observer profile preview */
1040
+ preview: (profileId: string, options?: {
1041
+ event?: string;
1042
+ }) => Promise<ObserversProfilesPreviewReturn>;
1043
+ /** Show one observer profile */
1044
+ show: (profileId: string) => Promise<ObserversProfilesShowReturn>;
1045
+ /** Validate observer profiles */
1046
+ validate: (profileId?: string) => Promise<ObserversProfilesValidateReturn>;
1047
+ };
1048
+ /** Apply observer rules to an existing source session */
1049
+ refresh: (session: string) => Promise<ObserversRefreshReturn>;
1050
+ rules: {
1051
+ /** Disable an observer rule */
1052
+ disable: (id: string) => Promise<ObserversRulesDisableReturn>;
1053
+ /** Enable an observer rule */
1054
+ enable: (id: string) => Promise<ObserversRulesEnableReturn>;
1055
+ /** Explain observer rule matching for a source session */
1056
+ explain: (session: string) => Promise<ObserversRulesExplainReturn>;
1057
+ /** List observer rules */
1058
+ list: (options?: {
1059
+ limit?: string;
1060
+ offset?: string;
1061
+ }) => Promise<ObserversRulesListReturn>;
1062
+ /** Delete an observer rule */
1063
+ rm: (id: string) => Promise<ObserversRulesRmReturn>;
1064
+ /** Create or overwrite an observer rule */
1065
+ set: (id: string, observerAgentId: string, options?: {
1066
+ delivery?: string;
1067
+ disabled?: boolean;
1068
+ events?: string;
1069
+ meta?: string;
1070
+ mode?: string;
1071
+ model?: string;
1072
+ permissions?: string;
1073
+ priority?: string;
1074
+ profile?: string;
1075
+ provider?: string;
1076
+ role?: string;
1077
+ scope?: string;
1078
+ sourceAgent?: string;
1079
+ sourceProfile?: string;
1080
+ sourceProject?: string;
1081
+ sourceSession?: string;
1082
+ sourceTask?: string;
1083
+ tag?: string;
1084
+ tagInherited?: boolean;
1085
+ tagTarget?: string;
1086
+ }) => Promise<ObserversRulesSetReturn>;
1087
+ /** Show one observer rule */
1088
+ show: (id: string) => Promise<ObserversRulesShowReturn>;
1089
+ /** Validate observer rules */
1090
+ validate: () => Promise<ObserversRulesValidateReturn>;
1091
+ };
1092
+ /** Show one observer binding */
1093
+ show: (bindingId: string) => Promise<ObserversShowReturn>;
1094
+ };
681
1095
  readonly permissions: {
682
1096
  /** Check if a subject has a permission on an object */
683
1097
  check: (subject: string, permission: string, object: string) => Promise<PermissionsCheckReturn>;
@@ -691,7 +1105,9 @@ export declare class RaviClient {
691
1105
  init: (subject: string, template: string) => Promise<PermissionsInitReturn>;
692
1106
  /** List relations */
693
1107
  list: (options?: {
1108
+ limit?: string;
694
1109
  object?: string;
1110
+ offset?: string;
695
1111
  relation?: string;
696
1112
  source?: string;
697
1113
  subject?: string;
@@ -742,11 +1158,15 @@ export declare class RaviClient {
742
1158
  }) => Promise<ProjectsLinkReturn>;
743
1159
  /** List projects */
744
1160
  list: (options?: {
1161
+ limit?: string;
1162
+ offset?: string;
745
1163
  status?: string;
1164
+ tag?: string;
746
1165
  }) => Promise<ProjectsListReturn>;
747
1166
  /** List projects as an operational next-work surface */
748
1167
  next: (options?: {
749
1168
  status?: string;
1169
+ tag?: string;
750
1170
  }) => Promise<ProjectsNextReturn>;
751
1171
  resources: {
752
1172
  /** Add one resource link to a project */
@@ -767,6 +1187,8 @@ export declare class RaviClient {
767
1187
  }) => Promise<ProjectsResourcesImportReturn>;
768
1188
  /** List resource links for a project */
769
1189
  list: (project: string, options?: {
1190
+ limit?: string;
1191
+ offset?: string;
770
1192
  type?: string;
771
1193
  }) => Promise<ProjectsResourcesListReturn>;
772
1194
  /** Show one resource link on a project */
@@ -847,7 +1269,11 @@ export declare class RaviClient {
847
1269
  voicemailPolicy?: string;
848
1270
  }) => Promise<ProxCallsProfilesConfigureReturn>;
849
1271
  /** List available call profiles */
850
- list: () => Promise<ProxCallsProfilesListReturn>;
1272
+ list: (options?: {
1273
+ limit?: string;
1274
+ offset?: string;
1275
+ tag?: string;
1276
+ }) => Promise<ProxCallsProfilesListReturn>;
851
1277
  /** Show a call profile by ID */
852
1278
  show: (profile_id: string) => Promise<ProxCallsProfilesShowReturn>;
853
1279
  };
@@ -891,7 +1317,10 @@ export declare class RaviClient {
891
1317
  }) => Promise<ProxCallsToolsCreateReturn>;
892
1318
  /** List call tools */
893
1319
  list: (options?: {
1320
+ limit?: string;
1321
+ offset?: string;
894
1322
  profile?: string;
1323
+ tag?: string;
895
1324
  }) => Promise<ProxCallsToolsListReturn>;
896
1325
  /** Execute a tool (dry-run validates without side effects) */
897
1326
  run: (tool_id: string, options?: {
@@ -930,7 +1359,11 @@ export declare class RaviClient {
930
1359
  voiceId?: string;
931
1360
  }) => Promise<ProxCallsVoiceAgentsCreateReturn>;
932
1361
  /** List voice agents */
933
- list: () => Promise<ProxCallsVoiceAgentsListReturn>;
1362
+ list: (options?: {
1363
+ limit?: string;
1364
+ offset?: string;
1365
+ tag?: string;
1366
+ }) => Promise<ProxCallsVoiceAgentsListReturn>;
934
1367
  /** Show a voice agent by ID */
935
1368
  show: (voice_agent_id: string) => Promise<ProxCallsVoiceAgentsShowReturn>;
936
1369
  /** Sync voice agent to provider (dry-run by default) */
@@ -953,7 +1386,11 @@ export declare class RaviClient {
953
1386
  channel?: string;
954
1387
  }) => Promise<RoutesExplainReturn>;
955
1388
  /** List routes across all instances or for one instance */
956
- list: (name?: string) => Promise<RoutesListReturn>;
1389
+ list: (name?: string, options?: {
1390
+ limit?: string;
1391
+ offset?: string;
1392
+ tag?: string;
1393
+ }) => Promise<RoutesListReturn>;
957
1394
  /** Show route details */
958
1395
  show: (name: string, pattern: string) => Promise<RoutesShowReturn>;
959
1396
  };
@@ -981,6 +1418,43 @@ export declare class RaviClient {
981
1418
  stdout?: boolean;
982
1419
  }) => Promise<SdkOpenapiEmitReturn>;
983
1420
  };
1421
+ swift: {
1422
+ /** Compare on-disk Ravi Swift SDK sources to a fresh emit; exit 1 on drift */
1423
+ check: (options?: {
1424
+ out?: string;
1425
+ version?: string;
1426
+ }) => Promise<SdkSwiftCheckReturn>;
1427
+ /** Generate the Ravi Swift SDK source files from the live registry */
1428
+ generate: (options?: {
1429
+ out?: string;
1430
+ version?: string;
1431
+ }) => Promise<SdkSwiftGenerateReturn>;
1432
+ };
1433
+ };
1434
+ readonly self: {
1435
+ /** Show the current chat binding and participants */
1436
+ chat: (options?: {
1437
+ depth?: string;
1438
+ }) => Promise<SelfChatReturn>;
1439
+ /** Show the full current self-context packet */
1440
+ context: (options?: {
1441
+ depth?: string;
1442
+ limit?: string;
1443
+ }) => Promise<SelfContextReturn>;
1444
+ /** Explain how Ravi resolved the current self-context */
1445
+ explain: () => Promise<SelfExplainReturn>;
1446
+ /** Show current knowledge integration status for this context */
1447
+ knowledge: () => Promise<SelfKnowledgeReturn>;
1448
+ /** Show capabilities inherited by the current context */
1449
+ permissions: () => Promise<SelfPermissionsReturn>;
1450
+ /** Show bounded recent message metadata for the current chat */
1451
+ recent: (options?: {
1452
+ limit?: string;
1453
+ }) => Promise<SelfRecentReturn>;
1454
+ /** Show route information that led to the current session */
1455
+ route: () => Promise<SelfRouteReturn>;
1456
+ /** Show the current agent/session identity */
1457
+ whoami: () => Promise<SelfWhoamiReturn>;
984
1458
  };
985
1459
  readonly service: {
986
1460
  /** Start the bot server */
@@ -1003,10 +1477,6 @@ export declare class RaviClient {
1003
1477
  channel?: string;
1004
1478
  to?: string;
1005
1479
  }) => 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
1480
  /** Delete a session permanently */
1011
1481
  delete: (nameOrKey: string) => Promise<SessionsDeleteReturn>;
1012
1482
  /** Send an execute command to another session (fire-and-forget) */
@@ -1017,6 +1487,14 @@ export declare class RaviClient {
1017
1487
  }) => Promise<SessionsExecuteReturn>;
1018
1488
  /** Extend an ephemeral session's TTL */
1019
1489
  extend: (nameOrKey: string, duration?: string) => Promise<SessionsExtendReturn>;
1490
+ /** Inspect or mutate persisted session goal state */
1491
+ goal: (action: string, nameOrKey: string, objective?: string, options?: {
1492
+ budget?: string;
1493
+ project?: string;
1494
+ seconds?: string;
1495
+ task?: string;
1496
+ tokens?: string;
1497
+ }) => Promise<SessionsGoalReturn>;
1020
1498
  /** Show unified session inspection details */
1021
1499
  info: (nameOrKey: string) => Promise<SessionsInfoReturn>;
1022
1500
  /** Send an informational message to another session (fire-and-forget) */
@@ -1031,7 +1509,19 @@ export declare class RaviClient {
1031
1509
  list: (options?: {
1032
1510
  agent?: string;
1033
1511
  ephemeral?: boolean;
1512
+ limit?: string;
1513
+ live?: boolean;
1514
+ offset?: string;
1515
+ tag?: string;
1034
1516
  }) => Promise<SessionsListReturn>;
1517
+ /** Prune sessions inactive for a duration (dry-run by default) */
1518
+ prune: (options?: {
1519
+ agent?: string;
1520
+ ephemeral?: boolean;
1521
+ execute?: boolean;
1522
+ inactiveFor?: string;
1523
+ namePrefix?: string;
1524
+ }) => Promise<SessionsPruneReturn>;
1035
1525
  /** Read message history of a session (normalized) */
1036
1526
  read: (nameOrKey: string, options?: {
1037
1527
  count?: string;
@@ -1088,6 +1578,11 @@ export declare class RaviClient {
1088
1578
  barrier?: string;
1089
1579
  channel?: string;
1090
1580
  interactive?: boolean;
1581
+ thread?: string;
1582
+ threadOwner?: string;
1583
+ threadScope?: string;
1584
+ threadSummary?: string;
1585
+ threadTitle?: string;
1091
1586
  to?: string;
1092
1587
  wait?: boolean;
1093
1588
  }) => Promise<SessionsSendReturn>;
@@ -1115,6 +1610,8 @@ export declare class RaviClient {
1115
1610
  turn?: string;
1116
1611
  until?: string;
1117
1612
  }) => Promise<SessionsTraceReturn>;
1613
+ /** Show runtime session visibility state */
1614
+ visibility: (nameOrKey: string) => Promise<SessionsVisibilityReturn>;
1118
1615
  };
1119
1616
  readonly settings: {
1120
1617
  /** Delete a setting */
@@ -1124,10 +1621,41 @@ export declare class RaviClient {
1124
1621
  /** List live settings (legacy account.* hidden by default) */
1125
1622
  list: (options?: {
1126
1623
  legacy?: boolean;
1624
+ limit?: string;
1625
+ offset?: string;
1127
1626
  }) => Promise<SettingsListReturn>;
1128
1627
  /** Set a setting value */
1129
1628
  set: (key: string, value: string) => Promise<SettingsSetReturn>;
1130
1629
  };
1630
+ readonly skillGates: {
1631
+ /** Disable a skill gate rule */
1632
+ disable: (id: string) => Promise<SkillGatesDisableReturn>;
1633
+ /** Enable a configured skill gate rule */
1634
+ enable: (id: string) => Promise<SkillGatesEnableReturn>;
1635
+ /** List skill gate rules */
1636
+ list: (options?: {
1637
+ limit?: string;
1638
+ offset?: string;
1639
+ tag?: string;
1640
+ }) => Promise<SkillGatesListReturn>;
1641
+ /** Delete a configured override and restore the default behavior */
1642
+ reset: (id: string) => Promise<SkillGatesResetReturn>;
1643
+ /** Remove a custom gate or disable a default gate */
1644
+ rm: (id: string) => Promise<SkillGatesRmReturn>;
1645
+ /** Create or overwrite a skill gate rule */
1646
+ set: (id: string, skill: string, options?: {
1647
+ command?: string;
1648
+ commandPrefix?: string;
1649
+ commandRegex?: string;
1650
+ groupRegex?: string;
1651
+ pattern?: string;
1652
+ tool?: string;
1653
+ toolPrefix?: string;
1654
+ toolRegex?: string;
1655
+ }) => Promise<SkillGatesSetReturn>;
1656
+ /** Show one skill gate rule */
1657
+ show: (id: string) => Promise<SkillGatesShowReturn>;
1658
+ };
1131
1659
  readonly skills: {
1132
1660
  /** Install Ravi catalog skills or skills from an explicit source */
1133
1661
  install: (name?: string, options?: {
@@ -1142,7 +1670,10 @@ export declare class RaviClient {
1142
1670
  list: (options?: {
1143
1671
  codex?: boolean;
1144
1672
  installed?: boolean;
1673
+ limit?: string;
1674
+ offset?: string;
1145
1675
  source?: string;
1676
+ tag?: string;
1146
1677
  }) => Promise<SkillsListReturn>;
1147
1678
  /** Show a Ravi catalog skill, installed skill or source skill */
1148
1679
  show: (name: string, options?: {
@@ -1161,6 +1692,8 @@ export declare class RaviClient {
1161
1692
  list: (options?: {
1162
1693
  domain?: string;
1163
1694
  kind?: string;
1695
+ limit?: string;
1696
+ offset?: string;
1164
1697
  }) => Promise<SpecsListReturn>;
1165
1698
  /** Create a new spec under .ravi/specs */
1166
1699
  new: (id: string, options?: {
@@ -1183,7 +1716,10 @@ export declare class RaviClient {
1183
1716
  overwrite?: boolean;
1184
1717
  }) => Promise<StickersAddReturn>;
1185
1718
  /** List stickers in the typed catalog */
1186
- list: () => Promise<StickersListReturn>;
1719
+ list: (options?: {
1720
+ limit?: string;
1721
+ offset?: string;
1722
+ }) => Promise<StickersListReturn>;
1187
1723
  /** Remove a sticker catalog entry */
1188
1724
  remove: (id: string) => Promise<StickersRemoveReturn>;
1189
1725
  /** Send a sticker to the current WhatsApp chat */
@@ -1196,12 +1732,64 @@ export declare class RaviClient {
1196
1732
  /** Show one sticker catalog entry */
1197
1733
  show: (id: string) => Promise<StickersShowReturn>;
1198
1734
  };
1735
+ readonly tagRules: {
1736
+ /** Evaluate a rule against a target asset */
1737
+ evaluate: (ruleId: string, options?: {
1738
+ apply?: boolean;
1739
+ file?: string;
1740
+ target?: string;
1741
+ }) => Promise<TagRulesEvaluateReturn>;
1742
+ /** Explain which rules currently match a target asset (dry-run) */
1743
+ explain: (options?: {
1744
+ target?: string;
1745
+ }) => Promise<TagRulesExplainReturn>;
1746
+ /** List loaded tag rules from .ravi/tag-rules */
1747
+ list: (options?: {
1748
+ limit?: string;
1749
+ offset?: string;
1750
+ }) => Promise<TagRulesListReturn>;
1751
+ /** Show a single rule definition */
1752
+ show: (id: string) => Promise<TagRulesShowReturn>;
1753
+ /** Run all rules against all contacts (use for cron/periodic schedules) */
1754
+ tick: (options?: {
1755
+ apply?: boolean;
1756
+ limit?: string;
1757
+ }) => Promise<TagRulesTickReturn>;
1758
+ /** Validate all rule files without applying */
1759
+ validate: () => Promise<TagRulesValidateReturn>;
1760
+ };
1199
1761
  readonly tags: {
1200
- /** Attach a tag to an agent or session */
1762
+ /** Attach a tag to a Ravi asset */
1201
1763
  attach: (slug: string, options?: {
1202
1764
  agent?: string;
1765
+ artifact?: string;
1766
+ callProfile?: string;
1767
+ callRequest?: string;
1768
+ callTool?: string;
1769
+ callVoiceAgent?: string;
1770
+ chat?: string;
1771
+ command?: string;
1772
+ contact?: string;
1773
+ cronJob?: string;
1774
+ devinSession?: string;
1775
+ hook?: string;
1776
+ insight?: string;
1777
+ instance?: string;
1203
1778
  meta?: string;
1779
+ profile?: string;
1780
+ project?: string;
1781
+ route?: string;
1204
1782
  session?: string;
1783
+ skill?: string;
1784
+ skillGateRule?: string;
1785
+ source?: string;
1786
+ target?: string;
1787
+ task?: string;
1788
+ taskAutomation?: string;
1789
+ trigger?: string;
1790
+ workflowNode?: string;
1791
+ workflowRun?: string;
1792
+ workflowSpec?: string;
1205
1793
  }) => Promise<TagsAttachReturn>;
1206
1794
  /** Create a new tag definition */
1207
1795
  create: (slug: string, options?: {
@@ -1209,20 +1797,88 @@ export declare class RaviClient {
1209
1797
  kind?: string;
1210
1798
  label?: string;
1211
1799
  meta?: string;
1800
+ source?: string;
1212
1801
  }) => Promise<TagsCreateReturn>;
1213
- /** Detach a tag from an agent or session */
1802
+ /** Detach a tag from a Ravi asset */
1214
1803
  detach: (slug: string, options?: {
1215
1804
  agent?: string;
1805
+ artifact?: string;
1806
+ callProfile?: string;
1807
+ callRequest?: string;
1808
+ callTool?: string;
1809
+ callVoiceAgent?: string;
1810
+ chat?: string;
1811
+ command?: string;
1812
+ contact?: string;
1813
+ cronJob?: string;
1814
+ devinSession?: string;
1815
+ hook?: string;
1816
+ insight?: string;
1817
+ instance?: string;
1818
+ profile?: string;
1819
+ project?: string;
1820
+ route?: string;
1216
1821
  session?: string;
1822
+ skill?: string;
1823
+ skillGateRule?: string;
1824
+ source?: string;
1825
+ target?: string;
1826
+ task?: string;
1827
+ taskAutomation?: string;
1828
+ trigger?: string;
1829
+ workflowNode?: string;
1830
+ workflowRun?: string;
1831
+ workflowSpec?: string;
1217
1832
  }) => Promise<TagsDetachReturn>;
1218
1833
  /** List tag definitions */
1219
- list: () => Promise<TagsListReturn>;
1834
+ list: (options?: {
1835
+ cursor?: string;
1836
+ kind?: string;
1837
+ limit?: string;
1838
+ order?: string;
1839
+ query?: string;
1840
+ sort?: string;
1841
+ source?: string;
1842
+ }) => Promise<TagsListReturn>;
1220
1843
  /** Search bindings by tag or asset */
1221
1844
  search: (options?: {
1222
1845
  agent?: string;
1846
+ artifact?: string;
1847
+ callProfile?: string;
1848
+ callRequest?: string;
1849
+ callTool?: string;
1850
+ callVoiceAgent?: string;
1851
+ chat?: string;
1852
+ command?: string;
1853
+ contact?: string;
1854
+ cronJob?: string;
1855
+ cursor?: string;
1856
+ devinSession?: string;
1857
+ hook?: string;
1858
+ insight?: string;
1859
+ instance?: string;
1860
+ kind?: string;
1861
+ limit?: string;
1862
+ order?: string;
1863
+ profile?: string;
1864
+ project?: string;
1865
+ route?: string;
1223
1866
  session?: string;
1867
+ skill?: string;
1868
+ skillGateRule?: string;
1869
+ sort?: string;
1870
+ source?: string;
1224
1871
  tag?: string;
1872
+ target?: string;
1873
+ task?: string;
1874
+ taskAutomation?: string;
1875
+ trigger?: string;
1876
+ workflowNode?: string;
1877
+ workflowRun?: string;
1878
+ workflowSpec?: string;
1225
1879
  }) => Promise<TagsSearchReturn>;
1880
+ /** Set tag definition metadata */
1881
+ set: (slug: string, key: string, value: string) => Promise<TagsSetReturn>;
1226
1882
  /** Show one tag and its bindings */
1227
1883
  show: (slug: string) => Promise<TagsShowReturn>;
1228
1884
  };
@@ -1258,7 +1914,11 @@ export declare class RaviClient {
1258
1914
  /** Enable a task automation */
1259
1915
  enable: (id: string) => Promise<TasksAutomationsEnableReturn>;
1260
1916
  /** List configured task automations */
1261
- list: () => Promise<TasksAutomationsListReturn>;
1917
+ list: (options?: {
1918
+ limit?: string;
1919
+ offset?: string;
1920
+ tag?: string;
1921
+ }) => Promise<TasksAutomationsListReturn>;
1262
1922
  /** Delete a task automation */
1263
1923
  rm: (id: string) => Promise<TasksAutomationsRmReturn>;
1264
1924
  /** Show one task automation and its recent runs */
@@ -1286,6 +1946,7 @@ export declare class RaviClient {
1286
1946
  reportEvents?: string;
1287
1947
  reportTo?: string;
1288
1948
  session?: string;
1949
+ tag?: string[];
1289
1950
  thinking?: string;
1290
1951
  worktreeBranch?: string;
1291
1952
  worktreeMode?: string;
@@ -1295,7 +1956,10 @@ export declare class RaviClient {
1295
1956
  /** Add one gating dependency to a task */
1296
1957
  add: (taskId: string, dependencyTaskId: string) => Promise<TasksDepsAddReturn>;
1297
1958
  /** List gating dependencies and dependents for a task */
1298
- ls: (taskId: string) => Promise<TasksDepsLsReturn>;
1959
+ ls: (taskId: string, options?: {
1960
+ limit?: string;
1961
+ offset?: string;
1962
+ }) => Promise<TasksDepsLsReturn>;
1299
1963
  /** Remove one gating dependency from a task */
1300
1964
  rm: (taskId: string, dependencyTaskId: string) => Promise<TasksDepsRmReturn>;
1301
1965
  };
@@ -1323,16 +1987,24 @@ export declare class RaviClient {
1323
1987
  list: (options?: {
1324
1988
  agent?: string;
1325
1989
  all?: boolean;
1990
+ allTime?: boolean;
1326
1991
  archived?: boolean;
1992
+ cursor?: string;
1327
1993
  last?: string;
1994
+ limit?: string;
1328
1995
  mine?: boolean;
1996
+ order?: string;
1329
1997
  parent?: string;
1330
1998
  profile?: string;
1331
1999
  root?: string;
1332
2000
  roots?: boolean;
1333
2001
  session?: string;
2002
+ since?: string;
2003
+ sort?: string;
1334
2004
  status?: string;
2005
+ tag?: string;
1335
2006
  text?: string;
2007
+ until?: string;
1336
2008
  }) => Promise<TasksListReturn>;
1337
2009
  profiles: {
1338
2010
  /** Create a profile scaffold in the workspace or user catalog */
@@ -1341,7 +2013,10 @@ export declare class RaviClient {
1341
2013
  source?: string;
1342
2014
  }) => Promise<TasksProfilesInitReturn>;
1343
2015
  /** List resolved task profiles from all catalog sources */
1344
- list: () => Promise<TasksProfilesListReturn>;
2016
+ list: (options?: {
2017
+ limit?: string;
2018
+ offset?: string;
2019
+ }) => Promise<TasksProfilesListReturn>;
1345
2020
  /** Render a profile preview with the resolved template context */
1346
2021
  preview: (profileId: string, options?: {
1347
2022
  agent?: string;
@@ -1369,24 +2044,70 @@ export declare class RaviClient {
1369
2044
  }) => Promise<TasksShowReturn>;
1370
2045
  /** Restore an archived task to the default list */
1371
2046
  unarchive: (taskId: string) => Promise<TasksUnarchiveReturn>;
1372
- /** Watch task events live */
1373
- watch: (taskId?: string) => Promise<TasksWatchReturn>;
1374
2047
  };
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>;
2048
+ readonly threads: {
2049
+ /** Render the bounded thread brief used for handoff */
2050
+ brief: (thread: string, options?: {
2051
+ scope?: string;
2052
+ }) => Promise<ThreadsBriefReturn>;
2053
+ /** Close a thread */
2054
+ close: (thread: string, options?: {
2055
+ reason?: string;
2056
+ scope?: string;
2057
+ }) => Promise<ThreadsCloseReturn>;
2058
+ /** Append a comment to a thread */
2059
+ comment: (thread: string, body: string, options?: {
2060
+ scope?: string;
2061
+ visibility?: string;
2062
+ }) => Promise<ThreadsCommentReturn>;
2063
+ /** Create a Ravi-owned thread */
2064
+ create: (slug: string, options?: {
2065
+ defaultAgent?: string;
2066
+ owner?: string;
2067
+ scope?: string;
2068
+ status?: string;
2069
+ summary?: string;
2070
+ title?: string;
2071
+ }) => Promise<ThreadsCreateReturn>;
2072
+ /** List thread entries */
2073
+ entries: (thread: string, options?: {
2074
+ limit?: string;
2075
+ offset?: string;
2076
+ scope?: string;
2077
+ }) => Promise<ThreadsEntriesReturn>;
2078
+ /** Link a thread to another Ravi object */
2079
+ link: (thread: string, target: string, options?: {
2080
+ label?: string;
2081
+ role?: string;
2082
+ scope?: string;
2083
+ visibility?: string;
2084
+ }) => Promise<ThreadsLinkReturn>;
2085
+ /** List Ravi threads */
2086
+ list: (options?: {
2087
+ limit?: string;
2088
+ offset?: string;
2089
+ owner?: string;
2090
+ scope?: string;
2091
+ search?: string;
2092
+ status?: string;
2093
+ }) => Promise<ThreadsListReturn>;
2094
+ /** Append a note to a thread */
2095
+ note: (thread: string, body: string, options?: {
2096
+ scope?: string;
2097
+ visibility?: string;
2098
+ }) => Promise<ThreadsNoteReturn>;
2099
+ /** Show one thread with links and recent entries */
2100
+ show: (thread: string, options?: {
2101
+ entries?: string;
2102
+ scope?: string;
2103
+ }) => Promise<ThreadsShowReturn>;
1386
2104
  };
1387
2105
  readonly tools: {
1388
2106
  /** List all available CLI tools */
1389
- list: () => Promise<ToolsListReturn>;
2107
+ list: (options?: {
2108
+ limit?: string;
2109
+ offset?: string;
2110
+ }) => Promise<ToolsListReturn>;
1390
2111
  /** Export tools as JSON manifest */
1391
2112
  manifest: () => Promise<ToolsManifestReturn>;
1392
2113
  /** Export tools as JSON Schema */
@@ -1418,7 +2139,11 @@ export declare class RaviClient {
1418
2139
  /** Enable a trigger */
1419
2140
  enable: (id: string) => Promise<TriggersEnableReturn>;
1420
2141
  /** List all event triggers */
1421
- list: () => Promise<TriggersListReturn>;
2142
+ list: (options?: {
2143
+ limit?: string;
2144
+ offset?: string;
2145
+ tag?: string;
2146
+ }) => Promise<TriggersListReturn>;
1422
2147
  /** Delete a trigger */
1423
2148
  rm: (id: string) => Promise<TriggersRmReturn>;
1424
2149
  /** Set trigger property */
@@ -1489,6 +2214,8 @@ export declare class RaviClient {
1489
2214
  /** List all groups the bot participates in */
1490
2215
  list: (options?: {
1491
2216
  account?: string;
2217
+ limit?: string;
2218
+ offset?: string;
1492
2219
  }) => Promise<WhatsappGroupListReturn>;
1493
2220
  /** Promote participants to admin */
1494
2221
  promote: (groupId: string, participants: string, options?: {
@@ -1519,7 +2246,10 @@ export declare class RaviClient {
1519
2246
  /** Cancel one workflow node run */
1520
2247
  cancel: (runId: string, nodeKey: string) => Promise<WorkflowsRunsCancelReturn>;
1521
2248
  /** List workflow runs */
1522
- list: () => Promise<WorkflowsRunsListReturn>;
2249
+ list: (options?: {
2250
+ limit?: string;
2251
+ offset?: string;
2252
+ }) => Promise<WorkflowsRunsListReturn>;
1523
2253
  /** Release a manual node transition or gate */
1524
2254
  release: (runId: string, nodeKey: string) => Promise<WorkflowsRunsReleaseReturn>;
1525
2255
  /** Show one workflow run with node state */
@@ -1549,7 +2279,10 @@ export declare class RaviClient {
1549
2279
  file?: string;
1550
2280
  }) => Promise<WorkflowsSpecsCreateReturn>;
1551
2281
  /** List workflow specs */
1552
- list: () => Promise<WorkflowsSpecsListReturn>;
2282
+ list: (options?: {
2283
+ limit?: string;
2284
+ offset?: string;
2285
+ }) => Promise<WorkflowsSpecsListReturn>;
1553
2286
  /** Show one workflow spec */
1554
2287
  show: (specId: string) => Promise<WorkflowsSpecsShowReturn>;
1555
2288
  };