runtime: make worker console observation required
This commit is contained in:
@@ -70,11 +70,6 @@ Deno.test("Worker Console page is routed by runtime_id and worker_id through bac
|
||||
!consolePage.includes("/api/companion"),
|
||||
"Console page must not use Companion-specific APIs",
|
||||
);
|
||||
assert(
|
||||
consolePage.includes("streaming observation is not available") ||
|
||||
consolePage.includes("Streaming observation is not available"),
|
||||
"Console should show an explicit non-streaming degradation path",
|
||||
);
|
||||
assert(
|
||||
consolePage.includes("function advanceReloadToken()") &&
|
||||
consolePage.includes("nextReloadToken += 1") &&
|
||||
|
||||
@@ -35,8 +35,6 @@ export type RuntimeCapabilities = {
|
||||
can_spawn_worker: boolean;
|
||||
can_stop_worker: boolean;
|
||||
can_accept_input: boolean;
|
||||
can_stream_events: boolean;
|
||||
can_read_bounded_transcript: boolean;
|
||||
has_workspace_fs: boolean;
|
||||
has_shell: boolean;
|
||||
has_git: boolean;
|
||||
@@ -72,10 +70,8 @@ export type Host = {
|
||||
|
||||
export type WorkerCapabilities = {
|
||||
can_accept_input: boolean;
|
||||
can_stream_events: boolean;
|
||||
can_stop: boolean;
|
||||
can_spawn_followup: boolean;
|
||||
can_read_bounded_transcript: boolean;
|
||||
};
|
||||
|
||||
export type Worker = {
|
||||
|
||||
Reference in New Issue
Block a user