@xenosystem/agent-sdk 0.9.29 → 0.9.30
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/artifacts/index.cjs +1 -1
- package/dist/artifacts/index.js +1 -1
- package/dist/automation/index.cjs +1 -1
- package/dist/automation/index.js +1 -1
- package/dist/control-plane/index.cjs +1 -1
- package/dist/control-plane/index.js +1 -1
- package/dist/electron/index.cjs +196 -152
- package/dist/electron/index.d.cts +4 -0
- package/dist/electron/index.d.ts +4 -0
- package/dist/electron/index.js +196 -152
- package/dist/electron/metafile-cjs.json +1 -1
- package/dist/electron/metafile-esm.json +1 -1
- package/dist/hosted/index.cjs +1 -1
- package/dist/hosted/index.js +1 -1
- package/dist/hosted/metafile-cjs.json +1 -1
- package/dist/hosted/metafile-esm.json +1 -1
- package/dist/index.cjs +372 -372
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +372 -372
- package/dist/mcp/metafile-cjs.json +1 -1
- package/dist/mcp/metafile-esm.json +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/session/index.cjs +16 -16
- package/dist/session/index.d.cts +12 -0
- package/dist/session/index.d.ts +12 -0
- package/dist/session/index.js +21 -21
- package/dist/session/metafile-cjs.json +1 -1
- package/dist/session/metafile-esm.json +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -622,6 +622,8 @@ interface SessionMeta {
|
|
|
622
622
|
};
|
|
623
623
|
formatVersion?: number;
|
|
624
624
|
hostBinding?: AgentSessionHostBindingV1;
|
|
625
|
+
pinned?: boolean;
|
|
626
|
+
pinnedAt?: string;
|
|
625
627
|
}
|
|
626
628
|
type TranscriptEventType = "session_start" | "user_message" | "assistant_message" | "tool_call" | "tool_result" | "delegation_summary" | "checkpoint" | "context_compressed" | "session_end" | "error";
|
|
627
629
|
interface SessionStartData {
|
|
@@ -630,6 +632,8 @@ interface SessionStartData {
|
|
|
630
632
|
model: string;
|
|
631
633
|
workingDirectory: string;
|
|
632
634
|
formatVersion?: number;
|
|
635
|
+
forkedFrom?: string;
|
|
636
|
+
checkpointId?: string;
|
|
633
637
|
}
|
|
634
638
|
interface ToolCallData {
|
|
635
639
|
toolName: string;
|
|
@@ -10506,12 +10510,20 @@ declare class SessionLock {
|
|
|
10506
10510
|
static cleanStale(sessionsDir: string): Promise<string[]>;
|
|
10507
10511
|
}
|
|
10508
10512
|
declare class SessionRegistry {
|
|
10513
|
+
static fork(sessionId: string, options?: {
|
|
10514
|
+
checkpointId?: string;
|
|
10515
|
+
name?: string;
|
|
10516
|
+
}): Promise<SessionMeta>;
|
|
10517
|
+
static setTitle(sessionId: string, title: string | null): Promise<SessionMeta>;
|
|
10518
|
+
static setPinned(sessionId: string, pinned: boolean): Promise<SessionMeta>;
|
|
10519
|
+
static setArchived(sessionId: string, archived: boolean): Promise<SessionMeta>;
|
|
10509
10520
|
static getSessionsDir(): string;
|
|
10510
10521
|
static list(options?: {
|
|
10511
10522
|
status?: SessionStatus[];
|
|
10512
10523
|
role?: string;
|
|
10513
10524
|
workingDirectory?: string;
|
|
10514
10525
|
limit?: number;
|
|
10526
|
+
includeArchived?: boolean;
|
|
10515
10527
|
}): Promise<SessionMeta[]>;
|
|
10516
10528
|
static find(sessionId: string): Promise<SessionMeta | null>;
|
|
10517
10529
|
static findMostRecent(roleOrOptions?: string | {
|
package/dist/index.d.ts
CHANGED
|
@@ -622,6 +622,8 @@ interface SessionMeta {
|
|
|
622
622
|
};
|
|
623
623
|
formatVersion?: number;
|
|
624
624
|
hostBinding?: AgentSessionHostBindingV1;
|
|
625
|
+
pinned?: boolean;
|
|
626
|
+
pinnedAt?: string;
|
|
625
627
|
}
|
|
626
628
|
type TranscriptEventType = "session_start" | "user_message" | "assistant_message" | "tool_call" | "tool_result" | "delegation_summary" | "checkpoint" | "context_compressed" | "session_end" | "error";
|
|
627
629
|
interface SessionStartData {
|
|
@@ -630,6 +632,8 @@ interface SessionStartData {
|
|
|
630
632
|
model: string;
|
|
631
633
|
workingDirectory: string;
|
|
632
634
|
formatVersion?: number;
|
|
635
|
+
forkedFrom?: string;
|
|
636
|
+
checkpointId?: string;
|
|
633
637
|
}
|
|
634
638
|
interface ToolCallData {
|
|
635
639
|
toolName: string;
|
|
@@ -10506,12 +10510,20 @@ declare class SessionLock {
|
|
|
10506
10510
|
static cleanStale(sessionsDir: string): Promise<string[]>;
|
|
10507
10511
|
}
|
|
10508
10512
|
declare class SessionRegistry {
|
|
10513
|
+
static fork(sessionId: string, options?: {
|
|
10514
|
+
checkpointId?: string;
|
|
10515
|
+
name?: string;
|
|
10516
|
+
}): Promise<SessionMeta>;
|
|
10517
|
+
static setTitle(sessionId: string, title: string | null): Promise<SessionMeta>;
|
|
10518
|
+
static setPinned(sessionId: string, pinned: boolean): Promise<SessionMeta>;
|
|
10519
|
+
static setArchived(sessionId: string, archived: boolean): Promise<SessionMeta>;
|
|
10509
10520
|
static getSessionsDir(): string;
|
|
10510
10521
|
static list(options?: {
|
|
10511
10522
|
status?: SessionStatus[];
|
|
10512
10523
|
role?: string;
|
|
10513
10524
|
workingDirectory?: string;
|
|
10514
10525
|
limit?: number;
|
|
10526
|
+
includeArchived?: boolean;
|
|
10515
10527
|
}): Promise<SessionMeta[]>;
|
|
10516
10528
|
static find(sessionId: string): Promise<SessionMeta | null>;
|
|
10517
10529
|
static findMostRecent(roleOrOptions?: string | {
|