@serviceme/devtools-protocol 0.4.4 → 0.4.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 +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- 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/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/shared';
|
|
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';
|
|
3
3
|
|
|
4
4
|
type AgentScope = "workspace" | "user";
|
|
5
5
|
type AgentOwnerKind = "builtin" | "external";
|
|
@@ -117,7 +117,7 @@ type DeviceSecret = string & {
|
|
|
117
117
|
* Auth protocol — Phase 5.1 cross-process contract.
|
|
118
118
|
*
|
|
119
119
|
* Per ADL-003 these pure data models live in `@serviceme/devtools-protocol`,
|
|
120
|
-
* NOT `@serviceme/shared`. Per ADL-004 the auth token byte string **never**
|
|
120
|
+
* NOT `@serviceme/devtools-shared`. Per ADL-004 the auth token byte string **never**
|
|
121
121
|
* crosses the bridge or any protocol payload — it lives only in OS keychain
|
|
122
122
|
* (CLI) or VSCode SecretStorage (Extension). `SecretToken` is a TypeScript
|
|
123
123
|
* phantom brand used purely as a static-typing guarantee against accidental
|
|
@@ -559,7 +559,7 @@ declare function isRepoSyncAllParams(value: unknown): value is RepoSyncAllParams
|
|
|
559
559
|
* Device protocol — Phase 5.1 cross-process contract.
|
|
560
560
|
*
|
|
561
561
|
* Per ADL-003 these pure data models live in `@serviceme/devtools-protocol`,
|
|
562
|
-
* NOT `@serviceme/shared`. Per `2.需求澄清.md` §1.2 the binding-state
|
|
562
|
+
* NOT `@serviceme/devtools-shared`. Per `2.需求澄清.md` §1.2 the binding-state
|
|
563
563
|
* machine is `anonymous → pending → claimed → expired` and `rotate-secret`
|
|
564
564
|
* keeps the old HMAC secret for a 7-day grace window for in-flight
|
|
565
565
|
* requests. HMAC secret bytes **never** cross the bridge — only
|
|
@@ -866,7 +866,7 @@ declare function migrateV1ToV2(v1Config: ScheduledTasksConfigV1, workspace: Task
|
|
|
866
866
|
* Toolbox protocol — Phase 5.1 cross-process contract.
|
|
867
867
|
*
|
|
868
868
|
* Per ADL-003 + `2.需求澄清.md` §2.1 these pure data models live in
|
|
869
|
-
* `@serviceme/devtools-protocol`, NOT `@serviceme/shared`. Toolbox scope
|
|
869
|
+
* `@serviceme/devtools-protocol`, NOT `@serviceme/devtools-shared`. Toolbox scope
|
|
870
870
|
* is preserved (both `user` and `workspace` accepted); see
|
|
871
871
|
* `~/.config/serviceme/toolbox.json` + `.github/.serviceme-toolbox.json`
|
|
872
872
|
* for the persistence layout.
|
|
@@ -1415,7 +1415,7 @@ interface LocalPublishableAgent {
|
|
|
1415
1415
|
}
|
|
1416
1416
|
|
|
1417
1417
|
declare const SERVICEME_CLI_NAME = "serviceme";
|
|
1418
|
-
declare const SERVICEME_CLI_VERSION = "0.4.
|
|
1418
|
+
declare const SERVICEME_CLI_VERSION = "0.4.5";
|
|
1419
1419
|
declare const SERVICEME_CLI_CAPABILITIES: {
|
|
1420
1420
|
readonly bridge: true;
|
|
1421
1421
|
readonly tasks: 1;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AgentPermissionSummary, BridgeSkillKind, BridgeSkillRepoEntry, BridgeSkillRepoFile, BridgeLinkMode, BridgeLinkedSkill, BridgeRepoEntry, BridgeRepoSyncPull, TaskExecutionLog, ScheduledTaskType, TaskPayload, ScheduledTask, ScheduledTaskV1, ScheduledTasksConfig, TaskWorkspaceRef } from '@serviceme/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/shared';
|
|
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';
|
|
3
3
|
|
|
4
4
|
type AgentScope = "workspace" | "user";
|
|
5
5
|
type AgentOwnerKind = "builtin" | "external";
|
|
@@ -117,7 +117,7 @@ type DeviceSecret = string & {
|
|
|
117
117
|
* Auth protocol — Phase 5.1 cross-process contract.
|
|
118
118
|
*
|
|
119
119
|
* Per ADL-003 these pure data models live in `@serviceme/devtools-protocol`,
|
|
120
|
-
* NOT `@serviceme/shared`. Per ADL-004 the auth token byte string **never**
|
|
120
|
+
* NOT `@serviceme/devtools-shared`. Per ADL-004 the auth token byte string **never**
|
|
121
121
|
* crosses the bridge or any protocol payload — it lives only in OS keychain
|
|
122
122
|
* (CLI) or VSCode SecretStorage (Extension). `SecretToken` is a TypeScript
|
|
123
123
|
* phantom brand used purely as a static-typing guarantee against accidental
|
|
@@ -559,7 +559,7 @@ declare function isRepoSyncAllParams(value: unknown): value is RepoSyncAllParams
|
|
|
559
559
|
* Device protocol — Phase 5.1 cross-process contract.
|
|
560
560
|
*
|
|
561
561
|
* Per ADL-003 these pure data models live in `@serviceme/devtools-protocol`,
|
|
562
|
-
* NOT `@serviceme/shared`. Per `2.需求澄清.md` §1.2 the binding-state
|
|
562
|
+
* NOT `@serviceme/devtools-shared`. Per `2.需求澄清.md` §1.2 the binding-state
|
|
563
563
|
* machine is `anonymous → pending → claimed → expired` and `rotate-secret`
|
|
564
564
|
* keeps the old HMAC secret for a 7-day grace window for in-flight
|
|
565
565
|
* requests. HMAC secret bytes **never** cross the bridge — only
|
|
@@ -866,7 +866,7 @@ declare function migrateV1ToV2(v1Config: ScheduledTasksConfigV1, workspace: Task
|
|
|
866
866
|
* Toolbox protocol — Phase 5.1 cross-process contract.
|
|
867
867
|
*
|
|
868
868
|
* Per ADL-003 + `2.需求澄清.md` §2.1 these pure data models live in
|
|
869
|
-
* `@serviceme/devtools-protocol`, NOT `@serviceme/shared`. Toolbox scope
|
|
869
|
+
* `@serviceme/devtools-protocol`, NOT `@serviceme/devtools-shared`. Toolbox scope
|
|
870
870
|
* is preserved (both `user` and `workspace` accepted); see
|
|
871
871
|
* `~/.config/serviceme/toolbox.json` + `.github/.serviceme-toolbox.json`
|
|
872
872
|
* for the persistence layout.
|
|
@@ -1415,7 +1415,7 @@ interface LocalPublishableAgent {
|
|
|
1415
1415
|
}
|
|
1416
1416
|
|
|
1417
1417
|
declare const SERVICEME_CLI_NAME = "serviceme";
|
|
1418
|
-
declare const SERVICEME_CLI_VERSION = "0.4.
|
|
1418
|
+
declare const SERVICEME_CLI_VERSION = "0.4.5";
|
|
1419
1419
|
declare const SERVICEME_CLI_CAPABILITIES: {
|
|
1420
1420
|
readonly bridge: true;
|
|
1421
1421
|
readonly tasks: 1;
|
package/dist/index.js
CHANGED
|
@@ -1275,7 +1275,7 @@ function isJsonOutputResult(value) {
|
|
|
1275
1275
|
|
|
1276
1276
|
// src/metadata.ts
|
|
1277
1277
|
var SERVICEME_CLI_NAME = "serviceme";
|
|
1278
|
-
var SERVICEME_CLI_VERSION = "0.4.
|
|
1278
|
+
var SERVICEME_CLI_VERSION = "0.4.5";
|
|
1279
1279
|
var SERVICEME_CLI_CAPABILITIES = {
|
|
1280
1280
|
bridge: true,
|
|
1281
1281
|
tasks: 1,
|
package/dist/index.mjs
CHANGED
|
@@ -1104,7 +1104,7 @@ function isJsonOutputResult(value) {
|
|
|
1104
1104
|
|
|
1105
1105
|
// src/metadata.ts
|
|
1106
1106
|
var SERVICEME_CLI_NAME = "serviceme";
|
|
1107
|
-
var SERVICEME_CLI_VERSION = "0.4.
|
|
1107
|
+
var SERVICEME_CLI_VERSION = "0.4.5";
|
|
1108
1108
|
var SERVICEME_CLI_CAPABILITIES = {
|
|
1109
1109
|
bridge: true,
|
|
1110
1110
|
tasks: 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serviceme/devtools-protocol",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "Shared protocol contracts, runtime validators, and error models for SERVICEME tools.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"registry": "https://registry.npmjs.org/"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@serviceme/shared": "0.
|
|
36
|
+
"@serviceme/devtools-shared": "0.4.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^24",
|