@ericsanchezok/synergy-sdk 1.1.18 → 1.1.20

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.
@@ -1,5 +1,5 @@
1
1
  import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
2
- import type { AgendaActivateErrors, AgendaActivateResponses, AgendaCancelErrors, AgendaCancelResponses, AgendaCompleteErrors, AgendaCompleteResponses, AgendaCreateErrors, AgendaCreateInput, AgendaCreateResponses, AgendaGetErrors, AgendaGetResponses, AgendaPatchInput, AgendaPauseErrors, AgendaPauseResponses, AgendaRemoveErrors, AgendaRemoveResponses, AgendaRunsErrors, AgendaRunsResponses, AgendaSessionsErrors, AgendaSessionsResponses, AgendaTriggerErrors, AgendaTriggerResponses, AgendaUpdateErrors, AgendaUpdateResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelGenesisResetResponses, ChannelGenesisSessionResponses, ChannelStatusResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigGlobalResponses, ConfigProvidersResponses, ConfigSetActivateErrors, ConfigSetActivateResponses, ConfigSetCreateErrors, ConfigSetCreateInput, ConfigSetCreateResponses, ConfigSetDeleteErrors, ConfigSetDeleteResponses, ConfigSetGetErrors, ConfigSetGetResponses, ConfigSetListResponses, ConfigSetName, ConfigSetRawGetErrors, ConfigSetRawGetResponses, ConfigSetRawSaveErrors, ConfigSetRawSaveInput, ConfigSetRawSaveResponses, ConfigSetRawValidateErrors, ConfigSetRawValidateInput, ConfigSetRawValidateResponses, ConfigSetUpdateErrors, ConfigSetUpdateResponses, ConfigUpdateErrors, ConfigUpdateResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, DebugReportMode, EngramExperienceApplyRewardErrors, EngramExperienceApplyRewardResponses, EngramExperienceGetErrors, EngramExperienceGetResponses, EngramExperienceListResponses, EngramExperiencePageErrors, EngramExperiencePageResponses, EngramExperienceRemoveErrors, EngramExperienceRemoveResponses, EngramExperienceSearchErrors, EngramExperienceSearchResponses, EngramGetErrors, EngramGetResponses, EngramListResponses, EngramRemoveErrors, EngramRemoveResponses, EngramResetErrors, EngramResetResponses, EngramSearchErrors, EngramSearchResponses, EngramStatsResponses, EventSubscribeResponses, ExperienceListFilter, ExperienceListSort, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindBrowseResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GitInitErrors, GitInitResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, HolosAgentsGetErrors, HolosAgentsGetResponses, HolosAgentsListResponses, HolosCallbackResponses, HolosContactAddErrors, HolosContactAddResponses, HolosContactGetErrors, HolosContactGetResponses, HolosContactListResponses, HolosContactRemoveResponses, HolosContactSendMessageErrors, HolosContactSendMessageResponses, HolosContactSessionErrors, HolosContactSessionResponses, HolosContactUpdateConfigErrors, HolosContactUpdateConfigResponses, HolosCredentialsErrors, HolosCredentialsResponses, HolosCredentialsStatusResponses, HolosFriendReplyListResponses, HolosFriendRequestCreateErrors, HolosFriendRequestCreateResponses, HolosFriendRequestListResponses, HolosFriendRequestRemoveResponses, HolosFriendRequestRespondErrors, HolosFriendRequestRespondResponses, HolosFriendRequestSendErrors, HolosFriendRequestSendResponses, HolosLoginResponses, HolosLogoutResponses, HolosPresenceResponses, HolosProfileAvatarErrors, HolosProfileAvatarResponses, HolosProfileGetResponses, HolosProfileResetResponses, HolosProfileUpdateErrors, HolosProfileUpdateResponses, HolosQueueListResponses, HolosReconnectErrors, HolosReconnectResponses, HolosRefreshPresenceResponses, HolosVerifyResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, NoteCreateErrors, NoteCreateInput, NoteCreateResponses, NoteExportErrors, NoteExportResponses, NoteGetErrors, NoteGetResponses, NoteListAllErrors, NoteListAllResponses, NoteListErrors, NoteListResponses, NotePatchInput, NoteRemoveErrors, NoteRemoveResponses, NoteUpdateErrors, NoteUpdateResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionIsAllowingAllErrors, PermissionIsAllowingAllResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionSetAllowAllErrors, PermissionSetAllowAllResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RewardsInfo, RuntimeReloadErrors, RuntimeReloadResponses, RuntimeReloadScope, RuntimeReloadTarget, ScopeCurrentResponses, ScopeListResponses, ScopeRemoveResponses, ScopeUpdateErrors, ScopeUpdateResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDagErrors, SessionDagResponses, SessionDebugReportEmailErrors, SessionDebugReportEmailResponses, SessionDebugReportEstimateErrors, SessionDebugReportEstimateResponses, SessionDebugReportExportErrors, SessionDebugReportExportResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionFeedbackDeleteErrors, SessionFeedbackDeleteResponses, SessionFeedbackGetErrors, SessionFeedbackGetResponses, SessionFeedbackListErrors, SessionFeedbackListResponses, SessionFeedbackSetErrors, SessionFeedbackSetResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUpdateErrors, SessionUpdateResponses, SkillImportErrors, SkillImportResponses, SkillImportUrlErrors, SkillImportUrlResponses, SkillListResponses, SkillReloadResponses, SkillRemoveErrors, SkillRemoveResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses } from "./types.gen.js";
2
+ import type { AgendaActivateErrors, AgendaActivateResponses, AgendaCancelErrors, AgendaCancelResponses, AgendaCompleteErrors, AgendaCompleteResponses, AgendaCreateErrors, AgendaCreateInput, AgendaCreateResponses, AgendaGetErrors, AgendaGetResponses, AgendaPatchInput, AgendaPauseErrors, AgendaPauseResponses, AgendaRemoveErrors, AgendaRemoveResponses, AgendaRunsErrors, AgendaRunsResponses, AgendaSessionsErrors, AgendaSessionsResponses, AgendaTriggerErrors, AgendaTriggerResponses, AgendaUpdateErrors, AgendaUpdateResponses, AppAgentsResponses, AppLogErrors, AppLogResponses, AssetGetErrors, AssetGetResponses, AssetUploadErrors, AssetUploadResponses, Auth as Auth2, AuthSetErrors, AuthSetResponses, ChannelAppResetResponses, ChannelAppSessionResponses, ChannelDisconnectResponses, ChannelGenesisResetResponses, ChannelGenesisSessionResponses, ChannelStatusResponses, CommandListResponses, Config as Config2, ConfigGetResponses, ConfigGlobalResponses, ConfigProvidersResponses, ConfigSetActivateErrors, ConfigSetActivateResponses, ConfigSetCreateErrors, ConfigSetCreateInput, ConfigSetCreateResponses, ConfigSetDeleteErrors, ConfigSetDeleteResponses, ConfigSetGetErrors, ConfigSetGetResponses, ConfigSetListResponses, ConfigSetName, ConfigSetRawGetErrors, ConfigSetRawGetResponses, ConfigSetRawSaveErrors, ConfigSetRawSaveInput, ConfigSetRawSaveResponses, ConfigSetRawValidateErrors, ConfigSetRawValidateInput, ConfigSetRawValidateResponses, ConfigSetUpdateErrors, ConfigSetUpdateResponses, ConfigUpdateErrors, ConfigUpdateResponses, CortexCancelErrors, CortexCancelResponses, CortexGetErrors, CortexGetResponses, CortexListErrors, CortexListResponses, CortexOutputErrors, CortexOutputResponses, DebugReportMode, EngramExperienceApplyRewardErrors, EngramExperienceApplyRewardResponses, EngramExperienceGetErrors, EngramExperienceGetResponses, EngramExperienceListResponses, EngramExperiencePageErrors, EngramExperiencePageResponses, EngramExperienceRemoveErrors, EngramExperienceRemoveResponses, EngramExperienceSearchErrors, EngramExperienceSearchResponses, EngramGetErrors, EngramGetResponses, EngramListResponses, EngramRemoveErrors, EngramRemoveResponses, EngramResetErrors, EngramResetResponses, EngramSearchErrors, EngramSearchResponses, EngramStatsResponses, EventSubscribeResponses, ExperienceListFilter, ExperienceListSort, ExperimentalResourceListResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindBrowseResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GitInitErrors, GitInitResponses, GlobalAgendaListErrors, GlobalAgendaListResponses, GlobalDisposeResponses, GlobalHealthResponses, HolosAgentsGetErrors, HolosAgentsGetResponses, HolosAgentsListResponses, HolosCallbackResponses, HolosContactAddErrors, HolosContactAddResponses, HolosContactGetErrors, HolosContactGetResponses, HolosContactListResponses, HolosContactRemoveResponses, HolosContactSendMessageErrors, HolosContactSendMessageResponses, HolosContactSessionErrors, HolosContactSessionResponses, HolosContactUpdateConfigErrors, HolosContactUpdateConfigResponses, HolosCredentialsErrors, HolosCredentialsResponses, HolosCredentialsStatusResponses, HolosFriendReplyListResponses, HolosFriendRequestCreateErrors, HolosFriendRequestCreateResponses, HolosFriendRequestListResponses, HolosFriendRequestRemoveResponses, HolosFriendRequestRespondErrors, HolosFriendRequestRespondResponses, HolosFriendRequestSendErrors, HolosFriendRequestSendResponses, HolosLoginResponses, HolosLogoutResponses, HolosPresenceResponses, HolosProfileAvatarErrors, HolosProfileAvatarResponses, HolosProfileGetResponses, HolosProfileResetResponses, HolosProfileSkipGenesisResponses, HolosProfileUpdateErrors, HolosProfileUpdateResponses, HolosQueueListResponses, HolosReconnectErrors, HolosReconnectResponses, HolosRefreshPresenceResponses, HolosVerifyResponses, InstanceDisposeResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, NoteCreateErrors, NoteCreateInput, NoteCreateResponses, NoteExportErrors, NoteExportResponses, NoteGetErrors, NoteGetResponses, NoteListAllErrors, NoteListAllResponses, NoteListErrors, NoteListResponses, NotePatchInput, NoteRemoveErrors, NoteRemoveResponses, NoteUpdateErrors, NoteUpdateResponses, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionIsAllowingAllErrors, PermissionIsAllowingAllResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionSetAllowAllErrors, PermissionSetAllowAllResponses, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RewardsInfo, RuntimeReloadErrors, RuntimeReloadResponses, RuntimeReloadScope, RuntimeReloadTarget, ScopeCurrentResponses, ScopeListResponses, ScopeRemoveResponses, ScopeUpdateErrors, ScopeUpdateResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDagErrors, SessionDagResponses, SessionDebugReportEmailErrors, SessionDebugReportEmailResponses, SessionDebugReportEstimateErrors, SessionDebugReportEstimateResponses, SessionDebugReportExportErrors, SessionDebugReportExportResponses, SessionDeleteErrors, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionFeedbackDeleteErrors, SessionFeedbackDeleteResponses, SessionFeedbackGetErrors, SessionFeedbackGetResponses, SessionFeedbackListErrors, SessionFeedbackListResponses, SessionFeedbackSetErrors, SessionFeedbackSetResponses, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUpdateErrors, SessionUpdateResponses, SkillImportErrors, SkillImportResponses, SkillImportUrlErrors, SkillImportUrlResponses, SkillListResponses, SkillReloadResponses, SkillRemoveErrors, SkillRemoveResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListResponses } from "./types.gen.js";
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -140,12 +140,6 @@ export declare class Global extends HeyApiClient {
140
140
  * Get health information about the Synergy server.
141
141
  */
142
142
  health<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalHealthResponses, unknown, ThrowOnError, "fields">;
143
- /**
144
- * Get global events
145
- *
146
- * Subscribe to global events from the Synergy system using server-sent events.
147
- */
148
- event<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<GlobalEventResponses, unknown>>;
149
143
  /**
150
144
  * Dispose instance
151
145
  *
@@ -192,6 +186,14 @@ export declare class Profile extends HeyApiClient {
192
186
  reset<ThrowOnError extends boolean = false>(parameters?: {
193
187
  directory?: string;
194
188
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosProfileResetResponses, unknown, ThrowOnError, "fields">;
189
+ /**
190
+ * Skip genesis and create default profile
191
+ *
192
+ * Creates a default profile, skipping the onboarding chat. No-ops if profile is already initialized.
193
+ */
194
+ skipGenesis<ThrowOnError extends boolean = false>(parameters?: {
195
+ directory?: string;
196
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<HolosProfileSkipGenesisResponses, unknown, ThrowOnError, "fields">;
195
197
  /**
196
198
  * Upload profile avatar
197
199
  *
@@ -277,17 +277,6 @@ export class Global extends HeyApiClient {
277
277
  ...options,
278
278
  });
279
279
  }
280
- /**
281
- * Get global events
282
- *
283
- * Subscribe to global events from the Synergy system using server-sent events.
284
- */
285
- event(options) {
286
- return (options?.client ?? this.client).sse.get({
287
- url: "/global/event",
288
- ...options,
289
- });
290
- }
291
280
  /**
292
281
  * Dispose instance
293
282
  *
@@ -370,6 +359,19 @@ export class Profile extends HeyApiClient {
370
359
  ...params,
371
360
  });
372
361
  }
362
+ /**
363
+ * Skip genesis and create default profile
364
+ *
365
+ * Creates a default profile, skipping the onboarding chat. No-ops if profile is already initialized.
366
+ */
367
+ skipGenesis(parameters, options) {
368
+ const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
369
+ return (options?.client ?? this.client).post({
370
+ url: "/holos/profile/skip-genesis",
371
+ ...options,
372
+ ...params,
373
+ });
374
+ }
373
375
  /**
374
376
  * Upload profile avatar
375
377
  *