@peer-agent/protocol 0.0.1-beta.43 → 0.0.1-beta.44

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +11 -0
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -47,13 +47,24 @@ export interface CapabilityManifest {
47
47
  */
48
48
  readonly providerLabel?: string;
49
49
  }
50
+ export type SkillScope = 'global' | 'workspace';
50
51
  export interface SkillSummary {
51
52
  readonly skillId: string;
52
53
  readonly name: string;
53
54
  readonly description: string;
55
+ /** Layer 2 清单 reminder 的发现性提示;可为空字符串。 */
56
+ readonly whenToUse: string;
54
57
  readonly version: string;
55
58
  readonly dataLevel: DataLevel;
56
59
  readonly enabled: boolean;
60
+ /** Skill 的安装范围;workspace Skill 只属于对应工作空间。 */
61
+ readonly scope: SkillScope;
62
+ /** scope=workspace 时对应的工作空间绝对路径。 */
63
+ readonly workspacePath?: string | null;
64
+ }
65
+ export interface SkillDetail extends SkillSummary {
66
+ readonly instructions: string;
67
+ readonly sourcePath: string;
57
68
  }
58
69
  /**
59
70
  * 可从外部「借用来源」(如 a1 公共 skill 仓 ~/.agents/skills)借用的技能条目。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peer-agent/protocol",
3
- "version": "0.0.1-beta.43",
3
+ "version": "0.0.1-beta.44",
4
4
  "description": "Shared host-neutral protocol contracts for Peer Agent runtimes and clients.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -10,12 +10,12 @@
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "git+https://github.com/yinLiangDream/Peer-Agent.git",
13
+ "url": "git+https://github.com/ly-ccx/Peer-Agent.git",
14
14
  "directory": "packages/protocol"
15
15
  },
16
- "homepage": "https://github.com/yinLiangDream/Peer-Agent#readme",
16
+ "homepage": "https://github.com/ly-ccx/Peer-Agent#readme",
17
17
  "bugs": {
18
- "url": "https://github.com/yinLiangDream/Peer-Agent/issues"
18
+ "url": "https://github.com/ly-ccx/Peer-Agent/issues"
19
19
  },
20
20
  "publishConfig": {
21
21
  "access": "public"