@serviceme/devtools-protocol 0.4.13 → 2.0.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.
- package/dist/index.d.mts +414 -7
- package/dist/index.d.ts +414 -7
- package/dist/index.js +528 -144
- package/dist/index.mjs +491 -144
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AgentPermissionSummary, BridgeSkillKind, BridgeSkillRepoEntry, BridgeSkillRepoFile, BridgeLinkMode, BridgeLinkedSkill, BridgeRepoEntry, BridgeRepoSyncPull, TaskExecutionLog, ScheduledTaskType, TaskPayload, ScheduledTask, ScheduledTaskV1, ScheduledTasksConfig, TaskWorkspaceRef } from '@serviceme/devtools-shared';
|
|
2
|
-
export { AgentPermissionSummary, AgentToolPermission, AgentToolRiskLevel, BridgeLinkMode, BridgeLinkedSkill, BridgeRepoEntry, BridgeRepoSyncPull, BridgeSkillKind, BridgeSkillRepoEntry, BridgeSkillRepoFile, CommandPayload, GithubCopilotCliPayload, HttpRequestPayload, ScheduledTask, ScheduledTaskType, ScheduledTaskV1, ScheduledTasksConfig, ShellPayload, TaskExecutionLog, TaskExecutionStatus, TaskPayload, TaskRunStatus, TaskWorkspaceRef } from '@serviceme/devtools-shared';
|
|
1
|
+
import { AgentPermissionSummary, CopilotCustomizationScope, CopilotCustomizationViewPayload, CopilotAvailablePackagePayload, CopilotArtifactSummaryPayload, CopilotSourceRecordPayload, CopilotPackageUpdatePreviewPayload, BridgeSkillKind, BridgeSkillRepoEntry, BridgeSkillRepoFile, BridgeLinkMode, BridgeLinkedSkill, BridgeRepoEntry, BridgeRepoSyncPull, TaskExecutionLog, ScheduledTaskType, TaskPayload, ScheduledTask, ScheduledTaskV1, ScheduledTasksConfig, TaskWorkspaceRef } from '@serviceme/devtools-shared';
|
|
2
|
+
export { AgentPermissionSummary, AgentToolPermission, AgentToolRiskLevel, BridgeLinkMode, BridgeLinkedSkill, BridgeRepoEntry, BridgeRepoSyncPull, BridgeSkillKind, BridgeSkillRepoEntry, BridgeSkillRepoFile, CommandPayload, CopilotArtifactStatePayload, CopilotArtifactSummaryPayload, CopilotArtifactViewPayload, CopilotAvailablePackagePayload, CopilotCustomizationScope, CopilotCustomizationViewPayload, CopilotPackageDefinitionPayload, CopilotPackageInstallationPayload, CopilotPackageUpdatePreviewPayload, CopilotPackageViewPayload, CopilotSourceRecordPayload, CopilotSourceViewPayload, GithubCopilotCliPayload, HttpRequestPayload, ScheduledTask, ScheduledTaskType, ScheduledTaskV1, ScheduledTasksConfig, ShellPayload, TaskExecutionLog, TaskExecutionStatus, TaskPayload, TaskRunStatus, TaskWorkspaceRef } from '@serviceme/devtools-shared';
|
|
3
3
|
|
|
4
4
|
type AgentScope = "workspace" | "user";
|
|
5
5
|
type AgentOwnerKind = "builtin" | "external";
|
|
@@ -287,6 +287,158 @@ declare function isAuthWhoamiResult(value: unknown): value is AuthWhoamiResult;
|
|
|
287
287
|
declare function isAuthSwitchParams(value: unknown): value is AuthSwitchParams;
|
|
288
288
|
declare function isAuthSwitchResult(value: unknown): value is AuthSwitchResult;
|
|
289
289
|
|
|
290
|
+
interface CopilotCustomizationsListParams {
|
|
291
|
+
scope: CopilotCustomizationScope;
|
|
292
|
+
workspaceDir?: string;
|
|
293
|
+
}
|
|
294
|
+
interface CopilotCustomizationsListResult {
|
|
295
|
+
view: CopilotCustomizationViewPayload;
|
|
296
|
+
/** Installable plugin.json packages enumerated from the enabled git
|
|
297
|
+
* sources. Optional for wire compatibility with older CLI builds. */
|
|
298
|
+
availablePackages?: CopilotAvailablePackagePayload[];
|
|
299
|
+
}
|
|
300
|
+
interface CopilotPackageInstallParams {
|
|
301
|
+
scope: CopilotCustomizationScope;
|
|
302
|
+
workspaceDir?: string;
|
|
303
|
+
sourceId: string;
|
|
304
|
+
packageId: string;
|
|
305
|
+
artifactIds: string[];
|
|
306
|
+
pinnedVersion?: string;
|
|
307
|
+
localMode?: "live" | "private-workspace-override";
|
|
308
|
+
}
|
|
309
|
+
interface CopilotPackageUpdateParams {
|
|
310
|
+
scope: CopilotCustomizationScope;
|
|
311
|
+
workspaceDir?: string;
|
|
312
|
+
packageId: string;
|
|
313
|
+
artifactIds: string[];
|
|
314
|
+
pinnedVersion?: string;
|
|
315
|
+
}
|
|
316
|
+
interface CopilotPackageUninstallParams {
|
|
317
|
+
scope: CopilotCustomizationScope;
|
|
318
|
+
workspaceDir?: string;
|
|
319
|
+
packageId: string;
|
|
320
|
+
}
|
|
321
|
+
interface CopilotPackageMoveParams {
|
|
322
|
+
workspaceDir?: string;
|
|
323
|
+
packageId: string;
|
|
324
|
+
from: CopilotCustomizationScope;
|
|
325
|
+
to: CopilotCustomizationScope;
|
|
326
|
+
}
|
|
327
|
+
interface CopilotLegacyPreviewParams {
|
|
328
|
+
workspaceDir?: string;
|
|
329
|
+
}
|
|
330
|
+
interface CopilotLegacyPreviewResult {
|
|
331
|
+
sourceLabel: "~/.agents";
|
|
332
|
+
count: number;
|
|
333
|
+
artifacts: CopilotArtifactSummaryPayload[];
|
|
334
|
+
}
|
|
335
|
+
interface CopilotLegacyMigrateParams {
|
|
336
|
+
workspaceDir?: string;
|
|
337
|
+
artifactIds: string[];
|
|
338
|
+
}
|
|
339
|
+
interface CopilotSourceListParams {
|
|
340
|
+
scope: CopilotCustomizationScope;
|
|
341
|
+
workspaceDir?: string;
|
|
342
|
+
}
|
|
343
|
+
interface CopilotSourceListResult {
|
|
344
|
+
sources: CopilotSourceRecordPayload[];
|
|
345
|
+
}
|
|
346
|
+
interface CopilotSourceRemoveParams {
|
|
347
|
+
scope: CopilotCustomizationScope;
|
|
348
|
+
workspaceDir?: string;
|
|
349
|
+
sourceId: string;
|
|
350
|
+
}
|
|
351
|
+
interface CopilotSourceRemoveResult {
|
|
352
|
+
removed: true;
|
|
353
|
+
}
|
|
354
|
+
interface CopilotUpdatePreviewParams {
|
|
355
|
+
scope: CopilotCustomizationScope;
|
|
356
|
+
workspaceDir?: string;
|
|
357
|
+
packageId: string;
|
|
358
|
+
revision: string;
|
|
359
|
+
}
|
|
360
|
+
interface CopilotUpdatePreviewResult {
|
|
361
|
+
preview: CopilotPackageUpdatePreviewPayload;
|
|
362
|
+
}
|
|
363
|
+
type CopilotPackageInstallResult = CopilotCustomizationsListResult;
|
|
364
|
+
type CopilotPackageUpdateResult = CopilotCustomizationsListResult;
|
|
365
|
+
type CopilotPackageUninstallResult = CopilotCustomizationsListResult;
|
|
366
|
+
type CopilotPackageMoveResult = CopilotCustomizationsListResult;
|
|
367
|
+
type CopilotLegacyMigrateResult = CopilotCustomizationsListResult;
|
|
368
|
+
declare function isCopilotCustomizationViewPayload(value: unknown): value is CopilotCustomizationViewPayload;
|
|
369
|
+
declare function isCopilotCustomizationsListParams(value: unknown): value is CopilotCustomizationsListParams;
|
|
370
|
+
declare function isCopilotCustomizationsListResult(value: unknown): value is CopilotCustomizationsListResult;
|
|
371
|
+
declare function isCopilotPackageInstallParams(value: unknown): value is CopilotPackageInstallParams;
|
|
372
|
+
declare function isCopilotPackageUpdateParams(value: unknown): value is CopilotPackageUpdateParams;
|
|
373
|
+
declare function isCopilotPackageUninstallParams(value: unknown): value is CopilotPackageUninstallParams;
|
|
374
|
+
declare function isCopilotPackageMoveParams(value: unknown): value is CopilotPackageMoveParams;
|
|
375
|
+
declare function isCopilotLegacyPreviewParams(value: unknown): value is CopilotLegacyPreviewParams;
|
|
376
|
+
declare function isCopilotLegacyMigrateParams(value: unknown): value is CopilotLegacyMigrateParams;
|
|
377
|
+
declare function isCopilotSourceListParams(value: unknown): value is CopilotSourceListParams;
|
|
378
|
+
declare function isCopilotSourceListResult(value: unknown): value is CopilotSourceListResult;
|
|
379
|
+
declare function isCopilotSourceRemoveParams(value: unknown): value is CopilotSourceRemoveParams;
|
|
380
|
+
declare function isCopilotSourceRemoveResult(value: unknown): value is CopilotSourceRemoveResult;
|
|
381
|
+
declare function isCopilotUpdatePreviewParams(value: unknown): value is CopilotUpdatePreviewParams;
|
|
382
|
+
declare function isCopilotUpdatePreviewResult(value: unknown): value is CopilotUpdatePreviewResult;
|
|
383
|
+
declare function isCopilotLegacyPreviewResult(value: unknown): value is CopilotLegacyPreviewResult;
|
|
384
|
+
declare const isCopilotPackageInstallResult: typeof isCopilotCustomizationsListResult;
|
|
385
|
+
declare const isCopilotPackageUpdateResult: typeof isCopilotCustomizationsListResult;
|
|
386
|
+
declare const isCopilotPackageUninstallResult: typeof isCopilotCustomizationsListResult;
|
|
387
|
+
declare const isCopilotPackageMoveResult: typeof isCopilotCustomizationsListResult;
|
|
388
|
+
declare const isCopilotLegacyMigrateResult: typeof isCopilotCustomizationsListResult;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* `copilotPlugin.*` — whole-package plugin registration.
|
|
392
|
+
*
|
|
393
|
+
* Registers a plugin.json package directory as ONE unit into
|
|
394
|
+
* Copilot's user-level installed-plugins location, letting Copilot
|
|
395
|
+
* itself parse every declared capability. Complements the strict
|
|
396
|
+
* per-artifact install pipeline: browse lists leniently, installs
|
|
397
|
+
* stay strict.
|
|
398
|
+
*/
|
|
399
|
+
interface CopilotPluginRegistrationPayload {
|
|
400
|
+
/** `${repoId}:${pluginId}` — path-safe. */
|
|
401
|
+
registrationId: string;
|
|
402
|
+
repoId: string;
|
|
403
|
+
pluginId: string;
|
|
404
|
+
displayName?: string;
|
|
405
|
+
version?: string;
|
|
406
|
+
scopes: Array<"workspace" | "personal">;
|
|
407
|
+
/** High-risk content the user must see before registering. */
|
|
408
|
+
mcpServers: string[];
|
|
409
|
+
hasExtensions: boolean;
|
|
410
|
+
/** Enablement in VS Code settings (`chat.pluginLocations` value).
|
|
411
|
+
* Overlaid extension-side after the bridge returns; older CLIs and
|
|
412
|
+
* unregistered rows omit it. */
|
|
413
|
+
enabled?: boolean;
|
|
414
|
+
}
|
|
415
|
+
type CopilotPluginListParams = Record<string, never>;
|
|
416
|
+
interface CopilotPluginListResult {
|
|
417
|
+
plugins: CopilotPluginRegistrationPayload[];
|
|
418
|
+
}
|
|
419
|
+
interface CopilotPluginRegisterParams {
|
|
420
|
+
/** Optional wire compat — plugins are personal-scope only and the
|
|
421
|
+
* registrar defaults to "personal" when omitted. */
|
|
422
|
+
scope?: "workspace" | "personal";
|
|
423
|
+
workspaceDir?: string;
|
|
424
|
+
repoId: string;
|
|
425
|
+
pluginId: string;
|
|
426
|
+
}
|
|
427
|
+
type CopilotPluginRegisterResult = CopilotPluginListResult;
|
|
428
|
+
interface CopilotPluginUnregisterParams {
|
|
429
|
+
/** Optional wire compat — see CopilotPluginRegisterParams.scope. */
|
|
430
|
+
scope?: "workspace" | "personal";
|
|
431
|
+
workspaceDir?: string;
|
|
432
|
+
registrationId: string;
|
|
433
|
+
}
|
|
434
|
+
type CopilotPluginUnregisterResult = CopilotPluginListResult;
|
|
435
|
+
declare function isCopilotPluginListParams(value: unknown): value is CopilotPluginListParams;
|
|
436
|
+
declare function isCopilotPluginListResult(value: unknown): value is CopilotPluginListResult;
|
|
437
|
+
declare function isCopilotPluginRegisterParams(value: unknown): value is CopilotPluginRegisterParams;
|
|
438
|
+
declare const isCopilotPluginRegisterResult: typeof isCopilotPluginListResult;
|
|
439
|
+
declare function isCopilotPluginUnregisterParams(value: unknown): value is CopilotPluginUnregisterParams;
|
|
440
|
+
declare const isCopilotPluginUnregisterResult: typeof isCopilotPluginListResult;
|
|
441
|
+
|
|
290
442
|
/**
|
|
291
443
|
* Skill & Agent v2 — Bridge protocol methods for the v2 skill/agent
|
|
292
444
|
* repository pipeline (M5).
|
|
@@ -294,7 +446,9 @@ declare function isAuthSwitchResult(value: unknown): value is AuthSwitchResult;
|
|
|
294
446
|
* Two new top-level method groups land here per
|
|
295
447
|
* docs/architecture/skill-agent-v2-repo.md §6:
|
|
296
448
|
*
|
|
297
|
-
* - **`
|
|
449
|
+
* - **`copilotContent.*`** — read + install skills/agents from local
|
|
450
|
+
* clones (legacy `skillRepo.*` spellings stay wire-compatible via
|
|
451
|
+
* `COPILOT_CONTENT_METHOD_ALIASES`)
|
|
298
452
|
* - **`repo.*`** — manage the repo catalog (CRUD + sync)
|
|
299
453
|
*
|
|
300
454
|
* Draft methods (`skillRepo.draft.*`) and the `repo.syncAll` orchestrator
|
|
@@ -318,6 +472,9 @@ interface SkillRepoListParams {
|
|
|
318
472
|
repoId?: string;
|
|
319
473
|
/** Restrict to one kind; omit to include both skills + agents. */
|
|
320
474
|
kind?: BridgeSkillKind;
|
|
475
|
+
/** Active workspace dir — workspace-scope disable marks only apply
|
|
476
|
+
* to their own workspace, so the overlay needs it to mark rows. */
|
|
477
|
+
workspaceDir?: string;
|
|
321
478
|
}
|
|
322
479
|
interface SkillRepoListResult {
|
|
323
480
|
entries: BridgeSkillRepoEntry[];
|
|
@@ -386,6 +543,25 @@ interface SkillRepoUninstallParams {
|
|
|
386
543
|
interface SkillRepoUninstallResult {
|
|
387
544
|
removed: true;
|
|
388
545
|
}
|
|
546
|
+
/**
|
|
547
|
+
* `skillRepo.setEntryEnabled` — enable/disable a per-artifact skill or
|
|
548
|
+
* agent WITHOUT dropping its installation: disable records a
|
|
549
|
+
* machine-local mark and removes the materialized link; enable clears
|
|
550
|
+
* the mark and re-links from the untouched declaration/source.
|
|
551
|
+
*/
|
|
552
|
+
interface SkillRepoSetEntryEnabledParams {
|
|
553
|
+
repoId: string;
|
|
554
|
+
name: string;
|
|
555
|
+
/** "skill" (default) or "agent". */
|
|
556
|
+
kind?: BridgeSkillKind;
|
|
557
|
+
/** "workspace" (default) or "user" (global) scope. */
|
|
558
|
+
scope?: "workspace" | "user";
|
|
559
|
+
workspaceDir?: string;
|
|
560
|
+
enabled: boolean;
|
|
561
|
+
}
|
|
562
|
+
interface SkillRepoSetEntryEnabledResult {
|
|
563
|
+
enabled: boolean;
|
|
564
|
+
}
|
|
389
565
|
/** `skillRepo.listLinked` — every link currently in a workspace and/or user (global) scope. */
|
|
390
566
|
interface SkillRepoListLinkedParams {
|
|
391
567
|
workspaceDir: string;
|
|
@@ -523,11 +699,79 @@ type RepoSyncAllParams = Record<string, never>;
|
|
|
523
699
|
interface RepoSyncAllResult {
|
|
524
700
|
pulls: BridgeRepoSyncPull[];
|
|
525
701
|
}
|
|
702
|
+
/** `repo.resetParseCache` — re-clone every enabled repo checkout so
|
|
703
|
+
* listing/parsing runs against a pristine tree (recovers from
|
|
704
|
+
* historical-parser drift). Same result shape as syncAll. */
|
|
705
|
+
type RepoResetParseCacheParams = Record<string, never>;
|
|
706
|
+
type RepoResetParseCacheResult = RepoSyncAllResult;
|
|
707
|
+
/** Status of one declared entry after a reconciliation pass. */
|
|
708
|
+
type CopilotContentStatus = "restored" | "adopted" | "pending_approval" | "missing_source" | "conflict" | "drifted";
|
|
709
|
+
/** `copilotContent.restore` — reconcile declared workspace content on this machine. */
|
|
710
|
+
interface CopilotContentRestoreParams {
|
|
711
|
+
/** Absolute workspace root containing .github/serviceme-plugins.json. */
|
|
712
|
+
workspaceDir: string;
|
|
713
|
+
}
|
|
714
|
+
interface CopilotContentRestoreResult {
|
|
715
|
+
changed: boolean;
|
|
716
|
+
entries: Array<{
|
|
717
|
+
identity: string;
|
|
718
|
+
status: CopilotContentStatus;
|
|
719
|
+
message?: string;
|
|
720
|
+
}>;
|
|
721
|
+
}
|
|
722
|
+
/** `copilotContent.status` — read the declaration and current link state without mutating. */
|
|
723
|
+
interface CopilotContentStatusParams {
|
|
724
|
+
workspaceDir: string;
|
|
725
|
+
}
|
|
726
|
+
interface CopilotContentStatusResult extends CopilotContentRestoreResult {
|
|
727
|
+
}
|
|
728
|
+
/** `copilotContent.approve` — record local approval then re-reconcile. */
|
|
729
|
+
interface CopilotContentApproveParams {
|
|
730
|
+
workspaceDir: string;
|
|
731
|
+
identities: string[];
|
|
732
|
+
}
|
|
733
|
+
interface CopilotContentApproveResult extends CopilotContentRestoreResult {
|
|
734
|
+
}
|
|
735
|
+
/** `copilotContent.migrateLegacy` — report legacy ~/.agents links available for migration. */
|
|
736
|
+
interface CopilotContentMigrateLegacyParams {
|
|
737
|
+
workspaceDir: string;
|
|
738
|
+
}
|
|
739
|
+
interface CopilotContentMigrateLegacyResult {
|
|
740
|
+
entries: Array<{
|
|
741
|
+
identity: string;
|
|
742
|
+
status: CopilotContentStatus;
|
|
743
|
+
message?: string;
|
|
744
|
+
}>;
|
|
745
|
+
}
|
|
746
|
+
/** Integration kinds that require machine-local configuration files. */
|
|
747
|
+
type CopilotContentIntegrationKind = "mcp" | "hook";
|
|
748
|
+
/** Lifecycle status of one machine-local integration configuration. */
|
|
749
|
+
type CopilotContentIntegrationStatus = "active" | "inactive" | "pending_approval" | "missing_local_configuration";
|
|
750
|
+
/**
|
|
751
|
+
* `copilotContent.integrationStatus` — read-only diagnostics for the
|
|
752
|
+
* machine-local MCP / hook integrations of a declared workspace.
|
|
753
|
+
*/
|
|
754
|
+
interface CopilotContentIntegrationStatusParams {
|
|
755
|
+
/** Absolute workspace root containing .github/serviceme-plugins.json. */
|
|
756
|
+
workspaceDir: string;
|
|
757
|
+
}
|
|
758
|
+
interface CopilotContentIntegrationStatusResult {
|
|
759
|
+
integrations: Array<{
|
|
760
|
+
identity: string;
|
|
761
|
+
kind: CopilotContentIntegrationKind;
|
|
762
|
+
/** Absolute path of the machine-local config backing the integration. */
|
|
763
|
+
configPath: string;
|
|
764
|
+
/** Server or hook names the identity owns in the config. */
|
|
765
|
+
names: string[];
|
|
766
|
+
status: CopilotContentIntegrationStatus;
|
|
767
|
+
}>;
|
|
768
|
+
}
|
|
526
769
|
declare function isSkillRepoListResult(value: unknown): value is SkillRepoListResult;
|
|
527
770
|
declare function isSkillRepoGetResult(value: unknown): value is SkillRepoGetResult;
|
|
528
771
|
declare function isSkillRepoInstallResult(value: unknown): value is SkillRepoInstallResult;
|
|
529
772
|
declare function isSkillRepoConvertToSymlinkResult(value: unknown): value is SkillRepoConvertToSymlinkResult;
|
|
530
773
|
declare function isSkillRepoUninstallResult(value: unknown): value is SkillRepoUninstallResult;
|
|
774
|
+
declare function isSkillRepoSetEntryEnabledResult(value: unknown): value is SkillRepoSetEntryEnabledResult;
|
|
531
775
|
declare function isSkillRepoListLinkedResult(value: unknown): value is SkillRepoListLinkedResult;
|
|
532
776
|
declare function isSkillRepoDraftCreateResult(value: unknown): value is SkillRepoDraftCreateResult;
|
|
533
777
|
declare function isSkillRepoDraftCommitResult(value: unknown): value is SkillRepoDraftCommitResult;
|
|
@@ -541,11 +785,17 @@ declare function isRepoDisableResult(value: unknown): value is RepoDisableResult
|
|
|
541
785
|
declare function isRepoUpdateResult(value: unknown): value is RepoUpdateResult;
|
|
542
786
|
declare function isRepoSyncResult(value: unknown): value is RepoSyncResult;
|
|
543
787
|
declare function isRepoSyncAllResult(value: unknown): value is RepoSyncAllResult;
|
|
788
|
+
declare function isCopilotContentRestoreResult(value: unknown): value is CopilotContentRestoreResult;
|
|
789
|
+
declare function isCopilotContentStatusResult(value: unknown): value is CopilotContentStatusResult;
|
|
790
|
+
declare function isCopilotContentApproveResult(value: unknown): value is CopilotContentApproveResult;
|
|
791
|
+
declare function isCopilotContentMigrateLegacyResult(value: unknown): value is CopilotContentMigrateLegacyResult;
|
|
792
|
+
declare function isCopilotContentIntegrationStatusResult(value: unknown): value is CopilotContentIntegrationStatusResult;
|
|
544
793
|
declare function isSkillRepoListParams(value: unknown): value is SkillRepoListParams;
|
|
545
794
|
declare function isSkillRepoGetParams(value: unknown): value is SkillRepoGetParams;
|
|
546
795
|
declare function isSkillRepoInstallParams(value: unknown): value is SkillRepoInstallParams;
|
|
547
796
|
declare function isSkillRepoConvertToSymlinkParams(value: unknown): value is SkillRepoConvertToSymlinkParams;
|
|
548
797
|
declare function isSkillRepoUninstallParams(value: unknown): value is SkillRepoUninstallParams;
|
|
798
|
+
declare function isSkillRepoSetEntryEnabledParams(value: unknown): value is SkillRepoSetEntryEnabledParams;
|
|
549
799
|
declare function isSkillRepoListLinkedParams(value: unknown): value is SkillRepoListLinkedParams;
|
|
550
800
|
declare function isRepoListParams(value: unknown): value is RepoListParams;
|
|
551
801
|
declare function isRepoAddParams(value: unknown): value is RepoAddParams;
|
|
@@ -979,6 +1229,8 @@ interface BridgeCapabilities {
|
|
|
979
1229
|
skillRepo?: 1;
|
|
980
1230
|
/** v2 repo catalog: list, add, remove, enable, disable, sync. */
|
|
981
1231
|
repoMgmt?: 1;
|
|
1232
|
+
/** Declarative Copilot content reconciliation: status / restore / approve / migrateLegacy. */
|
|
1233
|
+
copilotContent?: 1;
|
|
982
1234
|
/** Auth domain (Phase 5.1): auth.status / login / logout / whoami / switch. */
|
|
983
1235
|
auth?: 1;
|
|
984
1236
|
/** Device domain (Phase 5.1): device.status / enroll / rotate-secret. */
|
|
@@ -1035,6 +1287,55 @@ interface BridgeMethodMap {
|
|
|
1035
1287
|
params: Record<string, never>;
|
|
1036
1288
|
result: TaskListRunningResult;
|
|
1037
1289
|
};
|
|
1290
|
+
/**
|
|
1291
|
+
* Canonical name is `copilotContent.*`; `skillRepo.*` is kept as a
|
|
1292
|
+
* legacy alias for older bridge peers. New callers must use the
|
|
1293
|
+
* canonical names (see COPILOT_CONTENT_METHOD_ALIASES).
|
|
1294
|
+
*/
|
|
1295
|
+
"copilotContent.list": {
|
|
1296
|
+
params: SkillRepoListParams;
|
|
1297
|
+
result: SkillRepoListResult;
|
|
1298
|
+
};
|
|
1299
|
+
"copilotContent.get": {
|
|
1300
|
+
params: SkillRepoGetParams;
|
|
1301
|
+
result: SkillRepoGetResult;
|
|
1302
|
+
};
|
|
1303
|
+
"copilotContent.install": {
|
|
1304
|
+
params: SkillRepoInstallParams;
|
|
1305
|
+
result: SkillRepoInstallResult;
|
|
1306
|
+
};
|
|
1307
|
+
"copilotContent.convertToSymlink": {
|
|
1308
|
+
params: SkillRepoConvertToSymlinkParams;
|
|
1309
|
+
result: SkillRepoConvertToSymlinkResult;
|
|
1310
|
+
};
|
|
1311
|
+
"copilotContent.uninstall": {
|
|
1312
|
+
params: SkillRepoUninstallParams;
|
|
1313
|
+
result: SkillRepoUninstallResult;
|
|
1314
|
+
};
|
|
1315
|
+
"copilotContent.setEntryEnabled": {
|
|
1316
|
+
params: SkillRepoSetEntryEnabledParams;
|
|
1317
|
+
result: SkillRepoSetEntryEnabledResult;
|
|
1318
|
+
};
|
|
1319
|
+
"copilotContent.listLinked": {
|
|
1320
|
+
params: SkillRepoListLinkedParams;
|
|
1321
|
+
result: SkillRepoListLinkedResult;
|
|
1322
|
+
};
|
|
1323
|
+
"copilotContent.draft.create": {
|
|
1324
|
+
params: SkillRepoDraftCreateParams;
|
|
1325
|
+
result: SkillRepoDraftCreateResult;
|
|
1326
|
+
};
|
|
1327
|
+
"copilotContent.draft.commit": {
|
|
1328
|
+
params: SkillRepoDraftCommitParams;
|
|
1329
|
+
result: SkillRepoDraftCommitResult;
|
|
1330
|
+
};
|
|
1331
|
+
"copilotContent.draft.list": {
|
|
1332
|
+
params: SkillRepoDraftListParams;
|
|
1333
|
+
result: SkillRepoDraftListResult;
|
|
1334
|
+
};
|
|
1335
|
+
"copilotContent.draft.delete": {
|
|
1336
|
+
params: SkillRepoDraftDeleteParams;
|
|
1337
|
+
result: SkillRepoDraftDeleteResult;
|
|
1338
|
+
};
|
|
1038
1339
|
"skillRepo.list": {
|
|
1039
1340
|
params: SkillRepoListParams;
|
|
1040
1341
|
result: SkillRepoListResult;
|
|
@@ -1055,6 +1356,10 @@ interface BridgeMethodMap {
|
|
|
1055
1356
|
params: SkillRepoUninstallParams;
|
|
1056
1357
|
result: SkillRepoUninstallResult;
|
|
1057
1358
|
};
|
|
1359
|
+
"skillRepo.setEntryEnabled": {
|
|
1360
|
+
params: SkillRepoSetEntryEnabledParams;
|
|
1361
|
+
result: SkillRepoSetEntryEnabledResult;
|
|
1362
|
+
};
|
|
1058
1363
|
"skillRepo.listLinked": {
|
|
1059
1364
|
params: SkillRepoListLinkedParams;
|
|
1060
1365
|
result: SkillRepoListLinkedResult;
|
|
@@ -1107,6 +1412,82 @@ interface BridgeMethodMap {
|
|
|
1107
1412
|
params: RepoSyncAllParams;
|
|
1108
1413
|
result: RepoSyncAllResult;
|
|
1109
1414
|
};
|
|
1415
|
+
"repo.resetParseCache": {
|
|
1416
|
+
params: RepoResetParseCacheParams;
|
|
1417
|
+
result: RepoResetParseCacheResult;
|
|
1418
|
+
};
|
|
1419
|
+
"copilotContent.status": {
|
|
1420
|
+
params: CopilotContentStatusParams;
|
|
1421
|
+
result: CopilotContentStatusResult;
|
|
1422
|
+
};
|
|
1423
|
+
"copilotContent.restore": {
|
|
1424
|
+
params: CopilotContentRestoreParams;
|
|
1425
|
+
result: CopilotContentRestoreResult;
|
|
1426
|
+
};
|
|
1427
|
+
"copilotContent.approve": {
|
|
1428
|
+
params: CopilotContentApproveParams;
|
|
1429
|
+
result: CopilotContentApproveResult;
|
|
1430
|
+
};
|
|
1431
|
+
"copilotContent.migrateLegacy": {
|
|
1432
|
+
params: CopilotContentMigrateLegacyParams;
|
|
1433
|
+
result: CopilotContentMigrateLegacyResult;
|
|
1434
|
+
};
|
|
1435
|
+
"copilotContent.integrationStatus": {
|
|
1436
|
+
params: CopilotContentIntegrationStatusParams;
|
|
1437
|
+
result: CopilotContentIntegrationStatusResult;
|
|
1438
|
+
};
|
|
1439
|
+
"copilotContent.customizations.list": {
|
|
1440
|
+
params: CopilotCustomizationsListParams;
|
|
1441
|
+
result: CopilotCustomizationsListResult;
|
|
1442
|
+
};
|
|
1443
|
+
"copilotPlugin.list": {
|
|
1444
|
+
params: CopilotPluginListParams;
|
|
1445
|
+
result: CopilotPluginListResult;
|
|
1446
|
+
};
|
|
1447
|
+
"copilotPlugin.register": {
|
|
1448
|
+
params: CopilotPluginRegisterParams;
|
|
1449
|
+
result: CopilotPluginRegisterResult;
|
|
1450
|
+
};
|
|
1451
|
+
"copilotPlugin.unregister": {
|
|
1452
|
+
params: CopilotPluginUnregisterParams;
|
|
1453
|
+
result: CopilotPluginUnregisterResult;
|
|
1454
|
+
};
|
|
1455
|
+
"copilotContent.package.install": {
|
|
1456
|
+
params: CopilotPackageInstallParams;
|
|
1457
|
+
result: CopilotPackageInstallResult;
|
|
1458
|
+
};
|
|
1459
|
+
"copilotContent.package.update": {
|
|
1460
|
+
params: CopilotPackageUpdateParams;
|
|
1461
|
+
result: CopilotPackageUpdateResult;
|
|
1462
|
+
};
|
|
1463
|
+
"copilotContent.package.uninstall": {
|
|
1464
|
+
params: CopilotPackageUninstallParams;
|
|
1465
|
+
result: CopilotPackageUninstallResult;
|
|
1466
|
+
};
|
|
1467
|
+
"copilotContent.package.move": {
|
|
1468
|
+
params: CopilotPackageMoveParams;
|
|
1469
|
+
result: CopilotPackageMoveResult;
|
|
1470
|
+
};
|
|
1471
|
+
"copilotContent.legacy.preview": {
|
|
1472
|
+
params: CopilotLegacyPreviewParams;
|
|
1473
|
+
result: CopilotLegacyPreviewResult;
|
|
1474
|
+
};
|
|
1475
|
+
"copilotContent.legacy.migrate": {
|
|
1476
|
+
params: CopilotLegacyMigrateParams;
|
|
1477
|
+
result: CopilotLegacyMigrateResult;
|
|
1478
|
+
};
|
|
1479
|
+
"copilotContent.sources.list": {
|
|
1480
|
+
params: CopilotSourceListParams;
|
|
1481
|
+
result: CopilotSourceListResult;
|
|
1482
|
+
};
|
|
1483
|
+
"copilotContent.sources.remove": {
|
|
1484
|
+
params: CopilotSourceRemoveParams;
|
|
1485
|
+
result: CopilotSourceRemoveResult;
|
|
1486
|
+
};
|
|
1487
|
+
"copilotContent.package.previewUpdate": {
|
|
1488
|
+
params: CopilotUpdatePreviewParams;
|
|
1489
|
+
result: CopilotUpdatePreviewResult;
|
|
1490
|
+
};
|
|
1110
1491
|
"auth.status": {
|
|
1111
1492
|
params: Record<string, never>;
|
|
1112
1493
|
result: AuthStatus;
|
|
@@ -1156,8 +1537,33 @@ interface BridgeMethodMap {
|
|
|
1156
1537
|
result: ToolboxUpdateResult;
|
|
1157
1538
|
};
|
|
1158
1539
|
}
|
|
1159
|
-
declare const BRIDGE_METHODS: readonly ["system.hello", "system.ping", "system.shutdown", "task.execute", "task.cancel", "task.list-running", "skillRepo.list", "skillRepo.get", "skillRepo.install", "skillRepo.convertToSymlink", "skillRepo.uninstall", "skillRepo.listLinked", "skillRepo.draft.create", "skillRepo.draft.commit", "skillRepo.draft.list", "skillRepo.draft.delete", "repo.list", "repo.add", "repo.remove", "repo.enable", "repo.disable", "repo.update", "repo.sync", "repo.syncAll", "auth.status", "auth.login", "auth.logout", "auth.whoami", "auth.switch", "device.status", "device.enroll", "device.rotate-secret", "toolbox.list", "toolbox.add", "toolbox.remove", "toolbox.update"];
|
|
1540
|
+
declare const BRIDGE_METHODS: readonly ["system.hello", "system.ping", "system.shutdown", "task.execute", "task.cancel", "task.list-running", "copilotContent.list", "copilotContent.get", "copilotContent.install", "copilotContent.convertToSymlink", "copilotContent.uninstall", "copilotContent.setEntryEnabled", "copilotContent.listLinked", "copilotContent.draft.create", "copilotContent.draft.commit", "copilotContent.draft.list", "copilotContent.draft.delete", "skillRepo.list", "skillRepo.get", "skillRepo.install", "skillRepo.convertToSymlink", "skillRepo.uninstall", "skillRepo.setEntryEnabled", "skillRepo.listLinked", "skillRepo.draft.create", "skillRepo.draft.commit", "skillRepo.draft.list", "skillRepo.draft.delete", "repo.list", "repo.add", "repo.remove", "repo.enable", "repo.disable", "repo.update", "repo.sync", "repo.syncAll", "repo.resetParseCache", "copilotContent.status", "copilotContent.restore", "copilotContent.approve", "copilotContent.migrateLegacy", "copilotContent.integrationStatus", "copilotContent.customizations.list", "copilotContent.package.install", "copilotContent.package.update", "copilotContent.package.uninstall", "copilotContent.package.move", "copilotPlugin.list", "copilotPlugin.register", "copilotPlugin.unregister", "copilotContent.legacy.preview", "copilotContent.legacy.migrate", "copilotContent.sources.list", "copilotContent.sources.remove", "copilotContent.package.previewUpdate", "auth.status", "auth.login", "auth.logout", "auth.whoami", "auth.switch", "device.status", "device.enroll", "device.rotate-secret", "toolbox.list", "toolbox.add", "toolbox.remove", "toolbox.update"];
|
|
1160
1541
|
type BridgeMethod = keyof BridgeMethodMap;
|
|
1542
|
+
/**
|
|
1543
|
+
* Legacy `skillRepo.*` → canonical `copilotContent.*` method aliases.
|
|
1544
|
+
* Both names stay wire-compatible during the migration window; new
|
|
1545
|
+
* callers must use the canonical names. Servers should dispatch both
|
|
1546
|
+
* spellings to the same handler and always answer with the method name
|
|
1547
|
+
* the request actually used.
|
|
1548
|
+
*/
|
|
1549
|
+
declare const COPILOT_CONTENT_METHOD_ALIASES: {
|
|
1550
|
+
readonly "skillRepo.list": "copilotContent.list";
|
|
1551
|
+
readonly "skillRepo.get": "copilotContent.get";
|
|
1552
|
+
readonly "skillRepo.install": "copilotContent.install";
|
|
1553
|
+
readonly "skillRepo.convertToSymlink": "copilotContent.convertToSymlink";
|
|
1554
|
+
readonly "skillRepo.uninstall": "copilotContent.uninstall";
|
|
1555
|
+
readonly "skillRepo.setEntryEnabled": "copilotContent.setEntryEnabled";
|
|
1556
|
+
readonly "skillRepo.listLinked": "copilotContent.listLinked";
|
|
1557
|
+
readonly "skillRepo.draft.create": "copilotContent.draft.create";
|
|
1558
|
+
readonly "skillRepo.draft.commit": "copilotContent.draft.commit";
|
|
1559
|
+
readonly "skillRepo.draft.list": "copilotContent.draft.list";
|
|
1560
|
+
readonly "skillRepo.draft.delete": "copilotContent.draft.delete";
|
|
1561
|
+
};
|
|
1562
|
+
/**
|
|
1563
|
+
* Normalize a legacy `skillRepo.*` method name to its canonical
|
|
1564
|
+
* `copilotContent.*` spelling. Unknown names pass through unchanged.
|
|
1565
|
+
*/
|
|
1566
|
+
declare function normalizeBridgeMethod(method: BridgeMethod): BridgeMethod;
|
|
1161
1567
|
type BridgeParams<M extends BridgeMethod> = BridgeMethodMap[M]["params"];
|
|
1162
1568
|
type BridgeResult<M extends BridgeMethod> = BridgeMethodMap[M]["result"];
|
|
1163
1569
|
interface BridgeEventMap {
|
|
@@ -1251,7 +1657,7 @@ declare const COPILOT_ERROR_CODES: {
|
|
|
1251
1657
|
readonly TIMEOUT: "copilot_timeout";
|
|
1252
1658
|
};
|
|
1253
1659
|
|
|
1254
|
-
declare const KNOWN_ENVIRONMENT_TOOLS: readonly ["git", "node", "npm", "pnpm", "nvm", "nrm", "rtk", "codegraph", "dotnet", "nuget"];
|
|
1660
|
+
declare const KNOWN_ENVIRONMENT_TOOLS: readonly ["git", "node", "npm", "pnpm", "nvm", "nrm", "rtk", "codegraph", "ocx", "dotnet", "nuget"];
|
|
1255
1661
|
type KnownEnvironmentTool = (typeof KNOWN_ENVIRONMENT_TOOLS)[number];
|
|
1256
1662
|
interface ToolCheckResult {
|
|
1257
1663
|
installed: boolean;
|
|
@@ -1309,6 +1715,7 @@ interface JsonValidationResult {
|
|
|
1309
1715
|
error?: string;
|
|
1310
1716
|
}
|
|
1311
1717
|
declare const DEFAULT_JSON_SORT_OPTIONS: JsonSortOptions;
|
|
1718
|
+
declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
1312
1719
|
declare function isJsonSortAlgorithm(value: unknown): value is JsonSortAlgorithm;
|
|
1313
1720
|
declare function isJsonSortOrder(value: unknown): value is JsonSortOrder;
|
|
1314
1721
|
declare function isJsonSortOptions(value: unknown): value is JsonSortOptions;
|
|
@@ -1415,7 +1822,7 @@ interface LocalPublishableAgent {
|
|
|
1415
1822
|
}
|
|
1416
1823
|
|
|
1417
1824
|
declare const SERVICEME_CLI_NAME = "serviceme";
|
|
1418
|
-
declare const SERVICEME_CLI_VERSION = "0.
|
|
1825
|
+
declare const SERVICEME_CLI_VERSION = "2.0.0";
|
|
1419
1826
|
declare const SERVICEME_CLI_CAPABILITIES: {
|
|
1420
1827
|
readonly bridge: true;
|
|
1421
1828
|
readonly tasks: 1;
|
|
@@ -1548,4 +1955,4 @@ declare function isSkillMutationResult(value: unknown): value is SkillMutationRe
|
|
|
1548
1955
|
declare function isSkillReconcileResult(value: unknown): value is SkillReconcileResult;
|
|
1549
1956
|
declare function isSkillPublishableResult(value: unknown): value is SkillPublishableResult;
|
|
1550
1957
|
|
|
1551
|
-
export { AUTH_PROVIDERS, type AgentDownloadFile, type AgentMarketplaceEntry, type AgentMarketplaceState, type AgentMutationAction, type AgentMutationRequest, type AgentMutationResult, type AgentOwnerKind, type AgentPermissionsResult, type AgentScope, type AgentScopeState, type AgentScopeStatus, type AgentSessionStatus, type AuthAccountMeta, type AuthLoginParams, type AuthLoginResult, type AuthLogoutParams, type AuthLogoutResult, type AuthProvider, type AuthSessionHandle, type AuthStatus, type AuthStatusParams, type AuthSwitchParams, type AuthSwitchResult, type AuthTokenEnvelope, type AuthWhoamiResult, 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 BridgeSkillRepoDetail, type BridgeSuccessResponse, COPILOT_ERROR_CODES, type CliEnvelope, type CliFailure, type CliSuccess, type ConcurrencyPolicy, type CopilotDoctorResult, type CopilotPromptOptions, type CopilotPromptResult, DEFAULT_JSON_SORT_OPTIONS, DEVICE_BINDING_STATES, type DeviceBindingState, type DeviceEnrollParams, type DeviceEnrollResult, type DeviceIdentityState, type DeviceMetadata, type DeviceRotateSecretParams, type DeviceRotateSecretResult, type DeviceSecret, type DeviceStatus, type DeviceStatusParams, type EnvironmentCheckResult, type ExternalTool, type ExternalToolPatch, 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 MigratedTask, type PublishableSkillEntry, type RepoAddParams, type RepoAddResult, type RepoDisableParams, type RepoDisableResult, type RepoEnableParams, type RepoEnableResult, type RepoListParams, type RepoListResult, type RepoRemoveParams, type RepoRemoveResult, type RepoSyncAllParams, type RepoSyncAllResult, type RepoSyncParams, type RepoSyncResult, type RepoUpdateParams, type RepoUpdateResult, 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 ScheduledTasksConfigV1, type ScheduledTasksLogFile, type SchedulerStartResult, type SchedulerStatus, type SchedulerStopResult, type SecretToken, 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 SkillDownloadFile, type SkillMarketplaceEntry, type SkillMarketplaceState, type SkillMutationAction, type SkillMutationRequest, type SkillMutationResult, type SkillOwnerKind, type SkillPublishableResult, type SkillReconcileResult, type SkillRepoConvertToSymlinkParams, type SkillRepoConvertToSymlinkResult, type SkillRepoDraftCommitParams, type SkillRepoDraftCommitResult, type SkillRepoDraftCreateParams, type SkillRepoDraftCreateResult, type SkillRepoDraftDeleteParams, type SkillRepoDraftDeleteResult, type SkillRepoDraftListParams, type SkillRepoDraftListResult, type SkillRepoGetParams, type SkillRepoGetResult, type SkillRepoInstallParams, type SkillRepoInstallResult, type SkillRepoListLinkedParams, type SkillRepoListLinkedResult, type SkillRepoListParams, type SkillRepoListResult, type SkillRepoUninstallParams, type SkillRepoUninstallResult, type SkillScope, type SkillScopeState, type SkillScopeStatus, type SubmitToOfficialPayload, type SubmitToOfficialResult, type SupportedBridgeProtocolVersion, TOOLBOX_SCOPES, type TaskCancelResult, type TaskCancelledEventParams, type TaskCompletedEventParams, type TaskExecuteResult, type TaskExecutionSnapshot, type TaskFailedEventParams, type TaskListRunningResult, type TaskOutputEventParams, type TaskStartedEventParams, type TaskTriggerType, type ToolCheckResult, type ToolboxAddParams, type ToolboxAddResult, type ToolboxList, type ToolboxListParams, type ToolboxListResult, type ToolboxRemoveParams, type ToolboxRemoveResult, type ToolboxScope, type ToolboxUpdateParams, type ToolboxUpdateResult, type UploadAgentPayload, type UploadFile, type UploadSkillPayload, createCliFailure, createCliSuccess, createServicemeError, getBridgeEventParamsValidator, getBridgeResultValidator, isAgentMarketplaceState, isAgentMutationRequest, isAgentMutationResult, isAgentPermissionSummary, isAgentPermissionsResult, isAgentSessionStatus, isAuthAccountMeta, isAuthLoginParams, isAuthLoginResult, isAuthLogoutParams, isAuthLogoutResult, isAuthProvider, isAuthSessionHandle, isAuthStatus, isAuthSwitchParams, isAuthSwitchResult, isAuthWhoamiResult, isBridgeCapabilities, isBridgeEvent, isBridgeEventName, isBridgeMethod, isBridgeRequest, isBridgeResponse, isCliEnvelope, isDeviceBindingState, isDeviceEnrollParams, isDeviceEnrollResult, isDeviceIdentityState, isDeviceMetadata, isDeviceRotateSecretParams, isDeviceRotateSecretResult, isDeviceStatus, isEnvironmentCheckResult, isExternalTool, isExternalToolPatch, isJsonOutputResult, isJsonSortAlgorithm, isJsonSortOptions, isJsonSortOrder, isJsonValidationResult, isKnownEnvironmentTool, isRepoAddParams, isRepoAddResult, isRepoDisableParams, isRepoDisableResult, isRepoEnableParams, isRepoEnableResult, isRepoListParams, isRepoListResult, isRepoRemoveParams, isRepoRemoveResult, isRepoSyncAllParams, isRepoSyncAllResult, isRepoSyncParams, isRepoSyncResult, isRepoUpdateResult, isRetryableErrorCode, isScheduledTask, isScheduledTaskType, isScheduledTaskV1, isScheduledTasksConfig, isScheduledTasksConfigV1, isSchedulerStatus, isServiceMeImageCompressOptions, isServiceMeImageCompressResult, isServiceMeImageFormat, isServiceMeImageInfo, isServiceMeImageValidationResult, isServiceMeProjectExtractTemplateInput, isServiceMeProjectExtractTemplateResult, isServiceMeProjectGitInitResult, isServiceMeProjectInstallDepsResult, isServiceMeProjectMakeScriptsExecutableResult, isServiceMeProjectScaffoldPruneResult, isServicemeErrorCode, isServicemeErrorDetails, isSkillMarketplaceState, isSkillMutationRequest, isSkillMutationResult, isSkillPublishableResult, isSkillReconcileResult, isSkillRepoConvertToSymlinkParams, isSkillRepoConvertToSymlinkResult, isSkillRepoDraftCommitResult, isSkillRepoDraftCreateResult, isSkillRepoDraftDeleteResult, isSkillRepoDraftListResult, isSkillRepoGetParams, isSkillRepoGetResult, isSkillRepoInstallParams, isSkillRepoInstallResult, isSkillRepoListLinkedParams, isSkillRepoListLinkedResult, isSkillRepoListParams, isSkillRepoListResult, isSkillRepoUninstallParams, isSkillRepoUninstallResult, isSystemHelloResult, isSystemPingResult, isSystemShutdownResult, isTaskCancelResult, isTaskCancelledEventParams, isTaskCompletedEventParams, isTaskExecuteResult, isTaskExecutionLog, isTaskFailedEventParams, isTaskListRunningResult, isTaskOutputEventParams, isTaskStartedEventParams, isTaskWorkspaceRef, isToolCheckResult, isToolboxAddParams, isToolboxAddResult, isToolboxList, isToolboxListParams, isToolboxRemoveParams, isToolboxRemoveResult, isToolboxScope, isToolboxUpdateParams, isToolboxUpdateResult, migrateTaskV1ToV2, migrateV1ToV2, normalizeServicemeError };
|
|
1958
|
+
export { AUTH_PROVIDERS, type AgentDownloadFile, type AgentMarketplaceEntry, type AgentMarketplaceState, type AgentMutationAction, type AgentMutationRequest, type AgentMutationResult, type AgentOwnerKind, type AgentPermissionsResult, type AgentScope, type AgentScopeState, type AgentScopeStatus, type AgentSessionStatus, type AuthAccountMeta, type AuthLoginParams, type AuthLoginResult, type AuthLogoutParams, type AuthLogoutResult, type AuthProvider, type AuthSessionHandle, type AuthStatus, type AuthStatusParams, type AuthSwitchParams, type AuthSwitchResult, type AuthTokenEnvelope, type AuthWhoamiResult, 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 BridgeSkillRepoDetail, type BridgeSuccessResponse, COPILOT_CONTENT_METHOD_ALIASES, COPILOT_ERROR_CODES, type CliEnvelope, type CliFailure, type CliSuccess, type ConcurrencyPolicy, type CopilotContentApproveParams, type CopilotContentApproveResult, type CopilotContentIntegrationKind, type CopilotContentIntegrationStatus, type CopilotContentIntegrationStatusParams, type CopilotContentIntegrationStatusResult, type CopilotContentMigrateLegacyParams, type CopilotContentMigrateLegacyResult, type CopilotContentRestoreParams, type CopilotContentRestoreResult, type CopilotContentStatus, type CopilotContentStatusParams, type CopilotContentStatusResult, type CopilotCustomizationsListParams, type CopilotCustomizationsListResult, type CopilotDoctorResult, type CopilotLegacyMigrateParams, type CopilotLegacyMigrateResult, type CopilotLegacyPreviewParams, type CopilotLegacyPreviewResult, type CopilotPackageInstallParams, type CopilotPackageInstallResult, type CopilotPackageMoveParams, type CopilotPackageMoveResult, type CopilotPackageUninstallParams, type CopilotPackageUninstallResult, type CopilotPackageUpdateParams, type CopilotPackageUpdateResult, type CopilotPluginListParams, type CopilotPluginListResult, type CopilotPluginRegisterParams, type CopilotPluginRegisterResult, type CopilotPluginRegistrationPayload, type CopilotPluginUnregisterParams, type CopilotPluginUnregisterResult, type CopilotPromptOptions, type CopilotPromptResult, type CopilotSourceListParams, type CopilotSourceListResult, type CopilotSourceRemoveParams, type CopilotSourceRemoveResult, type CopilotUpdatePreviewParams, type CopilotUpdatePreviewResult, DEFAULT_JSON_SORT_OPTIONS, DEVICE_BINDING_STATES, type DeviceBindingState, type DeviceEnrollParams, type DeviceEnrollResult, type DeviceIdentityState, type DeviceMetadata, type DeviceRotateSecretParams, type DeviceRotateSecretResult, type DeviceSecret, type DeviceStatus, type DeviceStatusParams, type EnvironmentCheckResult, type ExternalTool, type ExternalToolPatch, 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 MigratedTask, type PublishableSkillEntry, type RepoAddParams, type RepoAddResult, type RepoDisableParams, type RepoDisableResult, type RepoEnableParams, type RepoEnableResult, type RepoListParams, type RepoListResult, type RepoRemoveParams, type RepoRemoveResult, type RepoResetParseCacheParams, type RepoResetParseCacheResult, type RepoSyncAllParams, type RepoSyncAllResult, type RepoSyncParams, type RepoSyncResult, type RepoUpdateParams, type RepoUpdateResult, 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 ScheduledTasksConfigV1, type ScheduledTasksLogFile, type SchedulerStartResult, type SchedulerStatus, type SchedulerStopResult, type SecretToken, 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 SkillDownloadFile, type SkillMarketplaceEntry, type SkillMarketplaceState, type SkillMutationAction, type SkillMutationRequest, type SkillMutationResult, type SkillOwnerKind, type SkillPublishableResult, type SkillReconcileResult, type SkillRepoConvertToSymlinkParams, type SkillRepoConvertToSymlinkResult, type SkillRepoDraftCommitParams, type SkillRepoDraftCommitResult, type SkillRepoDraftCreateParams, type SkillRepoDraftCreateResult, type SkillRepoDraftDeleteParams, type SkillRepoDraftDeleteResult, type SkillRepoDraftListParams, type SkillRepoDraftListResult, type SkillRepoGetParams, type SkillRepoGetResult, type SkillRepoInstallParams, type SkillRepoInstallResult, type SkillRepoListLinkedParams, type SkillRepoListLinkedResult, type SkillRepoListParams, type SkillRepoListResult, type SkillRepoSetEntryEnabledParams, type SkillRepoSetEntryEnabledResult, type SkillRepoUninstallParams, type SkillRepoUninstallResult, type SkillScope, type SkillScopeState, type SkillScopeStatus, type SubmitToOfficialPayload, type SubmitToOfficialResult, type SupportedBridgeProtocolVersion, TOOLBOX_SCOPES, type TaskCancelResult, type TaskCancelledEventParams, type TaskCompletedEventParams, type TaskExecuteResult, type TaskExecutionSnapshot, type TaskFailedEventParams, type TaskListRunningResult, type TaskOutputEventParams, type TaskStartedEventParams, type TaskTriggerType, type ToolCheckResult, type ToolboxAddParams, type ToolboxAddResult, type ToolboxList, type ToolboxListParams, type ToolboxListResult, type ToolboxRemoveParams, type ToolboxRemoveResult, type ToolboxScope, type ToolboxUpdateParams, type ToolboxUpdateResult, type UploadAgentPayload, type UploadFile, type UploadSkillPayload, createCliFailure, createCliSuccess, createServicemeError, getBridgeEventParamsValidator, getBridgeResultValidator, isAgentMarketplaceState, isAgentMutationRequest, isAgentMutationResult, isAgentPermissionSummary, isAgentPermissionsResult, isAgentSessionStatus, isAuthAccountMeta, isAuthLoginParams, isAuthLoginResult, isAuthLogoutParams, isAuthLogoutResult, isAuthProvider, isAuthSessionHandle, isAuthStatus, isAuthSwitchParams, isAuthSwitchResult, isAuthWhoamiResult, isBridgeCapabilities, isBridgeEvent, isBridgeEventName, isBridgeMethod, isBridgeRequest, isBridgeResponse, isCliEnvelope, isCopilotContentApproveResult, isCopilotContentIntegrationStatusResult, isCopilotContentMigrateLegacyResult, isCopilotContentRestoreResult, isCopilotContentStatusResult, isCopilotCustomizationViewPayload, isCopilotCustomizationsListParams, isCopilotCustomizationsListResult, isCopilotLegacyMigrateParams, isCopilotLegacyMigrateResult, isCopilotLegacyPreviewParams, isCopilotLegacyPreviewResult, isCopilotPackageInstallParams, isCopilotPackageInstallResult, isCopilotPackageMoveParams, isCopilotPackageMoveResult, isCopilotPackageUninstallParams, isCopilotPackageUninstallResult, isCopilotPackageUpdateParams, isCopilotPackageUpdateResult, isCopilotPluginListParams, isCopilotPluginListResult, isCopilotPluginRegisterParams, isCopilotPluginRegisterResult, isCopilotPluginUnregisterParams, isCopilotPluginUnregisterResult, isCopilotSourceListParams, isCopilotSourceListResult, isCopilotSourceRemoveParams, isCopilotSourceRemoveResult, isCopilotUpdatePreviewParams, isCopilotUpdatePreviewResult, isDeviceBindingState, isDeviceEnrollParams, isDeviceEnrollResult, isDeviceIdentityState, isDeviceMetadata, isDeviceRotateSecretParams, isDeviceRotateSecretResult, isDeviceStatus, isEnvironmentCheckResult, isExternalTool, isExternalToolPatch, isJsonOutputResult, isJsonSortAlgorithm, isJsonSortOptions, isJsonSortOrder, isJsonValidationResult, isKnownEnvironmentTool, isRecord, isRepoAddParams, isRepoAddResult, isRepoDisableParams, isRepoDisableResult, isRepoEnableParams, isRepoEnableResult, isRepoListParams, isRepoListResult, isRepoRemoveParams, isRepoRemoveResult, isRepoSyncAllParams, isRepoSyncAllResult, isRepoSyncParams, isRepoSyncResult, isRepoUpdateResult, isRetryableErrorCode, isScheduledTask, isScheduledTaskType, isScheduledTaskV1, isScheduledTasksConfig, isScheduledTasksConfigV1, isSchedulerStatus, isServiceMeImageCompressOptions, isServiceMeImageCompressResult, isServiceMeImageFormat, isServiceMeImageInfo, isServiceMeImageValidationResult, isServiceMeProjectExtractTemplateInput, isServiceMeProjectExtractTemplateResult, isServiceMeProjectGitInitResult, isServiceMeProjectInstallDepsResult, isServiceMeProjectMakeScriptsExecutableResult, isServiceMeProjectScaffoldPruneResult, isServicemeErrorCode, isServicemeErrorDetails, isSkillMarketplaceState, isSkillMutationRequest, isSkillMutationResult, isSkillPublishableResult, isSkillReconcileResult, isSkillRepoConvertToSymlinkParams, isSkillRepoConvertToSymlinkResult, isSkillRepoDraftCommitResult, isSkillRepoDraftCreateResult, isSkillRepoDraftDeleteResult, isSkillRepoDraftListResult, isSkillRepoGetParams, isSkillRepoGetResult, isSkillRepoInstallParams, isSkillRepoInstallResult, isSkillRepoListLinkedParams, isSkillRepoListLinkedResult, isSkillRepoListParams, isSkillRepoListResult, isSkillRepoSetEntryEnabledParams, isSkillRepoSetEntryEnabledResult, isSkillRepoUninstallParams, isSkillRepoUninstallResult, isSystemHelloResult, isSystemPingResult, isSystemShutdownResult, isTaskCancelResult, isTaskCancelledEventParams, isTaskCompletedEventParams, isTaskExecuteResult, isTaskExecutionLog, isTaskFailedEventParams, isTaskListRunningResult, isTaskOutputEventParams, isTaskStartedEventParams, isTaskWorkspaceRef, isToolCheckResult, isToolboxAddParams, isToolboxAddResult, isToolboxList, isToolboxListParams, isToolboxRemoveParams, isToolboxRemoveResult, isToolboxScope, isToolboxUpdateParams, isToolboxUpdateResult, migrateTaskV1ToV2, migrateV1ToV2, normalizeBridgeMethod, normalizeServicemeError };
|