@myagentroam/node 0.1.0 → 0.1.1

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.
@@ -27,6 +27,9 @@ export interface NodeAgentSession {
27
27
  readonly customTitle: string | null;
28
28
  readonly runnerTitle: string | null;
29
29
  readonly pinnedAt: number | null;
30
+ readonly pinOrder?: number | null;
31
+ /** False only for a local record absent from the current Runner discovery result. */
32
+ readonly externalDiscovered?: boolean;
30
33
  readonly titleSource: 'AUTO' | 'RUNNER' | 'CUSTOM';
31
34
  readonly lastActivityAt: number;
32
35
  readonly createdAt: number;
@@ -36,6 +39,7 @@ export interface NativeSessionMetadata {
36
39
  readonly runnerTitle: string | null;
37
40
  readonly runnerTitlePending: boolean;
38
41
  readonly pinnedAt: number | null;
42
+ readonly pinOrder: number | null;
39
43
  readonly model: string | null;
40
44
  readonly effort: string | null;
41
45
  readonly access: string | null;
@@ -204,6 +208,15 @@ export declare class NodeDatabase {
204
208
  readonly effort?: string | null;
205
209
  readonly access?: string | null;
206
210
  }): NativeSessionMetadata;
211
+ listSessionRecords(workspaceId: string): readonly {
212
+ readonly id: string;
213
+ readonly workspaceId: string;
214
+ readonly runner: RunnerName;
215
+ readonly pinOrder: number | null;
216
+ readonly metadata: NativeSessionMetadata;
217
+ }[];
218
+ movePinnedSession(sessionId: string, direction: 'up' | 'down'): void;
219
+ deleteSessionRecord(sessionId: string): boolean;
207
220
  /**
208
221
  * Replaces only transcript-derived, run-less history. Managed Run turns are
209
222
  * never touched by a vendor file scan.