@workerdeck/server 3.5.0 → 3.6.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.
package/build/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { IncomingMessage, Server, ServerResponse } from "node:http";
2
2
  import { AttachmentInput, BridgeAnswer, BrowserBridgeExecutor, ClaudeAuthProbe, CostLedgerState, EngineAdapter, EngineSessionOptions, HostToolDefinition, LanguageModel, LocalShellSource, McpConnection, ParkedExecution, Runner, RunnerSnapshot, SHELL_REFUSAL, SessionInstructions, SessionRunnerConfig, ShellDirectory, ToolExecutionCall, ToolExecutionResult, ToolExecutor, ToolSet } from "@workerdeck/core";
3
3
  import { JobQueue, QueueAdapter } from "@workerdeck/queue";
4
- import { AgentInfo, ByModel, CreateSessionRequest, JobEvent, MessageAttachment, ModelRate, PricingTable, ProfileEngine, ProfileInfo, ProfileSpend, ProfileUsage, ProviderConfig, SdkSessionSummary, ServerFrame, SessionCapability, SessionInfo, SessionNotification, SessionWebhookConfig, ShellEndReason, ShellInfo, ShellOwner } from "@workerdeck/protocol";
4
+ import { AgentInfo, ByModel, CreateSessionRequest, JobEvent, MessageAttachment, ModelRate, PricingTable, ProfileEngine, ProfileInfo, ProfileSpend, ProfileUsage, ProviderConfig, SdkSessionSummary, ServerFrame, SessionCapability, SessionInfo, SessionNotification, SessionWebhookConfig, ShellEndReason, ShellInfo, ShellOwner, StatusLabelInput } from "@workerdeck/protocol";
5
5
  import { RelayOp } from "@workerdeck/relay-client";
6
6
  //#region src/services/bridge.d.ts
7
7
  type BridgeHubOptions = {
@@ -144,6 +144,7 @@ declare class SessionParkManager {
144
144
  sessionFor(executionId: string): string | undefined;
145
145
  get(id: string): Promise<StoredSessionRecord | null>;
146
146
  retitle(id: string, title: string | undefined): Promise<SessionInfo | undefined>;
147
+ relabel(id: string, input: StatusLabelInput | null): Promise<SessionInfo | undefined | 'parked'>;
147
148
  listInfo(): Promise<SessionInfo[]>;
148
149
  ensureLive(id: string): Promise<Runner | undefined>;
149
150
  submitResult(executionId: string, result: ToolExecutionResult): Promise<{