@serviceme/devtools-core 0.1.3 → 0.1.5

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/index.d.mts CHANGED
@@ -19,7 +19,8 @@ declare class EnvironmentInspector {
19
19
  private getToolVersion;
20
20
  private checkNvm;
21
21
  private checkNuget;
22
- private getVersionCommand;
22
+ private getVersionInvocation;
23
+ private getToolTimeout;
23
24
  private parseVersion;
24
25
  private handleToolCheckError;
25
26
  }
@@ -151,6 +152,7 @@ declare class ShellExecutor implements StreamingTaskExecutor {
151
152
 
152
153
  declare function getExecutor(taskType: ScheduledTaskType): TaskExecutor;
153
154
 
155
+ declare function validateTaskPayload(taskType: ScheduledTaskType, payload: TaskPayload): void;
154
156
  interface CreateTaskInput {
155
157
  name: string;
156
158
  description?: string;
@@ -191,6 +193,7 @@ interface TaskEventListener {
191
193
  onFailed(params: TaskFailedEventParams): void;
192
194
  onCancelled(params: TaskCancelledEventParams): void;
193
195
  }
196
+ declare function resolveTaskExecutionPayload(taskType: ScheduledTaskType, payload: TaskPayload, workspacePath: string): TaskPayload;
194
197
  declare class TaskExecutionEngine {
195
198
  private readonly getExecutor;
196
199
  private readonly running;
@@ -234,4 +237,4 @@ declare class TaskLogManager {
234
237
  declare const unzipFile: (zipPath: string, dest: string) => Promise<void>;
235
238
  declare const moveFiles: (sourceDir: string, destDir: string, overwrite?: boolean) => Promise<void>;
236
239
 
237
- export { type AppendLogInput, type CreateTaskInput, DaemonLogger, type EditTaskInput, EnvironmentInspector, type ExecutorResult, GithubCopilotCliExecutor, HttpRequestExecutor, ImageTools, type JsonTools, type OutputEventCallback, PidManager, ProjectTools, SchedulerDaemon, type ServiceMeLogger, ShellExecutor, type StreamingExecutorHandle, type StreamingTaskExecutor, TaskConfigManager, type TaskEventListener, TaskExecutionEngine, type TaskExecutor, TaskLogManager, copilotDoctor, copilotPrompt, createConsoleLogger, createCopilotAuthRequiredError, createCopilotNotInstalledError, createImageTools, createJsonTools, createProjectTools, getExecutor, isCopilotAuthenticated, isStreamingTaskExecutor, matchesCron, moveFiles, noopLogger, parseIntervalMs, unzipFile };
240
+ export { type AppendLogInput, type CreateTaskInput, DaemonLogger, type EditTaskInput, EnvironmentInspector, type ExecutorResult, GithubCopilotCliExecutor, HttpRequestExecutor, ImageTools, type JsonTools, type OutputEventCallback, PidManager, ProjectTools, SchedulerDaemon, type ServiceMeLogger, ShellExecutor, type StreamingExecutorHandle, type StreamingTaskExecutor, TaskConfigManager, type TaskEventListener, TaskExecutionEngine, type TaskExecutor, TaskLogManager, copilotDoctor, copilotPrompt, createConsoleLogger, createCopilotAuthRequiredError, createCopilotNotInstalledError, createImageTools, createJsonTools, createProjectTools, getExecutor, isCopilotAuthenticated, isStreamingTaskExecutor, matchesCron, moveFiles, noopLogger, parseIntervalMs, resolveTaskExecutionPayload, unzipFile, validateTaskPayload };
package/dist/index.d.ts CHANGED
@@ -19,7 +19,8 @@ declare class EnvironmentInspector {
19
19
  private getToolVersion;
20
20
  private checkNvm;
21
21
  private checkNuget;
22
- private getVersionCommand;
22
+ private getVersionInvocation;
23
+ private getToolTimeout;
23
24
  private parseVersion;
24
25
  private handleToolCheckError;
25
26
  }
@@ -151,6 +152,7 @@ declare class ShellExecutor implements StreamingTaskExecutor {
151
152
 
152
153
  declare function getExecutor(taskType: ScheduledTaskType): TaskExecutor;
153
154
 
155
+ declare function validateTaskPayload(taskType: ScheduledTaskType, payload: TaskPayload): void;
154
156
  interface CreateTaskInput {
155
157
  name: string;
156
158
  description?: string;
@@ -191,6 +193,7 @@ interface TaskEventListener {
191
193
  onFailed(params: TaskFailedEventParams): void;
192
194
  onCancelled(params: TaskCancelledEventParams): void;
193
195
  }
196
+ declare function resolveTaskExecutionPayload(taskType: ScheduledTaskType, payload: TaskPayload, workspacePath: string): TaskPayload;
194
197
  declare class TaskExecutionEngine {
195
198
  private readonly getExecutor;
196
199
  private readonly running;
@@ -234,4 +237,4 @@ declare class TaskLogManager {
234
237
  declare const unzipFile: (zipPath: string, dest: string) => Promise<void>;
235
238
  declare const moveFiles: (sourceDir: string, destDir: string, overwrite?: boolean) => Promise<void>;
236
239
 
237
- export { type AppendLogInput, type CreateTaskInput, DaemonLogger, type EditTaskInput, EnvironmentInspector, type ExecutorResult, GithubCopilotCliExecutor, HttpRequestExecutor, ImageTools, type JsonTools, type OutputEventCallback, PidManager, ProjectTools, SchedulerDaemon, type ServiceMeLogger, ShellExecutor, type StreamingExecutorHandle, type StreamingTaskExecutor, TaskConfigManager, type TaskEventListener, TaskExecutionEngine, type TaskExecutor, TaskLogManager, copilotDoctor, copilotPrompt, createConsoleLogger, createCopilotAuthRequiredError, createCopilotNotInstalledError, createImageTools, createJsonTools, createProjectTools, getExecutor, isCopilotAuthenticated, isStreamingTaskExecutor, matchesCron, moveFiles, noopLogger, parseIntervalMs, unzipFile };
240
+ export { type AppendLogInput, type CreateTaskInput, DaemonLogger, type EditTaskInput, EnvironmentInspector, type ExecutorResult, GithubCopilotCliExecutor, HttpRequestExecutor, ImageTools, type JsonTools, type OutputEventCallback, PidManager, ProjectTools, SchedulerDaemon, type ServiceMeLogger, ShellExecutor, type StreamingExecutorHandle, type StreamingTaskExecutor, TaskConfigManager, type TaskEventListener, TaskExecutionEngine, type TaskExecutor, TaskLogManager, copilotDoctor, copilotPrompt, createConsoleLogger, createCopilotAuthRequiredError, createCopilotNotInstalledError, createImageTools, createJsonTools, createProjectTools, getExecutor, isCopilotAuthenticated, isStreamingTaskExecutor, matchesCron, moveFiles, noopLogger, parseIntervalMs, resolveTaskExecutionPayload, unzipFile, validateTaskPayload };