@nikcli-ai/sdk 1.358.0 → 1.359.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -275,6 +275,18 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
275
275
  unstage: (input: WithDirectory<import("./client.js").MobileGitUnstageInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
276
276
  };
277
277
  github: {
278
+ actions: {
279
+ run: {
280
+ cancel: (input: WithDirectory<import("./client.js").MobileGithubWorkflowRunCancelInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
281
+ jobs: (input: WithDirectory<import("./client.js").MobileGithubWorkflowRunJobsInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileGithubWorkflowRunJobsOutput>>;
282
+ rerun: (input: WithDirectory<import("./client.js").MobileGithubWorkflowRunRerunInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
283
+ };
284
+ runs: (input: WithDirectory<import("./client.js").MobileGithubWorkflowRunsInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileGithubWorkflowRunList>>;
285
+ workflow: {
286
+ dispatch: (input: WithDirectory<import("./client.js").MobileGithubWorkflowDispatchInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
287
+ };
288
+ workflows: (input: WithDirectory<import("./client.js").MobileGithubWorkflowsInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileGithubWorkflowsOutput>>;
289
+ };
278
290
  auth: {
279
291
  remove: (options?: CallOptions, overrides?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
280
292
  set: (input: WithDirectory<import("./client.js").MobileGithubAuthSetInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
@@ -1,4 +1,4 @@
1
- import type { TopLevelVcsStatusOutput, TopLevelVcsApplyInput, TopLevelCommandOutput, TopLevelAgentOutput, TopLevelSkillOutput, TopLevelLspOutput, TopLevelFormatterOutput, AnalyticsDailyInput, AnalyticsDailyOutput, AnalyticsSessionInput, AnalyticsSessionsOutput, AnalyticsDataInput, AppLogInput, AppSkillCreateInput, AppSkillDeleteInput, BrainTriggerInput, ChatbotBotsOutput, ChatbotStartInput, ChatbotStopInput, DiscordSetupInput, VoiceTranscribeInput, ProfilePatchInput, ProfileHabitsInput, ProfilePreviewInput, ProfileClearHabitsInput, ConfigUpdateInput, ConnectorsAuthSetInput, ConnectorsAuthRemoveInput, ConnectorsInvalidateInput, ExperimentalToolsInput, ExperimentalWorktreeCreateInput, ExperimentalWorktreeRemoveInput, ExperimentalWorktreeResetInput, ExperimentalManagedWorktreeCreateInput, ExperimentalManagedWorktreeRemoveInput, ExperimentalManagedWorktreeLinkInput, ExperimentalManagedWorktreeChildrenInput, ExperimentalManagedWorktreeAncestorsInput, FileFindTextInput, FileFindTextOutput, FileFindFileInput, FileFindFileOutput, FileFindSymbolInput, FileFindSymbolOutput, FileListInput, FileListOutput, FileContentInput, FileWriteInput, FileStatusOutput, McpAddInput, McpStartAuthInput, McpAuthCallbackInput, McpAuthenticateInput, McpRemoveAuthInput, McpConnectInput, McpDisconnectInput, McpToggleInput, MissionGenerateInput, MissionRecentExecsInput, MissionGetInput, MissionUpsertInput, MissionUpdateInput, MissionRemoveInput, MissionStartInput, MissionPauseInput, MissionCancelInput, MissionFeatureMutateInput, MissionExecsInput, MobileAuthTokenListOutput, MobileAuthTokenCreateInput, MobileAuthTokenCreateOutput, MobileAuthTokenRevokeInput, MobileAuthTokenRevokeOutput, MobileCommandListOutput, MobileProjectListOutput, MobileMemoryHistoryOutput, MobileMemorySearchInput, MobileMemorySearchOutput, MobileMemoryStashListOutput, MobileMemoryStashCreateInput, MobileMemoryStashDeleteInput, MobileGithubReposOutput, MobileGithubBranchesInput, MobileGithubBranchesOutput, MobileGithubImportsOutput, MobileGithubOauthClientInput, MobileGithubOauthDevicePollInput, MobileGithubAuthSetInput, MobileGithubImportInput, MobileGithubImportOutput, MobileGithubSessionCreateInput, MobileSessionListInput, MobileSessionListOutput, MobileSessionCreateInput, MobileSessionDetailInput, MobileSessionDeleteInput, MobileSessionDiffInput, MobileSessionDiffOutput, MobileSessionCommandListInput, MobileSessionCommandListOutput, MobileSessionCommandInput, MobileSessionCommandOutput, MobileSessionMessageInput, MobileSessionAbortInput, MobilePermissionRespondInput, MobileQuestionRespondInput, MobileQuestionRejectInput, MobileSessionPublishInput, MobileSessionCleanupInput, MobileSessionStreamInput, MobileSessionStreamOutput, MobileSessionRenameInput, MobileSessionTodoInput, MobileSessionTodoOutput, MobileTeleportUploadBeginOutput, MobileTeleportUploadChunkInput, MobileTeleportUploadChunkOutput, MobileTeleportInInput, MobileTeleportOutInput, MobileWorktreeCreateInput, MobileWorktreeRemoveInput, MobileWorktreeResetInput, MobileGitDiffInput, MobileGitDiffOutput, MobileGitCommitsInput, MobileGitCommitsOutput, MobileGitBranchesOutput, MobileGitCommitInput, MobileGitCommitOutput, MobileGitCheckoutInput, MobileGitStageInput, MobileGitUnstageInput, MobileGitDiscardInput, MobileGitPushInput, MobileGitPushOutput, MobileGitPullOutput, MobileLoopListOutput, MobileLoopCreateInput, MobileLoopTemplatesOutput, MobileLoopGenerateInput, MobileLoopRunsRecentInput, MobileLoopRunsRecentOutput, MobileLoopGetInput, MobileLoopGetOutput, MobileLoopDeleteInput, MobileLoopUpdateInput, MobileLoopRunsInput, MobileLoopRunsOutput, MobileLoopRunInput, MobileLoopAbortInput, MobileLoopToggleInput, MobileLoopPauseInput, MobileLoopResumeInput, MobileRoutineListOutput, MobileRoutineCreateInput, MobileRoutineGetInput, MobileRoutineDeleteInput, MobileRoutineUpdateInput, MobileRoutineRunInput, MobileRoutinePauseInput, MobileRoutineResumeInput, MobileRoutineTriggerInput, MobilePtyListOutput, MobilePtyCreateInput, MobilePtyGetInput, MobilePtyUpdateInput, MobilePtyRemoveInput, MobileMissionListOutput, MobileMissionCreateInput, MobileMissionTemplatesOutput, MobileMissionGenerateInput, MobileMissionExecsRecentInput, MobileMissionExecsRecentOutput, MobileMissionGetInput, MobileMissionGetOutput, MobileMissionUpdateInput, MobileMissionDeleteInput, MobileMissionExecsInput, MobileMissionExecsOutput, MobileMissionStartInput, MobileMissionPauseInput, MobileMissionCancelInput, MobileMissionFeatureMutateInput, MobileEventsOutput, MobileBrainStatusOutput, MobileBrainTriggerInput, MobileBrainTriggerOutput, MobileChatBotListOutput, MobileChatBotStartInput, MobileChatBotStartOutput, MobileChatBotStopInput, MobileChatBotStopOutput, MobileObservabilityGetOutput, MobileObservabilitySetInput, MobileObservabilitySetOutput, MobileLspStatusOutput, MobileFusionListOutput, MobileFusionSetInput, MobileFusionSetOutput, MobileHostBrowserOutput, MobileHostComputerOutput, MobileHostHerdrGetOutput, MobileHostHerdrSetInput, MobileHostHerdrSetOutput, MobileHostIslandOutput, MobileHostDevtoolsOutput, MobileHostLanStartInput, ProjectListOutput, ProjectUpdateInput, ProjectDirectoryListInput, ProjectDirectoryListOutput, ProjectCopyCreateInput, ProjectCopyRemoveInput, ProjectCopyRefreshInput, ProviderApiInput, ProviderRemoveAuthInput, ProviderOauthAuthorizeInput, ProviderOauthAuthorizeOutput, ProviderOauthCallbackInput, QuestionListOutput, QuestionReplyInput, QuestionRejectInput, PermissionListOutput, PermissionReplyInput, PtyCreateInput, PtyGetInput, PtyUpdateInput, PtyRemoveInput, LoopGenerateInput, LoopRecentRunsInput, LoopGetInput, LoopUpsertInput, LoopUpdateInput, LoopRemoveInput, LoopToggleInput, LoopRunInput, LoopAbortInput, LoopPauseInput, LoopResumeInput, LoopRunsInput, SessionListInput, SessionCreateInput, SessionGetInput, SessionRemoveInput, SessionUpdateInput, SessionForkInput, SessionAbortInput, SessionRevertInput, SessionUnrevertInput, SessionShareInput, SessionUnshareInput, SessionSummarizeInput, SessionCommandInput, SessionShellInput, SessionPermissionRespondInput, SessionChildrenInput, SessionTodoInput, SessionDiffInput, SessionMessagesInput, SessionPendingInput, SessionPendingSteerInput, SessionMessageInput, SessionMessageRemoveInput, SessionPartRemoveInput, SessionPartUpdateInput, SessionV2EntriesInput, SessionV2StateInput, SessionV2EventsInput, SessionInstructionsInput, SessionContextBreakdownInput, SessionContextToggleInput, SessionGoalInput, SessionBackgroundInput, SessionBackgroundInspectInput, SessionBackgroundReadInput, SessionBackgroundCancelInput, SessionMonitorInput, SessionMonitorLogInput, SessionMonitorCancelInput, AccountCompleteInput, SyncEventInput, SyncOutboxInput, SyncSnapshotInput, SyncStreamInput, SyncStreamOutput, SyncStatsInput, SyncConfigInput, TuiAppendPromptInput, TuiExecuteCommandInput, TuiShowToastInput, TuiPublishInput, TuiSelectSessionInput, TuiControlResponseInput, WorkspaceAdaptorsOutput, WorkspaceStatusOutput, WorkspaceCreateInput, WorkspaceListOutput, WorkspaceRemoveInput, WorkspaceRestoreInput, WorkspaceSessionRestoreInput, WorkspaceWarpInput, AuthSetInput, AuthRemoveInput, ConfigManagementMcpAddInput, ConfigManagementMcpUpdateInput, ConfigManagementMcpRemoveInput, ConfigManagementProfileCreateInput, ConfigManagementProfileActivateInput, SessionPromptPromptInput, SessionPromptPromptAsyncInput, ShareShortInput, ShareShortOutput, SharePageInput, ShareApiInput, ShareDataInput, EventsSubscribeOutput, EventsGlobalOutput, WorkspaceExtraEventsInput, WorkspaceExtraEventsOutput, WorkspaceExtraSessionWarpInput, UsersRegisterInput, UsersLoginInput, UsersUpdateInput } from "./types.js";
1
+ import type { TopLevelVcsStatusOutput, TopLevelVcsApplyInput, TopLevelCommandOutput, TopLevelAgentOutput, TopLevelSkillOutput, TopLevelLspOutput, TopLevelFormatterOutput, AnalyticsDailyInput, AnalyticsDailyOutput, AnalyticsSessionInput, AnalyticsSessionsOutput, AnalyticsDataInput, AppLogInput, AppSkillCreateInput, AppSkillDeleteInput, BrainTriggerInput, ChatbotBotsOutput, ChatbotStartInput, ChatbotStopInput, DiscordSetupInput, VoiceTranscribeInput, ProfilePatchInput, ProfileHabitsInput, ProfilePreviewInput, ProfileClearHabitsInput, ConfigUpdateInput, ConnectorsAuthSetInput, ConnectorsAuthRemoveInput, ConnectorsInvalidateInput, ExperimentalToolsInput, ExperimentalWorktreeCreateInput, ExperimentalWorktreeRemoveInput, ExperimentalWorktreeResetInput, ExperimentalManagedWorktreeCreateInput, ExperimentalManagedWorktreeRemoveInput, ExperimentalManagedWorktreeLinkInput, ExperimentalManagedWorktreeChildrenInput, ExperimentalManagedWorktreeAncestorsInput, FileFindTextInput, FileFindTextOutput, FileFindFileInput, FileFindFileOutput, FileFindSymbolInput, FileFindSymbolOutput, FileListInput, FileListOutput, FileContentInput, FileWriteInput, FileStatusOutput, McpAddInput, McpStartAuthInput, McpAuthCallbackInput, McpAuthenticateInput, McpRemoveAuthInput, McpConnectInput, McpDisconnectInput, McpToggleInput, MissionGenerateInput, MissionRecentExecsInput, MissionGetInput, MissionUpsertInput, MissionUpdateInput, MissionRemoveInput, MissionStartInput, MissionPauseInput, MissionCancelInput, MissionFeatureMutateInput, MissionExecsInput, MobileAuthTokenListOutput, MobileAuthTokenCreateInput, MobileAuthTokenCreateOutput, MobileAuthTokenRevokeInput, MobileAuthTokenRevokeOutput, MobileCommandListOutput, MobileProjectListOutput, MobileMemoryHistoryOutput, MobileMemorySearchInput, MobileMemorySearchOutput, MobileMemoryStashListOutput, MobileMemoryStashCreateInput, MobileMemoryStashDeleteInput, MobileGithubReposOutput, MobileGithubBranchesInput, MobileGithubBranchesOutput, MobileGithubWorkflowsInput, MobileGithubWorkflowsOutput, MobileGithubWorkflowRunsInput, MobileGithubWorkflowRunJobsInput, MobileGithubWorkflowRunJobsOutput, MobileGithubWorkflowRunRerunInput, MobileGithubWorkflowRunCancelInput, MobileGithubWorkflowDispatchInput, MobileGithubImportsOutput, MobileGithubOauthClientInput, MobileGithubOauthDevicePollInput, MobileGithubAuthSetInput, MobileGithubImportInput, MobileGithubImportOutput, MobileGithubSessionCreateInput, MobileSessionListInput, MobileSessionListOutput, MobileSessionCreateInput, MobileSessionDetailInput, MobileSessionDeleteInput, MobileSessionDiffInput, MobileSessionDiffOutput, MobileSessionCommandListInput, MobileSessionCommandListOutput, MobileSessionCommandInput, MobileSessionCommandOutput, MobileSessionMessageInput, MobileSessionAbortInput, MobilePermissionRespondInput, MobileQuestionRespondInput, MobileQuestionRejectInput, MobileSessionPublishInput, MobileSessionCleanupInput, MobileSessionStreamInput, MobileSessionStreamOutput, MobileSessionRenameInput, MobileSessionTodoInput, MobileSessionTodoOutput, MobileTeleportUploadBeginOutput, MobileTeleportUploadChunkInput, MobileTeleportUploadChunkOutput, MobileTeleportInInput, MobileTeleportOutInput, MobileWorktreeCreateInput, MobileWorktreeRemoveInput, MobileWorktreeResetInput, MobileGitDiffInput, MobileGitDiffOutput, MobileGitCommitsInput, MobileGitCommitsOutput, MobileGitBranchesOutput, MobileGitCommitInput, MobileGitCommitOutput, MobileGitCheckoutInput, MobileGitStageInput, MobileGitUnstageInput, MobileGitDiscardInput, MobileGitPushInput, MobileGitPushOutput, MobileGitPullOutput, MobileLoopListOutput, MobileLoopCreateInput, MobileLoopTemplatesOutput, MobileLoopGenerateInput, MobileLoopRunsRecentInput, MobileLoopRunsRecentOutput, MobileLoopGetInput, MobileLoopGetOutput, MobileLoopDeleteInput, MobileLoopUpdateInput, MobileLoopRunsInput, MobileLoopRunsOutput, MobileLoopRunInput, MobileLoopAbortInput, MobileLoopToggleInput, MobileLoopPauseInput, MobileLoopResumeInput, MobileRoutineListOutput, MobileRoutineCreateInput, MobileRoutineGetInput, MobileRoutineDeleteInput, MobileRoutineUpdateInput, MobileRoutineRunInput, MobileRoutinePauseInput, MobileRoutineResumeInput, MobileRoutineTriggerInput, MobilePtyListOutput, MobilePtyCreateInput, MobilePtyGetInput, MobilePtyUpdateInput, MobilePtyRemoveInput, MobileMissionListOutput, MobileMissionCreateInput, MobileMissionTemplatesOutput, MobileMissionGenerateInput, MobileMissionExecsRecentInput, MobileMissionExecsRecentOutput, MobileMissionGetInput, MobileMissionGetOutput, MobileMissionUpdateInput, MobileMissionDeleteInput, MobileMissionExecsInput, MobileMissionExecsOutput, MobileMissionStartInput, MobileMissionPauseInput, MobileMissionCancelInput, MobileMissionFeatureMutateInput, MobileEventsOutput, MobileBrainStatusOutput, MobileBrainTriggerInput, MobileBrainTriggerOutput, MobileChatBotListOutput, MobileChatBotStartInput, MobileChatBotStartOutput, MobileChatBotStopInput, MobileChatBotStopOutput, MobileObservabilityGetOutput, MobileObservabilitySetInput, MobileObservabilitySetOutput, MobileLspStatusOutput, MobileFusionListOutput, MobileFusionSetInput, MobileFusionSetOutput, MobileHostBrowserOutput, MobileHostComputerOutput, MobileHostHerdrGetOutput, MobileHostHerdrSetInput, MobileHostHerdrSetOutput, MobileHostIslandOutput, MobileHostDevtoolsOutput, MobileHostLanStartInput, ProjectListOutput, ProjectUpdateInput, ProjectDirectoryListInput, ProjectDirectoryListOutput, ProjectCopyCreateInput, ProjectCopyRemoveInput, ProjectCopyRefreshInput, ProviderApiInput, ProviderRemoveAuthInput, ProviderOauthAuthorizeInput, ProviderOauthAuthorizeOutput, ProviderOauthCallbackInput, QuestionListOutput, QuestionReplyInput, QuestionRejectInput, PermissionListOutput, PermissionReplyInput, PtyCreateInput, PtyGetInput, PtyUpdateInput, PtyRemoveInput, LoopGenerateInput, LoopRecentRunsInput, LoopGetInput, LoopUpsertInput, LoopUpdateInput, LoopRemoveInput, LoopToggleInput, LoopRunInput, LoopAbortInput, LoopPauseInput, LoopResumeInput, LoopRunsInput, SessionListInput, SessionCreateInput, SessionGetInput, SessionRemoveInput, SessionUpdateInput, SessionForkInput, SessionAbortInput, SessionRevertInput, SessionUnrevertInput, SessionShareInput, SessionUnshareInput, SessionSummarizeInput, SessionCommandInput, SessionShellInput, SessionPermissionRespondInput, SessionChildrenInput, SessionTodoInput, SessionDiffInput, SessionMessagesInput, SessionPendingInput, SessionPendingSteerInput, SessionMessageInput, SessionMessageRemoveInput, SessionPartRemoveInput, SessionPartUpdateInput, SessionV2EntriesInput, SessionV2StateInput, SessionV2EventsInput, SessionInstructionsInput, SessionContextBreakdownInput, SessionContextToggleInput, SessionGoalInput, SessionBackgroundInput, SessionBackgroundInspectInput, SessionBackgroundReadInput, SessionBackgroundCancelInput, SessionMonitorInput, SessionMonitorLogInput, SessionMonitorCancelInput, AccountCompleteInput, SyncEventInput, SyncOutboxInput, SyncSnapshotInput, SyncStreamInput, SyncStreamOutput, SyncStatsInput, SyncConfigInput, TuiAppendPromptInput, TuiExecuteCommandInput, TuiShowToastInput, TuiPublishInput, TuiSelectSessionInput, TuiControlResponseInput, WorkspaceAdaptorsOutput, WorkspaceStatusOutput, WorkspaceCreateInput, WorkspaceListOutput, WorkspaceRemoveInput, WorkspaceRestoreInput, WorkspaceSessionRestoreInput, WorkspaceWarpInput, AuthSetInput, AuthRemoveInput, ConfigManagementMcpAddInput, ConfigManagementMcpUpdateInput, ConfigManagementMcpRemoveInput, ConfigManagementProfileCreateInput, ConfigManagementProfileActivateInput, SessionPromptPromptInput, SessionPromptPromptAsyncInput, ShareShortInput, ShareShortOutput, SharePageInput, ShareApiInput, ShareDataInput, EventsSubscribeOutput, EventsGlobalOutput, WorkspaceExtraEventsInput, WorkspaceExtraEventsOutput, WorkspaceExtraSessionWarpInput, UsersRegisterInput, UsersLoginInput, UsersUpdateInput } from "./types.js";
2
2
  export interface ClientOptions {
3
3
  readonly baseUrl: string;
4
4
  readonly fetch?: typeof globalThis.fetch;
@@ -143,6 +143,12 @@ export declare function make(options: ClientOptions): {
143
143
  memoryStashDelete: (input: MobileMemoryStashDeleteInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
144
144
  githubRepos: (requestOptions?: RequestOptions) => Promise<MobileGithubReposOutput>;
145
145
  githubBranches: (input: MobileGithubBranchesInput, requestOptions?: RequestOptions) => Promise<MobileGithubBranchesOutput>;
146
+ githubWorkflows: (input: MobileGithubWorkflowsInput, requestOptions?: RequestOptions) => Promise<MobileGithubWorkflowsOutput>;
147
+ githubWorkflowRuns: (input: MobileGithubWorkflowRunsInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileGithubWorkflowRunList>;
148
+ githubWorkflowRunJobs: (input: MobileGithubWorkflowRunJobsInput, requestOptions?: RequestOptions) => Promise<MobileGithubWorkflowRunJobsOutput>;
149
+ githubWorkflowRunRerun: (input: MobileGithubWorkflowRunRerunInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
150
+ githubWorkflowRunCancel: (input: MobileGithubWorkflowRunCancelInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
151
+ githubWorkflowDispatch: (input: MobileGithubWorkflowDispatchInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
146
152
  githubImports: (requestOptions?: RequestOptions) => Promise<MobileGithubImportsOutput>;
147
153
  githubOauthClient: (input: MobileGithubOauthClientInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileConfigInfo>;
148
154
  githubOauthDeviceStart: (requestOptions?: RequestOptions) => Promise<import("./types.js").MobileGithubDeviceAuthStart>;
@@ -748,6 +748,51 @@ export function make(options) {
748
748
  declaredStatuses: [401, 400],
749
749
  empty: false,
750
750
  }, requestOptions),
751
+ githubWorkflows: (input, requestOptions) => request({
752
+ method: "GET",
753
+ path: `/mobile/github/repos/${encodeURIComponent(input.owner)}/${encodeURIComponent(input.repo)}/actions/workflows`,
754
+ successStatus: 200,
755
+ declaredStatuses: [401, 400],
756
+ empty: false,
757
+ }, requestOptions),
758
+ githubWorkflowRuns: (input, requestOptions) => request({
759
+ method: "GET",
760
+ path: `/mobile/github/repos/${encodeURIComponent(input.owner)}/${encodeURIComponent(input.repo)}/actions/runs`,
761
+ query: { branch: input["branch"], limit: input["limit"] },
762
+ successStatus: 200,
763
+ declaredStatuses: [401, 400],
764
+ empty: false,
765
+ }, requestOptions),
766
+ githubWorkflowRunJobs: (input, requestOptions) => request({
767
+ method: "GET",
768
+ path: `/mobile/github/repos/${encodeURIComponent(input.owner)}/${encodeURIComponent(input.repo)}/actions/runs/${encodeURIComponent(input.runID)}/jobs`,
769
+ successStatus: 200,
770
+ declaredStatuses: [401, 400],
771
+ empty: false,
772
+ }, requestOptions),
773
+ githubWorkflowRunRerun: (input, requestOptions) => request({
774
+ method: "POST",
775
+ path: `/mobile/github/repos/${encodeURIComponent(input.owner)}/${encodeURIComponent(input.repo)}/actions/runs/${encodeURIComponent(input.runID)}/rerun`,
776
+ body: { failedOnly: input["failedOnly"] },
777
+ successStatus: 200,
778
+ declaredStatuses: [401, 400],
779
+ empty: false,
780
+ }, requestOptions),
781
+ githubWorkflowRunCancel: (input, requestOptions) => request({
782
+ method: "POST",
783
+ path: `/mobile/github/repos/${encodeURIComponent(input.owner)}/${encodeURIComponent(input.repo)}/actions/runs/${encodeURIComponent(input.runID)}/cancel`,
784
+ successStatus: 200,
785
+ declaredStatuses: [401, 400],
786
+ empty: false,
787
+ }, requestOptions),
788
+ githubWorkflowDispatch: (input, requestOptions) => request({
789
+ method: "POST",
790
+ path: `/mobile/github/repos/${encodeURIComponent(input.owner)}/${encodeURIComponent(input.repo)}/actions/workflows/${encodeURIComponent(input.workflowID)}/dispatch`,
791
+ body: { ref: input["ref"], inputs: input["inputs"] },
792
+ successStatus: 200,
793
+ declaredStatuses: [401, 400],
794
+ empty: false,
795
+ }, requestOptions),
751
796
  githubImports: (requestOptions) => request({ method: "GET", path: `/mobile/github/imports`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
752
797
  githubOauthClient: (input, requestOptions) => request({
753
798
  method: "POST",
@@ -469,6 +469,36 @@ export declare const makeCompat: (raw: Raw, helpers: CompatHelpers) => {
469
469
  }, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileSuccess>>;
470
470
  };
471
471
  github: {
472
+ actions: {
473
+ run: {
474
+ cancel: (input: import("./types.js").MobileGithubWorkflowRunCancelInput & {
475
+ readonly directory?: string;
476
+ readonly workspace?: string;
477
+ }, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileSuccess>>;
478
+ jobs: (input: import("./types.js").MobileGithubWorkflowRunJobsInput & {
479
+ readonly directory?: string;
480
+ readonly workspace?: string;
481
+ }, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileGithubWorkflowRunJobsOutput>>;
482
+ rerun: (input: import("./types.js").MobileGithubWorkflowRunRerunInput & {
483
+ readonly directory?: string;
484
+ readonly workspace?: string;
485
+ }, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileSuccess>>;
486
+ };
487
+ runs: (input: import("./types.js").MobileGithubWorkflowRunsInput & {
488
+ readonly directory?: string;
489
+ readonly workspace?: string;
490
+ }, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileGithubWorkflowRunList>>;
491
+ workflow: {
492
+ dispatch: (input: import("./types.js").MobileGithubWorkflowDispatchInput & {
493
+ readonly directory?: string;
494
+ readonly workspace?: string;
495
+ }, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileSuccess>>;
496
+ };
497
+ workflows: (input: import("./types.js").MobileGithubWorkflowsInput & {
498
+ readonly directory?: string;
499
+ readonly workspace?: string;
500
+ }, options?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileGithubWorkflowsOutput>>;
501
+ };
472
502
  auth: {
473
503
  remove: (options?: import("../compat.js").CallOptions, overrides?: import("../compat.js").CallOptions) => Promise<import("../compat.js").Result<import("./types.js").MobileSuccess>>;
474
504
  set: (input: import("./types.js").MobileGithubAuthSetInput & {
@@ -169,6 +169,16 @@ export const makeCompat = (raw, helpers) => {
169
169
  unstage: result(raw["mobile"]["gitUnstage"]),
170
170
  },
171
171
  github: {
172
+ actions: {
173
+ run: {
174
+ cancel: result(raw["mobile"]["githubWorkflowRunCancel"]),
175
+ jobs: result(raw["mobile"]["githubWorkflowRunJobs"]),
176
+ rerun: result(raw["mobile"]["githubWorkflowRunRerun"]),
177
+ },
178
+ runs: result(raw["mobile"]["githubWorkflowRuns"]),
179
+ workflow: { dispatch: result(raw["mobile"]["githubWorkflowDispatch"]) },
180
+ workflows: result(raw["mobile"]["githubWorkflows"]),
181
+ },
172
182
  auth: { remove: result0(raw["mobile"]["githubAuthRemove"]), set: result(raw["mobile"]["githubAuthSet"]) },
173
183
  branches: result(raw["mobile"]["githubBranches"]),
174
184
  import: result(raw["mobile"]["githubImport"]),
@@ -900,6 +900,43 @@ export type MobileGithubBranch = {
900
900
  sha: string;
901
901
  };
902
902
  };
903
+ export type MobileGithubWorkflow = {
904
+ id: number;
905
+ name: string;
906
+ path: string;
907
+ state: string;
908
+ htmlUrl?: string | undefined;
909
+ };
910
+ export type MobileGithubWorkflowRun = {
911
+ id: number;
912
+ name: string;
913
+ workflowID?: number | undefined;
914
+ runNumber: number;
915
+ attempt?: number | undefined;
916
+ status: string;
917
+ conclusion?: string | undefined;
918
+ event: string;
919
+ branch: string;
920
+ sha: string;
921
+ title: string;
922
+ actor?: {
923
+ login: string;
924
+ avatarUrl?: string | undefined;
925
+ } | undefined;
926
+ htmlUrl: string;
927
+ createdAt: number;
928
+ updatedAt: number;
929
+ startedAt?: number | undefined;
930
+ durationMs?: number | undefined;
931
+ };
932
+ export type MobileGithubWorkflowStep = {
933
+ name: string;
934
+ number: number;
935
+ status: string;
936
+ conclusion?: string | undefined;
937
+ startedAt?: number | undefined;
938
+ completedAt?: number | undefined;
939
+ };
903
940
  export type MobileGithubImport = {
904
941
  owner: string;
905
942
  repo: string;
@@ -3537,6 +3574,22 @@ export type MobileBootstrap = {
3537
3574
  root?: string | undefined;
3538
3575
  } | undefined;
3539
3576
  };
3577
+ export type MobileGithubWorkflowRunList = {
3578
+ runs: Array<MobileGithubWorkflowRun>;
3579
+ totalCount: number;
3580
+ configured: boolean;
3581
+ };
3582
+ export type MobileGithubWorkflowJob = {
3583
+ id: number;
3584
+ name: string;
3585
+ status: string;
3586
+ conclusion?: string | undefined;
3587
+ htmlUrl?: string | undefined;
3588
+ startedAt?: number | undefined;
3589
+ completedAt?: number | undefined;
3590
+ durationMs?: number | undefined;
3591
+ steps: Array<MobileGithubWorkflowStep>;
3592
+ };
3540
3593
  export type AdsConfig1 = {
3541
3594
  enabled?: boolean | undefined;
3542
3595
  ratio?: number | undefined;
@@ -5834,6 +5887,15 @@ export type MobileAuthTokenCreatePayload = {
5834
5887
  export type MobileMemoryStashCreatePayload = {
5835
5888
  readonly input: string;
5836
5889
  };
5890
+ export type MobileGithubWorkflowRunRerunPayload = {
5891
+ readonly failedOnly?: boolean | undefined;
5892
+ };
5893
+ export type MobileGithubWorkflowDispatchPayload = {
5894
+ readonly ref: string;
5895
+ readonly inputs?: {
5896
+ readonly [x: string]: string;
5897
+ } | undefined;
5898
+ };
5837
5899
  export type MobileGithubOauthClientPayload = {
5838
5900
  readonly clientId: string;
5839
5901
  };
@@ -8598,6 +8660,111 @@ export type MobileGithubBranchesInput = {
8598
8660
  }["repo"];
8599
8661
  };
8600
8662
  export type MobileGithubBranchesOutput = Array<MobileGithubBranch>;
8663
+ export type MobileGithubWorkflowsInput = {
8664
+ readonly owner: {
8665
+ readonly owner: string;
8666
+ readonly repo: string;
8667
+ }["owner"];
8668
+ readonly repo: {
8669
+ readonly owner: string;
8670
+ readonly repo: string;
8671
+ }["repo"];
8672
+ };
8673
+ export type MobileGithubWorkflowsOutput = Array<MobileGithubWorkflow>;
8674
+ export type MobileGithubWorkflowRunsInput = {
8675
+ readonly owner: {
8676
+ readonly owner: string;
8677
+ readonly repo: string;
8678
+ }["owner"];
8679
+ readonly repo: {
8680
+ readonly owner: string;
8681
+ readonly repo: string;
8682
+ }["repo"];
8683
+ readonly branch?: {
8684
+ readonly branch?: string | undefined;
8685
+ readonly limit?: number | undefined;
8686
+ }["branch"];
8687
+ readonly limit?: {
8688
+ readonly branch?: string | undefined;
8689
+ readonly limit?: number | undefined;
8690
+ }["limit"];
8691
+ };
8692
+ export type MobileGithubWorkflowRunsOutput = MobileGithubWorkflowRunList;
8693
+ export type MobileGithubWorkflowRunJobsInput = {
8694
+ readonly owner: {
8695
+ readonly owner: string;
8696
+ readonly repo: string;
8697
+ readonly runID: string;
8698
+ }["owner"];
8699
+ readonly repo: {
8700
+ readonly owner: string;
8701
+ readonly repo: string;
8702
+ readonly runID: string;
8703
+ }["repo"];
8704
+ readonly runID: {
8705
+ readonly owner: string;
8706
+ readonly repo: string;
8707
+ readonly runID: string;
8708
+ }["runID"];
8709
+ };
8710
+ export type MobileGithubWorkflowRunJobsOutput = Array<MobileGithubWorkflowJob>;
8711
+ export type MobileGithubWorkflowRunRerunInput = {
8712
+ readonly owner: {
8713
+ readonly owner: string;
8714
+ readonly repo: string;
8715
+ readonly runID: string;
8716
+ }["owner"];
8717
+ readonly repo: {
8718
+ readonly owner: string;
8719
+ readonly repo: string;
8720
+ readonly runID: string;
8721
+ }["repo"];
8722
+ readonly runID: {
8723
+ readonly owner: string;
8724
+ readonly repo: string;
8725
+ readonly runID: string;
8726
+ }["runID"];
8727
+ readonly failedOnly?: MobileGithubWorkflowRunRerunPayload["failedOnly"];
8728
+ };
8729
+ export type MobileGithubWorkflowRunRerunOutput = MobileSuccess;
8730
+ export type MobileGithubWorkflowRunCancelInput = {
8731
+ readonly owner: {
8732
+ readonly owner: string;
8733
+ readonly repo: string;
8734
+ readonly runID: string;
8735
+ }["owner"];
8736
+ readonly repo: {
8737
+ readonly owner: string;
8738
+ readonly repo: string;
8739
+ readonly runID: string;
8740
+ }["repo"];
8741
+ readonly runID: {
8742
+ readonly owner: string;
8743
+ readonly repo: string;
8744
+ readonly runID: string;
8745
+ }["runID"];
8746
+ };
8747
+ export type MobileGithubWorkflowRunCancelOutput = MobileSuccess;
8748
+ export type MobileGithubWorkflowDispatchInput = {
8749
+ readonly owner: {
8750
+ readonly owner: string;
8751
+ readonly repo: string;
8752
+ readonly workflowID: string;
8753
+ }["owner"];
8754
+ readonly repo: {
8755
+ readonly owner: string;
8756
+ readonly repo: string;
8757
+ readonly workflowID: string;
8758
+ }["repo"];
8759
+ readonly workflowID: {
8760
+ readonly owner: string;
8761
+ readonly repo: string;
8762
+ readonly workflowID: string;
8763
+ }["workflowID"];
8764
+ readonly ref: MobileGithubWorkflowDispatchPayload["ref"];
8765
+ readonly inputs?: MobileGithubWorkflowDispatchPayload["inputs"];
8766
+ };
8767
+ export type MobileGithubWorkflowDispatchOutput = MobileSuccess;
8601
8768
  export type MobileGithubImportsOutput = Array<MobileGithubImport>;
8602
8769
  export type MobileGithubOauthClientInput = {
8603
8770
  readonly clientId: MobileGithubOauthClientPayload["clientId"];
package/dist/server.d.ts CHANGED
@@ -490,6 +490,36 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
490
490
  }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
491
491
  };
492
492
  github: {
493
+ actions: {
494
+ run: {
495
+ cancel: (input: import("./httpapi/client.js").MobileGithubWorkflowRunCancelInput & {
496
+ readonly directory?: string;
497
+ readonly workspace?: string;
498
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
499
+ jobs: (input: import("./httpapi/client.js").MobileGithubWorkflowRunJobsInput & {
500
+ readonly directory?: string;
501
+ readonly workspace?: string;
502
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileGithubWorkflowRunJobsOutput>>;
503
+ rerun: (input: import("./httpapi/client.js").MobileGithubWorkflowRunRerunInput & {
504
+ readonly directory?: string;
505
+ readonly workspace?: string;
506
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
507
+ };
508
+ runs: (input: import("./httpapi/client.js").MobileGithubWorkflowRunsInput & {
509
+ readonly directory?: string;
510
+ readonly workspace?: string;
511
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileGithubWorkflowRunList>>;
512
+ workflow: {
513
+ dispatch: (input: import("./httpapi/client.js").MobileGithubWorkflowDispatchInput & {
514
+ readonly directory?: string;
515
+ readonly workspace?: string;
516
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
517
+ };
518
+ workflows: (input: import("./httpapi/client.js").MobileGithubWorkflowsInput & {
519
+ readonly directory?: string;
520
+ readonly workspace?: string;
521
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileGithubWorkflowsOutput>>;
522
+ };
493
523
  auth: {
494
524
  remove: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileSuccess>>;
495
525
  set: (input: import("./httpapi/client.js").MobileGithubAuthSetInput & {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@nikcli-ai/sdk",
4
- "version": "1.358.0",
4
+ "version": "1.359.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {