@serviceme/devtools-protocol 0.1.5 → 0.1.7
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 +321 -5
- package/dist/index.d.ts +321 -5
- package/dist/index.js +252 -47
- package/dist/index.mjs +242 -47
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,90 @@
|
|
|
1
|
-
type
|
|
2
|
-
|
|
1
|
+
type AgentScope = "workspace" | "user";
|
|
2
|
+
type AgentOwnerKind = "builtin" | "external";
|
|
3
|
+
type AgentScopeStatus = "absent" | "available" | "installed" | "blocked" | "conflict";
|
|
4
|
+
type AgentMutationAction = "install" | "uninstall" | "move" | "removeExternal" | "publish" | "republish" | "submit-to-official";
|
|
5
|
+
type AgentToolRiskLevel = "high" | "medium" | "low";
|
|
6
|
+
interface AgentToolPermission {
|
|
7
|
+
tool: string;
|
|
8
|
+
riskLevel: AgentToolRiskLevel;
|
|
9
|
+
}
|
|
10
|
+
interface AgentPermissionSummary {
|
|
11
|
+
agentId: string;
|
|
12
|
+
agentName: string;
|
|
13
|
+
tools: AgentToolPermission[];
|
|
14
|
+
highRiskCount: number;
|
|
15
|
+
mediumRiskCount: number;
|
|
16
|
+
lowRiskCount: number;
|
|
17
|
+
}
|
|
18
|
+
interface AgentScopeState {
|
|
19
|
+
scope: AgentScope;
|
|
20
|
+
status: AgentScopeStatus;
|
|
21
|
+
kind?: AgentOwnerKind;
|
|
22
|
+
path?: string;
|
|
23
|
+
isInstalled: boolean;
|
|
24
|
+
canInstall: boolean;
|
|
25
|
+
canUninstall: boolean;
|
|
26
|
+
canRemove: boolean;
|
|
27
|
+
canMoveHere: boolean;
|
|
28
|
+
summary?: string;
|
|
29
|
+
}
|
|
30
|
+
interface AgentMarketplaceEntry {
|
|
31
|
+
id: string;
|
|
32
|
+
displayName: string;
|
|
33
|
+
description: string;
|
|
34
|
+
version: string;
|
|
35
|
+
updatedAt: string;
|
|
36
|
+
categoryId?: string;
|
|
37
|
+
isCatalogAgent: boolean;
|
|
38
|
+
recommended: boolean;
|
|
39
|
+
installCount: number;
|
|
40
|
+
ownerScope?: AgentScope;
|
|
41
|
+
ownerKind?: AgentOwnerKind;
|
|
42
|
+
hasConflict: boolean;
|
|
43
|
+
tools: string[];
|
|
44
|
+
source?: "official" | "community" | "local";
|
|
45
|
+
localAgentPath?: string;
|
|
46
|
+
canPublish?: boolean;
|
|
47
|
+
workspaceState: AgentScopeState;
|
|
48
|
+
userState: AgentScopeState;
|
|
49
|
+
}
|
|
50
|
+
interface AgentMarketplaceState {
|
|
51
|
+
configPath: string;
|
|
52
|
+
userAgentsPath: string;
|
|
53
|
+
agents: AgentMarketplaceEntry[];
|
|
54
|
+
installedAgentIds?: string[];
|
|
55
|
+
workspaceOpen?: boolean;
|
|
56
|
+
}
|
|
57
|
+
interface AgentMutationRequest {
|
|
58
|
+
agentId: string;
|
|
59
|
+
targetScope: AgentScope;
|
|
60
|
+
action: AgentMutationAction;
|
|
61
|
+
confirmed?: boolean;
|
|
62
|
+
}
|
|
63
|
+
interface AgentMutationResult {
|
|
64
|
+
state: AgentMarketplaceState;
|
|
65
|
+
agentId: string;
|
|
66
|
+
targetScope: AgentScope;
|
|
67
|
+
action: AgentMutationAction;
|
|
68
|
+
changed: boolean;
|
|
69
|
+
status: "success" | "blocked" | "requires_confirmation";
|
|
70
|
+
message?: string;
|
|
71
|
+
tools?: string[];
|
|
72
|
+
prUrl?: string;
|
|
73
|
+
fromVersion?: string;
|
|
74
|
+
toVersion?: string;
|
|
75
|
+
}
|
|
76
|
+
interface AgentPermissionsResult {
|
|
77
|
+
agentId: string;
|
|
78
|
+
summary: AgentPermissionSummary;
|
|
79
|
+
}
|
|
80
|
+
declare function isAgentMarketplaceState(value: unknown): value is AgentMarketplaceState;
|
|
81
|
+
declare function isAgentMutationRequest(value: unknown): value is AgentMutationRequest;
|
|
82
|
+
declare function isAgentMutationResult(value: unknown): value is AgentMutationResult;
|
|
83
|
+
declare function isAgentPermissionSummary(value: unknown): value is AgentPermissionSummary;
|
|
84
|
+
declare function isAgentPermissionsResult(value: unknown): value is AgentPermissionsResult;
|
|
85
|
+
|
|
86
|
+
type ServicemeErrorCode = "protocol_mismatch" | "cli_not_found" | "cli_start_failed" | "command_timeout" | "request_cancelled" | "invalid_params" | "opencode_not_installed" | "opencode_startup_timeout" | "opencode_request_failed" | "opencode_backend_not_running" | "opencode_session_not_found" | "copilot_not_installed" | "copilot_auth_required" | "copilot_execution_failed" | "copilot_timeout" | "json_invalid_input" | "env_tool_not_found" | "task_not_found" | "task_already_exists" | "invalid_schedule" | "invalid_payload" | "confirmation_required" | "workspace_not_found" | "daemon_not_running" | "executor_timeout" | "executor_error" | "task_already_running" | "not_found" | "internal_error";
|
|
87
|
+
declare const SERVICEME_ERROR_CODES: readonly ["protocol_mismatch", "cli_not_found", "cli_start_failed", "command_timeout", "request_cancelled", "invalid_params", "opencode_not_installed", "opencode_startup_timeout", "opencode_request_failed", "opencode_backend_not_running", "opencode_session_not_found", "copilot_not_installed", "copilot_auth_required", "copilot_execution_failed", "copilot_timeout", "json_invalid_input", "env_tool_not_found", "task_not_found", "task_already_exists", "invalid_schedule", "invalid_payload", "confirmation_required", "workspace_not_found", "daemon_not_running", "executor_timeout", "executor_error", "task_already_running", "not_found", "internal_error"];
|
|
3
88
|
interface ServicemeErrorDetails {
|
|
4
89
|
code: ServicemeErrorCode;
|
|
5
90
|
message: string;
|
|
@@ -215,6 +300,96 @@ declare function isTaskCancelledEventParams(value: unknown): value is TaskCancel
|
|
|
215
300
|
type AgentSessionStatus = "idle" | "running" | "needs-input" | "completed" | "failed" | "aborted";
|
|
216
301
|
declare function isAgentSessionStatus(value: unknown): value is AgentSessionStatus;
|
|
217
302
|
|
|
303
|
+
type SkillScope = "workspace" | "user";
|
|
304
|
+
type SkillOwnerKind = "builtin" | "external";
|
|
305
|
+
type SkillScopeStatus = "absent" | "available" | "installed" | "blocked" | "conflict";
|
|
306
|
+
type SkillMutationAction = "install" | "uninstall" | "move" | "removeExternal" | "publish" | "republish" | "submit-to-official";
|
|
307
|
+
interface SkillScopeState {
|
|
308
|
+
scope: SkillScope;
|
|
309
|
+
status: SkillScopeStatus;
|
|
310
|
+
kind?: SkillOwnerKind;
|
|
311
|
+
path?: string;
|
|
312
|
+
isInstalled: boolean;
|
|
313
|
+
canInstall: boolean;
|
|
314
|
+
canUninstall: boolean;
|
|
315
|
+
canRemove: boolean;
|
|
316
|
+
canMoveHere: boolean;
|
|
317
|
+
summary?: string;
|
|
318
|
+
}
|
|
319
|
+
interface SkillMarketplaceEntry {
|
|
320
|
+
id: string;
|
|
321
|
+
displayName: string;
|
|
322
|
+
description: string;
|
|
323
|
+
version: string;
|
|
324
|
+
updatedAt: string;
|
|
325
|
+
categoryId?: string;
|
|
326
|
+
enabled?: boolean;
|
|
327
|
+
isCatalogSkill: boolean;
|
|
328
|
+
recommended: boolean;
|
|
329
|
+
installCount: number;
|
|
330
|
+
requiresSetup?: boolean;
|
|
331
|
+
setupHint?: string;
|
|
332
|
+
homepage?: string;
|
|
333
|
+
ownerScope?: SkillScope;
|
|
334
|
+
ownerKind?: SkillOwnerKind;
|
|
335
|
+
hasConflict: boolean;
|
|
336
|
+
hasScripts?: boolean;
|
|
337
|
+
hasHooks?: boolean;
|
|
338
|
+
source?: "official" | "community" | "local";
|
|
339
|
+
localSkillPath?: string;
|
|
340
|
+
canPublish?: boolean;
|
|
341
|
+
workspaceState: SkillScopeState;
|
|
342
|
+
userState: SkillScopeState;
|
|
343
|
+
}
|
|
344
|
+
interface SkillMarketplaceState {
|
|
345
|
+
configPath: string;
|
|
346
|
+
userSkillsPath: string;
|
|
347
|
+
skills: SkillMarketplaceEntry[];
|
|
348
|
+
enabledSkillIds?: string[];
|
|
349
|
+
recommendedSkillIds?: string[];
|
|
350
|
+
onboardingRequired: boolean;
|
|
351
|
+
hasPersistedSelection: boolean;
|
|
352
|
+
workspaceOpen?: boolean;
|
|
353
|
+
}
|
|
354
|
+
interface SkillMutationRequest {
|
|
355
|
+
skillId: string;
|
|
356
|
+
targetScope: SkillScope;
|
|
357
|
+
action: SkillMutationAction;
|
|
358
|
+
confirmed?: boolean;
|
|
359
|
+
}
|
|
360
|
+
interface SkillMutationResult {
|
|
361
|
+
state: SkillMarketplaceState;
|
|
362
|
+
skillId: string;
|
|
363
|
+
targetScope: SkillScope;
|
|
364
|
+
action: SkillMutationAction;
|
|
365
|
+
changed: boolean;
|
|
366
|
+
status: "success" | "blocked" | "requires_confirmation";
|
|
367
|
+
message?: string;
|
|
368
|
+
hasScripts?: boolean;
|
|
369
|
+
hasHooks?: boolean;
|
|
370
|
+
prUrl?: string;
|
|
371
|
+
fromVersion?: string;
|
|
372
|
+
toVersion?: string;
|
|
373
|
+
}
|
|
374
|
+
interface SkillReconcileResult {
|
|
375
|
+
state: SkillMarketplaceState;
|
|
376
|
+
changed: boolean;
|
|
377
|
+
}
|
|
378
|
+
interface PublishableSkillEntry {
|
|
379
|
+
id: string;
|
|
380
|
+
displayName: string;
|
|
381
|
+
path: string;
|
|
382
|
+
version?: string;
|
|
383
|
+
}
|
|
384
|
+
interface SkillPublishableResult {
|
|
385
|
+
skills: PublishableSkillEntry[];
|
|
386
|
+
}
|
|
387
|
+
declare function isSkillMarketplaceState(value: unknown): value is SkillMarketplaceState;
|
|
388
|
+
declare function isSkillMutationRequest(value: unknown): value is SkillMutationRequest;
|
|
389
|
+
declare function isSkillMutationResult(value: unknown): value is SkillMutationResult;
|
|
390
|
+
declare function isSkillReconcileResult(value: unknown): value is SkillReconcileResult;
|
|
391
|
+
declare function isSkillPublishableResult(value: unknown): value is SkillPublishableResult;
|
|
392
|
+
|
|
218
393
|
declare const SERVICEME_PROTOCOL_VERSION: 2;
|
|
219
394
|
type SupportedBridgeProtocolVersion = 1 | 2;
|
|
220
395
|
interface BridgeCapabilities {
|
|
@@ -222,6 +397,8 @@ interface BridgeCapabilities {
|
|
|
222
397
|
json: 1;
|
|
223
398
|
env: 1;
|
|
224
399
|
tasks?: 1;
|
|
400
|
+
skills?: 1;
|
|
401
|
+
agents?: 1;
|
|
225
402
|
}
|
|
226
403
|
declare function isBridgeCapabilities(value: unknown): value is BridgeCapabilities;
|
|
227
404
|
interface BridgeMethodMap {
|
|
@@ -264,8 +441,50 @@ interface BridgeMethodMap {
|
|
|
264
441
|
params: Record<string, never>;
|
|
265
442
|
result: TaskListRunningResult;
|
|
266
443
|
};
|
|
444
|
+
"skill.marketplace-state": {
|
|
445
|
+
params: {
|
|
446
|
+
workspacePath?: string;
|
|
447
|
+
forceRefresh?: boolean;
|
|
448
|
+
};
|
|
449
|
+
result: SkillMarketplaceState;
|
|
450
|
+
};
|
|
451
|
+
"skill.mutate": {
|
|
452
|
+
params: SkillMutationRequest;
|
|
453
|
+
result: SkillMutationResult;
|
|
454
|
+
};
|
|
455
|
+
"skill.reconcile": {
|
|
456
|
+
params: {
|
|
457
|
+
workspacePath?: string;
|
|
458
|
+
force?: boolean;
|
|
459
|
+
};
|
|
460
|
+
result: SkillReconcileResult;
|
|
461
|
+
};
|
|
462
|
+
"skill.publishable": {
|
|
463
|
+
params: {
|
|
464
|
+
workspacePath?: string;
|
|
465
|
+
};
|
|
466
|
+
result: SkillPublishableResult;
|
|
467
|
+
};
|
|
468
|
+
"agent.marketplace-state": {
|
|
469
|
+
params: {
|
|
470
|
+
workspacePath?: string;
|
|
471
|
+
forceRefresh?: boolean;
|
|
472
|
+
};
|
|
473
|
+
result: AgentMarketplaceState;
|
|
474
|
+
};
|
|
475
|
+
"agent.mutate": {
|
|
476
|
+
params: AgentMutationRequest;
|
|
477
|
+
result: AgentMutationResult;
|
|
478
|
+
};
|
|
479
|
+
"agent.permissions": {
|
|
480
|
+
params: {
|
|
481
|
+
agentId: string;
|
|
482
|
+
scope?: "workspace" | "user";
|
|
483
|
+
};
|
|
484
|
+
result: AgentPermissionSummary;
|
|
485
|
+
};
|
|
267
486
|
}
|
|
268
|
-
declare const BRIDGE_METHODS: readonly ["system.hello", "system.ping", "system.shutdown", "task.execute", "task.cancel", "task.list-running"];
|
|
487
|
+
declare const BRIDGE_METHODS: readonly ["system.hello", "system.ping", "system.shutdown", "task.execute", "task.cancel", "task.list-running", "skill.marketplace-state", "skill.mutate", "skill.reconcile", "skill.publishable", "agent.marketplace-state", "agent.mutate", "agent.permissions"];
|
|
269
488
|
type BridgeMethod = keyof BridgeMethodMap;
|
|
270
489
|
type BridgeParams<M extends BridgeMethod> = BridgeMethodMap[M]["params"];
|
|
271
490
|
type BridgeResult<M extends BridgeMethod> = BridgeMethodMap[M]["result"];
|
|
@@ -426,8 +645,105 @@ declare function isJsonOutputResult(value: unknown): value is {
|
|
|
426
645
|
output: string;
|
|
427
646
|
};
|
|
428
647
|
|
|
648
|
+
type MarketplaceSkillSource = "official" | "community";
|
|
649
|
+
interface MarketplaceSkillItem {
|
|
650
|
+
id: string;
|
|
651
|
+
name: string;
|
|
652
|
+
description: string;
|
|
653
|
+
version?: string;
|
|
654
|
+
updatedAt?: string;
|
|
655
|
+
source: MarketplaceSkillSource;
|
|
656
|
+
author?: string;
|
|
657
|
+
path: string;
|
|
658
|
+
hasScripts: boolean;
|
|
659
|
+
hasHooks: boolean;
|
|
660
|
+
categoryId?: string;
|
|
661
|
+
recommended?: boolean;
|
|
662
|
+
setupHint?: string;
|
|
663
|
+
}
|
|
664
|
+
interface MarketplaceCatalog {
|
|
665
|
+
skills: MarketplaceSkillItem[];
|
|
666
|
+
fetchedAt: string;
|
|
667
|
+
}
|
|
668
|
+
interface SkillDownloadFile {
|
|
669
|
+
/** Relative path within the skill folder (e.g. "SKILL.md", "scripts/helper.py") */
|
|
670
|
+
path: string;
|
|
671
|
+
content: string;
|
|
672
|
+
executable: boolean;
|
|
673
|
+
}
|
|
674
|
+
interface UploadFile {
|
|
675
|
+
/** Relative path within the skill/agent folder (e.g. "SKILL.md", "examples/demo.md") */
|
|
676
|
+
path: string;
|
|
677
|
+
content: string;
|
|
678
|
+
}
|
|
679
|
+
interface UploadSkillPayload {
|
|
680
|
+
name: string;
|
|
681
|
+
description: string;
|
|
682
|
+
version?: string;
|
|
683
|
+
content?: string;
|
|
684
|
+
localPath?: string;
|
|
685
|
+
files?: UploadFile[];
|
|
686
|
+
}
|
|
687
|
+
interface SubmitToOfficialPayload {
|
|
688
|
+
version?: string;
|
|
689
|
+
expectedOfficialVersion?: string;
|
|
690
|
+
}
|
|
691
|
+
interface SubmitToOfficialResult {
|
|
692
|
+
prUrl: string;
|
|
693
|
+
fromVersion?: string | null;
|
|
694
|
+
toVersion?: string;
|
|
695
|
+
}
|
|
696
|
+
interface LocalPublishableSkill {
|
|
697
|
+
id: string;
|
|
698
|
+
name: string;
|
|
699
|
+
description: string;
|
|
700
|
+
localPath: string;
|
|
701
|
+
scope: "workspace" | "user";
|
|
702
|
+
alreadyPublished: boolean;
|
|
703
|
+
}
|
|
704
|
+
type MarketplaceAgentSource = "official" | "community";
|
|
705
|
+
interface MarketplaceAgentItem {
|
|
706
|
+
id: string;
|
|
707
|
+
name: string;
|
|
708
|
+
description: string;
|
|
709
|
+
version?: string;
|
|
710
|
+
updatedAt?: string;
|
|
711
|
+
source: MarketplaceAgentSource;
|
|
712
|
+
author?: string;
|
|
713
|
+
path: string;
|
|
714
|
+
tools: string[];
|
|
715
|
+
categoryId?: string;
|
|
716
|
+
recommended?: boolean;
|
|
717
|
+
}
|
|
718
|
+
interface MarketplaceAgentsCatalog {
|
|
719
|
+
agents: MarketplaceAgentItem[];
|
|
720
|
+
fetchedAt: string;
|
|
721
|
+
}
|
|
722
|
+
interface AgentDownloadFile {
|
|
723
|
+
/** Relative path within the agent folder (e.g. "my-agent.agent.md", "tools/helper.py") */
|
|
724
|
+
path: string;
|
|
725
|
+
content: string;
|
|
726
|
+
executable: boolean;
|
|
727
|
+
}
|
|
728
|
+
interface UploadAgentPayload {
|
|
729
|
+
name: string;
|
|
730
|
+
description: string;
|
|
731
|
+
version?: string;
|
|
732
|
+
content?: string;
|
|
733
|
+
localPath?: string;
|
|
734
|
+
files?: UploadFile[];
|
|
735
|
+
}
|
|
736
|
+
interface LocalPublishableAgent {
|
|
737
|
+
id: string;
|
|
738
|
+
name: string;
|
|
739
|
+
description: string;
|
|
740
|
+
localPath: string;
|
|
741
|
+
scope: "workspace" | "user";
|
|
742
|
+
alreadyPublished: boolean;
|
|
743
|
+
}
|
|
744
|
+
|
|
429
745
|
declare const SERVICEME_CLI_NAME = "serviceme";
|
|
430
|
-
declare const SERVICEME_CLI_VERSION = "0.1.
|
|
746
|
+
declare const SERVICEME_CLI_VERSION = "0.1.7";
|
|
431
747
|
declare const SERVICEME_CLI_CAPABILITIES: {
|
|
432
748
|
readonly bridge: true;
|
|
433
749
|
readonly tasks: 1;
|
|
@@ -470,4 +786,4 @@ declare function isServiceMeProjectInstallDepsResult(value: unknown): value is S
|
|
|
470
786
|
declare function isServiceMeProjectExtractTemplateInput(value: unknown): value is ServiceMeProjectExtractTemplateInput;
|
|
471
787
|
declare function isServiceMeProjectExtractTemplateResult(value: unknown): value is ServiceMeProjectExtractTemplateResult;
|
|
472
788
|
|
|
473
|
-
export { type AgentSessionStatus, BRIDGE_EVENTS, BRIDGE_METHODS, type BridgeCapabilities, type BridgeErrorResponse, type BridgeEvent, type BridgeEventMap, type BridgeEventName, type BridgeEventParams, type BridgeMessage, type BridgeMethod, type BridgeMethodMap, type BridgeParams, type BridgeRequest, type BridgeResponse, type BridgeResult, type BridgeSuccessResponse, COPILOT_ERROR_CODES, type CliEnvelope, type CliFailure, type CliSuccess, type CommandPayload, type ConcurrencyPolicy, type CopilotDoctorResult, type CopilotPromptOptions, type CopilotPromptResult, DEFAULT_JSON_SORT_OPTIONS, type EnvironmentCheckResult, type GithubCopilotCliPayload, type HttpRequestPayload, JSON_SORT_ALGORITHMS, JSON_SORT_ORDERS, type JsonSortAlgorithm, type JsonSortOptions, type JsonSortOrder, type JsonValidationResult, KNOWN_ENVIRONMENT_TOOLS, type KnownEnvironmentTool, type RunningTaskInfo, SERVICEME_CLI_CAPABILITIES, SERVICEME_CLI_NAME, SERVICEME_CLI_SCHEMA_VERSION, SERVICEME_CLI_VERSION, SERVICEME_ERROR_CODES, SERVICEME_IMAGE_FORMATS, SERVICEME_PROTOCOL_VERSION, type ScheduleCreateDryRunResult, type ScheduleCreateResult, type ScheduleDeleteDryRunResult, type ScheduleDeleteResult, type ScheduleEditDryRunResult, type ScheduleEditResult, type ScheduleGetResult, type ScheduleListResult, type ScheduleLogsResult, type ScheduleToggleResult, type ScheduleTriggerResult, type ScheduledTask, type ScheduledTaskType, type ScheduledTasksConfig, type ScheduledTasksLogFile, type SchedulerStartResult, type SchedulerStatus, type SchedulerStopResult, type ServiceMeImageCompressOptions, type ServiceMeImageCompressResult, type ServiceMeImageFormat, type ServiceMeImageInfo, type ServiceMeImageValidationResult, type ServiceMeProjectExtractTemplateInput, type ServiceMeProjectExtractTemplateResult, type ServiceMeProjectGitInitResult, type ServiceMeProjectInstallDepsResult, type ServiceMeProjectMakeScriptsExecutableResult, type ServiceMeProjectScaffoldPruneResult, type ServicemeErrorCode, type ServicemeErrorDetails, ServicemeProtocolError, type ShellPayload, type SupportedBridgeProtocolVersion, type TaskCancelResult, type TaskCancelledEventParams, type TaskCompletedEventParams, type TaskExecuteResult, type TaskExecutionLog, type TaskExecutionSnapshot, type TaskExecutionStatus, type TaskFailedEventParams, type TaskListRunningResult, type TaskOutputEventParams, type TaskPayload, type TaskStartedEventParams, type TaskTriggerType, type ToolCheckResult, createCliFailure, createCliSuccess, createServicemeError, getBridgeEventParamsValidator, getBridgeResultValidator, isAgentSessionStatus, isBridgeCapabilities, isBridgeEvent, isBridgeEventName, isBridgeMethod, isBridgeRequest, isBridgeResponse, isCliEnvelope, isEnvironmentCheckResult, isJsonOutputResult, isJsonSortAlgorithm, isJsonSortOptions, isJsonSortOrder, isJsonValidationResult, isKnownEnvironmentTool, isRetryableErrorCode, isScheduledTask, isScheduledTaskType, isSchedulerStatus, isServiceMeImageCompressOptions, isServiceMeImageCompressResult, isServiceMeImageFormat, isServiceMeImageInfo, isServiceMeImageValidationResult, isServiceMeProjectExtractTemplateInput, isServiceMeProjectExtractTemplateResult, isServiceMeProjectGitInitResult, isServiceMeProjectInstallDepsResult, isServiceMeProjectMakeScriptsExecutableResult, isServiceMeProjectScaffoldPruneResult, isServicemeErrorCode, isServicemeErrorDetails, isSystemHelloResult, isSystemPingResult, isSystemShutdownResult, isTaskCancelResult, isTaskCancelledEventParams, isTaskCompletedEventParams, isTaskExecuteResult, isTaskExecutionLog, isTaskFailedEventParams, isTaskListRunningResult, isTaskOutputEventParams, isTaskStartedEventParams, isToolCheckResult, normalizeServicemeError };
|
|
789
|
+
export { type AgentDownloadFile, type AgentMarketplaceEntry, type AgentMarketplaceState, type AgentMutationAction, type AgentMutationRequest, type AgentMutationResult, type AgentOwnerKind, type AgentPermissionSummary, type AgentPermissionsResult, type AgentScope, type AgentScopeState, type AgentScopeStatus, type AgentSessionStatus, type AgentToolPermission, type AgentToolRiskLevel, BRIDGE_EVENTS, BRIDGE_METHODS, type BridgeCapabilities, type BridgeErrorResponse, type BridgeEvent, type BridgeEventMap, type BridgeEventName, type BridgeEventParams, type BridgeMessage, type BridgeMethod, type BridgeMethodMap, type BridgeParams, type BridgeRequest, type BridgeResponse, type BridgeResult, type BridgeSuccessResponse, COPILOT_ERROR_CODES, type CliEnvelope, type CliFailure, type CliSuccess, type CommandPayload, type ConcurrencyPolicy, type CopilotDoctorResult, type CopilotPromptOptions, type CopilotPromptResult, DEFAULT_JSON_SORT_OPTIONS, type EnvironmentCheckResult, type GithubCopilotCliPayload, type HttpRequestPayload, JSON_SORT_ALGORITHMS, JSON_SORT_ORDERS, type JsonSortAlgorithm, type JsonSortOptions, type JsonSortOrder, type JsonValidationResult, KNOWN_ENVIRONMENT_TOOLS, type KnownEnvironmentTool, type LocalPublishableAgent, type LocalPublishableSkill, type MarketplaceAgentItem, type MarketplaceAgentsCatalog, type MarketplaceCatalog, type MarketplaceSkillItem, type PublishableSkillEntry, type RunningTaskInfo, SERVICEME_CLI_CAPABILITIES, SERVICEME_CLI_NAME, SERVICEME_CLI_SCHEMA_VERSION, SERVICEME_CLI_VERSION, SERVICEME_ERROR_CODES, SERVICEME_IMAGE_FORMATS, SERVICEME_PROTOCOL_VERSION, type ScheduleCreateDryRunResult, type ScheduleCreateResult, type ScheduleDeleteDryRunResult, type ScheduleDeleteResult, type ScheduleEditDryRunResult, type ScheduleEditResult, type ScheduleGetResult, type ScheduleListResult, type ScheduleLogsResult, type ScheduleToggleResult, type ScheduleTriggerResult, type ScheduledTask, type ScheduledTaskType, type ScheduledTasksConfig, type ScheduledTasksLogFile, type SchedulerStartResult, type SchedulerStatus, type SchedulerStopResult, type ServiceMeImageCompressOptions, type ServiceMeImageCompressResult, type ServiceMeImageFormat, type ServiceMeImageInfo, type ServiceMeImageValidationResult, type ServiceMeProjectExtractTemplateInput, type ServiceMeProjectExtractTemplateResult, type ServiceMeProjectGitInitResult, type ServiceMeProjectInstallDepsResult, type ServiceMeProjectMakeScriptsExecutableResult, type ServiceMeProjectScaffoldPruneResult, type ServicemeErrorCode, type ServicemeErrorDetails, ServicemeProtocolError, type ShellPayload, type SkillDownloadFile, type SkillMarketplaceEntry, type SkillMarketplaceState, type SkillMutationAction, type SkillMutationRequest, type SkillMutationResult, type SkillOwnerKind, type SkillPublishableResult, type SkillReconcileResult, type SkillScope, type SkillScopeState, type SkillScopeStatus, type SubmitToOfficialPayload, type SubmitToOfficialResult, type SupportedBridgeProtocolVersion, type TaskCancelResult, type TaskCancelledEventParams, type TaskCompletedEventParams, type TaskExecuteResult, type TaskExecutionLog, type TaskExecutionSnapshot, type TaskExecutionStatus, type TaskFailedEventParams, type TaskListRunningResult, type TaskOutputEventParams, type TaskPayload, type TaskStartedEventParams, type TaskTriggerType, type ToolCheckResult, type UploadAgentPayload, type UploadFile, type UploadSkillPayload, createCliFailure, createCliSuccess, createServicemeError, getBridgeEventParamsValidator, getBridgeResultValidator, isAgentMarketplaceState, isAgentMutationRequest, isAgentMutationResult, isAgentPermissionSummary, isAgentPermissionsResult, isAgentSessionStatus, isBridgeCapabilities, isBridgeEvent, isBridgeEventName, isBridgeMethod, isBridgeRequest, isBridgeResponse, isCliEnvelope, isEnvironmentCheckResult, isJsonOutputResult, isJsonSortAlgorithm, isJsonSortOptions, isJsonSortOrder, isJsonValidationResult, isKnownEnvironmentTool, isRetryableErrorCode, isScheduledTask, isScheduledTaskType, isSchedulerStatus, isServiceMeImageCompressOptions, isServiceMeImageCompressResult, isServiceMeImageFormat, isServiceMeImageInfo, isServiceMeImageValidationResult, isServiceMeProjectExtractTemplateInput, isServiceMeProjectExtractTemplateResult, isServiceMeProjectGitInitResult, isServiceMeProjectInstallDepsResult, isServiceMeProjectMakeScriptsExecutableResult, isServiceMeProjectScaffoldPruneResult, isServicemeErrorCode, isServicemeErrorDetails, isSkillMarketplaceState, isSkillMutationRequest, isSkillMutationResult, isSkillPublishableResult, isSkillReconcileResult, isSystemHelloResult, isSystemPingResult, isSystemShutdownResult, isTaskCancelResult, isTaskCancelledEventParams, isTaskCompletedEventParams, isTaskExecuteResult, isTaskExecutionLog, isTaskFailedEventParams, isTaskListRunningResult, isTaskOutputEventParams, isTaskStartedEventParams, isToolCheckResult, normalizeServicemeError };
|