@peer-agent/protocol 0.1.0-beta.1 → 0.1.0-beta.2

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.
@@ -18,6 +18,7 @@ export interface DelegationOrigin {
18
18
  }
19
19
  export interface WorkSessionConversationMeta {
20
20
  readonly sessionId?: string;
21
+ readonly conversationId?: string;
21
22
  readonly workspaceId: string;
22
23
  readonly spawnedAt?: string;
23
24
  readonly origin: DelegationOrigin;
@@ -38,6 +39,7 @@ export interface WorkSession {
38
39
  readonly statusLabel: string;
39
40
  readonly needsYouReason?: TaskOverviewItem['needsYouReason'];
40
41
  readonly spawnedAt: string;
42
+ readonly conversationId?: string;
41
43
  readonly origin: DelegationOrigin;
42
44
  readonly supersededBy?: string;
43
45
  }
@@ -88,6 +88,7 @@ export function projectWorkSession(plan, conversationMeta) {
88
88
  statusLabel: projected.statusLabel,
89
89
  ...(projected.needsYouReason ? { needsYouReason: projected.needsYouReason } : {}),
90
90
  spawnedAt: conversationMeta.spawnedAt ?? plan.updatedAt ?? '',
91
+ ...(conversationMeta.conversationId ? { conversationId: conversationMeta.conversationId } : {}),
91
92
  origin: conversationMeta.origin,
92
93
  ...(conversationMeta.supersededBy ? { supersededBy: conversationMeta.supersededBy } : {}),
93
94
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peer-agent/protocol",
3
- "version": "0.1.0-beta.1",
3
+ "version": "0.1.0-beta.2",
4
4
  "description": "Shared host-neutral protocol contracts for Peer Agent runtimes and clients.",
5
5
  "type": "module",
6
6
  "license": "MIT",