diff --git a/apps/server/package.json b/apps/server/package.json index 9a616fc8bc..7c184c2d9f 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -20,12 +20,17 @@ "build:bundle": "tsdown", "record:codex-replay": "bun scripts/record-codex-app-server-replay-fixture.ts", "record:claude-replay": "bun scripts/record-claude-agent-sdk-replay-fixture.ts", + "record:cursor-replay": "node --env-file-if-exists=../../.env --experimental-strip-types scripts/record-cursor-agent-sdk-replay-fixture.ts", + "build:bundle": "vp pack", "start": "node dist/bin.mjs", "typecheck": "tsgo --noEmit", "test": "vp test run" }, "dependencies": { "@anthropic-ai/claude-agent-sdk": "^0.3.170", + "@connectrpc/connect": "1.7.0", + "@connectrpc/connect-node": "1.7.0", + "@cursor/sdk": "1.0.19", "@effect/platform-bun": "catalog:", "@effect/platform-node": "catalog:", "@effect/platform-node-shared": "catalog:", diff --git a/apps/server/scripts/record-cursor-agent-sdk-replay-fixture.ts b/apps/server/scripts/record-cursor-agent-sdk-replay-fixture.ts new file mode 100644 index 0000000000..95a97321c8 --- /dev/null +++ b/apps/server/scripts/record-cursor-agent-sdk-replay-fixture.ts @@ -0,0 +1,222 @@ +import * as NodeServices from "@effect/platform-node/NodeServices"; +import * as Console from "effect/Console"; +import * as Effect from "effect/Effect"; +import * as FileSystem from "effect/FileSystem"; +import * as Path from "effect/Path"; +import * as Schema from "effect/Schema"; + +import { recordCursorAgentSdkReplayTranscript } from "../src/orchestration-v2/Adapters/CursorAdapterV2.testkit.ts"; +import { makeCheckpointWorkspace } from "../src/orchestration-v2/testkit/ReplayFixtureWorkspace.ts"; +import { + CURSOR_MODEL_SELECTION, + MESSAGE_STEERING_INITIAL_PROMPT, + MESSAGE_STEERING_STEER_PROMPT, + MULTI_TURN_FIRST_PROMPT, + MULTI_TURN_SECOND_PROMPT, + PROVIDER_THREAD_RESUME_FIRST_PROMPT, + PROVIDER_THREAD_RESUME_SECOND_PROMPT, + PROPOSED_PLAN_PROMPT, + SIMPLE_PROMPT, + SUBAGENT_PROMPT, + TODO_LIST_PROMPT, + TOOL_CALL_READ_ONLY_PROMPT, + TOOL_CALL_READ_ONLY_WORKSPACE_ROOT, + TURN_INTERRUPT_MID_TOOL_PROMPT, +} from "../src/orchestration-v2/testkit/fixtures/shared.ts"; + +const RECORDINGS = { + simple: { + prompts: [SIMPLE_PROMPT], + output: "../src/orchestration-v2/testkit/fixtures/simple/cursor_transcript.ndjson", + }, + multi_turn: { + prompts: [MULTI_TURN_FIRST_PROMPT, MULTI_TURN_SECOND_PROMPT], + output: "../src/orchestration-v2/testkit/fixtures/multi_turn/cursor_transcript.ndjson", + }, + message_steering: { + prompts: [MESSAGE_STEERING_INITIAL_PROMPT, MESSAGE_STEERING_STEER_PROMPT], + output: "../src/orchestration-v2/testkit/fixtures/message_steering/cursor_transcript.ndjson", + interruptAfterRunStartPromptIndex: 0, + }, + provider_thread_resume: { + prompts: [PROVIDER_THREAD_RESUME_FIRST_PROMPT, PROVIDER_THREAD_RESUME_SECOND_PROMPT], + output: + "../src/orchestration-v2/testkit/fixtures/provider_thread_resume/cursor_transcript.ndjson", + restartBeforePromptIndex: 1, + }, + queued_turn: { + prompts: [MULTI_TURN_FIRST_PROMPT, MULTI_TURN_SECOND_PROMPT], + output: "../src/orchestration-v2/testkit/fixtures/queued_turn/cursor_transcript.ndjson", + }, + proposed_plan: { + prompts: [PROPOSED_PLAN_PROMPT], + output: "../src/orchestration-v2/testkit/fixtures/proposed_plan/cursor_transcript.ndjson", + interactionMode: "plan", + }, + todo_list: { + prompts: [TODO_LIST_PROMPT], + output: "../src/orchestration-v2/testkit/fixtures/todo_list/cursor_transcript.ndjson", + }, + subagent: { + prompts: [SUBAGENT_PROMPT], + output: "../src/orchestration-v2/testkit/fixtures/subagent/cursor_transcript.ndjson", + }, + tool_call_read_only: { + prompts: [TOOL_CALL_READ_ONLY_PROMPT], + output: "../src/orchestration-v2/testkit/fixtures/tool_call_read_only/cursor_transcript.ndjson", + }, + turn_interrupt_mid_tool: { + prompts: [TURN_INTERRUPT_MID_TOOL_PROMPT], + output: + "../src/orchestration-v2/testkit/fixtures/turn_interrupt_mid_tool/cursor_transcript.ndjson", + interruptAfterToolStart: true, + }, +} as const; + +type RecordingName = keyof typeof RECORDINGS; + +const encodeUnknownJsonString = Schema.encodeSync(Schema.fromJsonString(Schema.Unknown)); + +function readArgValue(name: string): string | undefined { + const index = process.argv.indexOf(name); + return index === -1 ? undefined : process.argv[index + 1]; +} + +function encodeTranscriptNdjson( + transcript: Awaited>, +): string { + const { entries, ...metadata } = transcript; + return [ + encodeUnknownJsonString({ type: "transcript_start", ...metadata }), + ...entries.map((entry) => encodeUnknownJsonString(entry)), + "", + ].join("\n"); +} + +const runFileSystem = ( + effect: Effect.Effect, +): Promise => Effect.runPromise(effect.pipe(Effect.provide(NodeServices.layer))); + +async function prepareWorkspace(scenario: RecordingName): Promise<{ + readonly cwd: string; + readonly remove: boolean; +}> { + if (process.env.T3_CURSOR_REPLAY_CWD !== undefined) { + return { + cwd: process.env.T3_CURSOR_REPLAY_CWD, + remove: false, + }; + } + if (scenario === "tool_call_read_only") { + await runFileSystem( + Effect.gen(function* () { + const fs = yield* FileSystem.FileSystem; + yield* fs.remove(TOOL_CALL_READ_ONLY_WORKSPACE_ROOT, { + recursive: true, + force: true, + }); + yield* fs.makeDirectory(TOOL_CALL_READ_ONLY_WORKSPACE_ROOT, { + recursive: true, + }); + }), + ); + return { + cwd: TOOL_CALL_READ_ONLY_WORKSPACE_ROOT, + remove: true, + }; + } + return { + cwd: await makeCheckpointWorkspace(`cursor-agent-sdk-record-${scenario}`), + remove: true, + }; +} + +async function writeFixtureFiles(cwd: string): Promise { + await runFileSystem( + Effect.gen(function* () { + const fs = yield* FileSystem.FileSystem; + const path = yield* Path.Path; + yield* fs.writeFileString( + path.join(cwd, "package.json"), + encodeUnknownJsonString({ + name: "cursor-read-only-fixture", + private: true, + scripts: { typecheck: "tsc --noEmit" }, + }), + ); + yield* fs.writeFileString( + path.join(cwd, "tsconfig.json"), + encodeUnknownJsonString({ + compilerOptions: { + module: "ESNext", + strict: true, + target: "ES2022", + }, + }), + ); + }), + ); +} + +const scenario = (readArgValue("--scenario") ?? process.env.T3_CURSOR_REPLAY_SCENARIO) as + | RecordingName + | undefined; +if (scenario === undefined || RECORDINGS[scenario] === undefined) { + throw new Error(`Pass --scenario with one of: ${Object.keys(RECORDINGS).join(", ")}`); +} + +const apiKey = process.env.CURSOR_API_KEY?.trim(); +if (!apiKey) { + throw new Error("CURSOR_API_KEY is required to record Cursor SDK replay fixtures."); +} + +const recording = RECORDINGS[scenario]; +const workspace = await prepareWorkspace(scenario); +if (scenario === "subagent" || scenario === "tool_call_read_only" || scenario === "todo_list") { + await writeFixtureFiles(workspace.cwd); +} + +const outputPath = readArgValue("--out") ?? new URL(recording.output, import.meta.url).pathname; + +try { + const transcript = await recordCursorAgentSdkReplayTranscript({ + scenario, + prompts: recording.prompts, + modelSelection: { + ...CURSOR_MODEL_SELECTION, + model: process.env.T3_CURSOR_REPLAY_MODEL ?? CURSOR_MODEL_SELECTION.model, + }, + cwd: workspace.cwd, + apiKey, + ...("interactionMode" in recording ? { interactionMode: recording.interactionMode } : {}), + ...("interruptAfterToolStart" in recording + ? { interruptAfterToolStart: recording.interruptAfterToolStart } + : {}), + ...("interruptAfterRunStartPromptIndex" in recording + ? { interruptAfterRunStartPromptIndex: recording.interruptAfterRunStartPromptIndex } + : {}), + ...("restartBeforePromptIndex" in recording + ? { restartBeforePromptIndex: recording.restartBeforePromptIndex } + : {}), + }); + await runFileSystem( + Effect.gen(function* () { + const fs = yield* FileSystem.FileSystem; + const path = yield* Path.Path; + yield* fs.makeDirectory(path.dirname(outputPath), { recursive: true }); + yield* fs.writeFileString(outputPath, encodeTranscriptNdjson(transcript)); + }), + ); + await Effect.runPromise( + Console.log(`Wrote ${transcript.entries.length} Cursor SDK replay entries to ${outputPath}`), + ); +} finally { + if (workspace.remove) { + await runFileSystem( + Effect.gen(function* () { + const fs = yield* FileSystem.FileSystem; + yield* fs.remove(workspace.cwd, { recursive: true, force: true }); + }), + ); + } +} diff --git a/apps/server/src/orchestration-v2/Adapters/CursorAdapterV2.test.ts b/apps/server/src/orchestration-v2/Adapters/CursorAdapterV2.test.ts new file mode 100644 index 0000000000..57a2524134 --- /dev/null +++ b/apps/server/src/orchestration-v2/Adapters/CursorAdapterV2.test.ts @@ -0,0 +1,171 @@ +import { assert, describe, it } from "@effect/vitest"; +import { EnvironmentId, ProviderInstanceId, ThreadId } from "@t3tools/contracts"; + +import * as McpProviderSession from "../../mcp/McpProviderSession.ts"; +import { + CursorProviderCapabilitiesV2, + cursorMcpServers, + cursorRuntimeAgentPolicy, + cursorSdkModelSelection, + makeCursorAgentOptions, +} from "./CursorAdapterV2.ts"; +import { isCursorCancellationError, loggedCursorAgentOptions } from "./CursorAgentSdk.ts"; + +describe("CursorAdapterV2", () => { + it("maps Cursor auto and model parameters to SDK selections", () => { + assert.deepEqual( + cursorSdkModelSelection({ + instanceId: ProviderInstanceId.make("cursor"), + model: "auto", + options: [ + { id: "thinking", value: "high" }, + { id: "contextWindow", value: "1m" }, + { id: "fastMode", value: true }, + ], + }), + { + id: "default", + params: [ + { id: "thinking", value: "high" }, + { id: "context", value: "1m" }, + { id: "fast", value: "true" }, + ], + }, + ); + }); + + it("maps runtime modes to the SDK sandbox and auto-review controls", () => { + const base = { + interactionMode: "default" as const, + cwd: "/tmp/cursor-adapter", + }; + assert.deepEqual( + cursorRuntimeAgentPolicy({ + ...base, + runtimeMode: "full-access", + }), + { + autoReview: false, + sandboxEnabled: false, + }, + ); + assert.deepEqual( + cursorRuntimeAgentPolicy({ + ...base, + runtimeMode: "auto-accept-edits", + }), + { + autoReview: false, + sandboxEnabled: true, + }, + ); + assert.deepEqual( + cursorRuntimeAgentPolicy({ + ...base, + runtimeMode: "approval-required", + }), + { + autoReview: true, + sandboxEnabled: true, + }, + ); + assert.deepEqual( + cursorRuntimeAgentPolicy({ + ...base, + runtimeMode: "full-access", + approvalPolicy: "never", + sandboxPolicy: { type: "readOnly" }, + }), + { + autoReview: false, + sandboxEnabled: true, + }, + ); + assert.deepEqual( + cursorRuntimeAgentPolicy({ + ...base, + runtimeMode: "approval-required", + approvalPolicy: "never", + sandboxPolicy: { type: "dangerFullAccess" }, + }), + { + autoReview: false, + sandboxEnabled: false, + }, + ); + }); + + it("advertises only capabilities exposed by the official SDK adapter", () => { + assert.isTrue(CursorProviderCapabilitiesV2.threads.canReadThreadSnapshot); + assert.isFalse(CursorProviderCapabilitiesV2.threads.canForkThread); + assert.isFalse(CursorProviderCapabilitiesV2.threads.canRollbackThread); + assert.isTrue(CursorProviderCapabilitiesV2.turns.supportsInterrupt); + assert.isFalse(CursorProviderCapabilitiesV2.turns.supportsActiveSteering); + assert.isTrue(CursorProviderCapabilitiesV2.turns.supportsSteeringByInterruptRestart); + assert.isTrue(CursorProviderCapabilitiesV2.tools.supportsMcpTools); + assert.isTrue(CursorProviderCapabilitiesV2.subagents.supportsSubagents); + assert.isFalse(CursorProviderCapabilitiesV2.subagents.exposesSubagentThreadIds); + assert.equal(CursorProviderCapabilitiesV2.identity.nativeItemIds, "weak"); + assert.isFalse(CursorProviderCapabilitiesV2.approvals.supportsCommandApproval); + }); + + it("injects thread-scoped MCP credentials without logging them", () => { + const threadId = ThreadId.make("thread-cursor-mcp"); + McpProviderSession.setMcpProviderSession({ + environmentId: EnvironmentId.make("environment-cursor-mcp"), + threadId, + providerSessionId: "mcp-session-cursor", + providerInstanceId: ProviderInstanceId.make("cursor"), + endpoint: "http://127.0.0.1:43123/mcp", + authorizationHeader: "Bearer secret-cursor-mcp-token", + }); + + try { + assert.deepEqual(cursorMcpServers(threadId), { + "t3-code": { + type: "http", + url: "http://127.0.0.1:43123/mcp", + headers: { + Authorization: "Bearer secret-cursor-mcp-token", + }, + }, + }); + + const options = makeCursorAgentOptions({ + apiKey: "secret-cursor-api-key", + modelSelection: { + instanceId: ProviderInstanceId.make("cursor"), + model: "composer-2.5", + }, + runtimePolicy: { + runtimeMode: "full-access", + interactionMode: "default", + cwd: "/workspace", + }, + threadId, + }); + assert.deepEqual(options.mcpServers, cursorMcpServers(threadId)); + + const logged = JSON.stringify(loggedCursorAgentOptions(options)); + assert.notInclude(logged, "secret-cursor-api-key"); + assert.notInclude(logged, "secret-cursor-mcp-token"); + } finally { + McpProviderSession.clearMcpProviderSession(threadId); + } + }); + + it("recognizes direct and SDK-wrapped abort failures as cancellation", () => { + assert.isTrue(isCursorCancellationError({ name: "AbortError" })); + assert.isTrue( + isCursorCancellationError({ + name: "ConnectError", + cause: { + name: "ConnectError", + cause: { name: "AbortError" }, + }, + }), + ); + assert.isFalse(isCursorCancellationError(new Error("request failed"))); + assert.isFalse(isCursorCancellationError(null)); + }); +}); diff --git a/apps/server/src/orchestration-v2/Adapters/CursorAdapterV2.testkit.ts b/apps/server/src/orchestration-v2/Adapters/CursorAdapterV2.testkit.ts new file mode 100644 index 0000000000..42d609c106 --- /dev/null +++ b/apps/server/src/orchestration-v2/Adapters/CursorAdapterV2.testkit.ts @@ -0,0 +1,985 @@ +import { Agent, type InteractionUpdate, type RunResult } from "@cursor/sdk"; +import * as NodeServices from "@effect/platform-node/NodeServices"; +import { + ProviderReplayEntry, + type ModelSelection, + type ProviderReplayTranscript, + type ThreadId, +} from "@t3tools/contracts"; +import * as Effect from "effect/Effect"; +import * as FileSystem from "effect/FileSystem"; +import * as Layer from "effect/Layer"; +import * as Path from "effect/Path"; +import * as PlatformError from "effect/PlatformError"; +import * as Schema from "effect/Schema"; + +import { ServerConfig, type ServerConfigShape } from "../../config.ts"; +import { layer as idAllocatorLayer } from "../IdAllocator.ts"; +import { ProviderAdapterDriverCreateError } from "../ProviderAdapterDriver.ts"; +import { makeDriverLayer as makeProviderAdapterRegistryDriverLayer } from "../ProviderAdapterRegistry.ts"; +import type { OrchestratorV2ProviderReplayHarness } from "../testkit/ProviderReplayHarness.ts"; +import { + CURSOR_AGENT_SDK_PROTOCOL, + CURSOR_PROVIDER, + CursorAgentSdkRunner, + CursorAgentSdkRunnerError, + isCursorCancellationError, + loggedCursorAgentOptions, + loggedCursorSendOptions, + type CursorAgentSdkOpenInput, + type CursorAgentSdkProtocolLogEvent, + type CursorAgentSdkRun, + type CursorAgentSdkRunnerShape, + type CursorAgentSdkSendInput, + type CursorAgentSdkSession, +} from "./CursorAgentSdk.ts"; +import { + CURSOR_DEFAULT_INSTANCE_ID, + CURSOR_DRIVER_KIND, + CursorAdapterV2Driver, + cursorSdkModelSelection, + makeCursorAgentOptions, +} from "./CursorAdapterV2.ts"; +import type { ProviderAdapterV2RuntimePolicy } from "../ProviderAdapter.ts"; + +const CursorAgentSdkReplayTranscript = Schema.Struct({ + provider: Schema.Literal(CURSOR_PROVIDER), + protocol: Schema.Literal(CURSOR_AGENT_SDK_PROTOCOL), + version: Schema.String, + scenario: Schema.String, + metadata: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)), + entries: Schema.Array(ProviderReplayEntry), +}); +export type CursorAgentSdkReplayTranscript = typeof CursorAgentSdkReplayTranscript.Type; +const decodeCursorAgentSdkReplayTranscript = Schema.decodeUnknownEffect( + CursorAgentSdkReplayTranscript, +); + +export class CursorReplayTranscriptDecodeError extends Schema.TaggedErrorClass()( + "CursorReplayTranscriptDecodeError", + { + provider: Schema.optional(Schema.String), + protocol: Schema.optional(Schema.String), + scenario: Schema.optional(Schema.String), + cause: Schema.Defect(), + }, +) { + override get message(): string { + return `Failed to decode Cursor Agent SDK replay transcript for scenario ${this.scenario ?? ""}.`; + } +} + +export class CursorReplayExhaustedError extends Schema.TaggedErrorClass()( + "CursorReplayExhaustedError", + { + scenario: Schema.String, + cursor: Schema.Number, + actual: Schema.Unknown, + }, +) { + override get message(): string { + return `Cursor Agent SDK replay transcript exhausted at cursor ${this.cursor} in scenario ${this.scenario}.`; + } +} + +export class CursorReplayFrameMismatchError extends Schema.TaggedErrorClass()( + "CursorReplayFrameMismatchError", + { + scenario: Schema.String, + cursor: Schema.Number, + expected: Schema.Unknown, + actual: Schema.Unknown, + }, +) { + override get message(): string { + return `Cursor Agent SDK replay frame mismatch at cursor ${this.cursor} in scenario ${this.scenario}.`; + } +} + +export class CursorReplayIncompleteError extends Schema.TaggedErrorClass()( + "CursorReplayIncompleteError", + { + scenario: Schema.String, + cursor: Schema.Number, + remaining: Schema.Number, + }, +) { + override get message(): string { + return `Cursor Agent SDK replay ended with ${this.remaining} unconsumed entries in scenario ${this.scenario}.`; + } +} + +export class CursorReplayRuntimeError extends Schema.TaggedErrorClass()( + "CursorReplayRuntimeError", + { + scenario: Schema.String, + cursor: Schema.Number, + cause: Schema.Defect(), + }, +) { + override get message(): string { + return `Cursor Agent SDK replay failed at cursor ${this.cursor} in scenario ${this.scenario}.`; + } +} + +export const CursorAgentSdkReplayError = Schema.Union([ + CursorReplayTranscriptDecodeError, + CursorReplayExhaustedError, + CursorReplayFrameMismatchError, + CursorReplayIncompleteError, + CursorReplayRuntimeError, +]); +export type CursorAgentSdkReplayError = typeof CursorAgentSdkReplayError.Type; +const isCursorAgentSdkReplayError = Schema.is(CursorAgentSdkReplayError); +const isCursorAgentSdkRunnerError = Schema.is(CursorAgentSdkRunnerError); + +export const CursorOrchestratorReplayHarnessError = Schema.Union([ + CursorAgentSdkReplayError, + ProviderAdapterDriverCreateError, +]); +export type CursorOrchestratorReplayHarnessError = typeof CursorOrchestratorReplayHarnessError.Type; + +type CursorProtocolPayload = CursorAgentSdkProtocolLogEvent["payload"]; +type CursorOutgoingFrame = Extract< + CursorAgentSdkProtocolLogEvent, + { readonly direction: "outgoing" } +>["payload"]; + +function stableStringify(value: unknown): string { + if (Array.isArray(value)) { + return `[${value.map(stableStringify).join(",")}]`; + } + if (typeof value === "object" && value !== null) { + const record = value as Record; + return `{${Object.keys(record) + .toSorted() + .map((key) => `${JSON.stringify(key)}:${stableStringify(record[key])}`) + .join(",")}}`; + } + return JSON.stringify(value); +} + +function normalizeContextHandoffText(value: string): string { + if (!value.startsWith("Context handoff (")) { + return value; + } + const marker = "\n\nUser message:\n"; + const markerIndex = value.indexOf(marker); + const headerEnd = value.indexOf(":\n"); + if (markerIndex === -1 || headerEnd === -1 || headerEnd >= markerIndex) { + return value; + } + return `${value.slice(0, headerEnd + 2)}${value.slice(markerIndex)}`; +} + +function normalizeFrame(value: unknown): unknown { + if (typeof value === "string") { + return normalizeContextHandoffText(value); + } + if (Array.isArray(value)) { + return value.map(normalizeFrame); + } + if (typeof value !== "object" || value === null) { + return value; + } + return Object.fromEntries( + Object.entries(value).map(([key, entry]) => [key, normalizeFrame(entry)]), + ); +} + +function sameFrame(left: unknown, right: unknown): boolean { + return stableStringify(normalizeFrame(left)) === stableStringify(normalizeFrame(right)); +} + +function makeSignal(): { + readonly promise: Promise; + readonly resolve: () => void; +} { + let resolve = () => {}; + const promise = new Promise((onResolve) => { + resolve = onResolve; + }); + return { promise, resolve }; +} + +function replayRunnerError( + transcript: CursorAgentSdkReplayTranscript, + cause: unknown, + method: string, +): CursorAgentSdkRunnerError { + if (isCursorAgentSdkRunnerError(cause)) { + return cause; + } + return new CursorAgentSdkRunnerError({ + method, + cause: isCursorAgentSdkReplayError(cause) + ? cause + : new CursorReplayRuntimeError({ + scenario: transcript.scenario, + cursor: 0, + cause, + }), + }); +} + +export function makeCursorAgentSdkReplayRunner( + transcript: CursorAgentSdkReplayTranscript, +): CursorAgentSdkRunnerShape { + let cursor = 0; + let failure: CursorAgentSdkReplayError | null = null; + let cursorAdvanced = makeSignal(); + + const recordFailure = (error: Error): Error => { + failure = error; + return error; + }; + + const fail = (error: CursorAgentSdkReplayError): never => { + throw recordFailure(error); + }; + + const advance = () => { + cursor += 1; + const signal = cursorAdvanced; + cursorAdvanced = makeSignal(); + signal.resolve(); + }; + + const assertOutbound = (actual: CursorOutgoingFrame) => { + if (failure !== null) { + throw failure; + } + const entry = transcript.entries[cursor]; + if (entry === undefined) { + return fail( + new CursorReplayExhaustedError({ + scenario: transcript.scenario, + cursor, + actual, + }), + ); + } + if (entry.type !== "expect_outbound" || !sameFrame(entry.frame, actual)) { + return fail( + new CursorReplayFrameMismatchError({ + scenario: transcript.scenario, + cursor, + expected: entry.type === "expect_outbound" ? entry.frame : entry, + actual, + }), + ); + } + advance(); + }; + + const consumeInbound = ( + type: Type, + ): Extract => { + const entry = transcript.entries[cursor]; + if ( + entry === undefined || + entry.type !== "emit_inbound" || + typeof entry.frame !== "object" || + entry.frame === null || + Reflect.get(entry.frame, "type") !== type + ) { + return fail( + new CursorReplayFrameMismatchError({ + scenario: transcript.scenario, + cursor, + expected: { type }, + actual: entry, + }), + ); + } + const frame = entry.frame as Extract; + advance(); + return frame; + }; + + const waitForRun = ( + runId: string, + sendInput: CursorAgentSdkSendInput, + ): Effect.Effect => + Effect.gen(function* () { + while (true) { + if (failure !== null) { + return yield* failure; + } + const entry = transcript.entries[cursor]; + if (entry === undefined) { + return yield* recordFailure( + new CursorReplayExhaustedError({ + scenario: transcript.scenario, + cursor, + actual: { type: "run.completed", runId }, + }), + ); + } + if (entry.type === "expect_outbound") { + const signal = cursorAdvanced; + yield* Effect.promise(() => signal.promise); + continue; + } + if (entry.type === "runtime_exit") { + advance(); + if (entry.status === "success") { + continue; + } + return yield* recordFailure( + new CursorReplayRuntimeError({ + scenario: transcript.scenario, + cursor: cursor - 1, + cause: entry.error ?? entry.status, + }), + ); + } + if ( + typeof entry.frame !== "object" || + entry.frame === null || + typeof Reflect.get(entry.frame, "type") !== "string" + ) { + return yield* recordFailure( + new CursorReplayFrameMismatchError({ + scenario: transcript.scenario, + cursor, + expected: { type: "interaction.update | run.completed" }, + actual: entry.frame, + }), + ); + } + const frame = entry.frame as CursorProtocolPayload; + if (frame.type === "interaction.update") { + if (frame.runId !== runId) { + return yield* recordFailure( + new CursorReplayFrameMismatchError({ + scenario: transcript.scenario, + cursor, + expected: { runId }, + actual: frame, + }), + ); + } + advance(); + yield* (sendInput.onDelta?.(frame.update) ?? Effect.void).pipe( + Effect.mapError((cause) => + recordFailure( + new CursorReplayRuntimeError({ + scenario: transcript.scenario, + cursor: cursor - 1, + cause, + }), + ), + ), + ); + yield* Effect.yieldNow; + continue; + } + if (frame.type === "run.completed") { + if (frame.result.id !== runId) { + return yield* recordFailure( + new CursorReplayFrameMismatchError({ + scenario: transcript.scenario, + cursor, + expected: { runId }, + actual: frame.result, + }), + ); + } + advance(); + return frame.result; + } + return yield* recordFailure( + new CursorReplayFrameMismatchError({ + scenario: transcript.scenario, + cursor, + expected: { type: "interaction.update | run.completed" }, + actual: frame, + }), + ); + } + }); + + return { + open: (input: CursorAgentSdkOpenInput) => + Effect.try({ + try: () => { + assertOutbound({ + type: "agent.open", + operation: input.operation, + ...(input.agentId === undefined ? {} : { agentId: input.agentId }), + options: loggedCursorAgentOptions(input.options), + }); + const opened = consumeInbound("agent.opened"); + const session: CursorAgentSdkSession = { + agentId: opened.agentId, + send: (sendInput) => + Effect.try({ + try: () => { + assertOutbound({ + type: "run.start", + message: sendInput.message, + options: loggedCursorSendOptions(sendInput.options), + }); + const started = consumeInbound("run.started"); + const run: CursorAgentSdkRun = { + runId: started.runId, + agentId: started.agentId, + wait: waitForRun(started.runId, sendInput).pipe( + Effect.mapError((cause) => + replayRunnerError(transcript, cause, "replay.run.wait"), + ), + ), + cancel: Effect.try({ + try: () => + assertOutbound({ + type: "run.cancel", + runId: started.runId, + }), + catch: (cause) => replayRunnerError(transcript, cause, "replay.run.cancel"), + }), + }; + return run; + }, + catch: (cause) => replayRunnerError(transcript, cause, "replay.session.send"), + }), + listMessages: Effect.try({ + try: () => { + assertOutbound({ + type: "agent.messages.list", + agentId: opened.agentId, + }); + return consumeInbound("agent.messages").messages; + }, + catch: (cause) => replayRunnerError(transcript, cause, "replay.agent.messages.list"), + }), + close: Effect.try({ + try: () => + assertOutbound({ + type: "agent.close", + agentId: opened.agentId, + }), + catch: (cause) => replayRunnerError(transcript, cause, "replay.agent.close"), + }), + }; + return session; + }, + catch: (cause) => replayRunnerError(transcript, cause, "replay.agent.open"), + }), + assertComplete: Effect.try({ + try: () => { + if (failure !== null) { + throw failure; + } + if (cursor !== transcript.entries.length) { + throw new CursorReplayIncompleteError({ + scenario: transcript.scenario, + cursor, + remaining: transcript.entries.length - cursor, + }); + } + }, + catch: (cause) => replayRunnerError(transcript, cause, "replay.assertComplete"), + }), + }; +} + +export function makeCursorAgentSdkReplayLayer( + transcript: CursorAgentSdkReplayTranscript, + options?: { + readonly runner?: CursorAgentSdkRunnerShape; + readonly assertCompleteOnFinalize?: boolean; + }, +): Layer.Layer { + const runner = options?.runner ?? makeCursorAgentSdkReplayRunner(transcript); + return Layer.effect( + CursorAgentSdkRunner, + Effect.gen(function* () { + yield* Effect.addFinalizer(() => + options?.assertCompleteOnFinalize === false + ? Effect.void + : runner.assertComplete.pipe(Effect.orDie), + ); + return CursorAgentSdkRunner.of(runner); + }), + ); +} + +function makeReplayServerConfig( + scenario: string, +): Effect.Effect< + ServerConfigShape, + PlatformError.PlatformError, + FileSystem.FileSystem | Path.Path +> { + return Effect.gen(function* () { + const fs = yield* FileSystem.FileSystem; + const path = yield* Path.Path; + const baseDir = yield* fs.makeTempDirectory({ + prefix: `t3-orchestration-v2-cursor-${scenario}-`, + }); + const stateDir = path.join(baseDir, "userdata"); + const logsDir = path.join(stateDir, "logs"); + const providerLogsDir = path.join(logsDir, "provider"); + const terminalLogsDir = path.join(logsDir, "terminals"); + const attachmentsDir = path.join(stateDir, "attachments"); + const worktreesDir = path.join(baseDir, "worktrees"); + const providerStatusCacheDir = path.join(baseDir, "caches"); + for (const directory of [ + stateDir, + logsDir, + providerLogsDir, + terminalLogsDir, + attachmentsDir, + worktreesDir, + providerStatusCacheDir, + ]) { + yield* fs.makeDirectory(directory, { recursive: true }); + } + return { + logLevel: "Error", + traceMinLevel: "Info", + traceTimingEnabled: true, + traceBatchWindowMs: 200, + traceMaxBytes: 10 * 1024 * 1024, + traceMaxFiles: 10, + otlpTracesUrl: undefined, + otlpMetricsUrl: undefined, + otlpExportIntervalMs: 10_000, + otlpServiceName: "t3-server", + mode: "web", + port: 0, + host: undefined, + cwd: process.cwd(), + baseDir, + staticDir: undefined, + devUrl: undefined, + noBrowser: false, + startupPresentation: "browser", + tailscaleServeEnabled: false, + tailscaleServePort: 443, + desktopBootstrapToken: undefined, + autoBootstrapProjectFromCwd: false, + logWebSocketEvents: false, + stateDir, + dbPath: path.join(stateDir, "state.sqlite"), + keybindingsConfigPath: path.join(stateDir, "keybindings.json"), + settingsPath: path.join(stateDir, "settings.json"), + providerStatusCacheDir, + worktreesDir, + attachmentsDir, + logsDir, + serverLogPath: path.join(logsDir, "server.log"), + serverTracePath: path.join(logsDir, "server.trace.ndjson"), + providerLogsDir, + providerEventLogPath: path.join(providerLogsDir, "events.log"), + terminalLogsDir, + anonymousIdPath: path.join(stateDir, "anonymous-id"), + environmentIdPath: path.join(stateDir, "environment-id"), + serverRuntimeStatePath: path.join(stateDir, "server-runtime.json"), + secretsDir: path.join(stateDir, "secrets"), + }; + }); +} + +export function makeCursorProviderAdapterRegistryReplayLayer( + transcript: CursorAgentSdkReplayTranscript, + options?: { + readonly runner?: CursorAgentSdkRunnerShape; + readonly assertCompleteOnFinalize?: boolean; + }, +) { + const serverConfigLayer = Layer.effect( + ServerConfig, + makeReplayServerConfig(transcript.scenario).pipe(Effect.orDie), + ).pipe(Layer.provide(NodeServices.layer)); + return makeProviderAdapterRegistryDriverLayer({ + drivers: [CursorAdapterV2Driver], + configMap: { + [CURSOR_DEFAULT_INSTANCE_ID]: { + driver: CURSOR_DRIVER_KIND, + }, + }, + }).pipe( + Layer.provide( + Layer.mergeAll( + makeCursorAgentSdkReplayLayer(transcript, options), + serverConfigLayer, + NodeServices.layer, + idAllocatorLayer, + ), + ), + ); +} + +function metadataFromTranscript(transcript: ProviderReplayTranscript): { + readonly provider?: string; + readonly protocol?: string; + readonly scenario?: string; +} { + return { + provider: transcript.provider, + protocol: transcript.protocol, + scenario: transcript.scenario, + }; +} + +export const CursorOrchestratorReplayHarness: OrchestratorV2ProviderReplayHarness< + CursorAgentSdkReplayTranscript, + CursorOrchestratorReplayHarnessError +> = { + provider: CURSOR_PROVIDER, + decodeTranscript: (transcript) => + decodeCursorAgentSdkReplayTranscript(transcript).pipe( + Effect.mapError( + (cause) => + new CursorReplayTranscriptDecodeError({ + ...metadataFromTranscript(transcript), + cause, + }), + ), + ), + makeProviderAdapterRegistryLayer: (transcript) => + makeCursorProviderAdapterRegistryReplayLayer(transcript), +}; + +function sanitizeReplayValue( + value: unknown, + replacements: ReadonlyArray, +): unknown { + if (typeof value === "string") { + return replacements.reduce( + (text, [from, to]) => (from.length === 0 ? text : text.replaceAll(from, to)), + value, + ); + } + if (Array.isArray(value)) { + return value.map((entry) => sanitizeReplayValue(entry, replacements)); + } + if (typeof value !== "object" || value === null) { + return value; + } + return Object.fromEntries( + Object.entries(value).map(([key, entry]) => [key, sanitizeReplayValue(entry, replacements)]), + ); +} + +function serializeCursorRecordingError(cause: unknown): unknown { + if (typeof cause !== "object" || cause === null) { + return cause; + } + return { + name: typeof Reflect.get(cause, "name") === "string" ? Reflect.get(cause, "name") : "Error", + message: + typeof Reflect.get(cause, "message") === "string" + ? Reflect.get(cause, "message") + : String(cause), + }; +} + +function makeRecordingSignal(): { + readonly promise: Promise; + readonly resolve: () => void; +} { + let resolve = () => {}; + const promise = new Promise((onResolve) => { + resolve = onResolve; + }); + return { promise, resolve }; +} + +async function waitForRecordingSignal(signal: Promise, description: string): Promise { + const controller = new AbortController(); + const timeout = Effect.runPromise( + Effect.sleep("30 seconds").pipe( + Effect.andThen(Effect.die(`Timed out waiting for ${description}.`)), + ), + { signal: controller.signal }, + ); + try { + await Promise.race([signal, timeout]); + } finally { + controller.abort(); + } +} + +function recordingRuntimePolicy(input: { + readonly cwd: string; + readonly interactionMode: "default" | "plan"; +}): ProviderAdapterV2RuntimePolicy { + return { + runtimeMode: "full-access", + interactionMode: input.interactionMode, + cwd: input.cwd, + approvalPolicy: "never", + sandboxPolicy: { + type: "dangerFullAccess", + networkAccess: true, + }, + }; +} + +export async function recordCursorAgentSdkReplayTranscript(input: { + readonly scenario: string; + readonly prompts: ReadonlyArray; + readonly modelSelection: ModelSelection; + readonly cwd: string; + readonly interactionMode?: "default" | "plan"; + readonly apiKey?: string; + readonly interruptAfterToolStart?: boolean; + readonly interruptAfterRunStartPromptIndex?: number; + readonly restartBeforePromptIndex?: number; +}): Promise { + if (input.interruptAfterToolStart === true && input.prompts.length !== 1) { + throw new Error("Cursor interrupt recordings require exactly one prompt."); + } + if ( + input.interruptAfterToolStart === true && + input.interruptAfterRunStartPromptIndex !== undefined + ) { + throw new Error("Cursor recordings cannot use both interrupt triggers."); + } + if ( + input.interruptAfterRunStartPromptIndex !== undefined && + (input.interruptAfterRunStartPromptIndex < 0 || + input.interruptAfterRunStartPromptIndex >= input.prompts.length) + ) { + throw new Error("Cursor interrupt prompt index is outside the prompt list."); + } + const entries: Array = []; + const interactionMode = input.interactionMode ?? "default"; + const runtimePolicy = recordingRuntimePolicy({ + cwd: input.cwd, + interactionMode, + }); + const options = makeCursorAgentOptions({ + ...(input.apiKey === undefined ? {} : { apiKey: input.apiKey }), + modelSelection: input.modelSelection, + runtimePolicy, + threadId: "thread:cursor-replay" as ThreadId, + }); + entries.push({ + type: "expect_outbound", + label: "agent.open", + frame: { + type: "agent.open", + operation: "create", + options: loggedCursorAgentOptions(options), + }, + }); + + let agent = await Agent.create(options); + const nativeAgentId = agent.agentId; + entries.push({ + type: "emit_inbound", + label: "agent.opened", + frame: { + type: "agent.opened", + agentId: agent.agentId, + }, + }); + + const replacements: ReadonlyArray = [ + [input.cwd, `/tmp/cursor-replay-${input.scenario}`], + ]; + + try { + for (const [index, prompt] of input.prompts.entries()) { + if (input.restartBeforePromptIndex === index) { + entries.push({ + type: "expect_outbound", + label: `agent.close:before-prompt-${index + 1}`, + frame: { + type: "agent.close", + agentId: nativeAgentId, + }, + }); + agent.close(); + entries.push({ + type: "expect_outbound", + label: `agent.resume:before-prompt-${index + 1}`, + frame: { + type: "agent.open", + operation: "resume", + agentId: nativeAgentId, + options: loggedCursorAgentOptions(options), + }, + }); + agent = await Agent.resume(nativeAgentId, options); + entries.push({ + type: "emit_inbound", + label: `agent.resumed:before-prompt-${index + 1}`, + frame: { + type: "agent.opened", + agentId: agent.agentId, + }, + }); + } + const sendOptions = { + model: cursorSdkModelSelection(input.modelSelection), + mode: interactionMode === "plan" ? "plan" : "agent", + } as const; + entries.push({ + type: "expect_outbound", + label: `run.start:${index + 1}`, + frame: { + type: "run.start", + message: prompt, + options: loggedCursorSendOptions(sendOptions), + }, + }); + const pendingUpdates: Array = []; + let runReady = false; + let runId = ""; + let updatesPaused = false; + const toolStarted = makeRecordingSignal(); + const runActivityStarted = makeRecordingSignal(); + const resumeUpdates = makeRecordingSignal(); + let interruptTriggerObserved = false; + let callbackChain = Promise.resolve(); + const recordUpdate = async (update: InteractionUpdate) => { + if (updatesPaused) { + await resumeUpdates.promise; + } + entries.push({ + type: "emit_inbound", + label: update.type, + frame: { + type: "interaction.update", + runId, + update: sanitizeReplayValue(update, replacements) as InteractionUpdate, + }, + }); + if ( + input.interruptAfterToolStart === true && + !interruptTriggerObserved && + update.type === "tool-call-started" + ) { + interruptTriggerObserved = true; + updatesPaused = true; + toolStarted.resolve(); + } + }; + const scheduleUpdate = (update: InteractionUpdate): Promise => { + callbackChain = callbackChain.then(() => recordUpdate(update)); + return callbackChain; + }; + const run = await agent.send(prompt, { + ...sendOptions, + onDelta: async ({ update }) => { + runActivityStarted.resolve(); + if (!runReady) { + pendingUpdates.push(update); + return; + } + await scheduleUpdate(update); + }, + }); + runId = run.id; + entries.push({ + type: "emit_inbound", + label: `run.started:${index + 1}`, + frame: { + type: "run.started", + runId: run.id, + agentId: run.agentId, + }, + }); + runReady = true; + for (const update of pendingUpdates) { + void scheduleUpdate(update); + } + const resultPromise = run.wait().then( + (result) => ({ type: "success" as const, result }), + (cause: unknown) => ({ type: "failure" as const, cause }), + ); + if (input.interruptAfterRunStartPromptIndex === index) { + await waitForRecordingSignal( + runActivityStarted.promise, + "Cursor SDK run activity before interrupt", + ); + entries.push({ + type: "expect_outbound", + label: `run.cancel:${index + 1}`, + frame: { + type: "run.cancel", + runId: run.id, + }, + }); + await run.cancel().catch((cause: unknown) => { + if (!isCursorCancellationError(cause)) { + throw cause; + } + }); + } + if (input.interruptAfterToolStart === true) { + await waitForRecordingSignal( + toolStarted.promise, + "Cursor SDK tool-call-started before interrupt", + ); + entries.push({ + type: "expect_outbound", + label: `run.cancel:${index + 1}`, + frame: { + type: "run.cancel", + runId: run.id, + }, + }); + const cancelPromise = run.cancel().catch((cause: unknown) => { + if (!isCursorCancellationError(cause)) { + throw cause; + } + }); + updatesPaused = false; + resumeUpdates.resolve(); + await cancelPromise; + } + const outcome = await resultPromise; + await callbackChain; + if (outcome.type === "success") { + entries.push({ + type: "emit_inbound", + label: `run.completed:${index + 1}`, + frame: { + type: "run.completed", + result: sanitizeReplayValue(outcome.result, replacements) as RunResult, + }, + }); + } else if ( + (input.interruptAfterToolStart === true || + input.interruptAfterRunStartPromptIndex === index) && + isCursorCancellationError(outcome.cause) + ) { + entries.push({ + type: "runtime_exit", + status: "cancelled", + error: serializeCursorRecordingError(outcome.cause), + }); + } else { + throw outcome.cause; + } + } + } finally { + entries.push({ + type: "expect_outbound", + label: "agent.close", + frame: { + type: "agent.close", + agentId: nativeAgentId, + }, + }); + agent.close(); + } + + return { + provider: CURSOR_PROVIDER, + protocol: CURSOR_AGENT_SDK_PROTOCOL, + version: "1", + scenario: input.scenario, + metadata: { + generatedBy: "recordCursorAgentSdkReplayTranscript", + nativeAgentId, + }, + entries, + }; +} diff --git a/apps/server/src/orchestration-v2/Adapters/CursorAdapterV2.ts b/apps/server/src/orchestration-v2/Adapters/CursorAdapterV2.ts new file mode 100644 index 0000000000..8c56f5217b --- /dev/null +++ b/apps/server/src/orchestration-v2/Adapters/CursorAdapterV2.ts @@ -0,0 +1,2431 @@ +import type { + AgentMessage, + AgentOptions, + InteractionUpdate, + McpServerConfig, + ModelSelection as CursorSdkModelSelection, + RunResult, + SDKUserMessage, + ToolCall, +} from "@cursor/sdk"; +import { HostProcessEnvironment } from "@t3tools/shared/hostProcess"; +import { + CursorSettings, + defaultInstanceIdForDriver, + type ChatAttachment, + type ModelSelection, + type OrchestrationV2ConversationMessage, + type OrchestrationV2ExecutionNode, + type OrchestrationV2PlanArtifact, + type OrchestrationV2PlanStep, + type OrchestrationV2ProviderCapabilities, + type OrchestrationV2ProviderSession, + type OrchestrationV2ProviderThread, + type OrchestrationV2ProviderTurn, + type OrchestrationV2Subagent, + type OrchestrationV2TurnItem, + ProviderDriverKind, + type ProviderInstanceId, + type ThreadId, +} from "@t3tools/contracts"; +import * as DateTime from "effect/DateTime"; +import * as Deferred from "effect/Deferred"; +import * as Effect from "effect/Effect"; +import * as FileSystem from "effect/FileSystem"; +import * as Layer from "effect/Layer"; +import * as Option from "effect/Option"; +import * as Queue from "effect/Queue"; +import * as Ref from "effect/Ref"; +import * as Schema from "effect/Schema"; +import * as Stream from "effect/Stream"; + +import { resolveAttachmentPath } from "../../attachmentStore.ts"; +import { ServerConfig, type ServerConfigShape } from "../../config.ts"; +import * as McpProviderSession from "../../mcp/McpProviderSession.ts"; +import { cursorSdkParameterId } from "../../provider/cursorSdkModel.ts"; +import { mergeProviderInstanceEnvironment } from "../../provider/ProviderInstanceEnvironment.ts"; +import { IdAllocatorV2, type IdAllocatorV2Shape } from "../IdAllocator.ts"; +import { + ProviderAdapterEnsureThreadError, + ProviderAdapterForkThreadError, + ProviderAdapterInterruptError, + ProviderAdapterOpenSessionError, + ProviderAdapterProtocolError, + ProviderAdapterReadThreadSnapshotError, + ProviderAdapterResumeThreadError, + ProviderAdapterRollbackThreadError, + ProviderAdapterRuntimeRequestResponseError, + ProviderAdapterSteerRunUnsupportedError, + ProviderAdapterTurnStartError, + ProviderAdapterV2, + type ProviderAdapterV2EnsureThreadInput, + type ProviderAdapterV2Event, + type ProviderAdapterV2InterruptInput, + type ProviderAdapterV2OpenSessionInput, + type ProviderAdapterV2RuntimePolicy, + type ProviderAdapterV2SessionRuntime, + type ProviderAdapterV2Shape, + type ProviderAdapterV2TurnInput, +} from "../ProviderAdapter.ts"; +import { + ProviderAdapterDriverCreateError, + type ProviderAdapterDriver, + type ProviderAdapterDriverCreateInput, +} from "../ProviderAdapterDriver.ts"; +import { + makeSubagentChildThread, + makeSubagentConversationArtifacts, + subagentThreadTitle, +} from "../SubagentProjection.ts"; +import { + CURSOR_PROVIDER, + CursorAgentSdkRunner, + type CursorAgentSdkRun, + type CursorAgentSdkRunnerShape, + type CursorAgentSdkSession, +} from "./CursorAgentSdk.ts"; + +export { CURSOR_PROVIDER } from "./CursorAgentSdk.ts"; + +export const CURSOR_DRIVER_KIND = ProviderDriverKind.make(CURSOR_PROVIDER); +export const CURSOR_DEFAULT_INSTANCE_ID = defaultInstanceIdForDriver(CURSOR_DRIVER_KIND); +const DEFAULT_CURSOR_SETTINGS = Schema.decodeSync(CursorSettings)({}); + +export const CursorProviderCapabilitiesV2 = { + sessions: { + supportsMultipleProviderThreadsPerSession: false, + supportsModelSwitchInSession: true, + supportsProviderSwitchingViaHandoff: true, + supportsRuntimeModeSwitchInSession: false, + pendingRequestsSurviveRestart: false, + }, + threads: { + canCreateEmptyThread: true, + canReadThreadSnapshot: true, + canRollbackThread: false, + canForkThread: false, + canForkFromTurn: false, + canForkFromSubagentThread: false, + exposesNativeThreadId: true, + }, + turns: { + exposesNativeTurnId: true, + emitsTurnStarted: true, + emitsTurnCompleted: true, + supportsInterrupt: true, + supportsActiveSteering: false, + supportsSteeringByInterruptRestart: true, + supportsQueuedMessages: true, + terminalStatusQuality: "strong", + }, + streaming: { + streamsAssistantText: true, + streamsReasoning: true, + streamsToolOutput: true, + streamsPlanText: true, + emitsMessageCompleted: true, + }, + tools: { + exposesToolItemIds: true, + emitsToolStarted: true, + emitsToolCompleted: true, + emitsToolOutput: true, + supportsMcpTools: true, + supportsDynamicToolCallbacks: false, + }, + approvals: { + supportsCommandApproval: false, + supportsFileReadApproval: false, + supportsFileChangeApproval: false, + supportsApplyPatchApproval: false, + approvalsHaveNativeRequestIds: false, + approvalCallbacksAreLiveOnly: false, + approvalsCanOriginateFromSubagents: false, + }, + planning: { + emitsPlanUpdated: true, + emitsTodoList: true, + emitsProposedPlan: true, + supportsStructuredQuestions: false, + planDeltasHaveItemIds: true, + }, + subagents: { + supportsSubagents: true, + exposesSubagentThreadIds: false, + emitsSubagentLifecycle: true, + canWaitForSubagents: true, + canCloseSubagents: false, + canForkSubagentThread: false, + }, + context: { + acceptsSystemContext: false, + acceptsDeveloperContext: false, + acceptsSyntheticUserContext: true, + canGenerateSummaries: true, + canConsumeHandoffSummaries: true, + supportsDeltaHandoff: true, + supportsFullThreadHandoff: true, + maxRecommendedHandoffChars: null, + }, + checkpointing: { + appCanCheckpointFilesystem: true, + supportsNestedCheckpointScopes: true, + providerCanRollbackConversation: false, + providerRollbackReturnsSnapshot: false, + providerCanReadConversationSnapshot: true, + }, + identity: { + nativeThreadIds: "strong", + nativeTurnIds: "strong", + nativeItemIds: "weak", + nativeRequestIds: "none", + }, +} satisfies OrchestrationV2ProviderCapabilities; + +export interface CursorRuntimeAgentPolicy { + readonly autoReview: boolean; + readonly sandboxEnabled: boolean; +} + +export function cursorRuntimeAgentPolicy( + runtimePolicy: ProviderAdapterV2RuntimePolicy, +): CursorRuntimeAgentPolicy { + const sandboxPolicyType = + typeof runtimePolicy.sandboxPolicy === "object" && + runtimePolicy.sandboxPolicy !== null && + "type" in runtimePolicy.sandboxPolicy && + typeof runtimePolicy.sandboxPolicy.type === "string" + ? runtimePolicy.sandboxPolicy.type + : undefined; + return { + autoReview: + runtimePolicy.approvalPolicy === undefined + ? runtimePolicy.runtimeMode === "approval-required" + : runtimePolicy.approvalPolicy !== "never", + sandboxEnabled: + runtimePolicy.sandboxPolicy === undefined + ? runtimePolicy.runtimeMode !== "full-access" + : sandboxPolicyType !== "dangerFullAccess", + }; +} + +export function cursorSdkModelSelection(modelSelection: ModelSelection): CursorSdkModelSelection { + return { + id: modelSelection.model === "auto" ? "default" : modelSelection.model, + ...(modelSelection.options === undefined || modelSelection.options.length === 0 + ? {} + : { + params: modelSelection.options.map((option) => ({ + id: cursorSdkParameterId(option.id), + value: String(option.value), + })), + }), + }; +} + +export function cursorMcpServers(threadId: ThreadId): Record | undefined { + const session = McpProviderSession.readMcpProviderSession(threadId); + if (session === undefined) { + return undefined; + } + return { + "t3-code": { + type: "http", + url: session.endpoint, + headers: { + Authorization: session.authorizationHeader, + }, + }, + }; +} + +function providerSession(input: { + readonly providerSessionId: OrchestrationV2ProviderSession["id"]; + readonly cwd: string | null; + readonly model: string; + readonly now: DateTime.Utc; +}): OrchestrationV2ProviderSession { + return { + id: input.providerSessionId, + provider: CURSOR_PROVIDER, + status: "ready", + cwd: input.cwd ?? process.cwd(), + model: input.model, + capabilities: CursorProviderCapabilitiesV2, + createdAt: input.now, + updatedAt: input.now, + lastError: null, + }; +} + +function makeProviderThread(input: { + readonly idAllocator: IdAllocatorV2Shape; + readonly appThreadId: OrchestrationV2ProviderThread["appThreadId"]; + readonly providerSessionId: OrchestrationV2ProviderThread["providerSessionId"]; + readonly nativeThreadId: string; + readonly ownerNodeId?: OrchestrationV2ProviderThread["ownerNodeId"]; + readonly forkedFrom?: OrchestrationV2ProviderThread["forkedFrom"]; + readonly now: DateTime.Utc; +}): OrchestrationV2ProviderThread { + return { + id: input.idAllocator.derive.providerThread({ + provider: CURSOR_PROVIDER, + nativeThreadId: input.nativeThreadId, + }), + provider: CURSOR_PROVIDER, + providerSessionId: input.providerSessionId, + appThreadId: input.appThreadId, + ownerNodeId: input.ownerNodeId ?? null, + nativeThreadRef: { + provider: CURSOR_PROVIDER, + nativeId: input.nativeThreadId, + strength: "strong", + }, + nativeConversationHeadRef: null, + status: "idle", + firstRunOrdinal: null, + lastRunOrdinal: null, + handoffIds: [], + forkedFrom: input.forkedFrom ?? null, + createdAt: input.now, + updatedAt: input.now, + }; +} + +function nativeThreadId(providerThread: OrchestrationV2ProviderThread): string { + const id = providerThread.nativeThreadRef?.nativeId; + if (id === null || id === undefined) { + throw new ProviderAdapterProtocolError({ + provider: CURSOR_PROVIDER, + detail: `Provider thread ${providerThread.id} is missing its Cursor agent id.`, + }); + } + return id; +} + +export function makeCursorAgentOptions(input: { + readonly apiKey?: string; + readonly modelSelection: ModelSelection; + readonly runtimePolicy: ProviderAdapterV2RuntimePolicy; + readonly threadId: ThreadId; +}): AgentOptions { + const policy = cursorRuntimeAgentPolicy(input.runtimePolicy); + const mcpServers = cursorMcpServers(input.threadId); + return { + model: cursorSdkModelSelection(input.modelSelection), + name: `T3 Code ${input.threadId}`, + mode: input.runtimePolicy.interactionMode === "plan" ? "plan" : "agent", + ...(input.apiKey === undefined ? {} : { apiKey: input.apiKey }), + local: { + ...(input.runtimePolicy.cwd === null ? {} : { cwd: input.runtimePolicy.cwd }), + autoReview: policy.autoReview, + sandboxOptions: { + enabled: policy.sandboxEnabled, + }, + enableAgentRetries: true, + }, + ...(mcpServers === undefined ? {} : { mcpServers }), + }; +} + +function stableJson(value: unknown): string { + try { + return JSON.stringify(value, null, 2); + } catch { + return String(value); + } +} + +function unknownRecord(value: unknown): Record | undefined { + return typeof value === "object" && value !== null && !Array.isArray(value) + ? (value as Record) + : undefined; +} + +function nestedString(value: unknown, keys: ReadonlyArray): string | undefined { + let current: unknown = value; + for (const key of keys) { + current = unknownRecord(current)?.[key]; + } + return typeof current === "string" ? current : undefined; +} + +function cursorToolFailed(toolCall: ToolCall): boolean { + if (toolCall.result?.status === "error") { + return true; + } + return toolCall.type === "mcp" && toolCall.result?.status === "success" + ? toolCall.result.value.isError + : false; +} + +function cursorToolOutput(toolCall: ToolCall): unknown { + const result = toolCall.result; + if (result === undefined) { + return undefined; + } + return result.status === "success" ? result.value : result.error; +} + +function cursorToolOutputText(toolCall: ToolCall): string { + if (toolCall.type === "shell" && toolCall.result?.status === "success") { + return [toolCall.result.value.stdout, toolCall.result.value.stderr] + .filter((part) => part.length > 0) + .join("\n"); + } + if (toolCall.type === "mcp" && toolCall.result?.status === "success") { + return toolCall.result.value.content + .flatMap((part) => (part.text === undefined ? [] : [part.text.text])) + .join("\n"); + } + const output = cursorToolOutput(toolCall); + if (output === undefined) { + return ""; + } + return typeof output === "string" ? output : stableJson(output); +} + +function cursorToolName(toolCall: ToolCall): string { + if (toolCall.type !== "mcp") { + return toolCall.type; + } + const provider = toolCall.args.providerIdentifier ?? "mcp"; + const tool = toolCall.args.toolName ?? "unknown"; + return `mcp__${provider}__${tool}`; +} + +function cursorToolFileName(toolCall: ToolCall): string { + switch (toolCall.type) { + case "write": + case "delete": + case "read": + case "edit": + case "ls": + return toolCall.args.path; + case "generateImage": + return toolCall.args.filePath ?? "generated-image"; + default: + return cursorToolName(toolCall); + } +} + +function cursorToolSearchPattern(toolCall: ToolCall): string | undefined { + switch (toolCall.type) { + case "glob": + return toolCall.args.globPattern; + case "grep": + return toolCall.args.pattern; + case "semSearch": + return toolCall.args.query; + case "read": + case "ls": + return toolCall.args.path; + case "readLints": + return toolCall.args.paths.join(", "); + default: + return undefined; + } +} + +function cursorToolSearchResults(toolCall: ToolCall): ReadonlyArray<{ + readonly fileName: string; + readonly line?: number; + readonly preview?: string; +}> { + if (toolCall.result?.status !== "success") { + return []; + } + switch (toolCall.type) { + case "read": + return [ + { + fileName: toolCall.args.path, + preview: toolCall.result.value.content, + }, + ]; + case "glob": + return toolCall.result.value.files.map((fileName) => ({ fileName })); + case "grep": + return Object.values(toolCall.result.value.workspaceResults ?? {}).flatMap((result) => { + if (result.type === "files") { + return result.output.files.map((fileName) => ({ fileName })); + } + if (result.type === "count") { + return result.output.counts.map((entry) => ({ + fileName: entry.file, + preview: `${entry.count} matches`, + })); + } + return result.output.matches.map((entry) => ({ + fileName: entry.file, + ...(entry.lineNumber === undefined ? {} : { line: entry.lineNumber }), + preview: entry.line, + })); + }); + case "semSearch": + return [ + { + fileName: "semantic-search", + preview: toolCall.result.value.results, + }, + ]; + default: + return []; + } +} + +function cursorTodoSteps( + toolCall: Extract, +): ReadonlyArray { + const todos = + toolCall.result?.status === "success" ? toolCall.result.value.todos : toolCall.args.todos; + return todos + .filter((todo) => todo.status !== "cancelled" && todo.content.trim().length > 0) + .map((todo, index) => ({ + id: `todo-${index + 1}`, + text: todo.content, + status: + todo.status === "inProgress" + ? "running" + : todo.status === "completed" + ? "completed" + : "pending", + })); +} + +function assistantTextsFromConversationSteps(steps: ReadonlyArray): ReadonlyArray { + return steps.flatMap((step) => { + const record = unknownRecord(step); + if (record?.type === "assistantMessage") { + const text = nestedString(record, ["message", "text"]); + return text === undefined || text.length === 0 ? [] : [text]; + } + const text = nestedString(record, ["assistantMessage", "text"]); + return text === undefined || text.length === 0 ? [] : [text]; + }); +} + +function nestedToolResult>( + rawResult: unknown, + mapSuccess: (success: Record) => Value = (success) => success as Value, +): + | { readonly status: "success"; readonly value: Value } + | { readonly status: "error"; readonly error: unknown } + | undefined { + const result = unknownRecord(rawResult); + if (result === undefined) { + return undefined; + } + const success = unknownRecord(result.success); + if (success !== undefined) { + return { + status: "success", + value: mapSuccess(success), + }; + } + return { + status: "error", + error: result.error ?? result.permissionDenied ?? result, + }; +} + +function nestedGrepWorkspaceResults(success: Record): Record { + const workspaces = unknownRecord(success.workspaceResults); + if (workspaces === undefined) { + return {}; + } + return Object.fromEntries( + Object.entries(workspaces).map(([workspace, rawWorkspaceResult]) => { + const workspaceResult = unknownRecord(rawWorkspaceResult); + const content = unknownRecord(workspaceResult?.content); + const rawMatches = Array.isArray(content?.matches) ? content.matches : []; + const matches = rawMatches.flatMap((rawFileMatch) => { + const fileMatch = unknownRecord(rawFileMatch); + const file = typeof fileMatch?.file === "string" ? fileMatch.file : ""; + const lineMatches = Array.isArray(fileMatch?.matches) ? fileMatch.matches : []; + return lineMatches.flatMap((rawLineMatch) => { + const lineMatch = unknownRecord(rawLineMatch); + if (lineMatch === undefined) { + return []; + } + const line = typeof lineMatch.content === "string" ? lineMatch.content : undefined; + if (file.length === 0 || line === undefined) { + return []; + } + return [ + { + file, + line, + ...(typeof lineMatch.lineNumber === "number" + ? { lineNumber: lineMatch.lineNumber } + : {}), + }, + ]; + }); + }); + return [ + workspace, + { + type: "content", + output: { + matches, + totalMatches: + typeof content?.totalMatchedLines === "number" + ? content.totalMatchedLines + : matches.length, + }, + }, + ]; + }), + ); +} + +function nestedToolCallFromEnvelope( + envelope: Record, +): { readonly callId: string; readonly toolCall: ToolCall } | undefined { + const callId = typeof envelope.toolCallId === "string" ? envelope.toolCallId : undefined; + const wrapperEntry = Object.entries(envelope).find(([key]) => key.endsWith("ToolCall")); + if (wrapperEntry === undefined) { + return undefined; + } + const [wrapperName, rawCall] = wrapperEntry; + const call = unknownRecord(rawCall); + if (call === undefined) { + return undefined; + } + const args = unknownRecord(call.args) ?? {}; + const fallbackCallId = `nested-${wrapperName}`; + const nestedCallId = callId ?? fallbackCallId; + + switch (wrapperName) { + case "readToolCall": { + const success = unknownRecord(unknownRecord(call.result)?.success); + const path = + typeof args.path === "string" + ? args.path + : typeof success?.path === "string" + ? success.path + : undefined; + if (path === undefined) { + return undefined; + } + return { + callId: nestedCallId, + toolCall: { + type: "read", + args: { path }, + result: nestedToolResult(call.result, (value) => ({ + content: typeof value.content === "string" ? value.content : "", + totalLines: typeof value.totalLines === "number" ? value.totalLines : 0, + fileSize: typeof value.fileSize === "number" ? value.fileSize : 0, + })), + } as unknown as ToolCall, + }; + } + case "globToolCall": + return { + callId: nestedCallId, + toolCall: { + type: "glob", + args: { + globPattern: typeof args.globPattern === "string" ? args.globPattern : "**/*", + ...(typeof args.targetDirectory === "string" + ? { targetDirectory: args.targetDirectory } + : {}), + }, + result: nestedToolResult(call.result, (value) => ({ + files: Array.isArray(value.files) + ? value.files.filter((file): file is string => typeof file === "string") + : [], + totalFiles: typeof value.totalFiles === "number" ? value.totalFiles : 0, + clientTruncated: false, + ripgrepTruncated: false, + })), + } as unknown as ToolCall, + }; + case "grepToolCall": + return { + callId: nestedCallId, + toolCall: { + type: "grep", + args: { + pattern: typeof args.pattern === "string" ? args.pattern : "", + ...(typeof args.path === "string" ? { path: args.path } : {}), + ...(typeof args.glob === "string" ? { glob: args.glob } : {}), + ...(typeof args.outputMode === "string" ? { outputMode: args.outputMode } : {}), + ...(typeof args.caseInsensitive === "boolean" + ? { caseInsensitive: args.caseInsensitive } + : {}), + ...(typeof args.offset === "number" ? { offset: args.offset } : {}), + ...(typeof args.multiline === "boolean" ? { multiline: args.multiline } : {}), + }, + result: nestedToolResult(call.result, (value) => ({ + workspaceResults: nestedGrepWorkspaceResults(value), + })), + } as unknown as ToolCall, + }; + case "shellToolCall": { + const rawResult = unknownRecord(call.result); + const permissionDenied = unknownRecord(rawResult?.permissionDenied); + const command = + typeof args.command === "string" + ? args.command + : typeof permissionDenied?.command === "string" + ? permissionDenied.command + : ""; + return { + callId: nestedCallId, + toolCall: { + type: "shell", + args: { command }, + result: nestedToolResult(call.result, (value) => ({ + stdout: typeof value.stdout === "string" ? value.stdout : "", + stderr: typeof value.stderr === "string" ? value.stderr : "", + exitCode: typeof value.exitCode === "number" ? value.exitCode : 0, + signal: typeof value.signal === "string" ? value.signal : "", + executionTime: typeof value.executionTime === "number" ? value.executionTime : 0, + })), + } as unknown as ToolCall, + }; + } + default: { + const type = wrapperName.slice(0, -"ToolCall".length); + return { + callId: nestedCallId, + toolCall: { + type, + args, + result: nestedToolResult(call.result), + } as unknown as ToolCall, + }; + } + } +} + +function toolCallsFromConversationSteps( + steps: ReadonlyArray, +): ReadonlyArray<{ readonly callId: string; readonly toolCall: ToolCall }> { + return steps.flatMap((step) => { + const record = unknownRecord(step); + if (record?.type === "toolCall") { + const message = unknownRecord(record.message); + return typeof message?.type === "string" + ? [ + { + callId: typeof record.callId === "string" ? record.callId : `nested-${message.type}`, + toolCall: message as ToolCall, + }, + ] + : []; + } + const envelope = unknownRecord(record?.toolCall); + const nested = envelope === undefined ? undefined : nestedToolCallFromEnvelope(envelope); + return nested === undefined ? [] : [nested]; + }); +} + +function textFromAgentMessage(message: AgentMessage): string { + const value = message.message; + if (typeof value === "string") { + return value; + } + const direct = + nestedString(value, ["text"]) ?? + nestedString(value, ["message", "text"]) ?? + nestedString(value, ["userMessage", "text"]) ?? + nestedString(value, ["assistantMessage", "text"]); + if (direct !== undefined) { + return direct; + } + const content = unknownRecord(value)?.content; + if (!Array.isArray(content)) { + return ""; + } + return content + .flatMap((part) => { + const text = unknownRecord(part)?.text; + return typeof text === "string" ? [text] : []; + }) + .join(""); +} + +interface CursorProjectionTarget { + readonly threadId: ThreadId; + readonly runId: ProviderAdapterV2TurnInput["runId"] | null; + readonly rootNodeId: OrchestrationV2ExecutionNode["rootNodeId"]; + readonly parentNodeId: OrchestrationV2ExecutionNode["id"]; + readonly providerThreadId: OrchestrationV2ProviderThread["id"] | null; + readonly providerTurnId: OrchestrationV2ProviderTurn["id"] | null; +} + +interface ActiveCursorToolCall { + readonly callId: string; + toolCall: ToolCall; + readonly target: CursorProjectionTarget; + readonly ordinal: number; + readonly startedAt: DateTime.Utc; + streamedOutput: string; +} + +interface ActiveCursorSubagent { + task: OrchestrationV2Subagent; + readonly callId: string; + readonly childThreadId: ThreadId; + readonly childRootNodeId: OrchestrationV2ExecutionNode["id"]; + readonly turnItemId: OrchestrationV2TurnItem["id"]; + readonly turnItemOrdinal: number; + nextChildOrdinal: number; + resultProjected: boolean; +} + +interface ActiveCursorTurn { + readonly input: ProviderAdapterV2TurnInput; + readonly run: CursorAgentSdkRun; + readonly providerTurnId: OrchestrationV2ProviderTurn["id"]; + readonly startedAt: DateTime.Utc; + readonly completed: Deferred.Deferred; + readonly tools: Map; + readonly subagents: Map; + readonly assistant: { + readonly nativeItemId: string; + text: string; + }; + readonly reasoning: { + readonly nativeItemId: string; + text: string; + }; + interrupted: boolean; + finalized: boolean; +} + +interface CursorLiveAgent { + readonly nativeThreadId: string; + readonly session: CursorAgentSdkSession; +} + +export interface CursorAdapterV2Options { + readonly instanceId: ProviderInstanceId; + readonly settings: CursorSettings; + readonly environment: NodeJS.ProcessEnv; + readonly fileSystem: FileSystem.FileSystem; + readonly idAllocator: IdAllocatorV2Shape; + readonly runner: CursorAgentSdkRunnerShape; + readonly serverConfig: ServerConfigShape; +} + +export function makeCursorAdapterV2( + adapterOptions: CursorAdapterV2Options, +): ProviderAdapterV2Shape { + const { fileSystem, idAllocator, runner, serverConfig } = adapterOptions; + const apiKey = adapterOptions.environment.CURSOR_API_KEY?.trim() || undefined; + + return ProviderAdapterV2.of({ + instanceId: adapterOptions.instanceId, + provider: CURSOR_PROVIDER, + getCapabilities: () => Effect.succeed(CursorProviderCapabilitiesV2), + openSession: Effect.fn("CursorAdapterV2.openSession")( + function* (input: ProviderAdapterV2OpenSessionInput) { + const sessionScope = yield* Effect.scope; + const createdAt = yield* DateTime.now; + const session = providerSession({ + providerSessionId: input.providerSessionId, + cwd: input.runtimePolicy.cwd, + model: input.modelSelection.model, + now: createdAt, + }); + const events = yield* Queue.unbounded(); + const liveAgent = yield* Ref.make(null); + const activeTurn = yield* Ref.make(null); + const itemOrdinals = yield* Ref.make(new Map()); + const nextItemOrdinalsByTurn = yield* Ref.make(new Map()); + const planIds = yield* Ref.make(new Map()); + + const emitProviderEvent = (event: ProviderAdapterV2Event) => + Queue.offer(events, event).pipe(Effect.asVoid); + + const resolveItemOrdinal = Effect.fnUntraced(function* ( + context: ActiveCursorTurn, + nativeItemId: string, + ) { + const existing = (yield* Ref.get(itemOrdinals)).get(nativeItemId); + if (existing !== undefined) { + return existing; + } + const nextWithinTurn = yield* Ref.modify(nextItemOrdinalsByTurn, (current) => { + const next = (current.get(context.run.runId) ?? 0) + 1; + const updated = new Map(current); + updated.set(context.run.runId, next); + return [next, updated]; + }); + const ordinal = context.input.runOrdinal * 100 + nextWithinTurn; + yield* Ref.update(itemOrdinals, (current) => { + const updated = new Map(current); + updated.set(nativeItemId, ordinal); + return updated; + }); + return ordinal; + }); + + const resolvePlanId = Effect.fnUntraced(function* ( + context: ActiveCursorTurn, + nativeItemId: string, + ) { + const existing = (yield* Ref.get(planIds)).get(nativeItemId); + if (existing !== undefined) { + return existing; + } + const planId = yield* idAllocator.allocate.plan({ + threadId: context.input.threadId, + runId: context.input.runId, + provider: CURSOR_PROVIDER, + }); + yield* Ref.update(planIds, (current) => { + const updated = new Map(current); + updated.set(nativeItemId, planId); + return updated; + }); + return planId; + }); + + const parentTarget = (context: ActiveCursorTurn): CursorProjectionTarget => ({ + threadId: context.input.threadId, + runId: context.input.runId, + rootNodeId: context.input.rootNodeId, + parentNodeId: context.input.rootNodeId, + providerThreadId: context.input.providerThread.id, + providerTurnId: context.providerTurnId, + }); + + const emitAssistant = Effect.fnUntraced(function* ( + context: ActiveCursorTurn, + completed: boolean, + ) { + if (context.assistant.text.length === 0) { + return; + } + const now = yield* DateTime.now; + const ordinal = yield* resolveItemOrdinal(context, context.assistant.nativeItemId); + const nodeId = idAllocator.derive.nodeFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: context.assistant.nativeItemId, + }); + const messageId = idAllocator.derive.messageFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: context.assistant.nativeItemId, + }); + const turnItemId = idAllocator.derive.turnItemFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: context.assistant.nativeItemId, + }); + const nativeItemRef = { + provider: CURSOR_PROVIDER, + nativeId: context.assistant.nativeItemId, + strength: "weak" as const, + }; + yield* emitProviderEvent({ + type: "node.updated", + provider: CURSOR_PROVIDER, + node: { + id: nodeId, + threadId: context.input.threadId, + runId: context.input.runId, + parentNodeId: context.input.rootNodeId, + rootNodeId: context.input.rootNodeId, + kind: "assistant_message", + status: completed ? "completed" : "running", + countsForRun: false, + providerThreadId: context.input.providerThread.id, + providerTurnId: context.providerTurnId, + nativeItemRef, + runtimeRequestId: null, + checkpointScopeId: null, + startedAt: context.startedAt, + completedAt: completed ? now : null, + }, + }); + yield* emitProviderEvent({ + type: "message.updated", + provider: CURSOR_PROVIDER, + message: { + id: messageId, + threadId: context.input.threadId, + runId: context.input.runId, + nodeId, + role: "assistant", + text: context.assistant.text, + attachments: [], + streaming: !completed, + createdAt: context.startedAt, + updatedAt: now, + }, + }); + yield* emitProviderEvent({ + type: "turn_item.updated", + provider: CURSOR_PROVIDER, + turnItem: { + id: turnItemId, + threadId: context.input.threadId, + runId: context.input.runId, + nodeId, + providerThreadId: context.input.providerThread.id, + providerTurnId: context.providerTurnId, + nativeItemRef, + parentItemId: null, + ordinal, + status: completed ? "completed" : "running", + title: null, + startedAt: context.startedAt, + completedAt: completed ? now : null, + updatedAt: now, + type: "assistant_message", + messageId, + text: context.assistant.text, + streaming: !completed, + }, + }); + }); + + const emitReasoning = Effect.fnUntraced(function* ( + context: ActiveCursorTurn, + completed: boolean, + ) { + if (context.reasoning.text.length === 0) { + return; + } + const now = yield* DateTime.now; + const ordinal = yield* resolveItemOrdinal(context, context.reasoning.nativeItemId); + const nodeId = idAllocator.derive.nodeFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: context.reasoning.nativeItemId, + }); + const turnItemId = idAllocator.derive.turnItemFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: context.reasoning.nativeItemId, + }); + const nativeItemRef = { + provider: CURSOR_PROVIDER, + nativeId: context.reasoning.nativeItemId, + strength: "weak" as const, + }; + yield* emitProviderEvent({ + type: "node.updated", + provider: CURSOR_PROVIDER, + node: { + id: nodeId, + threadId: context.input.threadId, + runId: context.input.runId, + parentNodeId: context.input.rootNodeId, + rootNodeId: context.input.rootNodeId, + kind: "reasoning", + status: completed ? "completed" : "running", + countsForRun: false, + providerThreadId: context.input.providerThread.id, + providerTurnId: context.providerTurnId, + nativeItemRef, + runtimeRequestId: null, + checkpointScopeId: null, + startedAt: context.startedAt, + completedAt: completed ? now : null, + }, + }); + yield* emitProviderEvent({ + type: "turn_item.updated", + provider: CURSOR_PROVIDER, + turnItem: { + id: turnItemId, + threadId: context.input.threadId, + runId: context.input.runId, + nodeId, + providerThreadId: context.input.providerThread.id, + providerTurnId: context.providerTurnId, + nativeItemRef, + parentItemId: null, + ordinal, + status: completed ? "completed" : "running", + title: null, + startedAt: context.startedAt, + completedAt: completed ? now : null, + updatedAt: now, + type: "reasoning", + text: context.reasoning.text, + streaming: !completed, + }, + }); + }); + + const emitToolArtifacts = Effect.fnUntraced(function* (input: { + readonly active: ActiveCursorToolCall; + readonly completed: boolean; + }) { + const { active } = input; + const toolCall = active.toolCall; + const now = yield* DateTime.now; + const failed = input.completed && cursorToolFailed(toolCall); + const status = input.completed ? (failed ? "failed" : "completed") : "running"; + const nodeId = idAllocator.derive.nodeFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: active.callId, + }); + const turnItemId = idAllocator.derive.turnItemFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: active.callId, + }); + const nativeItemRef = { + provider: CURSOR_PROVIDER, + nativeId: active.callId, + strength: "strong" as const, + }; + const node: OrchestrationV2ExecutionNode = { + id: nodeId, + threadId: active.target.threadId, + runId: active.target.runId, + parentNodeId: active.target.parentNodeId, + rootNodeId: active.target.rootNodeId, + kind: "tool_call", + status, + countsForRun: false, + providerThreadId: active.target.providerThreadId, + providerTurnId: active.target.providerTurnId, + nativeItemRef, + runtimeRequestId: null, + checkpointScopeId: null, + startedAt: active.startedAt, + completedAt: input.completed ? now : null, + }; + const base = { + id: turnItemId, + threadId: active.target.threadId, + runId: active.target.runId, + nodeId, + providerThreadId: active.target.providerThreadId, + providerTurnId: active.target.providerTurnId, + nativeItemRef, + parentItemId: null, + ordinal: active.ordinal, + status, + title: null, + startedAt: active.startedAt, + completedAt: input.completed ? now : null, + updatedAt: now, + } satisfies Pick< + OrchestrationV2TurnItem, + | "id" + | "threadId" + | "runId" + | "nodeId" + | "providerThreadId" + | "providerTurnId" + | "nativeItemRef" + | "parentItemId" + | "ordinal" + | "status" + | "title" + | "startedAt" + | "completedAt" + | "updatedAt" + >; + const outputText = cursorToolOutputText(toolCall) || active.streamedOutput; + let turnItem: OrchestrationV2TurnItem; + switch (toolCall.type) { + case "shell": + turnItem = { + ...base, + type: "command_execution", + input: toolCall.args.command, + ...(outputText.length === 0 ? {} : { output: outputText }), + ...(toolCall.result?.status === "success" + ? { exitCode: toolCall.result.value.exitCode } + : {}), + }; + break; + case "write": + case "delete": + case "edit": + case "generateImage": + turnItem = { + ...base, + type: "file_change", + fileName: cursorToolFileName(toolCall), + ...(toolCall.type === "edit" && + toolCall.result?.status === "success" && + toolCall.result.value.linesAdded !== undefined + ? { additions: toolCall.result.value.linesAdded } + : {}), + ...(toolCall.type === "edit" && + toolCall.result?.status === "success" && + toolCall.result.value.linesRemoved !== undefined + ? { deletions: toolCall.result.value.linesRemoved } + : {}), + ...(toolCall.type === "edit" && + toolCall.result?.status === "success" && + toolCall.result.value.diffString !== undefined + ? { diffStr: toolCall.result.value.diffString } + : {}), + ...(toolCall.type === "write" ? { newStr: toolCall.args.fileText } : {}), + }; + break; + case "glob": + case "grep": + case "read": + case "ls": + case "readLints": + case "semSearch": { + const results = cursorToolSearchResults(toolCall); + turnItem = { + ...base, + type: "file_search", + ...(cursorToolSearchPattern(toolCall) === undefined + ? {} + : { pattern: cursorToolSearchPattern(toolCall) }), + ...(results.length === 0 ? {} : { results: [...results] }), + }; + break; + } + default: + turnItem = { + ...base, + type: "dynamic_tool", + toolName: cursorToolName(toolCall), + input: toolCall.args, + ...(cursorToolOutput(toolCall) === undefined + ? {} + : { output: cursorToolOutput(toolCall) }), + }; + } + yield* emitProviderEvent({ + type: "node.updated", + provider: CURSOR_PROVIDER, + node, + }); + yield* emitProviderEvent({ + type: "turn_item.updated", + provider: CURSOR_PROVIDER, + turnItem, + }); + }); + + const ensureToolStarted = Effect.fnUntraced(function* ( + context: ActiveCursorTurn, + callId: string, + toolCall: ToolCall, + ) { + const existing = context.tools.get(callId); + if (existing !== undefined) { + existing.toolCall = toolCall; + return existing; + } + const startedAt = yield* DateTime.now; + const active: ActiveCursorToolCall = { + callId, + toolCall, + target: parentTarget(context), + ordinal: yield* resolveItemOrdinal(context, callId), + startedAt, + streamedOutput: "", + }; + context.tools.set(callId, active); + yield* emitToolArtifacts({ active, completed: false }); + return active; + }); + + const emitPlanArtifacts = Effect.fnUntraced(function* (input: { + readonly context: ActiveCursorTurn; + readonly callId: string; + readonly markdown: string; + readonly completed: boolean; + readonly failed: boolean; + }) { + const nativeItemId = `plan:${input.callId}`; + const now = yield* DateTime.now; + const planId = yield* resolvePlanId(input.context, nativeItemId); + const ordinal = yield* resolveItemOrdinal(input.context, nativeItemId); + const nodeId = idAllocator.derive.nodeFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId, + }); + const turnItemId = idAllocator.derive.turnItemFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId, + }); + const status = input.failed ? "failed" : input.completed ? "completed" : "running"; + const nativeItemRef = { + provider: CURSOR_PROVIDER, + nativeId: input.callId, + strength: "strong" as const, + }; + const plan: OrchestrationV2PlanArtifact = { + id: planId, + threadId: input.context.input.threadId, + runId: input.context.input.runId, + nodeId, + kind: "proposed_plan", + status: input.completed ? "active" : "draft", + markdown: input.markdown, + }; + yield* emitProviderEvent({ + type: "node.updated", + provider: CURSOR_PROVIDER, + node: { + id: nodeId, + threadId: input.context.input.threadId, + runId: input.context.input.runId, + parentNodeId: input.context.input.rootNodeId, + rootNodeId: input.context.input.rootNodeId, + kind: "plan", + status, + countsForRun: false, + providerThreadId: input.context.input.providerThread.id, + providerTurnId: input.context.providerTurnId, + nativeItemRef, + runtimeRequestId: null, + checkpointScopeId: null, + startedAt: input.context.startedAt, + completedAt: input.completed ? now : null, + }, + }); + yield* emitProviderEvent({ + type: "plan.updated", + provider: CURSOR_PROVIDER, + plan, + }); + yield* emitProviderEvent({ + type: "turn_item.updated", + provider: CURSOR_PROVIDER, + turnItem: { + id: turnItemId, + threadId: input.context.input.threadId, + runId: input.context.input.runId, + nodeId, + providerThreadId: input.context.input.providerThread.id, + providerTurnId: input.context.providerTurnId, + nativeItemRef, + parentItemId: null, + ordinal, + status, + title: null, + startedAt: input.context.startedAt, + completedAt: input.completed ? now : null, + updatedAt: now, + type: "proposed_plan", + planId, + markdown: input.markdown, + streaming: !input.completed, + }, + }); + }); + + const emitTodoArtifacts = Effect.fnUntraced(function* (input: { + readonly context: ActiveCursorTurn; + readonly callId: string; + readonly toolCall: Extract; + readonly completed: boolean; + readonly failed: boolean; + }) { + const nativeItemId = `todos:${input.callId}`; + const now = yield* DateTime.now; + const planId = yield* resolvePlanId(input.context, nativeItemId); + const ordinal = yield* resolveItemOrdinal(input.context, nativeItemId); + const nodeId = idAllocator.derive.nodeFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId, + }); + const turnItemId = idAllocator.derive.turnItemFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId, + }); + const status = input.failed ? "failed" : input.completed ? "completed" : "running"; + const steps = cursorTodoSteps(input.toolCall); + const nativeItemRef = { + provider: CURSOR_PROVIDER, + nativeId: input.callId, + strength: "strong" as const, + }; + yield* emitProviderEvent({ + type: "node.updated", + provider: CURSOR_PROVIDER, + node: { + id: nodeId, + threadId: input.context.input.threadId, + runId: input.context.input.runId, + parentNodeId: input.context.input.rootNodeId, + rootNodeId: input.context.input.rootNodeId, + kind: "todo_list", + status, + countsForRun: false, + providerThreadId: input.context.input.providerThread.id, + providerTurnId: input.context.providerTurnId, + nativeItemRef, + runtimeRequestId: null, + checkpointScopeId: null, + startedAt: input.context.startedAt, + completedAt: input.completed ? now : null, + }, + }); + yield* emitProviderEvent({ + type: "plan.updated", + provider: CURSOR_PROVIDER, + plan: { + id: planId, + threadId: input.context.input.threadId, + runId: input.context.input.runId, + nodeId, + kind: "todo_list", + status: input.completed ? "active" : "draft", + steps: [...steps], + }, + }); + yield* emitProviderEvent({ + type: "turn_item.updated", + provider: CURSOR_PROVIDER, + turnItem: { + id: turnItemId, + threadId: input.context.input.threadId, + runId: input.context.input.runId, + nodeId, + providerThreadId: input.context.input.providerThread.id, + providerTurnId: input.context.providerTurnId, + nativeItemRef, + parentItemId: null, + ordinal, + status, + title: null, + startedAt: input.context.startedAt, + completedAt: input.completed ? now : null, + updatedAt: now, + type: "todo_list", + planId, + steps: [...steps], + }, + }); + }); + + const emitSubagent = Effect.fnUntraced(function* (input: { + readonly context: ActiveCursorTurn; + readonly callId: string; + readonly toolCall: Extract; + readonly completed: boolean; + }) { + const args = input.toolCall.args; + const result = + input.toolCall.result?.status === "success" ? input.toolCall.result.value : undefined; + const existing = input.context.subagents.get(input.callId); + const now = yield* DateTime.now; + const status: OrchestrationV2Subagent["status"] = input.completed + ? cursorToolFailed(input.toolCall) + ? "failed" + : "completed" + : "running"; + const resultText = [ + ...assistantTextsFromConversationSteps(result?.conversationSteps ?? []), + ...(result?.resultSuffix === undefined ? [] : [result.resultSuffix]), + ] + .filter((part) => part.trim().length > 0) + .join("\n"); + const nativeItemId = input.callId; + const nodeId = + existing?.task.id ?? + idAllocator.derive.nodeFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId, + }); + const childRootNodeId = + existing?.childRootNodeId ?? + idAllocator.derive.nodeFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: `${nativeItemId}:child-root`, + }); + const childThreadId = + existing?.childThreadId ?? + idAllocator.derive.threadFromProviderThread({ + provider: CURSOR_PROVIDER, + nativeThreadId: `${input.context.run.runId}:task:${input.callId}`, + }); + const task: OrchestrationV2Subagent = { + ...(existing?.task ?? { + id: nodeId, + threadId: input.context.input.threadId, + runId: input.context.input.runId, + parentNodeId: input.context.input.rootNodeId, + origin: "provider_native" as const, + createdBy: "agent" as const, + provider: CURSOR_PROVIDER, + providerThreadId: null, + childThreadId, + nativeTaskRef: { + provider: CURSOR_PROVIDER, + nativeId: input.callId, + strength: "strong" as const, + }, + prompt: args.prompt, + title: args.description, + model: args.model ?? input.context.input.modelSelection.model, + result: null, + startedAt: now, + }), + nativeTaskRef: { + provider: CURSOR_PROVIDER, + nativeId: input.callId, + strength: "strong" as const, + }, + status, + result: resultText.length === 0 ? (existing?.task.result ?? null) : resultText, + completedAt: input.completed ? now : null, + updatedAt: now, + }; + const subagent: ActiveCursorSubagent = { + task, + callId: input.callId, + childThreadId, + childRootNodeId, + turnItemId: + existing?.turnItemId ?? + idAllocator.derive.turnItemFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId, + }), + turnItemOrdinal: + existing?.turnItemOrdinal ?? (yield* resolveItemOrdinal(input.context, nativeItemId)), + nextChildOrdinal: existing?.nextChildOrdinal ?? 100, + resultProjected: existing?.resultProjected ?? false, + }; + input.context.subagents.set(input.callId, subagent); + + if (existing === undefined) { + yield* emitProviderEvent({ + type: "app_thread.created", + provider: CURSOR_PROVIDER, + appThread: makeSubagentChildThread({ + parentThread: input.context.input.appThread, + childThreadId, + parentNodeId: nodeId, + activeProviderThreadId: null, + providerInstanceId: input.context.input.modelSelection.instanceId, + modelSelection: input.context.input.modelSelection, + title: subagentThreadTitle({ + parentTitle: input.context.input.appThread.title, + title: args.description, + prompt: args.prompt, + ordinal: input.context.subagents.size, + }), + now, + }), + }); + const promptNativeId = `${nativeItemId}:prompt`; + const promptArtifacts = makeSubagentConversationArtifacts({ + messageId: idAllocator.derive.messageFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: promptNativeId, + }), + turnItemId: idAllocator.derive.turnItemFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: promptNativeId, + }), + threadId: childThreadId, + rootNodeId: childRootNodeId, + providerThreadId: null, + providerTurnId: null, + nativeItemRef: { + provider: CURSOR_PROVIDER, + nativeId: promptNativeId, + strength: "weak", + }, + role: "user", + text: args.prompt, + ordinal: 100, + now, + }); + yield* emitProviderEvent({ + type: "message.updated", + provider: CURSOR_PROVIDER, + message: promptArtifacts.message, + }); + yield* emitProviderEvent({ + type: "turn_item.updated", + provider: CURSOR_PROVIDER, + turnItem: promptArtifacts.turnItem, + }); + } + + yield* emitProviderEvent({ + type: "node.updated", + provider: CURSOR_PROVIDER, + node: { + id: nodeId, + threadId: input.context.input.threadId, + runId: input.context.input.runId, + parentNodeId: input.context.input.rootNodeId, + rootNodeId: input.context.input.rootNodeId, + kind: "subagent", + status, + countsForRun: false, + providerThreadId: input.context.input.providerThread.id, + providerTurnId: input.context.providerTurnId, + nativeItemRef: task.nativeTaskRef, + runtimeRequestId: null, + checkpointScopeId: null, + startedAt: task.startedAt, + completedAt: input.completed ? now : null, + }, + }); + yield* emitProviderEvent({ + type: "node.updated", + provider: CURSOR_PROVIDER, + node: { + id: childRootNodeId, + threadId: childThreadId, + runId: null, + parentNodeId: null, + rootNodeId: childRootNodeId, + kind: "root_turn", + status, + countsForRun: false, + providerThreadId: null, + providerTurnId: null, + nativeItemRef: task.nativeTaskRef, + runtimeRequestId: null, + checkpointScopeId: null, + startedAt: task.startedAt, + completedAt: input.completed ? now : null, + }, + }); + yield* emitProviderEvent({ + type: "subagent.updated", + provider: CURSOR_PROVIDER, + subagent: task, + }); + yield* emitProviderEvent({ + type: "turn_item.updated", + provider: CURSOR_PROVIDER, + turnItem: { + id: subagent.turnItemId, + threadId: input.context.input.threadId, + runId: input.context.input.runId, + nodeId, + providerThreadId: input.context.input.providerThread.id, + providerTurnId: input.context.providerTurnId, + nativeItemRef: task.nativeTaskRef, + parentItemId: null, + ordinal: subagent.turnItemOrdinal, + status, + title: task.title, + startedAt: task.startedAt, + completedAt: task.completedAt, + updatedAt: now, + type: "subagent", + subagentId: task.id, + origin: task.origin, + provider: task.provider, + childThreadId, + prompt: task.prompt, + result: task.result, + }, + }); + + if (input.completed && !subagent.resultProjected) { + for (const [index, nestedTool] of toolCallsFromConversationSteps( + result?.conversationSteps ?? [], + ).entries()) { + const callId = `${nativeItemId}:child-tool:${nestedTool.callId || index + 1}`; + const startedAt = task.startedAt ?? now; + const active: ActiveCursorToolCall = { + callId, + toolCall: nestedTool.toolCall, + target: { + threadId: childThreadId, + runId: null, + rootNodeId: childRootNodeId, + parentNodeId: childRootNodeId, + providerThreadId: null, + providerTurnId: null, + }, + ordinal: ++subagent.nextChildOrdinal, + startedAt, + streamedOutput: "", + }; + yield* emitToolArtifacts({ active, completed: true }); + } + if (task.result !== null && task.result.length > 0) { + const resultNativeId = `${nativeItemId}:result`; + const resultArtifacts = makeSubagentConversationArtifacts({ + messageId: idAllocator.derive.messageFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: resultNativeId, + }), + turnItemId: idAllocator.derive.turnItemFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: resultNativeId, + }), + threadId: childThreadId, + rootNodeId: childRootNodeId, + providerThreadId: null, + providerTurnId: null, + nativeItemRef: { + provider: CURSOR_PROVIDER, + nativeId: resultNativeId, + strength: "weak", + }, + role: "assistant", + text: task.result, + ordinal: ++subagent.nextChildOrdinal, + now, + }); + yield* emitProviderEvent({ + type: "message.updated", + provider: CURSOR_PROVIDER, + message: resultArtifacts.message, + }); + yield* emitProviderEvent({ + type: "turn_item.updated", + provider: CURSOR_PROVIDER, + turnItem: resultArtifacts.turnItem, + }); + } + subagent.resultProjected = true; + } + }); + + const handleToolUpdate = Effect.fnUntraced(function* ( + context: ActiveCursorTurn, + update: Extract< + InteractionUpdate, + { + readonly type: "tool-call-started" | "partial-tool-call" | "tool-call-completed"; + } + >, + ) { + const completed = update.type === "tool-call-completed"; + const toolCall = update.toolCall; + switch (toolCall.type) { + case "createPlan": + yield* emitPlanArtifacts({ + context, + callId: update.callId, + markdown: toolCall.args.plan, + completed, + failed: completed && cursorToolFailed(toolCall), + }); + return; + case "updateTodos": + yield* emitTodoArtifacts({ + context, + callId: update.callId, + toolCall, + completed, + failed: completed && cursorToolFailed(toolCall), + }); + return; + case "task": + if (update.type === "partial-tool-call") { + return; + } + yield* emitSubagent({ + context, + callId: update.callId, + toolCall, + completed, + }); + return; + default: { + const active = yield* ensureToolStarted(context, update.callId, toolCall); + active.toolCall = toolCall; + if (update.type !== "tool-call-started") { + yield* emitToolArtifacts({ active, completed }); + } + if (completed) { + context.tools.delete(update.callId); + } + } + } + }); + + const shellOutputText = (event: Record): string => { + const candidates = [ + event.text, + event.output, + event.data, + event.stdout, + event.stderr, + event.chunk, + ]; + return candidates.filter((value): value is string => typeof value === "string").join(""); + }; + + const handleInteractionUpdate = Effect.fnUntraced(function* ( + context: ActiveCursorTurn, + update: InteractionUpdate, + ) { + if (context.finalized) { + return; + } + switch (update.type) { + case "text-delta": + context.assistant.text += update.text; + yield* emitAssistant(context, false); + return; + case "thinking-delta": + context.reasoning.text += update.text; + yield* emitReasoning(context, false); + return; + case "thinking-completed": + yield* emitReasoning(context, true); + return; + case "tool-call-started": + case "partial-tool-call": + case "tool-call-completed": + yield* handleToolUpdate(context, update); + return; + case "shell-output-delta": { + const shell = Array.from(context.tools.values()) + .toReversed() + .find((candidate) => candidate.toolCall.type === "shell"); + if (shell === undefined) { + return; + } + shell.streamedOutput += shellOutputText(update.event); + yield* emitToolArtifacts({ active: shell, completed: false }); + return; + } + default: + return; + } + }); + + const providerTurnPayload = (input: { + readonly context: ActiveCursorTurn; + readonly status: OrchestrationV2ProviderTurn["status"]; + readonly completedAt: DateTime.Utc | null; + }): OrchestrationV2ProviderTurn => ({ + id: input.context.providerTurnId, + providerThreadId: input.context.input.providerThread.id, + nodeId: input.context.input.rootNodeId, + runAttemptId: input.context.input.attemptId, + nativeTurnRef: { + provider: CURSOR_PROVIDER, + nativeId: input.context.run.runId, + strength: "strong", + }, + ordinal: input.context.input.providerTurnOrdinal, + status: input.status, + startedAt: input.context.startedAt, + completedAt: input.completedAt, + }); + + const finalizeTurn = Effect.fnUntraced(function* (input: { + readonly context: ActiveCursorTurn; + readonly status: Extract< + OrchestrationV2ProviderTurn["status"], + "completed" | "interrupted" | "failed" | "cancelled" + >; + }) { + if (input.context.finalized) { + return; + } + input.context.finalized = true; + const completedAt = yield* DateTime.now; + for (const tool of input.context.tools.values()) { + yield* emitToolArtifacts({ active: tool, completed: true }); + } + input.context.tools.clear(); + yield* emitReasoning(input.context, true); + yield* emitAssistant(input.context, true); + yield* emitProviderEvent({ + type: "provider_turn.updated", + provider: CURSOR_PROVIDER, + providerTurn: providerTurnPayload({ + context: input.context, + status: input.status, + completedAt, + }), + }); + yield* emitProviderEvent({ + type: "provider_thread.updated", + provider: CURSOR_PROVIDER, + providerThread: { + ...input.context.input.providerThread, + providerSessionId: session.id, + status: input.status === "failed" ? "error" : "idle", + firstRunOrdinal: + input.context.input.providerThread.firstRunOrdinal ?? + input.context.input.runOrdinal, + lastRunOrdinal: input.context.input.runOrdinal, + updatedAt: completedAt, + }, + }); + yield* emitProviderEvent({ + type: "turn.terminal", + provider: CURSOR_PROVIDER, + providerTurnId: input.context.providerTurnId, + status: input.status, + }); + yield* Ref.update(activeTurn, (current) => + current?.providerTurnId === input.context.providerTurnId ? null : current, + ); + yield* Deferred.succeed(input.context.completed, undefined); + }); + + const terminalStatus = ( + context: ActiveCursorTurn, + result: RunResult, + ): Extract< + OrchestrationV2ProviderTurn["status"], + "completed" | "interrupted" | "failed" | "cancelled" + > => { + if (context.interrupted) { + return "interrupted"; + } + switch (result.status) { + case "finished": + return "completed"; + case "cancelled": + return "cancelled"; + case "error": + return "failed"; + } + }; + + const openAgent = Effect.fnUntraced(function* (openInput: { + readonly operation: "create" | "resume"; + readonly threadId: ThreadId; + readonly modelSelection: ModelSelection; + readonly runtimePolicy: ProviderAdapterV2RuntimePolicy; + readonly agentId?: string; + }) { + const existing = yield* Ref.get(liveAgent); + if ( + existing !== null && + openInput.operation === "resume" && + existing.nativeThreadId === openInput.agentId + ) { + return existing; + } + if (existing !== null) { + yield* existing.session.close.pipe(Effect.ignore); + yield* Ref.set(liveAgent, null); + } + const sdkSession = yield* runner.open({ + operation: openInput.operation, + ...(openInput.agentId === undefined ? {} : { agentId: openInput.agentId }), + options: makeCursorAgentOptions({ + ...(apiKey === undefined ? {} : { apiKey }), + modelSelection: openInput.modelSelection, + runtimePolicy: openInput.runtimePolicy, + threadId: openInput.threadId, + }), + threadId: openInput.threadId, + providerSessionId: input.providerSessionId, + }); + const next = { + nativeThreadId: sdkSession.agentId, + session: sdkSession, + } satisfies CursorLiveAgent; + yield* Ref.set(liveAgent, next); + return next; + }); + + const resolveUserMessage = Effect.fnUntraced(function* ( + turnInput: ProviderAdapterV2TurnInput, + ) { + const images = yield* Effect.forEach( + turnInput.message.attachments, + (attachment: ChatAttachment) => + Effect.gen(function* () { + const path = resolveAttachmentPath({ + attachmentsDir: serverConfig.attachmentsDir, + attachment, + }); + if (path === null) { + return yield* new ProviderAdapterProtocolError({ + provider: CURSOR_PROVIDER, + detail: `Invalid attachment id '${attachment.id}'.`, + }); + } + const bytes = yield* fileSystem.readFile(path).pipe( + Effect.mapError( + (cause) => + new ProviderAdapterProtocolError({ + provider: CURSOR_PROVIDER, + detail: `Failed to read attachment '${attachment.id}'.`, + payload: cause, + }), + ), + ); + return { + data: Buffer.from(bytes).toString("base64"), + mimeType: attachment.mimeType, + }; + }), + { concurrency: 1 }, + ); + if (turnInput.message.text.length === 0 && images.length === 0) { + return yield* new ProviderAdapterProtocolError({ + provider: CURSOR_PROVIDER, + detail: "Cursor turn requires non-empty text or attachments.", + }); + } + return images.length === 0 + ? turnInput.message.text + : ({ + text: turnInput.message.text, + images, + } satisfies SDKUserMessage); + }); + + const startTurn = Effect.fn("CursorAdapterV2.startTurn")( + function* (turnInput: ProviderAdapterV2TurnInput) { + const current = yield* Ref.get(activeTurn); + if (current !== null) { + return yield* new ProviderAdapterProtocolError({ + provider: CURSOR_PROVIDER, + detail: `Cursor provider turn ${current.providerTurnId} is still active.`, + }); + } + const agentId = nativeThreadId(turnInput.providerThread); + const agent = yield* openAgent({ + operation: "resume", + agentId, + threadId: turnInput.threadId, + modelSelection: turnInput.modelSelection, + runtimePolicy: turnInput.runtimePolicy, + }); + const message = yield* resolveUserMessage(turnInput); + const mcpServers = cursorMcpServers(turnInput.threadId); + const pendingUpdates: Array = []; + let context: ActiveCursorTurn | null = null; + const sdkRun = yield* agent.session.send({ + message, + options: { + model: cursorSdkModelSelection(turnInput.modelSelection), + mode: turnInput.runtimePolicy.interactionMode === "plan" ? "plan" : "agent", + ...(mcpServers === undefined ? {} : { mcpServers }), + }, + onDelta: (update) => { + if (context === null) { + return Effect.sync(() => { + pendingUpdates.push(update); + }); + } + return handleInteractionUpdate(context, update); + }, + }); + const startedAt = yield* DateTime.now; + const completed = yield* Deferred.make(); + const providerTurnId = idAllocator.derive.providerTurn({ + provider: CURSOR_PROVIDER, + nativeTurnId: sdkRun.runId, + }); + context = { + input: turnInput, + run: sdkRun, + providerTurnId, + startedAt, + completed, + tools: new Map(), + subagents: new Map(), + assistant: { + nativeItemId: `assistant:${sdkRun.runId}`, + text: "", + }, + reasoning: { + nativeItemId: `reasoning:${sdkRun.runId}`, + text: "", + }, + interrupted: false, + finalized: false, + }; + yield* Ref.set(activeTurn, context); + yield* emitProviderEvent({ + type: "provider_turn.updated", + provider: CURSOR_PROVIDER, + providerTurn: providerTurnPayload({ + context, + status: "running", + completedAt: null, + }), + }); + yield* emitProviderEvent({ + type: "provider_thread.updated", + provider: CURSOR_PROVIDER, + providerThread: { + ...turnInput.providerThread, + providerSessionId: session.id, + status: "active", + updatedAt: startedAt, + }, + }); + for (const update of pendingUpdates) { + yield* handleInteractionUpdate(context, update); + } + + yield* sdkRun.wait.pipe( + Effect.flatMap((result) => + Effect.gen(function* () { + if ( + context !== null && + context.assistant.text.length === 0 && + result.result !== undefined && + result.result.length > 0 + ) { + context.assistant.text = result.result; + } + if (context !== null) { + yield* finalizeTurn({ + context, + status: terminalStatus(context, result), + }); + } + }), + ), + Effect.catch((cause) => + Effect.gen(function* () { + if (context !== null) { + yield* finalizeTurn({ + context, + status: context.interrupted ? "interrupted" : "failed", + }); + } + yield* Effect.logWarning("orchestration-v2.cursor-run-failed", { + providerSessionId: input.providerSessionId, + providerThreadId: turnInput.providerThread.id, + providerTurnId, + cause, + }); + }), + ), + Effect.forkIn(sessionScope), + ); + }, + (effect, turnInput) => + effect.pipe( + Effect.mapError( + (cause) => + new ProviderAdapterTurnStartError({ + provider: CURSOR_PROVIDER, + threadId: turnInput.threadId, + providerThreadId: turnInput.providerThread.id, + runId: turnInput.runId, + cause, + }), + ), + ), + ); + + const closeSession = Effect.fnUntraced(function* () { + const existing = yield* Ref.get(liveAgent); + if (existing !== null) { + yield* existing.session.close.pipe(Effect.ignore); + yield* Ref.set(liveAgent, null); + } + yield* runner.assertComplete.pipe( + Effect.catchCause((cause) => + Effect.logWarning("orchestration-v2.cursor-runner-incomplete", { + providerSessionId: input.providerSessionId, + cause, + }), + ), + ); + }); + yield* Effect.addFinalizer(() => closeSession()); + + const runtime: ProviderAdapterV2SessionRuntime = { + instanceId: adapterOptions.instanceId, + provider: CURSOR_PROVIDER, + providerSessionId: input.providerSessionId, + providerSession: session, + rawEvents: Stream.empty, + events: Stream.fromEffectRepeat(Queue.take(events)), + ensureThread: Effect.fn("CursorAdapterV2.ensureThread")( + function* (threadInput: ProviderAdapterV2EnsureThreadInput) { + const opened = yield* openAgent({ + operation: "create", + threadId: threadInput.threadId, + modelSelection: threadInput.modelSelection, + runtimePolicy: threadInput.runtimePolicy, + }); + const now = yield* DateTime.now; + return makeProviderThread({ + idAllocator, + appThreadId: threadInput.threadId, + providerSessionId: input.providerSessionId, + nativeThreadId: opened.nativeThreadId, + now, + }); + }, + (effect, threadInput) => + effect.pipe( + Effect.mapError( + (cause) => + new ProviderAdapterEnsureThreadError({ + provider: CURSOR_PROVIDER, + threadId: threadInput.threadId, + cause, + }), + ), + ), + ), + resumeThread: Effect.fn("CursorAdapterV2.resumeThread")( + function* (threadInput: { readonly providerThread: OrchestrationV2ProviderThread }) { + const agentId = nativeThreadId(threadInput.providerThread); + yield* openAgent({ + operation: "resume", + agentId, + threadId: threadInput.providerThread.appThreadId ?? input.threadId, + modelSelection: input.modelSelection, + runtimePolicy: input.runtimePolicy, + }); + const now = yield* DateTime.now; + return { + ...threadInput.providerThread, + providerSessionId: input.providerSessionId, + status: "idle" as const, + updatedAt: now, + }; + }, + (effect, threadInput) => + effect.pipe( + Effect.mapError( + (cause) => + new ProviderAdapterResumeThreadError({ + provider: CURSOR_PROVIDER, + providerSessionId: input.providerSessionId, + providerThreadId: threadInput.providerThread.id, + cause, + }), + ), + ), + ), + startTurn, + steerTurn: (turnInput) => + Effect.fail( + new ProviderAdapterSteerRunUnsupportedError({ + provider: CURSOR_PROVIDER, + providerThreadId: turnInput.providerThread.id, + }), + ), + interruptTurn: Effect.fn("CursorAdapterV2.interruptTurn")( + function* (turnInput: ProviderAdapterV2InterruptInput) { + const context = yield* Ref.get(activeTurn); + if (context?.providerTurnId !== turnInput.providerTurnId) { + return yield* new ProviderAdapterProtocolError({ + provider: CURSOR_PROVIDER, + detail: `Cursor provider turn ${turnInput.providerTurnId} is not active.`, + }); + } + context.interrupted = true; + yield* context.run.cancel; + const stopped = yield* Deferred.await(context.completed).pipe( + Effect.timeoutOption("10 seconds"), + ); + if (Option.isSome(stopped)) { + return; + } + yield* Effect.logWarning("orchestration-v2.cursor-interrupt-timeout", { + providerSessionId: input.providerSessionId, + providerThreadId: turnInput.providerThread.id, + providerTurnId: turnInput.providerTurnId, + }); + yield* finalizeTurn({ context, status: "interrupted" }); + }, + (effect, turnInput) => + effect.pipe( + Effect.mapError( + (cause) => + new ProviderAdapterInterruptError({ + provider: CURSOR_PROVIDER, + providerThreadId: turnInput.providerThread.id, + providerTurnId: turnInput.providerTurnId, + cause, + }), + ), + ), + ), + respondToRuntimeRequest: (requestInput) => + Effect.fail( + new ProviderAdapterRuntimeRequestResponseError({ + provider: CURSOR_PROVIDER, + requestId: requestInput.requestId, + cause: new ProviderAdapterProtocolError({ + provider: CURSOR_PROVIDER, + detail: "Cursor Agent SDK does not expose interactive approval requests.", + }), + }), + ), + readThreadSnapshot: Effect.fn("CursorAdapterV2.readThreadSnapshot")( + function* (snapshotInput) { + const requestedAgentId = nativeThreadId(snapshotInput.providerThread); + const agent = yield* openAgent({ + operation: "resume", + agentId: requestedAgentId, + threadId: snapshotInput.providerThread.appThreadId ?? input.threadId, + modelSelection: input.modelSelection, + runtimePolicy: input.runtimePolicy, + }); + const messages = yield* agent.session.listMessages; + const now = yield* DateTime.now; + const threadId = snapshotInput.providerThread.appThreadId ?? input.threadId; + const projectedMessages: Array = messages.flatMap( + (message) => { + const text = textFromAgentMessage(message); + if (text.length === 0) { + return []; + } + return [ + { + id: idAllocator.derive.messageFromProviderItem({ + provider: CURSOR_PROVIDER, + nativeItemId: message.uuid, + }), + threadId, + runId: null, + nodeId: null, + role: message.type, + text, + attachments: [], + streaming: false, + createdAt: now, + updatedAt: now, + }, + ]; + }, + ); + return { + providerThread: { + ...snapshotInput.providerThread, + providerSessionId: input.providerSessionId, + status: "idle" as const, + updatedAt: now, + }, + providerTurns: [], + messages: projectedMessages, + runtimeRequests: [], + providerPayload: { + agentId: requestedAgentId, + messages, + }, + }; + }, + (effect, snapshotInput) => + effect.pipe( + Effect.mapError( + (cause) => + new ProviderAdapterReadThreadSnapshotError({ + provider: CURSOR_PROVIDER, + providerThreadId: snapshotInput.providerThread.id, + cause, + }), + ), + ), + ), + rollbackThread: (rollbackInput) => + Effect.fail( + new ProviderAdapterRollbackThreadError({ + provider: CURSOR_PROVIDER, + providerThreadId: rollbackInput.providerThread.id, + checkpointId: rollbackInput.target.checkpointId, + cause: "Cursor Agent SDK does not expose conversation rollback.", + }), + ), + forkThread: (forkInput) => + Effect.fail( + new ProviderAdapterForkThreadError({ + provider: CURSOR_PROVIDER, + providerThreadId: forkInput.sourceProviderThread.id, + cause: "Cursor Agent SDK does not expose native agent forks.", + }), + ), + }; + return runtime; + }, + (effect, input) => + effect.pipe( + Effect.mapError( + (cause) => + new ProviderAdapterOpenSessionError({ + provider: CURSOR_PROVIDER, + providerSessionId: input.providerSessionId, + cause, + }), + ), + ), + ), + }); +} + +export type CursorAdapterV2DriverEnv = + | CursorAgentSdkRunner + | FileSystem.FileSystem + | IdAllocatorV2 + | ServerConfig; + +export const CursorAdapterV2Driver: ProviderAdapterDriver< + CursorSettings, + CursorAdapterV2DriverEnv +> = { + driverKind: CURSOR_DRIVER_KIND, + configSchema: CursorSettings, + defaultConfig: (): CursorSettings => DEFAULT_CURSOR_SETTINGS, + create: Effect.fn("CursorAdapterV2Driver.create")( + function* (input: ProviderAdapterDriverCreateInput) { + const hostEnvironment = yield* HostProcessEnvironment; + const fileSystem = yield* FileSystem.FileSystem; + const idAllocator = yield* IdAllocatorV2; + const runner = yield* CursorAgentSdkRunner; + const serverConfig = yield* ServerConfig; + if (input.config.apiEndpoint.length > 0) { + yield* Effect.logWarning( + "Cursor V2 uses the official SDK, which does not expose an API endpoint override.", + { + instanceId: input.instanceId, + }, + ); + } + return makeCursorAdapterV2({ + instanceId: input.instanceId, + settings: { + ...input.config, + enabled: input.enabled, + }, + environment: mergeProviderInstanceEnvironment(input.environment, hostEnvironment), + fileSystem, + idAllocator, + runner, + serverConfig, + }); + }, + (effect, input) => + effect.pipe( + Effect.mapError( + (cause) => + new ProviderAdapterDriverCreateError({ + driver: CURSOR_DRIVER_KIND, + instanceId: input.instanceId, + detail: "Failed to create Cursor Agent SDK adapter.", + cause, + }), + ), + ), + ), +}; + +export const layer: Layer.Layer< + ProviderAdapterV2, + never, + CursorAgentSdkRunner | FileSystem.FileSystem | IdAllocatorV2 | ServerConfig +> = Layer.effect( + ProviderAdapterV2, + Effect.gen(function* () { + const hostEnvironment = yield* HostProcessEnvironment; + const fileSystem = yield* FileSystem.FileSystem; + const idAllocator = yield* IdAllocatorV2; + const runner = yield* CursorAgentSdkRunner; + const serverConfig = yield* ServerConfig; + return makeCursorAdapterV2({ + instanceId: CURSOR_DEFAULT_INSTANCE_ID, + settings: DEFAULT_CURSOR_SETTINGS, + environment: hostEnvironment, + fileSystem, + idAllocator, + runner, + serverConfig, + }); + }), +); diff --git a/apps/server/src/orchestration-v2/Adapters/CursorAgentSdk.ts b/apps/server/src/orchestration-v2/Adapters/CursorAgentSdk.ts new file mode 100644 index 0000000000..35c784c7c2 --- /dev/null +++ b/apps/server/src/orchestration-v2/Adapters/CursorAgentSdk.ts @@ -0,0 +1,513 @@ +import { + Agent, + type AgentMessage, + type AgentOptions, + type InteractionUpdate, + type RunResult, + type SDKUserMessage, + type SendOptions, +} from "@cursor/sdk"; +import type { OrchestrationV2ProviderSession, ThreadId } from "@t3tools/contracts"; +import * as Context from "effect/Context"; +import * as Effect from "effect/Effect"; +import * as Layer from "effect/Layer"; +import * as Schema from "effect/Schema"; + +import { ServerConfig } from "../../config.ts"; +import { + type EventNdjsonLogger, + makeEventNdjsonLogger, +} from "../../provider/Layers/EventNdjsonLogger.ts"; + +export const CURSOR_AGENT_SDK_PROTOCOL = "cursor-agent-sdk.local" as const; +export const CURSOR_PROVIDER = "cursor" as const; + +export class CursorAgentSdkRunnerError extends Schema.TaggedErrorClass()( + "CursorAgentSdkRunnerError", + { + method: Schema.String, + cause: Schema.Defect(), + }, +) { + override get message(): string { + return `Cursor Agent SDK ${this.method} failed.`; + } +} + +const isCursorAgentSdkRunnerError = Schema.is(CursorAgentSdkRunnerError); + +export interface CursorAgentSdkOpenInput { + readonly operation: "create" | "resume"; + readonly agentId?: string; + readonly options: AgentOptions; + readonly threadId: ThreadId; + readonly providerSessionId: OrchestrationV2ProviderSession["id"]; +} + +export interface CursorAgentSdkSendInput { + readonly message: string | SDKUserMessage; + readonly options?: Omit; + readonly onDelta?: (update: InteractionUpdate) => Effect.Effect; +} + +export interface CursorAgentSdkRun { + readonly runId: string; + readonly agentId: string; + readonly wait: Effect.Effect; + readonly cancel: Effect.Effect; +} + +export interface CursorAgentSdkSession { + readonly agentId: string; + readonly send: ( + input: CursorAgentSdkSendInput, + ) => Effect.Effect; + readonly listMessages: Effect.Effect, CursorAgentSdkRunnerError>; + readonly close: Effect.Effect; +} + +export interface CursorAgentSdkRunnerShape { + readonly open: ( + input: CursorAgentSdkOpenInput, + ) => Effect.Effect; + readonly assertComplete: Effect.Effect; +} + +export class CursorAgentSdkRunner extends Context.Service< + CursorAgentSdkRunner, + CursorAgentSdkRunnerShape +>()("t3/orchestration-v2/Adapters/CursorAgentSdk/CursorAgentSdkRunner") {} + +export interface CursorAgentSdkLoggedAgentOptions { + readonly model?: AgentOptions["model"]; + readonly hasName?: boolean; + readonly mode?: AgentOptions["mode"]; + readonly local?: { + readonly hasCwd?: boolean; + readonly autoReview?: boolean; + readonly settingSources?: AgentOptions["local"] extends infer Local + ? Local extends { readonly settingSources?: infer Sources } + ? Sources + : never + : never; + readonly sandboxEnabled?: boolean; + readonly enableAgentRetries?: boolean; + readonly hasCustomTools?: boolean; + }; + readonly agents?: ReadonlyArray; +} + +export interface CursorAgentSdkLoggedSendOptions { + readonly model?: SendOptions["model"]; + readonly mode?: SendOptions["mode"]; + readonly local?: { + readonly force?: boolean; + readonly hasCustomTools?: boolean; + }; + readonly idempotencyKey?: string; +} + +export type CursorAgentSdkProtocolLogEvent = + | { + readonly direction: "outgoing"; + readonly stage: "decoded"; + readonly payload: { + readonly type: "agent.open"; + readonly operation: CursorAgentSdkOpenInput["operation"]; + readonly agentId?: string; + readonly options: CursorAgentSdkLoggedAgentOptions; + }; + } + | { + readonly direction: "incoming"; + readonly stage: "decoded"; + readonly payload: { + readonly type: "agent.opened"; + readonly agentId: string; + }; + } + | { + readonly direction: "outgoing"; + readonly stage: "decoded"; + readonly payload: { + readonly type: "run.start"; + readonly message: string | SDKUserMessage; + readonly options: CursorAgentSdkLoggedSendOptions; + }; + } + | { + readonly direction: "incoming"; + readonly stage: "decoded"; + readonly payload: { + readonly type: "run.started"; + readonly runId: string; + readonly agentId: string; + }; + } + | { + readonly direction: "incoming"; + readonly stage: "decoded"; + readonly payload: { + readonly type: "interaction.update"; + readonly runId: string; + readonly update: InteractionUpdate; + }; + } + | { + readonly direction: "incoming"; + readonly stage: "decoded"; + readonly payload: { + readonly type: "run.completed"; + readonly result: RunResult; + }; + } + | { + readonly direction: "outgoing"; + readonly stage: "decoded"; + readonly payload: { + readonly type: "run.cancel"; + readonly runId: string; + }; + } + | { + readonly direction: "outgoing"; + readonly stage: "decoded"; + readonly payload: { + readonly type: "agent.messages.list"; + readonly agentId: string; + }; + } + | { + readonly direction: "incoming"; + readonly stage: "decoded"; + readonly payload: { + readonly type: "agent.messages"; + readonly agentId: string; + readonly messages: ReadonlyArray; + }; + } + | { + readonly direction: "outgoing"; + readonly stage: "decoded"; + readonly payload: { + readonly type: "agent.close"; + readonly agentId: string; + }; + }; + +export type CursorAgentSdkProtocolLogger = ( + event: CursorAgentSdkProtocolLogEvent, +) => Effect.Effect; + +function runnerError(cause: unknown, method: string): CursorAgentSdkRunnerError { + return isCursorAgentSdkRunnerError(cause) + ? cause + : new CursorAgentSdkRunnerError({ method, cause }); +} + +export function isCursorCancellationError(cause: unknown): boolean { + let current = cause; + const seen = new Set(); + + while (typeof current === "object" && current !== null && !seen.has(current)) { + if (Reflect.get(current, "name") === "AbortError") { + return true; + } + seen.add(current); + current = Reflect.get(current, "cause"); + } + + return false; +} + +export function loggedCursorAgentOptions(options: AgentOptions): CursorAgentSdkLoggedAgentOptions { + return { + ...(options.model === undefined ? {} : { model: options.model }), + ...(options.name === undefined ? {} : { hasName: true }), + ...(options.mode === undefined ? {} : { mode: options.mode }), + ...(options.local === undefined + ? {} + : { + local: { + ...(options.local.cwd === undefined ? {} : { hasCwd: true }), + ...(options.local.autoReview === undefined + ? {} + : { autoReview: options.local.autoReview }), + ...(options.local.settingSources === undefined + ? {} + : { settingSources: options.local.settingSources }), + ...(options.local.sandboxOptions === undefined + ? {} + : { sandboxEnabled: options.local.sandboxOptions.enabled }), + ...(options.local.enableAgentRetries === undefined + ? {} + : { enableAgentRetries: options.local.enableAgentRetries }), + ...(options.local.customTools === undefined ? {} : { hasCustomTools: true }), + }, + }), + ...(options.agents === undefined ? {} : { agents: Object.keys(options.agents).toSorted() }), + }; +} + +export function loggedCursorSendOptions( + options: Omit | undefined, +): CursorAgentSdkLoggedSendOptions { + if (options === undefined) { + return {}; + } + return { + ...(options.model === undefined ? {} : { model: options.model }), + ...(options.mode === undefined ? {} : { mode: options.mode }), + ...(options.local === undefined + ? {} + : { + local: { + ...(options.local.force === undefined ? {} : { force: options.local.force }), + ...(options.local.customTools === undefined ? {} : { hasCustomTools: true }), + }, + }), + ...(options.idempotencyKey === undefined ? {} : { idempotencyKey: options.idempotencyKey }), + }; +} + +export function makeCursorAgentSdkProtocolLogger(input: { + readonly nativeEventLogger: EventNdjsonLogger | undefined; + readonly threadId: ThreadId; + readonly providerSessionId: OrchestrationV2ProviderSession["id"]; +}): CursorAgentSdkProtocolLogger | undefined { + if (input.nativeEventLogger === undefined) { + return undefined; + } + const nativeEventLogger = input.nativeEventLogger; + return (event) => + nativeEventLogger + .write( + { + provider: CURSOR_PROVIDER, + protocol: CURSOR_AGENT_SDK_PROTOCOL, + kind: "protocol", + providerSessionId: input.providerSessionId, + event, + }, + input.threadId, + ) + .pipe(Effect.ignore); +} + +export const cursorAgentSdkRunnerLiveLayer: Layer.Layer = + Layer.effect( + CursorAgentSdkRunner, + Effect.gen(function* () { + const { providerEventLogPath } = yield* ServerConfig; + const nativeEventLogger = yield* makeEventNdjsonLogger(providerEventLogPath, { + stream: "native", + }); + + return CursorAgentSdkRunner.of({ + open: Effect.fn("CursorAgentSdkRunner.open")(function* (input) { + const protocolLogger = makeCursorAgentSdkProtocolLogger({ + nativeEventLogger, + threadId: input.threadId, + providerSessionId: input.providerSessionId, + }); + const log = (event: CursorAgentSdkProtocolLogEvent) => + protocolLogger === undefined ? Effect.void : protocolLogger(event); + + yield* log({ + direction: "outgoing", + stage: "decoded", + payload: { + type: "agent.open", + operation: input.operation, + ...(input.agentId === undefined ? {} : { agentId: input.agentId }), + options: loggedCursorAgentOptions(input.options), + }, + }); + + const agent = yield* Effect.tryPromise({ + try: () => + input.operation === "create" + ? Agent.create(input.options) + : Agent.resume(input.agentId!, input.options), + catch: (cause) => runnerError(cause, `agent.${input.operation}`), + }); + + yield* log({ + direction: "incoming", + stage: "decoded", + payload: { + type: "agent.opened", + agentId: agent.agentId, + }, + }); + + const cwd = + typeof input.options.local?.cwd === "string" + ? input.options.local.cwd + : input.options.local?.cwd?.[0]; + + return { + agentId: agent.agentId, + send: Effect.fn("CursorAgentSdkSession.send")(function* (sendInput) { + const context = yield* Effect.context(); + yield* log({ + direction: "outgoing", + stage: "decoded", + payload: { + type: "run.start", + message: sendInput.message, + options: loggedCursorSendOptions(sendInput.options), + }, + }); + + let callbacksReady = false; + const pendingUpdates: Array = []; + let callbackChain = Promise.resolve(); + let runId = ""; + const dispatchUpdate = (update: InteractionUpdate): Promise => { + callbackChain = callbackChain.then(() => + Effect.runPromiseWith(context)( + log({ + direction: "incoming", + stage: "decoded", + payload: { + type: "interaction.update", + runId, + update, + }, + }).pipe(Effect.andThen(sendInput.onDelta?.(update) ?? Effect.void)), + ), + ); + return callbackChain; + }; + + const run = yield* Effect.tryPromise({ + try: () => + agent.send(sendInput.message, { + ...sendInput.options, + onDelta: async ({ update }) => { + if (!callbacksReady) { + pendingUpdates.push(update); + return; + } + await dispatchUpdate(update); + }, + }), + catch: (cause) => runnerError(cause, "run.start"), + }); + runId = run.id; + yield* log({ + direction: "incoming", + stage: "decoded", + payload: { + type: "run.started", + runId: run.id, + agentId: run.agentId, + }, + }); + callbacksReady = true; + for (const update of pendingUpdates) { + yield* Effect.tryPromise({ + try: () => dispatchUpdate(update), + catch: (cause) => runnerError(cause, "run.onDelta"), + }); + } + + return { + runId: run.id, + agentId: run.agentId, + wait: Effect.tryPromise({ + try: async () => { + const result = await run.wait(); + await callbackChain; + return result; + }, + catch: (cause) => runnerError(cause, "run.wait"), + }).pipe( + Effect.tap((result) => + log({ + direction: "incoming", + stage: "decoded", + payload: { + type: "run.completed", + result, + }, + }), + ), + ), + cancel: log({ + direction: "outgoing", + stage: "decoded", + payload: { + type: "run.cancel", + runId: run.id, + }, + }).pipe( + Effect.andThen( + Effect.tryPromise({ + try: async () => { + try { + await run.cancel(); + } catch (cause) { + if (!isCursorCancellationError(cause)) { + throw cause; + } + } + }, + catch: (cause) => runnerError(cause, "run.cancel"), + }), + ), + ), + } satisfies CursorAgentSdkRun; + }), + listMessages: log({ + direction: "outgoing", + stage: "decoded", + payload: { + type: "agent.messages.list", + agentId: agent.agentId, + }, + }).pipe( + Effect.andThen( + Effect.tryPromise({ + try: () => + Agent.messages.list(agent.agentId, { + runtime: "local", + ...(cwd === undefined ? {} : { cwd }), + }), + catch: (cause) => runnerError(cause, "agent.messages.list"), + }), + ), + Effect.tap((messages) => + log({ + direction: "incoming", + stage: "decoded", + payload: { + type: "agent.messages", + agentId: agent.agentId, + messages, + }, + }), + ), + ), + close: Effect.try({ + try: () => agent.close(), + catch: (cause) => runnerError(cause, "agent.close"), + }).pipe( + Effect.tap(() => + log({ + direction: "outgoing", + stage: "decoded", + payload: { + type: "agent.close", + agentId: agent.agentId, + }, + }), + ), + ), + } satisfies CursorAgentSdkSession; + }), + assertComplete: Effect.void, + }); + }), + ); diff --git a/apps/server/src/orchestration-v2/CommandPolicy.test.ts b/apps/server/src/orchestration-v2/CommandPolicy.test.ts index fa4277697a..10a8a25c04 100644 --- a/apps/server/src/orchestration-v2/CommandPolicy.test.ts +++ b/apps/server/src/orchestration-v2/CommandPolicy.test.ts @@ -3,6 +3,7 @@ import { CommandId, type OrchestrationV2ProviderCapabilities, ThreadId } from "@ import * as Effect from "effect/Effect"; import { CodexProviderCapabilitiesV2 } from "./Adapters/CodexAdapterV2.ts"; +import { CursorProviderCapabilitiesV2 } from "./Adapters/CursorAdapterV2.ts"; import { CommandPolicyCapabilityUnsupportedError, CommandPolicyV2, @@ -61,6 +62,22 @@ layer("CommandPolicyV2", (it) => { }), ); + it.effect("honors an explicit interrupt-and-restart request", () => + Effect.gen(function* () { + const policy = yield* CommandPolicyV2; + + const result = yield* policy.decideSteeringExecution({ + commandId, + threadId, + provider: "codex", + capabilities: CodexProviderCapabilitiesV2, + forceRestart: true, + }); + + assert.equal(result, "interrupt_restart"); + }), + ); + it.effect("returns typed capability errors for unsupported active steering", () => Effect.gen(function* () { const policy = yield* CommandPolicyV2; @@ -112,6 +129,73 @@ layer("CommandPolicyV2", (it) => { }), ); + it.effect("uses a native fork when the provider supports the requested source point", () => + Effect.gen(function* () { + const policy = yield* CommandPolicyV2; + + const result = yield* policy.decideForkExecution({ + commandId, + threadId, + provider: "codex", + capabilities: CodexProviderCapabilitiesV2, + sameProvider: true, + hasStrongNativeSource: true, + fromSpecificTurn: true, + }); + + assert.equal(result, "native_fork"); + }), + ); + + it.effect("falls back to portable context when Cursor cannot fork natively", () => + Effect.gen(function* () { + const policy = yield* CommandPolicyV2; + + const result = yield* policy.decideForkExecution({ + commandId, + threadId, + provider: "cursor", + capabilities: CursorProviderCapabilitiesV2, + sameProvider: true, + hasStrongNativeSource: true, + fromSpecificTurn: true, + }); + + assert.equal(result, "portable_context"); + }), + ); + + it.effect("returns a typed error when neither native nor portable fork is available", () => + Effect.gen(function* () { + const policy = yield* CommandPolicyV2; + + const error = yield* policy + .decideForkExecution({ + commandId, + threadId, + provider: "cursor", + capabilities: capabilities((current) => ({ + ...current, + threads: { + ...current.threads, + canForkThread: false, + }, + context: { + ...current.context, + canConsumeHandoffSummaries: false, + }, + })), + sameProvider: true, + hasStrongNativeSource: true, + fromSpecificTurn: true, + }) + .pipe(Effect.flip); + + assert.instanceOf(error, CommandPolicyCapabilityUnsupportedError); + assert.equal(error.capability, "context_handoff"); + }), + ); + it.effect("guards rollback behind provider rollback snapshot support", () => Effect.gen(function* () { const policy = yield* CommandPolicyV2; diff --git a/apps/server/src/orchestration-v2/CommandPolicy.ts b/apps/server/src/orchestration-v2/CommandPolicy.ts index bc4ca5f3b9..f42954feeb 100644 --- a/apps/server/src/orchestration-v2/CommandPolicy.ts +++ b/apps/server/src/orchestration-v2/CommandPolicy.ts @@ -43,6 +43,9 @@ export type MessageDispatchDecisionV2 = typeof MessageDispatchDecisionV2.Type; export const SteeringExecutionPolicyV2 = Schema.Literals(["active_steering", "interrupt_restart"]); export type SteeringExecutionPolicyV2 = typeof SteeringExecutionPolicyV2.Type; +export const ForkExecutionPolicyV2 = Schema.Literals(["native_fork", "portable_context"]); +export type ForkExecutionPolicyV2 = typeof ForkExecutionPolicyV2.Type; + export const CommandPolicyCapability = Schema.Literals([ "queued_messages", "active_steering", @@ -129,7 +132,9 @@ export interface CommandPolicyV2Shape { input: CapabilityCheckInput, ) => Effect.Effect; readonly decideSteeringExecution: ( - input: CapabilityCheckInput, + input: CapabilityCheckInput & { + readonly forceRestart?: boolean; + }, ) => Effect.Effect; readonly ensureInterrupt: ( input: CapabilityCheckInput, @@ -139,6 +144,13 @@ export interface CommandPolicyV2Shape { readonly fromSpecificTurn: boolean; }, ) => Effect.Effect; + readonly decideForkExecution: ( + input: CapabilityCheckInput & { + readonly sameProvider: boolean; + readonly hasStrongNativeSource: boolean; + readonly fromSpecificTurn: boolean; + }, + ) => Effect.Effect; readonly ensureRollback: ( input: CapabilityCheckInput, ) => Effect.Effect; @@ -175,7 +187,7 @@ const ensureQueuedMessages: CommandPolicyV2Shape["ensureQueuedMessages"] = (inpu ); const decideSteeringExecution: CommandPolicyV2Shape["decideSteeringExecution"] = (input) => { - if (input.capabilities.turns.supportsActiveSteering) { + if (!input.forceRestart && input.capabilities.turns.supportsActiveSteering) { return Effect.succeed("active_steering"); } if ( @@ -264,6 +276,27 @@ const ensureContextHandoff: CommandPolicyV2Shape["ensureContextHandoff"] = (inpu return Effect.void; }; +const decideForkExecution: CommandPolicyV2Shape["decideForkExecution"] = (input) => { + const canForkNatively = + input.sameProvider && + input.hasStrongNativeSource && + input.capabilities.threads.canForkThread && + (!input.fromSpecificTurn || input.capabilities.threads.canForkFromTurn) && + input.capabilities.identity.nativeThreadIds === "strong"; + + if (canForkNatively) { + return Effect.succeed("native_fork"); + } + + return ensureContextHandoff({ + commandId: input.commandId, + threadId: input.threadId, + provider: input.provider, + capabilities: input.capabilities, + strategy: "full_thread_summary", + }).pipe(Effect.as("portable_context")); +}; + const decideMessageDispatch: CommandPolicyV2Shape["decideMessageDispatch"] = (input) => { const activeRun = input.projection.runs.find( (run) => run.status === "starting" || run.status === "running" || run.status === "waiting", @@ -359,6 +392,7 @@ export const layer: Layer.Layer = Layer.succeed(CommandPolicyV2 decideSteeringExecution, ensureInterrupt, ensureNativeFork, + decideForkExecution, ensureRollback, ensureContextHandoff, }); diff --git a/apps/server/src/orchestration-v2/CursorOrchestratorV2.live.test.ts b/apps/server/src/orchestration-v2/CursorOrchestratorV2.live.test.ts new file mode 100644 index 0000000000..1bf66acea3 --- /dev/null +++ b/apps/server/src/orchestration-v2/CursorOrchestratorV2.live.test.ts @@ -0,0 +1,161 @@ +import * as NodeServices from "@effect/platform-node/NodeServices"; +import { assert, it } from "@effect/vitest"; +import { + CommandId, + MessageId, + ProjectId, + ThreadId, + type OrchestrationV2ThreadProjection, +} from "@t3tools/contracts"; +import * as Console from "effect/Console"; +import * as Effect from "effect/Effect"; +import * as Layer from "effect/Layer"; +import { describe } from "vite-plus/test"; + +import { CheckpointStoreLive } from "../checkpointing/Layers/CheckpointStore.ts"; +import { ServerConfig } from "../config.ts"; +import { SqlitePersistenceMemory } from "../persistence/Layers/Sqlite.ts"; +import { ServerSettingsService } from "../serverSettings.ts"; +import * as VcsDriverRegistry from "../vcs/VcsDriverRegistry.ts"; +import * as VcsProcess from "../vcs/VcsProcess.ts"; +import { OrchestratorV2 } from "./Orchestrator.ts"; +import { OrchestrationV2LayerLive } from "./runtimeLayer.ts"; +import { CURSOR_MODEL_SELECTION } from "./testkit/fixtures/shared.ts"; + +const serverConfigLayer = ServerConfig.layerTest(process.cwd(), { + prefix: "t3-cursor-v2-live-", +}); + +const vcsDriverRegistryLayer = VcsDriverRegistry.layer.pipe( + Layer.provide(VcsProcess.layer), + Layer.provide(serverConfigLayer), + Layer.provide(NodeServices.layer), +); + +const checkpointStoreLayer = CheckpointStoreLive.pipe(Layer.provide(vcsDriverRegistryLayer)); + +const liveLayer = OrchestrationV2LayerLive.pipe( + Layer.provide(SqlitePersistenceMemory), + Layer.provide(checkpointStoreLayer), + Layer.provide(serverConfigLayer), + Layer.provide( + ServerSettingsService.layerTest({ + providers: { + cursor: { enabled: true }, + }, + }), + ), + Layer.provide(NodeServices.layer), +); + +const waitForIdle = Effect.fn("CursorOrchestratorV2Live.waitForIdle")(function* ( + threadId: ThreadId, +) { + const orchestrator = yield* OrchestratorV2; + for (let attempt = 0; attempt < 600; attempt += 1) { + const projection = yield* orchestrator.getThreadProjection(threadId); + if ( + projection.runs.length > 0 && + projection.runs.every( + (run) => !["queued", "starting", "running", "waiting"].includes(run.status), + ) + ) { + return projection; + } + yield* Effect.sleep("500 millis"); + } + return yield* Effect.die(new Error(`Timed out waiting for Cursor thread ${threadId}.`)); +}); + +describe.runIf(process.env.T3_CURSOR_LIVE_ORCHESTRATOR === "1")( + "Cursor V2 live orchestrator", + () => { + it.live( + "forks through portable context using real Cursor agents", + () => + Effect.gen(function* () { + const orchestrator = yield* OrchestratorV2; + const projectId = ProjectId.make("project:cursor-live-portable-fork"); + const sourceThreadId = ThreadId.make("thread:cursor-live-portable-fork:source"); + const targetThreadId = ThreadId.make("thread:cursor-live-portable-fork:target"); + const marker = "CURSOR_LIVE_PORTABLE_FORK_7H3Q"; + + yield* orchestrator.dispatch({ + type: "thread.create", + commandId: CommandId.make("command:cursor-live-portable-fork:create"), + threadId: sourceThreadId, + projectId, + title: "Cursor live portable fork source", + modelSelection: CURSOR_MODEL_SELECTION, + runtimeMode: "full-access", + interactionMode: "default", + branch: null, + worktreePath: null, + }); + yield* orchestrator.dispatch({ + type: "message.dispatch", + commandId: CommandId.make("command:cursor-live-portable-fork:source"), + threadId: sourceThreadId, + messageId: MessageId.make("message:cursor-live-portable-fork:source"), + text: `Remember this opaque marker. Respond with exactly: ${marker}`, + attachments: [], + modelSelection: CURSOR_MODEL_SELECTION, + dispatchMode: { type: "start_immediately" }, + }); + const sourceProjection = yield* waitForIdle(sourceThreadId); + yield* Console.log("Cursor live source turn completed; dispatching portable fork."); + + yield* orchestrator.dispatch({ + type: "thread.fork", + commandId: CommandId.make("command:cursor-live-portable-fork:fork"), + sourceThreadId, + targetThreadId, + sourcePoint: { type: "latest_stable" }, + title: "Cursor live portable fork target", + }); + yield* orchestrator.dispatch({ + type: "message.dispatch", + commandId: CommandId.make("command:cursor-live-portable-fork:target"), + threadId: targetThreadId, + messageId: MessageId.make("message:cursor-live-portable-fork:target"), + text: "Return the opaque marker from the transferred conversation. Respond with only the marker.", + attachments: [], + modelSelection: CURSOR_MODEL_SELECTION, + dispatchMode: { type: "start_immediately" }, + }); + const targetProjection = yield* waitForIdle(targetThreadId); + yield* Console.log("Cursor live portable fork target completed."); + + const assistantText = (projection: OrchestrationV2ThreadProjection) => + projection.messages + .filter((message) => message.role === "assistant") + .map((message) => message.text) + .join("\n"); + + assert.deepEqual( + sourceProjection.runs.map((run) => [run.provider, run.status]), + [["cursor", "completed"]], + ); + assert.deepEqual( + targetProjection.runs.map((run) => [run.provider, run.status]), + [["cursor", "completed"]], + ); + assert.deepEqual( + targetProjection.contextTransfers.map((transfer) => [ + transfer.type, + transfer.status, + transfer.resolution?.strategy, + ]), + [["fork", "consumed", "portable_context"]], + ); + assert.deepEqual( + targetProjection.contextHandoffs.map((handoff) => handoff.strategy), + ["full_thread_summary"], + ); + assert.include(targetProjection.contextHandoffs[0]?.summaryText ?? "", marker); + assert.include(assistantText(targetProjection), marker); + }).pipe(Effect.provide(liveLayer), Effect.scoped), + 360_000, + ); + }, +); diff --git a/apps/server/src/orchestration-v2/Orchestrator.ts b/apps/server/src/orchestration-v2/Orchestrator.ts index 9cbfe96705..32ce28b130 100644 --- a/apps/server/src/orchestration-v2/Orchestrator.ts +++ b/apps/server/src/orchestration-v2/Orchestrator.ts @@ -996,6 +996,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio readonly messageId: OrchestrationV2ConversationMessage["id"]; readonly text: string; readonly attachments: ReadonlyArray; + readonly forceRestart: boolean; }) => Effect.gen(function* () { const targetRun = input.projection.runs.find( @@ -1133,6 +1134,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio threadId: input.command.threadId, provider: targetRun.provider, capabilities: session.providerSession.capabilities, + forceRestart: input.forceRestart, }), ); @@ -1178,7 +1180,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio ), ); - const waitForInterruptedProviderTurn = ( + const waitForInterruptedExecution = ( attemptsRemaining = 1_000, ): Effect.Effect => Effect.gen(function* () { @@ -1192,21 +1194,32 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio const interruptedTurn = current.providerTurns.find( (candidate) => candidate.id === providerTurn.id, ); - if (interruptedTurn !== undefined && interruptedTurn.status !== "running") { + const interruptedAttempt = current.attempts.find( + (candidate) => candidate.id === targetRun.activeAttemptId, + ); + const interruptedRun = current.runs.find((candidate) => candidate.id === targetRun.id); + if ( + interruptedTurn !== undefined && + interruptedTurn.status !== "running" && + interruptedAttempt !== undefined && + interruptedAttempt.status !== "running" && + interruptedRun !== undefined && + !["queued", "starting", "running", "waiting"].includes(interruptedRun.status) + ) { return current; } if (attemptsRemaining <= 0) { return yield* new OrchestratorDispatchError({ commandId: input.command.commandId, commandType: input.command.type, - cause: `Provider turn ${providerTurn.id} did not terminalize before steering restart.`, + cause: `Provider turn ${providerTurn.id} and attempt ${targetRun.activeAttemptId} did not terminalize before steering restart.`, }); } yield* Effect.yieldNow; - return yield* waitForInterruptedProviderTurn(attemptsRemaining - 1); + return yield* waitForInterruptedExecution(attemptsRemaining - 1); }); - const postInterruptProjection = yield* waitForInterruptedProviderTurn(); + const postInterruptProjection = yield* waitForInterruptedExecution(); const currentAttempt = postInterruptProjection.attempts.find( (candidate) => candidate.id === targetRun.activeAttemptId, @@ -1432,7 +1445,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio const modelSelection = command.modelSelection ?? projection.thread.modelSelection; const dispatchMode = command.dispatchMode; - if (dispatchMode.type === "steer_active") { + if (dispatchMode.type === "steer_active" || dispatchMode.type === "restart_active") { yield* dispatchSteerIntoRun({ command, events, @@ -1442,6 +1455,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio messageId: command.messageId, text: command.text, attachments: command.attachments, + forceRestart: dispatchMode.type === "restart_active", }); return; } @@ -1745,12 +1759,6 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio (candidate) => candidate.id === sourceRun.activeAttemptId, )?.providerTurnId ?? undefined); - const canResolveForkNatively = - pendingForkTransfer !== undefined && - pendingForkTransfer.sourceProvider === modelSelection.instanceId && - sourceProviderThread?.nativeThreadRef?.strength === "strong"; - const requiresPortableFork = pendingForkTransfer !== undefined && !canResolveForkNatively; - if (pendingForkTransfer !== undefined) { if (sourceRun === null || sourceProviderThread === undefined) { return yield* new OrchestratorDispatchError({ @@ -1825,6 +1833,23 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio }), ), ); + const forkExecution = + pendingForkTransfer === undefined + ? null + : yield* enforceCommandPolicy(command)( + commandPolicy.decideForkExecution({ + commandId: command.commandId, + threadId: command.threadId, + provider: modelSelection.instanceId, + capabilities: session.providerSession.capabilities, + sameProvider: pendingForkTransfer.sourceProvider === modelSelection.instanceId, + hasStrongNativeSource: sourceProviderThread?.nativeThreadRef?.strength === "strong", + fromSpecificTurn: sourceRun !== null, + }), + ); + const canResolveForkNatively = forkExecution === "native_fork"; + const requiresPortableFork = forkExecution === "portable_context"; + if (canResolveForkNatively) { yield* enforceCommandPolicy(command)( commandPolicy.ensureNativeFork({ @@ -1906,17 +1931,6 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio ); return itemRun !== undefined && itemRun.ordinal <= sourceRun.ordinal; }); - if (requiresPortableFork) { - yield* enforceCommandPolicy(command)( - commandPolicy.ensureContextHandoff({ - commandId: command.commandId, - threadId: command.threadId, - provider: modelSelection.instanceId, - capabilities: session.providerSession.capabilities, - strategy: "full_thread_summary", - }), - ); - } const portableForkHandoff = !requiresPortableFork || pendingForkTransfer === undefined || @@ -3095,6 +3109,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio messageId: queuedMessage.id, text: queuedMessage.text, attachments: queuedMessage.attachments, + forceRestart: false, }); }); diff --git a/apps/server/src/orchestration-v2/ProviderSessionManager.test.ts b/apps/server/src/orchestration-v2/ProviderSessionManager.test.ts index 67057a03e1..bb973c8a39 100644 --- a/apps/server/src/orchestration-v2/ProviderSessionManager.test.ts +++ b/apps/server/src/orchestration-v2/ProviderSessionManager.test.ts @@ -403,6 +403,48 @@ function makePendingRuntimeRequestEvents(input: { }); } +it.effect("ProviderSessionManagerV2 releases live sessions when its layer shuts down", () => + Effect.gen(function* () { + const state = yield* Ref.make(emptyState); + const effect = Effect.gen(function* () { + const eventSink = yield* EventSinkV2; + const idAllocator = yield* IdAllocatorV2; + const manager = yield* ProviderSessionManagerV2; + const now = yield* DateTime.now; + const threadId = ThreadId.make("thread-provider-session-manager-shutdown"); + const providerSessionId = yield* idAllocator.allocate.providerSession({ + provider: "codex", + threadId, + }); + + yield* eventSink.write({ + events: [yield* makeThreadCreatedEvent({ idAllocator, threadId, now })], + }); + yield* manager.open({ + threadId, + providerSessionId, + modelSelection, + runtimePolicy, + }); + + const liveState = yield* Ref.get(state); + assert.equal(liveState.openCount, 1); + assert.equal(liveState.closeCount, 0); + }); + + yield* effect.pipe( + Effect.provide( + makeTestLayer({ + state, + idleTimeoutMs: 60_000, + }), + ), + ); + + assert.equal((yield* Ref.get(state)).closeCount, 1); + }), +); + it.effect( "ProviderSessionManagerV2 issues MCP credentials before opening and revokes them on close", () => diff --git a/apps/server/src/orchestration-v2/ProviderSessionManager.ts b/apps/server/src/orchestration-v2/ProviderSessionManager.ts index 9ccb7d9359..e459d669e5 100644 --- a/apps/server/src/orchestration-v2/ProviderSessionManager.ts +++ b/apps/server/src/orchestration-v2/ProviderSessionManager.ts @@ -650,6 +650,28 @@ export const layerWithOptions = ( }; }; + yield* Effect.addFinalizer(() => + Effect.gen(function* () { + const activeSessions = [...(yield* Ref.get(sessions)).values()]; + yield* Effect.forEach( + activeSessions, + (entry) => + releaseEntry({ + providerSessionId: entry.runtime.providerSessionId, + reason: "server_shutdown", + }).pipe( + Effect.catchCause((cause) => + Effect.logWarning("orchestration-v2.provider-session.shutdown-release-failed", { + providerSessionId: entry.runtime.providerSessionId, + cause, + }), + ), + ), + { discard: true }, + ); + }), + ); + return ProviderSessionManagerV2.of({ open: (input) => Effect.gen(function* () { diff --git a/apps/server/src/orchestration-v2/builtInProviderAdapterDrivers.ts b/apps/server/src/orchestration-v2/builtInProviderAdapterDrivers.ts index 55f1173d1a..ae2a2fc56d 100644 --- a/apps/server/src/orchestration-v2/builtInProviderAdapterDrivers.ts +++ b/apps/server/src/orchestration-v2/builtInProviderAdapterDrivers.ts @@ -5,13 +5,20 @@ import { type ClaudeAdapterV2DriverEnv, } from "./Adapters/ClaudeAdapterV2.ts"; import { CodexAdapterV2Driver, type CodexAdapterV2DriverEnv } from "./Adapters/CodexAdapterV2.ts"; +import { + CursorAdapterV2Driver, + type CursorAdapterV2DriverEnv, +} from "./Adapters/CursorAdapterV2.ts"; import type { AnyProviderAdapterDriver } from "./ProviderAdapterDriver.ts"; -export type BuiltInProviderAdapterDriversV2Env = ClaudeAdapterV2DriverEnv | CodexAdapterV2DriverEnv; +export type BuiltInProviderAdapterDriversV2Env = + | ClaudeAdapterV2DriverEnv + | CodexAdapterV2DriverEnv + | CursorAdapterV2DriverEnv; export const BUILT_IN_PROVIDER_ADAPTER_DRIVERS_V2: ReadonlyArray< AnyProviderAdapterDriver -> = [CodexAdapterV2Driver, ClaudeAdapterV2Driver]; +> = [CodexAdapterV2Driver, ClaudeAdapterV2Driver, CursorAdapterV2Driver]; export const BUILT_IN_PROVIDER_ADAPTER_DRIVER_KINDS_V2: ReadonlySet = new Set( BUILT_IN_PROVIDER_ADAPTER_DRIVERS_V2.map((driver) => driver.driverKind), diff --git a/apps/server/src/orchestration-v2/runtimeLayer.ts b/apps/server/src/orchestration-v2/runtimeLayer.ts index 0077a44fbb..c0c0b0b49d 100644 --- a/apps/server/src/orchestration-v2/runtimeLayer.ts +++ b/apps/server/src/orchestration-v2/runtimeLayer.ts @@ -6,6 +6,8 @@ import { } from "./Adapters/ClaudeAdapterV2.ts"; import { layer as codexAdapterLayer } from "./Adapters/CodexAdapterV2.ts"; import { codexAppServerClientFactoryFromSettingsLayer } from "./Adapters/CodexAdapterV2.ts"; +import { cursorAgentSdkRunnerLiveLayer } from "./Adapters/CursorAgentSdk.ts"; +import { BUILT_IN_PROVIDER_ADAPTER_DRIVERS_V2 } from "./builtInProviderAdapterDrivers.ts"; import { layer as checkpointServiceLayer } from "./CheckpointService.ts"; import { layer as commandPolicyLayer } from "./CommandPolicy.ts"; import { layer as commandReceiptStoreLayer } from "./CommandReceiptStore.ts"; @@ -44,6 +46,7 @@ const codexAdapterProvided = codexAdapterLayer.pipe( const claudeAdapterProvided = claudeAdapterLayer.pipe( Layer.provide(claudeAgentSdkQueryRunnerLiveLayer), + Layer.provide(cursorAgentSdkRunnerLiveLayer), Layer.provide(idAllocatorLayer), ); diff --git a/apps/server/src/orchestration-v2/testkit/OrchestratorReplayFixtures.integration.test.ts b/apps/server/src/orchestration-v2/testkit/OrchestratorReplayFixtures.integration.test.ts index d0dd4762e6..9c2251e22a 100644 --- a/apps/server/src/orchestration-v2/testkit/OrchestratorReplayFixtures.integration.test.ts +++ b/apps/server/src/orchestration-v2/testkit/OrchestratorReplayFixtures.integration.test.ts @@ -6,9 +6,11 @@ import * as FileSystem from "effect/FileSystem"; import { ClaudeOrchestratorReplayHarness } from "../Adapters/ClaudeAdapterV2.testkit.ts"; import { CodexOrchestratorReplayHarness } from "../Adapters/CodexAdapterV2.testkit.ts"; +import { CursorOrchestratorReplayHarness } from "../Adapters/CursorAdapterV2.testkit.ts"; import { layer as idAllocatorLayer } from "../IdAllocator.ts"; import { provideDeterministicTestRuntime } from "./DeterministicRuntime.ts"; import { ORCHESTRATOR_REPLAY_FIXTURES } from "./fixtures/index.ts"; +import { messageRestartInput } from "./fixtures/message_steering/input.ts"; import { materializeFixtureInput, type OrchestratorFixtureInput, @@ -89,6 +91,11 @@ function runFixtureProviderWithRegisteredHarness(input: { ...input, harness: ClaudeOrchestratorReplayHarness, }).pipe(Effect.mapError(normalizeTestError), Effect.scoped); + case "cursor": + return runFixtureProvider({ + ...input, + harness: CursorOrchestratorReplayHarness, + }).pipe(Effect.mapError(normalizeTestError), Effect.scoped); default: return Effect.die( new Error(`No replay harness registered for provider ${input.provider.provider}.`), @@ -110,4 +117,20 @@ describe("orchestrator replay fixtures", () => { ); } } + + const steeringFixture = ORCHESTRATOR_REPLAY_FIXTURES.find( + (fixture) => fixture.name === "message_steering", + ); + const cursorSteeringProvider = steeringFixture?.providers.find( + (provider) => provider.provider === "cursor", + ); + if (cursorSteeringProvider !== undefined) { + it.effect("executes explicit Cursor restart_active through the recorded SDK boundary", () => + runFixtureProviderWithRegisteredHarness({ + fixtureName: "message_steering", + buildInput: messageRestartInput, + provider: cursorSteeringProvider, + }), + ); + } }); diff --git a/apps/server/src/orchestration-v2/testkit/OrchestratorReplayRecovery.integration.test.ts b/apps/server/src/orchestration-v2/testkit/OrchestratorReplayRecovery.integration.test.ts index b101e3ee1e..85243bd0fe 100644 --- a/apps/server/src/orchestration-v2/testkit/OrchestratorReplayRecovery.integration.test.ts +++ b/apps/server/src/orchestration-v2/testkit/OrchestratorReplayRecovery.integration.test.ts @@ -11,12 +11,22 @@ import { CodexOrchestratorReplayHarness, makeCodexProviderAdapterRegistryReplayLayer, } from "../Adapters/CodexAdapterV2.testkit.ts"; +import { + type CursorAgentSdkReplayTranscript, + CursorOrchestratorReplayHarness, + makeCursorAgentSdkReplayRunner, + makeCursorProviderAdapterRegistryReplayLayer, +} from "../Adapters/CursorAdapterV2.testkit.ts"; import { layer as idAllocatorLayer } from "../IdAllocator.ts"; import { makeSqlitePersistenceLive } from "../../persistence/Layers/Sqlite.ts"; import { provideDeterministicTestRuntime } from "./DeterministicRuntime.ts"; import { + CODEX_MODEL_SELECTION, + CURSOR_MODEL_SELECTION, materializeFixtureInput, type MaterializedOrchestratorFixtureInput, + PROVIDER_THREAD_RESUME_FIRST_PROMPT, + PROVIDER_THREAD_RESUME_SECOND_PROMPT, } from "./fixtures/shared.ts"; import { assertAssistantTextIncludes, @@ -31,25 +41,29 @@ import { import { runOrchestratorV2ProviderReplayScenario } from "./ProviderReplayHarness.ts"; import { decodeProviderReplayNdjson } from "./ReplayTranscriptNdjson.ts"; -const FIRST_PROMPT = "Respond with exactly: provider thread resume fixture first turn complete"; -const SECOND_PROMPT = - "Using the conversation history available in this resumed thread, first repeat the exact final answer you gave in the previous turn. Then on a new line write exactly: provider thread resume fixture second turn complete"; const FIRST_FINAL = "provider thread resume fixture first turn complete"; const SECOND_FINAL = "provider thread resume fixture second turn complete"; const decodeCodexTranscript = Schema.decodeUnknownEffect( CodexReplay.CodexAppServerReplayTranscript, ); -const readCodexTranscript = Effect.fn("readCodexRecoveryTranscript")(function* () { - const file = new URL( - "./fixtures/provider_thread_resume/codex_transcript.ndjson", - import.meta.url, - ); +const readRawTranscript = Effect.fn("readRecoveryTranscript")(function* (file: URL) { const fs = yield* FileSystem.FileSystem; const text = yield* fs.readFileString(decodeURIComponent(file.pathname)); - const transcript = yield* decodeProviderReplayNdjson(text); + return yield* decodeProviderReplayNdjson(text); +}); +const readCodexTranscript = Effect.fn("readCodexRecoveryTranscript")(function* () { + const transcript = yield* readRawTranscript( + new URL("./fixtures/provider_thread_resume/codex_transcript.ndjson", import.meta.url), + ); return yield* decodeCodexTranscript(transcript); }); +const readCursorTranscript = Effect.fn("readCursorRecoveryTranscript")(function* () { + const transcript = yield* readRawTranscript( + new URL("./fixtures/provider_thread_resume/cursor_transcript.ndjson", import.meta.url), + ); + return yield* CursorOrchestratorReplayHarness.decodeTranscript(transcript); +}); function splitAfterFirstIdle(materialized: MaterializedOrchestratorFixtureInput) { const splitIndex = materialized.steps.findIndex((step) => step.type === "await_thread_idle"); @@ -67,6 +81,94 @@ function splitAfterFirstIdle(materialized: MaterializedOrchestratorFixtureInput) }; } +const runCursorRecovery = Effect.fn("runCursorRecovery")(function* (input: { + readonly transcript: CursorAgentSdkReplayTranscript; + readonly runner: ReturnType; +}) { + const fs = yield* FileSystem.FileSystem; + const path = yield* Path.Path; + const tempDir = yield* Effect.acquireRelease( + fs.makeTempDirectory({ + prefix: "t3-orchestration-v2-cursor-recovery-", + }), + (directory) => fs.remove(directory, { recursive: true, force: true }).pipe(Effect.orDie), + ); + yield* fs.makeDirectory(tempDir, { recursive: true }); + const dbPath = path.join(tempDir, "state.sqlite"); + const materialized = yield* materializeFixtureInput({ + scenario: "provider_thread_resume", + fixtureInput: { + steps: [ + { type: "message", text: PROVIDER_THREAD_RESUME_FIRST_PROMPT }, + { type: "message", text: PROVIDER_THREAD_RESUME_SECOND_PROMPT }, + ], + }, + modelSelection: CURSOR_MODEL_SELECTION, + }); + const { phase1Commands, phase1Steps, phase2Commands, phase2Steps } = + splitAfterFirstIdle(materialized); + const options = { + databaseLayer: makeSqlitePersistenceLive(dbPath).pipe(Layer.provide(NodeServices.layer)), + }; + const harness = { + ...CursorOrchestratorReplayHarness, + makeProviderAdapterRegistryLayer: () => + makeCursorProviderAdapterRegistryReplayLayer(input.transcript, { + runner: input.runner, + assertCompleteOnFinalize: false, + }), + }; + + yield* Effect.scoped( + runOrchestratorV2ProviderReplayScenario( + { + name: "provider_thread_resume/cursor:first-runtime", + transcript: input.transcript, + commands: phase1Commands, + steps: phase1Steps, + projectionThreadIds: materialized.projectionThreadIds, + runtimePolicyOverride: { cwd: tempDir }, + }, + harness, + options, + ), + ); + + const result = yield* Effect.scoped( + runOrchestratorV2ProviderReplayScenario( + { + name: "provider_thread_resume/cursor:second-runtime", + transcript: input.transcript, + commands: phase2Commands, + steps: phase2Steps, + projectionThreadIds: materialized.projectionThreadIds, + runtimePolicyOverride: { cwd: tempDir }, + }, + harness, + options, + ), + ); + + assertBaseProjection({ + result, + transcript: input.transcript, + runCount: 2, + runStatuses: ["completed", "completed"], + }); + const projection = projectionFor(result, input.transcript.scenario); + assertSemanticProjectionIntegrity(projection); + assertRunOrdinals(projection, [1, 2]); + assertConversationMessageRoles(projection, ["user", "assistant", "user", "assistant"]); + assertTurnItemTypes(projection, ["user_message", "assistant_message"]); + assertUserMessagesInclude(projection, [ + PROVIDER_THREAD_RESUME_FIRST_PROMPT, + PROVIDER_THREAD_RESUME_SECOND_PROMPT, + ]); + assertAssistantTextIncludes(projection, FIRST_FINAL); + assertAssistantTextIncludes(projection, SECOND_FINAL); + assert.lengthOf(projection.providerThreads, 1); +}); + describe("orchestrator replay recovery", () => { it.effect( "resumes a provider-native Codex thread after recreating the orchestrator runtime", @@ -90,8 +192,8 @@ describe("orchestrator replay recovery", () => { scenario: "provider_thread_resume", fixtureInput: { steps: [ - { type: "message", text: FIRST_PROMPT }, - { type: "message", text: SECOND_PROMPT }, + { type: "message", text: PROVIDER_THREAD_RESUME_FIRST_PROMPT }, + { type: "message", text: PROVIDER_THREAD_RESUME_SECOND_PROMPT }, ], }, modelSelection: CODEX_MODEL_SELECTION, @@ -145,7 +247,10 @@ describe("orchestrator replay recovery", () => { assertRunOrdinals(projection, [1, 2]); assertConversationMessageRoles(projection, ["user", "assistant", "user", "assistant"]); assertTurnItemTypes(projection, ["user_message", "assistant_message"]); - assertUserMessagesInclude(projection, [FIRST_PROMPT, SECOND_PROMPT]); + assertUserMessagesInclude(projection, [ + PROVIDER_THREAD_RESUME_FIRST_PROMPT, + PROVIDER_THREAD_RESUME_SECOND_PROMPT, + ]); assertAssistantTextIncludes(projection, FIRST_FINAL); assertAssistantTextIncludes(projection, SECOND_FINAL); assert.lengthOf(projection.providerThreads, 1); @@ -155,4 +260,20 @@ describe("orchestrator replay recovery", () => { ), ), ); + + it.effect( + "resumes a provider-native Cursor thread after recreating the orchestrator runtime", + () => + Effect.scoped( + Effect.gen(function* () { + const transcript = yield* readCursorTranscript(); + const runner = makeCursorAgentSdkReplayRunner(transcript); + yield* runCursorRecovery({ transcript, runner }); + yield* runner.assertComplete; + }).pipe( + provideDeterministicTestRuntime, + Effect.provide(Layer.merge(idAllocatorLayer, NodeServices.layer)), + ), + ), + ); }); diff --git a/apps/server/src/orchestration-v2/testkit/OrchestratorScenario.ts b/apps/server/src/orchestration-v2/testkit/OrchestratorScenario.ts index 1f6d106d62..3c06b6eb37 100644 --- a/apps/server/src/orchestration-v2/testkit/OrchestratorScenario.ts +++ b/apps/server/src/orchestration-v2/testkit/OrchestratorScenario.ts @@ -133,6 +133,19 @@ const findPendingRuntimeRequest = (projection: OrchestrationV2ThreadProjection) const hasActiveRun = (projection: OrchestrationV2ThreadProjection) => projection.runs.some((run) => ["queued", "starting", "running", "waiting"].includes(run.status)); +const SCENARIO_WAIT_ATTEMPTS = 10_000; + +const yieldToRuntime = Effect.yieldNow.pipe( + Effect.andThen( + Effect.promise( + () => + new Promise((resolve) => { + setImmediate(resolve); + }), + ), + ), +); + function collectProjectionThreadIds(scenario: OrchestratorV2Scenario): ReadonlyArray { if (scenario.projectionThreadIds) { return scenario.projectionThreadIds; @@ -187,7 +200,7 @@ export function runOrchestratorV2Scenario( const waitForPendingRuntimeRequest = ( threadId: ThreadId, - attemptsRemaining = 1_000, + attemptsRemaining = SCENARIO_WAIT_ATTEMPTS, ): Effect.Effect< OrchestrationV2RuntimeRequest, OrchestratorV2Error | OrchestratorV2ScenarioStepError, @@ -205,13 +218,13 @@ export function runOrchestratorV2Scenario( step: `respond_to_next_runtime_request:${threadId}`, }); } - yield* Effect.yieldNow; + yield* yieldToRuntime; return yield* waitForPendingRuntimeRequest(threadId, attemptsRemaining - 1); }); const waitForThreadIdle = ( threadId: ThreadId, - attemptsRemaining = 1_000, + attemptsRemaining = SCENARIO_WAIT_ATTEMPTS, ): Effect.Effect => Effect.gen(function* () { const projection = yield* orchestrator.getThreadProjection(threadId); @@ -224,14 +237,14 @@ export function runOrchestratorV2Scenario( step: `await_thread_idle:${threadId}`, }); } - yield* Effect.yieldNow; + yield* yieldToRuntime; return yield* waitForThreadIdle(threadId, attemptsRemaining - 1); }); const waitForRunSteerable = ( threadId: ThreadId, runId: OrchestrationV2Run["id"], - attemptsRemaining = 1_000, + attemptsRemaining = SCENARIO_WAIT_ATTEMPTS, ): Effect.Effect => Effect.gen(function* () { const projection = yield* orchestrator.getThreadProjection(threadId); @@ -251,7 +264,7 @@ export function runOrchestratorV2Scenario( step: `await_run_steerable:${runId}`, }); } - yield* Effect.yieldNow; + yield* yieldToRuntime; return yield* waitForRunSteerable(threadId, runId, attemptsRemaining - 1); }); @@ -259,7 +272,7 @@ export function runOrchestratorV2Scenario( threadId: ThreadId, runId: OrchestrationV2Run["id"], itemType: OrchestrationV2TurnItem["type"], - attemptsRemaining = 1_000, + attemptsRemaining = SCENARIO_WAIT_ATTEMPTS, ): Effect.Effect => Effect.gen(function* () { const projection = yield* orchestrator.getThreadProjection(threadId); @@ -275,7 +288,7 @@ export function runOrchestratorV2Scenario( step: `await_run_turn_item:${runId}:${itemType}`, }); } - yield* Effect.yieldNow; + yield* yieldToRuntime; return yield* waitForRunTurnItem(threadId, runId, itemType, attemptsRemaining - 1); }); diff --git a/apps/server/src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts b/apps/server/src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts index 7cc68a7cb4..aecc4dd7db 100644 --- a/apps/server/src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts +++ b/apps/server/src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts @@ -23,6 +23,7 @@ import * as Stream from "effect/Stream"; import { ClaudeProviderCapabilitiesV2 } from "../Adapters/ClaudeAdapterV2.ts"; import { CodexProviderCapabilitiesV2 } from "../Adapters/CodexAdapterV2.ts"; +import { CursorProviderCapabilitiesV2 } from "../Adapters/CursorAdapterV2.ts"; import { OrchestratorV2 } from "../Orchestrator.ts"; import { type ProviderAdapterV2Event, @@ -30,7 +31,11 @@ import { type ProviderAdapterV2Shape, } from "../ProviderAdapter.ts"; import { makeLayer as makeProviderAdapterRegistryLayer } from "../ProviderAdapterRegistry.ts"; -import { CLAUDE_MODEL_SELECTION, CODEX_MODEL_SELECTION } from "./fixtures/shared.ts"; +import { + CLAUDE_MODEL_SELECTION, + CODEX_MODEL_SELECTION, + CURSOR_MODEL_SELECTION, +} from "./fixtures/shared.ts"; import { makeOrchestratorV2ReplayLayerWithRegistry } from "./ProviderReplayHarness.ts"; import { checkpointWorkspace } from "./ReplayFixtureWorkspace.ts"; @@ -513,6 +518,130 @@ describe("orchestration v2 provider switching", () => { ), ); + it.live("resolves a same-provider Cursor fork with portable context", () => + Effect.scoped( + Effect.gen(function* () { + const sourceThreadId = ThreadId.make("thread:cursor-portable-fork:source"); + const targetThreadId = ThreadId.make("thread:cursor-portable-fork:target"); + const sourcePrompt = "Remember that the deployment marker is indigo."; + const sourceResponse = "I will remember indigo."; + const targetPrompt = "What deployment marker did we choose?"; + const cwd = yield* checkpointWorkspace("cursor-portable-fork"); + const capturedTurns = yield* Ref.make>([]); + const registryLayer = makeProviderAdapterRegistryLayer([ + makeTestAdapter({ + instanceId: ProviderInstanceId.make("cursor"), + provider: "cursor", + capabilities: CursorProviderCapabilitiesV2, + modelSelection: CURSOR_MODEL_SELECTION, + responseByRunOrdinal: {}, + responseByThreadId: { + [sourceThreadId]: { 1: sourceResponse }, + [targetThreadId]: { 1: "The deployment marker is indigo." }, + }, + capturedTurns, + }), + ]); + const commands = [ + { + type: "thread.create", + commandId: CommandId.make("command:cursor-portable-fork:create"), + threadId: sourceThreadId, + projectId, + title: "Cursor portable fork source", + modelSelection: CURSOR_MODEL_SELECTION, + runtimeMode: "full-access", + interactionMode: "default", + branch: null, + worktreePath: null, + }, + { + type: "message.dispatch", + commandId: CommandId.make("command:cursor-portable-fork:source"), + threadId: sourceThreadId, + messageId: MessageId.make("message:cursor-portable-fork:source"), + text: sourcePrompt, + attachments: [], + modelSelection: CURSOR_MODEL_SELECTION, + dispatchMode: { type: "start_immediately" }, + }, + { + type: "thread.fork", + commandId: CommandId.make("command:cursor-portable-fork:fork"), + sourceThreadId, + targetThreadId, + sourcePoint: { type: "latest_stable" }, + title: "Cursor portable fork target", + }, + { + type: "message.dispatch", + commandId: CommandId.make("command:cursor-portable-fork:target"), + threadId: targetThreadId, + messageId: MessageId.make("message:cursor-portable-fork:target"), + text: targetPrompt, + attachments: [], + modelSelection: CURSOR_MODEL_SELECTION, + dispatchMode: { type: "start_immediately" }, + }, + ] satisfies ReadonlyArray; + + const targetProjection = yield* Effect.gen(function* () { + const orchestrator = yield* OrchestratorV2; + yield* orchestrator.dispatch(commands[0]!); + yield* orchestrator.dispatch(commands[1]!); + yield* waitForIdle(sourceThreadId); + yield* orchestrator.dispatch(commands[2]!); + yield* orchestrator.dispatch(commands[3]!); + return yield* waitForIdle(targetThreadId); + }).pipe( + Effect.provide( + makeOrchestratorV2ReplayLayerWithRegistry( + { + name: "cursor-portable-fork", + runtimePolicyOverride: { + cwd, + approvalPolicy: "never", + sandboxPolicy: { + type: "readOnly", + access: { type: "fullAccess" }, + networkAccess: false, + }, + }, + }, + registryLayer, + ), + ), + ); + const turns = yield* Ref.get(capturedTurns); + const targetTurn = turns.find((turn) => turn.threadId === targetThreadId); + + assert.deepEqual( + targetProjection.runs.map((run) => [run.provider, run.status]), + [["cursor", "completed"]], + ); + assert.lengthOf(targetProjection.providerThreads, 1); + assert.equal(targetProjection.providerThreads[0]?.provider, "cursor"); + assert.isNull(targetProjection.providerThreads[0]?.forkedFrom); + assert.deepEqual( + targetProjection.contextTransfers.map((transfer) => [ + transfer.type, + transfer.status, + transfer.resolution?.strategy, + ]), + [["fork", "consumed", "portable_context"]], + ); + assert.deepEqual( + targetProjection.contextHandoffs.map((handoff) => handoff.strategy), + ["full_thread_summary"], + ); + assert.include(targetTurn?.text ?? "", "Context handoff (full_thread_summary):"); + assert.include(targetTurn?.text ?? "", sourcePrompt); + assert.include(targetTurn?.text ?? "", sourceResponse); + assert.include(targetTurn?.text ?? "", targetPrompt); + }), + ), + ); + it.live("switches providers while consuming a pending cross-provider merge-back", () => Effect.scoped( Effect.gen(function* () { diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/index.ts b/apps/server/src/orchestration-v2/testkit/fixtures/index.ts index 60585d8b8a..9f2cff4a09 100644 --- a/apps/server/src/orchestration-v2/testkit/fixtures/index.ts +++ b/apps/server/src/orchestration-v2/testkit/fixtures/index.ts @@ -1,5 +1,6 @@ import { assertClaudeMessageSteeringOutput } from "./message_steering/claude_output.ts"; import { assertMessageSteeringOutput } from "./message_steering/codex_output.ts"; +import { assertCursorMessageSteeringOutput } from "./message_steering/cursor_output.ts"; import { messageSteeringInput } from "./message_steering/input.ts"; import { assertMultiTurnClaudeOutput } from "./multi_turn/claude_output.ts"; import { assertMultiTurnOutput } from "./multi_turn/codex_output.ts"; @@ -7,6 +8,7 @@ import { multiTurnInput } from "./multi_turn/input.ts"; import { assertPlanQuestionsOutput } from "./plan_questions/codex_output.ts"; import { planQuestionsInput } from "./plan_questions/input.ts"; import { assertProposedPlanOutput } from "./proposed_plan/codex_output.ts"; +import { assertProposedPlanCursorOutput } from "./proposed_plan/cursor_output.ts"; import { proposedPlanInput } from "./proposed_plan/input.ts"; import { assertQueuedTurnOutput } from "./queued_turn/codex_output.ts"; import { queuedTurnInput } from "./queued_turn/input.ts"; @@ -16,14 +18,17 @@ import { simpleInput } from "./simple/input.ts"; import { assertSubagentOutput } from "./subagent/codex_output.ts"; import { assertClaudeSubagentOutput } from "./subagent/claude_output.ts"; import { subagentInput } from "./subagent/input.ts"; +import { assertCursorSubagentOutput } from "./subagent/cursor_output.ts"; import { assertSubagentContinueOutput } from "./subagent_continue/codex_output.ts"; import { subagentContinueInput } from "./subagent_continue/input.ts"; import { assertClaudeThreadRollbackOutput } from "./thread_rollback/claude_output.ts"; import { assertThreadRollbackOutput } from "./thread_rollback/codex_output.ts"; import { threadRollbackInput } from "./thread_rollback/input.ts"; import { assertTodoListOutput } from "./todo_list/codex_output.ts"; +import { assertTodoListCursorOutput } from "./todo_list/cursor_output.ts"; import { todoListInput } from "./todo_list/input.ts"; import { assertToolCallReadOnlyClaudeOutput } from "./tool_call_read_only/claude_output.ts"; +import { assertToolCallReadOnlyCursorOutput } from "./tool_call_read_only/cursor_output.ts"; import { toolCallReadOnlyInput } from "./tool_call_read_only/input.ts"; import { assertToolCallReadOnlyOnRequestClaudeOutput } from "./tool_call_read_only_on_request/claude_output.ts"; import { assertToolCallReadOnlyOnRequestOutput } from "./tool_call_read_only_on_request/codex_output.ts"; @@ -39,6 +44,7 @@ import { assertTurnInterruptOutput } from "./turn_interrupt/codex_output.ts"; import { turnInterruptInput } from "./turn_interrupt/input.ts"; import { assertTurnInterruptMidToolClaudeOutput } from "./turn_interrupt_mid_tool/claude_output.ts"; import { assertTurnInterruptMidToolCodexOutput } from "./turn_interrupt_mid_tool/codex_output.ts"; +import { assertTurnInterruptMidToolCursorOutput } from "./turn_interrupt_mid_tool/cursor_output.ts"; import { turnInterruptMidToolInput } from "./turn_interrupt_mid_tool/input.ts"; import { assertTurnInterruptRestartClaudeOutput } from "./turn_interrupt_restart/claude_output.ts"; import { turnInterruptRestartInput } from "./turn_interrupt_restart/input.ts"; @@ -48,6 +54,7 @@ import { webSearchInput } from "./web_search/input.ts"; import { CLAUDE_MODEL_SELECTION, CODEX_MODEL_SELECTION, + CURSOR_MODEL_SELECTION, READ_ONLY_NEVER_POLICY, READ_ONLY_ON_REQUEST_POLICY, RESTRICTED_GRANULAR_POLICY, @@ -72,6 +79,12 @@ export const ORCHESTRATOR_REPLAY_FIXTURES = [ modelSelection: CLAUDE_MODEL_SELECTION, assertOutput: assertSimpleClaudeOutput, }, + { + provider: "cursor", + transcriptFile: new URL("./simple/cursor_transcript.ndjson", import.meta.url), + modelSelection: CURSOR_MODEL_SELECTION, + assertOutput: assertSimpleOutput, + }, ], }, { @@ -85,6 +98,13 @@ export const ORCHESTRATOR_REPLAY_FIXTURES = [ runtimePolicyOverride: READ_ONLY_NEVER_POLICY, assertOutput: assertToolCallReadOnlyClaudeOutput, }, + { + provider: "cursor", + transcriptFile: new URL("./tool_call_read_only/cursor_transcript.ndjson", import.meta.url), + modelSelection: CURSOR_MODEL_SELECTION, + runtimePolicyOverride: READ_ONLY_NEVER_POLICY, + assertOutput: assertToolCallReadOnlyCursorOutput, + }, ], }, { @@ -182,6 +202,13 @@ export const ORCHESTRATOR_REPLAY_FIXTURES = [ modelSelection: CLAUDE_MODEL_SELECTION, assertOutput: assertClaudeSubagentOutput, }, + { + provider: "cursor", + transcriptFile: new URL("./subagent/cursor_transcript.ndjson", import.meta.url), + modelSelection: CURSOR_MODEL_SELECTION, + runtimePolicyOverride: READ_ONLY_NEVER_POLICY, + assertOutput: assertCursorSubagentOutput, + }, ], }, { @@ -212,6 +239,12 @@ export const ORCHESTRATOR_REPLAY_FIXTURES = [ modelSelection: CLAUDE_MODEL_SELECTION, assertOutput: assertMultiTurnClaudeOutput, }, + { + provider: "cursor", + transcriptFile: new URL("./multi_turn/cursor_transcript.ndjson", import.meta.url), + modelSelection: CURSOR_MODEL_SELECTION, + assertOutput: assertMultiTurnOutput, + }, ], }, { @@ -242,6 +275,12 @@ export const ORCHESTRATOR_REPLAY_FIXTURES = [ modelSelection: CLAUDE_MODEL_SELECTION, assertOutput: assertQueuedTurnOutput, }, + { + provider: "cursor", + transcriptFile: new URL("./queued_turn/cursor_transcript.ndjson", import.meta.url), + modelSelection: CURSOR_MODEL_SELECTION, + assertOutput: assertQueuedTurnOutput, + }, ], }, { @@ -255,6 +294,13 @@ export const ORCHESTRATOR_REPLAY_FIXTURES = [ runtimePolicyOverride: READ_ONLY_NEVER_POLICY, assertOutput: assertTodoListOutput, }, + { + provider: "cursor", + transcriptFile: new URL("./todo_list/cursor_transcript.ndjson", import.meta.url), + modelSelection: CURSOR_MODEL_SELECTION, + runtimePolicyOverride: READ_ONLY_NEVER_POLICY, + assertOutput: assertTodoListCursorOutput, + }, ], }, { @@ -299,6 +345,13 @@ export const ORCHESTRATOR_REPLAY_FIXTURES = [ runtimePolicyOverride: READ_ONLY_NEVER_POLICY, assertOutput: assertProposedPlanOutput, }, + { + provider: "cursor", + transcriptFile: new URL("./proposed_plan/cursor_transcript.ndjson", import.meta.url), + modelSelection: CURSOR_MODEL_SELECTION, + runtimePolicyOverride: READ_ONLY_NEVER_POLICY, + assertOutput: assertProposedPlanCursorOutput, + }, ], }, { @@ -317,6 +370,12 @@ export const ORCHESTRATOR_REPLAY_FIXTURES = [ modelSelection: CLAUDE_MODEL_SELECTION, assertOutput: assertClaudeMessageSteeringOutput, }, + { + provider: "cursor", + transcriptFile: new URL("./message_steering/cursor_transcript.ndjson", import.meta.url), + modelSelection: CURSOR_MODEL_SELECTION, + assertOutput: assertCursorMessageSteeringOutput, + }, ], }, { @@ -363,6 +422,16 @@ export const ORCHESTRATOR_REPLAY_FIXTURES = [ runtimePolicyOverride: WORKSPACE_NEVER_POLICY, assertOutput: assertTurnInterruptMidToolClaudeOutput, }, + { + provider: "cursor", + transcriptFile: new URL( + "./turn_interrupt_mid_tool/cursor_transcript.ndjson", + import.meta.url, + ), + modelSelection: CURSOR_MODEL_SELECTION, + runtimePolicyOverride: WORKSPACE_NEVER_POLICY, + assertOutput: assertTurnInterruptMidToolCursorOutput, + }, ], }, { diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/message_steering/cursor_output.ts b/apps/server/src/orchestration-v2/testkit/fixtures/message_steering/cursor_output.ts new file mode 100644 index 0000000000..f2af8bacb1 --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/message_steering/cursor_output.ts @@ -0,0 +1,52 @@ +import { assert } from "@effect/vitest"; +import type { ProviderReplayTranscript } from "@t3tools/contracts"; + +import type { OrchestratorV2ScenarioResult } from "../../OrchestratorScenario.ts"; +import { + assertAssistantTextIncludes, + assertBaseProjection, + assertRuntimeRequestCounts, + assertSemanticProjectionIntegrity, + assertTurnItemTypes, + assertUserMessageInputIntents, + assertUserMessagesInclude, + assertVisibleTurnItemsMirrorLocalTurnItems, + MESSAGE_STEERING_INITIAL_PROMPT, + MESSAGE_STEERING_STEER_PROMPT, + projectionFor, +} from "../shared.ts"; + +export function assertCursorMessageSteeringOutput( + result: OrchestratorV2ScenarioResult, + transcript: ProviderReplayTranscript, +) { + assert.equal(transcript.provider, "cursor"); + assertBaseProjection({ result, transcript, runCount: 1, runStatuses: ["completed"] }); + + const projection = projectionFor(result, transcript.scenario); + assertSemanticProjectionIntegrity(projection); + assertVisibleTurnItemsMirrorLocalTurnItems(projection); + assertTurnItemTypes(projection, ["user_message", "assistant_message"]); + assertRuntimeRequestCounts(projection, { total: 0 }); + assertUserMessagesInclude(projection, [ + MESSAGE_STEERING_INITIAL_PROMPT, + MESSAGE_STEERING_STEER_PROMPT, + ]); + assertUserMessageInputIntents(projection, ["turn_start", "steer"]); + assertAssistantTextIncludes(projection, "steering fixture observed"); + + assert.lengthOf(projection.runs, 1, "steering must preserve the app run"); + assert.deepEqual( + projection.attempts.map((attempt) => [attempt.reason, attempt.status]), + [ + ["initial", "superseded"], + ["steering_restart", "completed"], + ], + ); + assert.deepEqual( + projection.providerTurns.map((turn) => turn.status), + ["interrupted", "completed"], + ); + assert.equal(projection.runs[0]?.activeAttemptId, projection.attempts[1]?.id); + assert.equal(projection.runs[0]?.rootNodeId, projection.attempts[1]?.rootNodeId); +} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/message_steering/cursor_transcript.ndjson b/apps/server/src/orchestration-v2/testkit/fixtures/message_steering/cursor_transcript.ndjson new file mode 100644 index 0000000000..4a2357eebc --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/message_steering/cursor_transcript.ndjson @@ -0,0 +1,21 @@ +{"type":"transcript_start","provider":"cursor","protocol":"cursor-agent-sdk.local","version":"1","scenario":"message_steering","metadata":{"generatedBy":"recordCursorAgentSdkReplayTranscript","nativeAgentId":"agent-95a210ed-ddf9-4b36-b265-9a2b02e46050"}} +{"type":"expect_outbound","label":"agent.open","frame":{"type":"agent.open","operation":"create","options":{"model":{"id":"composer-2.5"},"hasName":true,"mode":"agent","local":{"hasCwd":true,"autoReview":false,"sandboxEnabled":false,"enableAgentRetries":true}}}} +{"type":"emit_inbound","label":"agent.opened","frame":{"type":"agent.opened","agentId":"agent-95a210ed-ddf9-4b36-b265-9a2b02e46050"}} +{"type":"expect_outbound","label":"run.start:1","frame":{"type":"run.start","message":"Respond with exactly: steering fixture initial response","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:1","frame":{"type":"run.started","runId":"run-c794f71d-f53a-47ba-b127-b9f26cf64ce1","agentId":"agent-95a210ed-ddf9-4b36-b265-9a2b02e46050"}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-c794f71d-f53a-47ba-b127-b9f26cf64ce1","update":{"type":"text-delta","text":"ste"}}} +{"type":"expect_outbound","label":"run.cancel:1","frame":{"type":"run.cancel","runId":"run-c794f71d-f53a-47ba-b127-b9f26cf64ce1"}} +{"type":"emit_inbound","label":"run.completed:1","frame":{"type":"run.completed","result":{"id":"run-c794f71d-f53a-47ba-b127-b9f26cf64ce1","requestId":"60f12d12-3cd5-47f1-a4dc-bda43dc5a136","status":"cancelled","model":{"id":"composer-2.5"},"durationMs":4219}}} +{"type":"expect_outbound","label":"run.start:2","frame":{"type":"run.start","message":"Actually, respond with exactly: steering fixture observed","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:2","frame":{"type":"run.started","runId":"run-c93ec26d-f38b-4a58-9005-1ed91ad98b9c","agentId":"agent-95a210ed-ddf9-4b36-b265-9a2b02e46050"}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-c93ec26d-f38b-4a58-9005-1ed91ad98b9c","update":{"type":"text-delta","text":"ste"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-c93ec26d-f38b-4a58-9005-1ed91ad98b9c","update":{"type":"text-delta","text":"ering"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-c93ec26d-f38b-4a58-9005-1ed91ad98b9c","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-c93ec26d-f38b-4a58-9005-1ed91ad98b9c","update":{"type":"text-delta","text":" fixture"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-c93ec26d-f38b-4a58-9005-1ed91ad98b9c","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-c93ec26d-f38b-4a58-9005-1ed91ad98b9c","update":{"type":"text-delta","text":" observed"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-c93ec26d-f38b-4a58-9005-1ed91ad98b9c","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"step-completed","frame":{"type":"interaction.update","runId":"run-c93ec26d-f38b-4a58-9005-1ed91ad98b9c","update":{"type":"step-completed","stepId":1,"stepDurationMs":1055}}} +{"type":"emit_inbound","label":"turn-ended","frame":{"type":"interaction.update","runId":"run-c93ec26d-f38b-4a58-9005-1ed91ad98b9c","update":{"type":"turn-ended","usage":{"inputTokens":10270,"outputTokens":42,"cacheReadTokens":7441,"cacheWriteTokens":0}}}} +{"type":"emit_inbound","label":"run.completed:2","frame":{"type":"run.completed","result":{"id":"run-c93ec26d-f38b-4a58-9005-1ed91ad98b9c","requestId":"21e1995e-2649-4e30-aec6-d967e9bce64c","status":"finished","result":"steering fixture observed","model":{"id":"composer-2.5"},"durationMs":1465}}} +{"type":"expect_outbound","label":"agent.close","frame":{"type":"agent.close","agentId":"agent-95a210ed-ddf9-4b36-b265-9a2b02e46050"}} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/message_steering/input.ts b/apps/server/src/orchestration-v2/testkit/fixtures/message_steering/input.ts index 17f9d12013..185d272614 100644 --- a/apps/server/src/orchestration-v2/testkit/fixtures/message_steering/input.ts +++ b/apps/server/src/orchestration-v2/testkit/fixtures/message_steering/input.ts @@ -16,3 +16,16 @@ export function messageSteeringInput(): OrchestratorFixtureInput { ], }; } + +export function messageRestartInput(): OrchestratorFixtureInput { + return { + steps: [ + { type: "message", text: MESSAGE_STEERING_INITIAL_PROMPT }, + { + type: "restart", + text: MESSAGE_STEERING_STEER_PROMPT, + targetRunIndex: 1, + }, + ], + }; +} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/multi_turn/cursor_transcript.ndjson b/apps/server/src/orchestration-v2/testkit/fixtures/multi_turn/cursor_transcript.ndjson new file mode 100644 index 0000000000..c7c450e7b2 --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/multi_turn/cursor_transcript.ndjson @@ -0,0 +1,30 @@ +{"type":"transcript_start","provider":"cursor","protocol":"cursor-agent-sdk.local","version":"1","scenario":"multi_turn","metadata":{"generatedBy":"recordCursorAgentSdkReplayTranscript","nativeAgentId":"agent-93ba82d8-7489-48f7-9b93-b9f65f425666"}} +{"type":"expect_outbound","label":"agent.open","frame":{"type":"agent.open","operation":"create","options":{"model":{"id":"composer-2.5"},"hasName":true,"mode":"agent","local":{"hasCwd":true,"autoReview":false,"sandboxEnabled":false,"enableAgentRetries":true}}}} +{"type":"emit_inbound","label":"agent.opened","frame":{"type":"agent.opened","agentId":"agent-93ba82d8-7489-48f7-9b93-b9f65f425666"}} +{"type":"expect_outbound","label":"run.start:1","frame":{"type":"run.start","message":"Respond with exactly: first fixture turn complete","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:1","frame":{"type":"run.started","runId":"run-e94938bb-f461-4834-b729-c4562b715945","agentId":"agent-93ba82d8-7489-48f7-9b93-b9f65f425666"}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-e94938bb-f461-4834-b729-c4562b715945","update":{"type":"text-delta","text":"first"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-e94938bb-f461-4834-b729-c4562b715945","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-e94938bb-f461-4834-b729-c4562b715945","update":{"type":"text-delta","text":" fixture"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-e94938bb-f461-4834-b729-c4562b715945","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-e94938bb-f461-4834-b729-c4562b715945","update":{"type":"text-delta","text":" turn"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-e94938bb-f461-4834-b729-c4562b715945","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-e94938bb-f461-4834-b729-c4562b715945","update":{"type":"text-delta","text":" complete"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-e94938bb-f461-4834-b729-c4562b715945","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"step-completed","frame":{"type":"interaction.update","runId":"run-e94938bb-f461-4834-b729-c4562b715945","update":{"type":"step-completed","stepId":1,"stepDurationMs":969}}} +{"type":"emit_inbound","label":"turn-ended","frame":{"type":"interaction.update","runId":"run-e94938bb-f461-4834-b729-c4562b715945","update":{"type":"turn-ended","usage":{"inputTokens":10403,"outputTokens":38,"cacheReadTokens":7392,"cacheWriteTokens":0}}}} +{"type":"emit_inbound","label":"run.completed:1","frame":{"type":"run.completed","result":{"id":"run-e94938bb-f461-4834-b729-c4562b715945","requestId":"ef58f76f-ef8f-475e-bff1-568e8aed367c","status":"finished","result":"first fixture turn complete","model":{"id":"composer-2.5"},"durationMs":3891}}} +{"type":"expect_outbound","label":"run.start:2","frame":{"type":"run.start","message":"Respond with exactly: second fixture turn complete","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:2","frame":{"type":"run.started","runId":"run-2fefd1d7-40f3-4ffc-bbd3-30e709a85935","agentId":"agent-93ba82d8-7489-48f7-9b93-b9f65f425666"}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-2fefd1d7-40f3-4ffc-bbd3-30e709a85935","update":{"type":"text-delta","text":"second"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-2fefd1d7-40f3-4ffc-bbd3-30e709a85935","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-2fefd1d7-40f3-4ffc-bbd3-30e709a85935","update":{"type":"text-delta","text":" fixture"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-2fefd1d7-40f3-4ffc-bbd3-30e709a85935","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-2fefd1d7-40f3-4ffc-bbd3-30e709a85935","update":{"type":"text-delta","text":" turn"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-2fefd1d7-40f3-4ffc-bbd3-30e709a85935","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-2fefd1d7-40f3-4ffc-bbd3-30e709a85935","update":{"type":"text-delta","text":" complete"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-2fefd1d7-40f3-4ffc-bbd3-30e709a85935","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"step-completed","frame":{"type":"interaction.update","runId":"run-2fefd1d7-40f3-4ffc-bbd3-30e709a85935","update":{"type":"step-completed","stepId":1,"stepDurationMs":816}}} +{"type":"emit_inbound","label":"turn-ended","frame":{"type":"interaction.update","runId":"run-2fefd1d7-40f3-4ffc-bbd3-30e709a85935","update":{"type":"turn-ended","usage":{"inputTokens":10461,"outputTokens":28,"cacheReadTokens":10402,"cacheWriteTokens":0}}}} +{"type":"emit_inbound","label":"run.completed:2","frame":{"type":"run.completed","result":{"id":"run-2fefd1d7-40f3-4ffc-bbd3-30e709a85935","requestId":"94d9bed1-7b67-4093-ac41-64a43014290e","status":"finished","result":"second fixture turn complete","model":{"id":"composer-2.5"},"durationMs":1727}}} +{"type":"expect_outbound","label":"agent.close","frame":{"type":"agent.close","agentId":"agent-93ba82d8-7489-48f7-9b93-b9f65f425666"}} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/proposed_plan/cursor_output.ts b/apps/server/src/orchestration-v2/testkit/fixtures/proposed_plan/cursor_output.ts new file mode 100644 index 0000000000..5b6c3ae212 --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/proposed_plan/cursor_output.ts @@ -0,0 +1,39 @@ +import { assert } from "@effect/vitest"; +import type { ProviderReplayTranscript } from "@t3tools/contracts"; + +import type { OrchestratorV2ScenarioResult } from "../../OrchestratorScenario.ts"; +import { + assertBaseProjection, + assertExecutionNodeKinds, + assertRunOrdinals, + assertSemanticProjectionIntegrity, + assertTurnItemTypes, + assertUserMessagesInclude, + assertVisibleTurnItemsMirrorLocalTurnItems, + projectionFor, + PROPOSED_PLAN_PROMPT, +} from "../shared.ts"; + +export function assertProposedPlanCursorOutput( + result: OrchestratorV2ScenarioResult, + transcript: ProviderReplayTranscript, +) { + assertBaseProjection({ result, transcript, runCount: 1, runStatuses: ["completed"] }); + + const projection = projectionFor(result, transcript.scenario); + assertSemanticProjectionIntegrity(projection); + assertVisibleTurnItemsMirrorLocalTurnItems(projection); + assertRunOrdinals(projection, [1]); + assertExecutionNodeKinds(projection, ["root_turn", "plan", "subagent", "tool_call"]); + assertTurnItemTypes(projection, ["user_message", "subagent", "file_search", "proposed_plan"]); + assertUserMessagesInclude(projection, [PROPOSED_PLAN_PROMPT]); + + const proposedPlans = projection.plans.filter((plan) => plan.kind === "proposed_plan"); + assert.isAtLeast(proposedPlans.length, 1); + assert.include(proposedPlans.at(-1)?.markdown, "Deterministic Replay Fixtures"); + + const proposedPlanItems = projection.turnItems.filter((item) => item.type === "proposed_plan"); + assert.isAtLeast(proposedPlanItems.length, 1); + assert.equal(proposedPlanItems.at(-1)?.streaming, false); + assert.isAtLeast(projection.subagents.length, 1); +} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/proposed_plan/cursor_transcript.ndjson b/apps/server/src/orchestration-v2/testkit/fixtures/proposed_plan/cursor_transcript.ndjson new file mode 100644 index 0000000000..701111f13a --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/proposed_plan/cursor_transcript.ndjson @@ -0,0 +1,132 @@ +{"type":"transcript_start","provider":"cursor","protocol":"cursor-agent-sdk.local","version":"1","scenario":"proposed_plan","metadata":{"generatedBy":"recordCursorAgentSdkReplayTranscript","nativeAgentId":"agent-bc5d59e0-bc8b-441a-9292-b49dfff962d3"}} +{"type":"expect_outbound","label":"agent.open","frame":{"type":"agent.open","operation":"create","options":{"model":{"id":"composer-2.5"},"hasName":true,"mode":"plan","local":{"hasCwd":true,"autoReview":false,"sandboxEnabled":true,"enableAgentRetries":true}}}} +{"type":"emit_inbound","label":"agent.opened","frame":{"type":"agent.opened","agentId":"agent-bc5d59e0-bc8b-441a-9292-b49dfff962d3"}} +{"type":"expect_outbound","label":"run.start:1","frame":{"type":"run.start","message":"Create a short implementation plan for adding deterministic replay fixtures. Do not ask questions. Present the final plan in a proposed plan block.","options":{"model":{"id":"composer-2.5"},"mode":"plan"}}} +{"type":"emit_inbound","label":"run.started:1","frame":{"type":"run.started","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","agentId":"agent-bc5d59e0-bc8b-441a-9292-b49dfff962d3"}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":"Exploring the"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" codebase for replay"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":", fixtures, and"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" related"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" patterns"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" to"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" draft a concrete"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" plan"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":".\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":8}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":183}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"partial-tool-call","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"partial-tool-call","callId":"tool_c651551c-9935-48e7-b5c4-28bd5ce2909","toolCall":{"type":"task","args":{"description":"Explore replay/fixture patterns","prompt":"Explore this codebase thoroughly to understand:\n1. What is this project (orchestrator, cursor agent SDK, etc.)?\n2. Any existing replay, recording, or fixture infrastructure\n3. Test patterns, mock patterns, deterministic testing approaches\n4. Any references to \"proposed_plan\", \"record\", \"replay\", \"fixture\"\n\nSearch for keywords: replay, fixture, record, deterministic, snapshot, mock, proposed_plan\n\nReturn:\n- Project structure overview\n- Relevant file paths and their roles\n- Current gaps for deterministic replay fixtures\n- Any existing types/interfaces that would need extension\n- Suggested integration points based on actual code\n\nBe specific with file paths and code snippets. Read-only exploration only.","subagentType":{"kind":"explore"},"model":"composer-2.5-fast","agentId":"95b8b4ba-cc91-4455-9389-9729e569f76b","mode":"unspecified"}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-0-yjwv"}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"tool-call-started","callId":"tool_c651551c-9935-48e7-b5c4-28bd5ce2909","toolCall":{"type":"task","args":{"description":"Explore replay/fixture patterns","prompt":"Explore this codebase thoroughly to understand:\n1. What is this project (orchestrator, cursor agent SDK, etc.)?\n2. Any existing replay, recording, or fixture infrastructure\n3. Test patterns, mock patterns, deterministic testing approaches\n4. Any references to \"proposed_plan\", \"record\", \"replay\", \"fixture\"\n\nSearch for keywords: replay, fixture, record, deterministic, snapshot, mock, proposed_plan\n\nReturn:\n- Project structure overview\n- Relevant file paths and their roles\n- Current gaps for deterministic replay fixtures\n- Any existing types/interfaces that would need extension\n- Suggested integration points based on actual code\n\nBe specific with file paths and code snippets. Read-only exploration only.","subagentType":{"kind":"explore"},"model":"composer-2.5-fast","agentId":"95b8b4ba-cc91-4455-9389-9729e569f76b","mode":"unspecified"}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-0-yjwv"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"tool-call-started","callId":"tool_acdbbf78-c550-4f16-9311-7e10a3c2d03","toolCall":{"type":"glob","args":{"globPattern":"**/*"}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-0-yjwv"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":11}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"tool-call-started","callId":"tool_e7511f26-8602-4658-81d3-139a335230c","toolCall":{"type":"grep","args":{"pattern":"replay|fixture|proposed_plan|deterministic","caseInsensitive":true,"offset":0}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-0-yjwv"}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"tool-call-completed","callId":"tool_e7511f26-8602-4658-81d3-139a335230c","toolCall":{"type":"grep","args":{"pattern":"replay|fixture|proposed_plan|deterministic","caseInsensitive":true,"offset":0},"result":{"status":"success","value":{"workspaceResults":{"/var/folders/b3/b51_pdxj7dl0t981zpqkxxhr0000gn/T/t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW":{"type":"content","output":{"matches":[{"file":"./README.md"}],"totalMatches":0}}}}}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-0-yjwv"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":56}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"tool-call-completed","callId":"tool_acdbbf78-c550-4f16-9311-7e10a3c2d03","toolCall":{"type":"glob","args":{"globPattern":"**/*"},"result":{"status":"success","value":{"files":["./.git/logs/refs/heads/main","./.git/logs/HEAD","./.git/refs/heads/main","./.git/objects/fc/daa658b54f15c125d37542fbc5c39063cc8ae5","./.git/COMMIT_EDITMSG","./README.md","./.git/config","./.git/HEAD","./.git/hooks/push-to-checkout.sample","./.git/hooks/update.sample","./.git/hooks/pre-push.sample","./.git/hooks/pre-applypatch.sample","./.git/hooks/pre-merge-commit.sample","./.git/hooks/post-update.sample","./.git/hooks/prepare-commit-msg.sample","./.git/hooks/pre-receive.sample","./.git/hooks/fsmonitor-watchman.sample","./.git/hooks/applypatch-msg.sample","./.git/hooks/pre-commit.sample","./.git/hooks/sendemail-validate.sample","./.git/hooks/pre-rebase.sample","./.git/hooks/commit-msg.sample","./.git/description","./.git/info/exclude"],"totalFiles":24,"clientTruncated":false,"ripgrepTruncated":false}}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-0-yjwv"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":197}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"tool-call-completed","callId":"tool_c651551c-9935-48e7-b5c4-28bd5ce2909","toolCall":{"type":"task","args":{"description":"Explore replay/fixture patterns","prompt":"Explore this codebase thoroughly to understand:\n1. What is this project (orchestrator, cursor agent SDK, etc.)?\n2. Any existing replay, recording, or fixture infrastructure\n3. Test patterns, mock patterns, deterministic testing approaches\n4. Any references to \"proposed_plan\", \"record\", \"replay\", \"fixture\"\n\nSearch for keywords: replay, fixture, record, deterministic, snapshot, mock, proposed_plan\n\nReturn:\n- Project structure overview\n- Relevant file paths and their roles\n- Current gaps for deterministic replay fixtures\n- Any existing types/interfaces that would need extension\n- Suggested integration points based on actual code\n\nBe specific with file paths and code snippets. Read-only exploration only.","subagentType":{"kind":"explore"},"model":"composer-2.5-fast","agentId":"95b8b4ba-cc91-4455-9389-9729e569f76b","mode":"unspecified"},"result":{"status":"success","value":{"conversationSteps":[{"assistantMessage":{"text":"I'll explore the codebase structure and search for replay, recording, fixture, and related patterns.\n"}},{"toolCall":{"readToolCall":{"args":{"path":"/tmp/cursor-replay-proposed_plan/README.md"},"result":{"success":{"content":"# cursor-agent-sdk-record-proposed_plan\n","totalLines":2,"fileSize":40,"path":"/tmp/cursor-replay-proposed_plan/README.md","readRange":{"startLine":1,"endLine":2}}}},"toolCallId":"tool_6b944780-b235-43eb-87b1-f1b31ec1df5"}},{"toolCall":{"grepToolCall":{"args":{"pattern":"proposed_plan|replay|fixture|record|deterministic|snapshot|mock","outputMode":"content","caseInsensitive":true,"multiline":false,"toolCallId":"tool_9703f1e1-6268-4d6f-b68f-3832af37dbe","offset":0},"result":{"success":{"pattern":"proposed_plan|replay|fixture|record|deterministic|snapshot|mock","outputMode":"content","workspaceResults":{"/var/folders/b3/b51_pdxj7dl0t981zpqkxxhr0000gn/T/t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW":{"content":{"matches":[{"file":"./README.md","matches":[{"lineNumber":1,"content":"# cursor-agent-sdk-record-proposed_plan"}]}],"totalLines":1,"totalMatchedLines":1}}}}}},"toolCallId":"tool_9703f1e1-6268-4d6f-b68f-3832af37dbe"}},{"toolCall":{"globToolCall":{"args":{"globPattern":"**/*"},"result":{"success":{"files":["./.git/logs/refs/heads/main","./.git/logs/HEAD","./.git/refs/heads/main","./.git/objects/fc/daa658b54f15c125d37542fbc5c39063cc8ae5","./.git/COMMIT_EDITMSG","./README.md","./.git/config","./.git/HEAD","./.git/hooks/push-to-checkout.sample","./.git/hooks/update.sample","./.git/hooks/pre-push.sample","./.git/hooks/pre-applypatch.sample","./.git/hooks/pre-merge-commit.sample","./.git/hooks/post-update.sample","./.git/hooks/prepare-commit-msg.sample","./.git/hooks/pre-receive.sample","./.git/hooks/fsmonitor-watchman.sample","./.git/hooks/applypatch-msg.sample","./.git/hooks/pre-commit.sample","./.git/hooks/sendemail-validate.sample","./.git/hooks/pre-rebase.sample","./.git/hooks/commit-msg.sample","./.git/description","./.git/info/exclude"],"totalFiles":24}}},"toolCallId":"tool_2258753f-1e24-4b68-8f55-f5cc37d0df7"}},{"assistantMessage":{"text":"The repo looks minimal; I'll dig into git history and any hidden files for more context.\n"}},{"toolCall":{"readToolCall":{"args":{"path":"/tmp/cursor-replay-proposed_plan/.git/COMMIT_EDITMSG"},"result":{"success":{"content":"initial\n","totalLines":2,"fileSize":8,"path":"/tmp/cursor-replay-proposed_plan/.git/COMMIT_EDITMSG","readRange":{"startLine":1,"endLine":2}}}},"toolCallId":"tool_d7b3c0a2-3478-4188-b075-473d62608b5"}},{"toolCall":{"shellToolCall":{"result":{"permissionDenied":{"command":"git -C \"/tmp/cursor-replay-proposed_plan\" log --oneline -5 && echo \"---\" && git -C \"/tmp/cursor-replay-proposed_plan\" show --stat HEAD","error":"This operation is not allowed in readonly mode. The subagent was launched with readonly: true, which restricts write operations.","isReadonly":true}}},"toolCallId":"tool_1a463236-a1f4-46c9-9858-40ecb97beef"}},{"toolCall":{"globToolCall":{"args":{"targetDirectory":"/tmp/cursor-replay-proposed_plan","globPattern":"**/*.*"},"result":{"success":{"path":"/tmp/cursor-replay-proposed_plan","files":["README.md",".git/hooks/push-to-checkout.sample",".git/hooks/update.sample",".git/hooks/pre-push.sample",".git/hooks/pre-applypatch.sample",".git/hooks/pre-merge-commit.sample",".git/hooks/post-update.sample",".git/hooks/prepare-commit-msg.sample",".git/hooks/pre-receive.sample",".git/hooks/fsmonitor-watchman.sample",".git/hooks/applypatch-msg.sample",".git/hooks/pre-commit.sample",".git/hooks/sendemail-validate.sample",".git/hooks/pre-rebase.sample",".git/hooks/commit-msg.sample"],"totalFiles":15}}},"toolCallId":"tool_8b855f7c-7d59-4558-bbcc-33ed95edbf6"}},{"thinkingMessage":{"text":"The workspace contains only a README.md file with no other files present.","durationMs":741}},{"toolCall":{"grepToolCall":{"result":{"error":{"error":"rg: ../../../../../../Users/julius/.cursor/projects/var-folders-b3-b51-pdxj7dl0t981zpqkxxhr0000gn-T-t3-orchestrator-v2-cursor-agent-sdk-record-proposed-plan-ggwFWW: IO error for operation on ../../../../../../Users/julius/.cursor/projects/var-folders-b3-b51-pdxj7dl0t981zpqkxxhr0000gn-T-t3-orchestrator-v2-cursor-agent-sdk-record-proposed-plan-ggwFWW: No such file or directory (os error 2)\n"}}},"toolCallId":"tool_6483ec94-58b4-4995-948f-7929c5308a6"}},{"toolCall":{"readToolCall":{"args":{"path":"/tmp/cursor-replay-proposed_plan/.git/logs/HEAD"},"result":{"success":{"content":"0000000000000000000000000000000000000000 fcdaa658b54f15c125d37542fbc5c39063cc8ae5 T3 Code Test 1781727514 -0700\tcommit (initial): initial\n","totalLines":2,"fileSize":164,"path":"/tmp/cursor-replay-proposed_plan/.git/logs/HEAD","readRange":{"startLine":1,"endLine":2}}}},"toolCallId":"tool_40fcc6a5-6ed4-41ef-92fa-a7f2636844e"}},{"toolCall":{"globToolCall":{"args":{"targetDirectory":"/var/folders/b3/b51_pdxj7dl0t981zpqkxxhr0000gn/T","globPattern":"**/*"},"result":{"success":{"path":"/var/folders/b3/b51_pdxj7dl0t981zpqkxxhr0000gn/T","files":["t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/logs/refs/heads/main","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/logs/HEAD","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/refs/heads/main","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/objects/fc/daa658b54f15c125d37542fbc5c39063cc8ae5","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/COMMIT_EDITMSG","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/README.md","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/config","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/HEAD","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/push-to-checkout.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/update.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/pre-push.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/pre-applypatch.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/pre-merge-commit.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/post-update.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/prepare-commit-msg.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/pre-receive.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/fsmonitor-watchman.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/applypatch-msg.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/pre-commit.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/sendemail-validate.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/pre-rebase.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/hooks/commit-msg.sample","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/description","t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/.git/info/exclude","CCqK1MQUAekfYNUa51kXl/ssr/1b6ea0b090b16ca68587e35e5691757979c4dbb9","CCqK1MQUAekfYNUa51kXl/ssr/79bb62c3ed83171a3b36a1eb963082420016cb70","CCqK1MQUAekfYNUa51kXl/ssr/0c2da54c3119b606e8c2905c547acca7af45aa39","CCqK1MQUAekfYNUa51kXl/ssr/f20478f9c64f4cca804b8b7f576affd083776c07","CCqK1MQUAekfYNUa51kXl/ssr/108e7a223d191f879a4c8051f311e7b1c0ebfdce","CCqK1MQUAekfYNUa51kXl/ssr/2de7d3205b4ee297e3dfa788676de6c69fb8007e","CCqK1MQUAekfYNUa51kXl/ssr/457946fa6d3ce4d97e71b48f1750bf93f99c06bc","CCqK1MQUAekfYNUa51kXl/ssr/f1520271a08811d17d2c4880b5afdbf7ac9da618","CCqK1MQUAekfYNUa51kXl/ssr/d437b342aa504cc264cd6c5db9cdc521fd6e0821","CCqK1MQUAekfYNUa51kXl/ssr/d047bef17077dca83ce4a251e28c4063c0e538f4","CCqK1MQUAekfYNUa51kXl/ssr/f3a9e0af27dd4b49f4165fbaf27662c271048005","CCqK1MQUAekfYNUa51kXl/ssr/83a2d7c41f465a99bfd7c736de2459cd83029320","CCqK1MQUAekfYNUa51kXl/ssr/e736de55c464a13c9c14854dccbcf4bbb57a4b7f","CCqK1MQUAekfYNUa51kXl/ssr/0b7c9ad62ad69946d442ba006c8980f0cd629483","CCqK1MQUAekfYNUa51kXl/ssr/4d2e48b21fd3e56cf2c131c12b7128d5e313260e","CCqK1MQUAekfYNUa51kXl/ssr/880431d601e71a19cb978e237d4b2b592fd72bc7","CCqK1MQUAekfYNUa51kXl/ssr/ab5dcf7ac7bd5b000cefacc297199d4af8fd245a","CCqK1MQUAekfYNUa51kXl/ssr/b60425009385208a49a7cefb90e43ae3aef5dd82","CCqK1MQUAekfYNUa51kXl/ssr/440915f8846468272bb1dafcd23646f0365cb3f5","CCqK1MQUAekfYNUa51kXl/ssr/b2e4b867420b48a4c6f59a9b1ae3c42137d201a7","CCqK1MQUAekfYNUa51kXl/ssr/5f9efd0f68ba7680aa015462154ed5e43d055cc9","CCqK1MQUAekfYNUa51kXl/ssr/b222b9ce36afa608b234f80fd072710735675e3e","CCqK1MQUAekfYNUa51kXl/ssr/132a433c77c4569a5fd8934ec346367cb8c08fdd","CCqK1MQUAekfYNUa51kXl/ssr/595a7f12f587232e6859c0418f1d8dc252d146cf","CCqK1MQUAekfYNUa51kXl/ssr/e82e8b073eed72f7e57650dd089959ec97a47613","CCqK1MQUAekfYNUa51kXl/ssr/d6ca2de59e50d4c6c10f5f1bcd223bdce815e837","CCqK1MQUAekfYNUa51kXl/ssr/589a2245dfe67b5e830d21e12c50fc2c8baf5aee","CCqK1MQUAekfYNUa51kXl/ssr/117216c8617289ba3d5d6dfdf1ac301e9faf58f2","CCqK1MQUAekfYNUa51kXl/ssr/e5a8a7f1e54634c961d1f2188fe1f70709215ff2","CCqK1MQUAekfYNUa51kXl/ssr/ab4e9c0c155519fc53e566fab2965635c528137b","CCqK1MQUAekfYNUa51kXl/ssr/bb63df4de73c4e5f82faec56a3ab08ec66ffbf69","CCqK1MQUAekfYNUa51kXl/ssr/d1b6e51017eb1883023eebce64ac14e6f0d82b39","CCqK1MQUAekfYNUa51kXl/ssr/bd4a74d492060a9dbdc8f631170721ec5b72156b","CCqK1MQUAekfYNUa51kXl/ssr/b5f664a38161e78eaee69fef923422f6816b958f","CCqK1MQUAekfYNUa51kXl/ssr/4d66c4e0b61ac9d511e9be435abacbb831477bd2","CCqK1MQUAekfYNUa51kXl/ssr/22858e0edba23ff7b4e99e0bb854c1e6eb5d67e5","CCqK1MQUAekfYNUa51kXl/ssr/57937a82893c775976f44de35796090eefc3fd8f","CCqK1MQUAekfYNUa51kXl/ssr/7dd483e15d4a4afef1e8aae204761a909ae1bc43","CCqK1MQUAekfYNUa51kXl/ssr/bc69a12ac750e779e589e094f49e77031f53f05a","CCqK1MQUAekfYNUa51kXl/ssr/8432da594202b10f98b51ec2c1112963d7f705c5","CCqK1MQUAekfYNUa51kXl/ssr/ca1b9e023995c6fcb85084759a964a0062faf1a9","CCqK1MQUAekfYNUa51kXl/ssr/f34155c05d008fce01a6cf1750e9535f89c308b3","CCqK1MQUAekfYNUa51kXl/ssr/970972bec3921402c7785a22824f2c0198efc88f","CCqK1MQUAekfYNUa51kXl/ssr/08c41285ab65807254c5ea4923cf741b173a96b4","CCqK1MQUAekfYNUa51kXl/ssr/e675afb01ffc8b54f5863d95ae38c908d884912b","CCqK1MQUAekfYNUa51kXl/ssr/3062def690e5fe2976775c2d28642b6d0d5507ef","CCqK1MQUAekfYNUa51kXl/ssr/e735fe699fdf6dedab877dd1ee8036991c50d3e9","CCqK1MQUAekfYNUa51kXl/ssr/14be6fc6943f81092358c3f62356826467e8e52d","CCqK1MQUAekfYNUa51kXl/ssr/6c654a0e59eb3bc4c1b967f2318eb33edcb2ab81","CCqK1MQUAekfYNUa51kXl/ssr/1b7ad70ecb70da350c3de11228ba9ed61cc4151d","CCqK1MQUAekfYNUa51kXl/ssr/8242d1067cc0ec7384bbd2ae0a4aedf811a3a3b7","CCqK1MQUAekfYNUa51kXl/ssr/8ce9c3448eb1f4932b032e0ca15d292fc4e3bd9a","CCqK1MQUAekfYNUa51kXl/ssr/b73faaf68ad485afad44313585b03fc354f06423","CCqK1MQUAekfYNUa51kXl/ssr/45accde829b4cdcbe11fd7d765787a2b3b9a8011","CCqK1MQUAekfYNUa51kXl/ssr/61f658e66a7d263036ad5585d74a5571f60bf17e","CCqK1MQUAekfYNUa51kXl/ssr/6e9748916c3cf1c002e477c02ecbae3a2eab474d","t3code-git-manager-SKlXJL/README.md","t3code-git-manager-SKlXJL/.git/config","t3code-git-manager-SKlXJL/.git/HEAD","t3code-git-manager-SKlXJL/.git/hooks/push-to-checkout.sample","t3code-git-manager-SKlXJL/.git/hooks/update.sample","t3code-git-manager-SKlXJL/.git/hooks/pre-push.sample","t3code-git-manager-SKlXJL/.git/hooks/pre-applypatch.sample","t3code-git-manager-SKlXJL/.git/hooks/pre-merge-commit.sample","t3code-git-manager-SKlXJL/.git/hooks/post-update.sample","t3code-git-manager-SKlXJL/.git/hooks/prepare-commit-msg.sample","t3code-git-manager-SKlXJL/.git/hooks/pre-receive.sample","t3code-git-manager-SKlXJL/.git/hooks/fsmonitor-watchman.sample","t3code-git-manager-SKlXJL/.git/hooks/applypatch-msg.sample","t3code-git-manager-SKlXJL/.git/hooks/pre-commit.sample","t3code-git-manager-SKlXJL/.git/hooks/sendemail-validate.sample","t3code-git-manager-SKlXJL/.git/hooks/pre-rebase.sample","t3code-git-manager-SKlXJL/.git/hooks/commit-msg.sample","t3code-git-manager-SKlXJL/.git/description","t3code-git-manager-SKlXJL/.git/info/exclude","Sv70zJ_VefJwjnnkCDctC/ssr/4e8947ba6e8c68b58749bcf9dc89d6b388dbfda2","Sv70zJ_VefJwjnnkCDctC/ssr/03512668e6e78af858678dc39f94b4ebfd9a1636","Sv70zJ_VefJwjnnkCDctC/ssr/6bec7b7400c14152f326930c9f12e90765694bf6","Sv70zJ_VefJwjnnkCDctC/ssr/8a44f7672da6886d5d4c779e40a57c69e21f3700","Sv70zJ_VefJwjnnkCDctC/ssr/6170d80995eb5bf2450aa08c44d6034de5d7a6fa","Sv70zJ_VefJwjnnkCDctC/ssr/2af0d4320498e93b1fd64a2bb25dc03500380209","Sv70zJ_VefJwjnnkCDctC/ssr/105aedadccbab6c1a6220826b051cf6e22a394f5","Sv70zJ_VefJwjnnkCDctC/ssr/a419dc28f487a0ba1a715f2807e517597cb4fd14","Sv70zJ_VefJwjnnkCDctC/ssr/7c0a017158f766e8a561c3153c97e0248bd7c88e","Sv70zJ_VefJwjnnkCDctC/ssr/3bc130f687ccea4b9889ab5a7defd7161b03df9f","Sv70zJ_VefJwjnnkCDctC/ssr/c3038c415b2ee8e907ee87ed638e3646b9e6473e","Sv70zJ_VefJwjnnkCDctC/ssr/6ab12736b2568e78e4c8c91eac42fb1fcce6e963","Sv70zJ_VefJwjnnkCDctC/ssr/91f9f66076592f19082d40e122566775834e4f72","Sv70zJ_VefJwjnnkCDctC/ssr/c0d5abd5f318459829f34025ccf9b24cad610c73","Sv70zJ_VefJwjnnkCDctC/ssr/f2aabcdba3747cebeb6e6dc99aa0b719a5baea7f","Sv70zJ_VefJwjnnkCDctC/ssr/568a349648f6ea825a685f7ab04aace2bce709ea","Sv70zJ_VefJwjnnkCDctC/ssr/ef6de42efc4ca71ed7bb5c04f3c6264257ea8723","Sv70zJ_VefJwjnnkCDctC/ssr/9b37ab18399be392930f2d2d3b93efd7e9f808b8","Sv70zJ_VefJwjnnkCDctC/ssr/fb37d378e9a3db2548e86d2bbbccde9e95187d38","Sv70zJ_VefJwjnnkCDctC/ssr/2781fbcf333100abf170395a4bee351395a19a02","Sv70zJ_VefJwjnnkCDctC/ssr/af7e964c307af042ae151df647376565fada4fa5","Sv70zJ_VefJwjnnkCDctC/ssr/0a847a5b9eea2b489f04be234114b569dc91dc0f","Sv70zJ_VefJwjnnkCDctC/ssr/924cf181258915d6beb4dcc76cca729818f170ea","Sv70zJ_VefJwjnnkCDctC/ssr/a8e7395fe8e3d1c7b0182175274ff19af4dece24","Sv70zJ_VefJwjnnkCDctC/ssr/1d65f2e89b8107d7c0ab9ff7e6dcea1627ffa2a2","Sv70zJ_VefJwjnnkCDctC/ssr/04d71a2e0660948234564261fcbfe69fae8eee5a","Sv70zJ_VefJwjnnkCDctC/ssr/869435fe5e1ec79357698c530a40319ef5f70812","Sv70zJ_VefJwjnnkCDctC/ssr/99e8e0f481e7e0b86ec88bb0146c16634fc326bb","Sv70zJ_VefJwjnnkCDctC/ssr/b29b5b1a1d9b44ee5ec5c3fdcf7ea8e1e06d827b","Sv70zJ_VefJwjnnkCDctC/ssr/73b5f379e83c6d6f8a620bbd6bbb051c98cce470","Sv70zJ_VefJwjnnkCDctC/ssr/67e8ebb3b24ed6cd07652522b9a48d2dbc9effd9","Sv70zJ_VefJwjnnkCDctC/ssr/e0d855cd53346d51344d4e9b1aa653582598a289","Sv70zJ_VefJwjnnkCDctC/ssr/66bfafe9668a4d37928fc59445af54ecd42a0d7f","Sv70zJ_VefJwjnnkCDctC/ssr/38f2ff294448561a12240bce7bdd9dfd16b914ad","Sv70zJ_VefJwjnnkCDctC/ssr/9a7cb78cb97573a8ef99ba178c76fc6baa4816bf","Sv70zJ_VefJwjnnkCDctC/ssr/845b214c955416e370dfa851c8ab46e8709bd51f","Sv70zJ_VefJwjnnkCDctC/ssr/34090bc2870a8ede0205408322b27efa569b96b8","Sv70zJ_VefJwjnnkCDctC/ssr/76dffe916b65cb9397c31ae8f513dc664faa5328","Sv70zJ_VefJwjnnkCDctC/ssr/0aad60b4bd76a5d0cd6bb975bad327c3999f206b","Sv70zJ_VefJwjnnkCDctC/ssr/604048c2336981e74492550ed0f454ee40b5c8f0","Sv70zJ_VefJwjnnkCDctC/ssr/43de3cc0230dd481864fe855998b3e40f3c2fccd","Sv70zJ_VefJwjnnkCDctC/ssr/dc11b24e72820253f410319237f6c1c7d3d36a91","Sv70zJ_VefJwjnnkCDctC/ssr/b5ac96e942e73e3e012c359c83da2f3bfe64794f","Sv70zJ_VefJwjnnkCDctC/ssr/cb79d2fc362b7924c747404a2ebd2e9fb6c4f6af","Sv70zJ_VefJwjnnkCDctC/ssr/947a07dab01d2a431253095aea1c68661be705d4","Sv70zJ_VefJwjnnkCDctC/ssr/c6f320061bb2cccfd10e681ff2080a971f671d63","Sv70zJ_VefJwjnnkCDctC/ssr/bb5037638f3321c5ee72472b6ee61f4a7c241d5d","Sv70zJ_VefJwjnnkCDctC/ssr/bf54ab6d6fd67b848aa9f30c43ab1c56d794e148","Sv70zJ_VefJwjnnkCDctC/ssr/807fedcadca300a7d914de715be8c9b00e596c38","Sv70zJ_VefJwjnnkCDctC/ssr/7e2ac7117f27ee9bdb03e47f13159476ca1ca545","Sv70zJ_VefJwjnnkCDctC/ssr/aad96267a6612b94322a105105992df1bc0fa7d3","Sv70zJ_VefJwjnnkCDctC/ssr/8161aba1340f9a1495f03d2373abb9e77b791c7b","Sv70zJ_VefJwjnnkCDctC/ssr/ecf71a5d3255bac0fffab581b93ca2932c3644ac","Sv70zJ_VefJwjnnkCDctC/ssr/07410e3be2a60c549f8942ea734ecb7f013e23f6","Sv70zJ_VefJwjnnkCDctC/ssr/10e7b0808d63aeb799c1d91548159cf08f632cad","Sv70zJ_VefJwjnnkCDctC/ssr/050803c975e5c3d0ec842523bdb2e28520faf721","Sv70zJ_VefJwjnnkCDctC/ssr/9deeea88026e431b03d5d4030484a59e3ada96e5","Sv70zJ_VefJwjnnkCDctC/ssr/ac132509ddf5c65f579b5e623bcdf7594d75395c","Sv70zJ_VefJwjnnkCDctC/ssr/2976a59021fcc289405d177183422f0618d603bd","Sv70zJ_VefJwjnnkCDctC/ssr/ad2cd083c434b347d0069c3c506a217f521e4196","Sv70zJ_VefJwjnnkCDctC/ssr/679dbb0643fb081c8343e6abd36984e510b09261","Sv70zJ_VefJwjnnkCDctC/ssr/46466b0d07ebc7b40ccfdfe55d13dd0537ba704d","Sv70zJ_VefJwjnnkCDctC/ssr/dded9812fd2e21a0928170fbee3d0448d387d97d","Sv70zJ_VefJwjnnkCDctC/ssr/8131fc571317c963c3cc61e95bfb5ff5b520170b","Sv70zJ_VefJwjnnkCDctC/ssr/4695aeaedcb667ba0232f17ce1f40eb268219742","Sv70zJ_VefJwjnnkCDctC/ssr/658e9a921ebf496fca62e5156ba25dcd6be72ea4","Sv70zJ_VefJwjnnkCDctC/ssr/7518e120614ce4a212333b60c74054dfd17d54d8","Sv70zJ_VefJwjnnkCDctC/ssr/47f8fb2701a4c395716a64e5b2cbdd72ce965a9e","Sv70zJ_VefJwjnnkCDctC/ssr/3e61c25af65ba0676189d882183712746f32bd6b","Sv70zJ_VefJwjnnkCDctC/ssr/bb1194a208db95b464003f0b0e5d5c018a743d3a","Sv70zJ_VefJwjnnkCDctC/ssr/39f2b2496a50b8ca65f29b911935458a93a57db8","Sv70zJ_VefJwjnnkCDctC/ssr/6d0093e0e7c63bfbf24d50739c0ac90d94ba9847","Sv70zJ_VefJwjnnkCDctC/ssr/e4957b5198cb7f41cec1b2aedf09649a60dd6e4a","Sv70zJ_VefJwjnnkCDctC/ssr/bcb868f22f818c5254a289e9c92bc08fefc14ab5","Sv70zJ_VefJwjnnkCDctC/ssr/42e9a1d6105278e1340f8cfc335c9d607c6862fd","Sv70zJ_VefJwjnnkCDctC/ssr/024eef6cba335cd547a54ebdb5b4cfdf4fe05ee5","Sv70zJ_VefJwjnnkCDctC/ssr/95a967c3c8f62f9f3cab195d4299233dbb6d17db","Sv70zJ_VefJwjnnkCDctC/ssr/905fd6ad08354e303f1196aaf38a2620648a7309","Sv70zJ_VefJwjnnkCDctC/ssr/84050534eacbc50aaec19fe12fbbc883180e5122","Sv70zJ_VefJwjnnkCDctC/ssr/2cf3599409190ff6e1b334e211e166ce5d3d2d0a","Sv70zJ_VefJwjnnkCDctC/ssr/3c4fef3cf4f7a1481992dec6aa61025255a4c5b2","Sv70zJ_VefJwjnnkCDctC/ssr/53eb8909614c5d8e7453c5c78531894062722d6c","Sv70zJ_VefJwjnnkCDctC/ssr/bfb9910fe809ecd0ab264e1fc7001642e009c133","Sv70zJ_VefJwjnnkCDctC/ssr/16df9be6fe74dd6cacc1d884c1538b6af35c4a1d","Sv70zJ_VefJwjnnkCDctC/ssr/bbe2983d3c312d474d463a92a4359c611452b730","Sv70zJ_VefJwjnnkCDctC/ssr/e7a92a185a34b19bda41eba0ad256e370ea10c59","Sv70zJ_VefJwjnnkCDctC/ssr/58f558f67ce1473475dee602195610641bba1a62","Sv70zJ_VefJwjnnkCDctC/ssr/4329f1b90a043569cc157412bb5fb42300c4d540","Sv70zJ_VefJwjnnkCDctC/ssr/f65f1afed8f26237c2aa2bbfd5b9470f58e3a712","Sv70zJ_VefJwjnnkCDctC/ssr/761ec34282c325d5706f27011bf00fa4975284e9","Sv70zJ_VefJwjnnkCDctC/ssr/2044def5ddd39b7602ef276ccc150a5e8fa711d7","Sv70zJ_VefJwjnnkCDctC/ssr/1292293d36ee2bb22a34924c518920df546e7fed","Sv70zJ_VefJwjnnkCDctC/ssr/15b07e765340c56f231a1bef27f039ba6a79f278","Sv70zJ_VefJwjnnkCDctC/ssr/f58e7e5e21adb0067ee56a42ab214ceb2c7b3a8a","Sv70zJ_VefJwjnnkCDctC/ssr/d13e06a3757d19e7e4837c828a614ce83daf9c38","Sv70zJ_VefJwjnnkCDctC/ssr/d46483bd29468b1cc14e4ba5e326254c6b966668","Sv70zJ_VefJwjnnkCDctC/ssr/8b567e0d6a0328a0c247114c5813fbb69ccdc970","Sv70zJ_VefJwjnnkCDctC/ssr/9712582533cbc72df7ea4f0be827de0bf4021854","Sv70zJ_VefJwjnnkCDctC/ssr/2ef7301f6f8e541e046e393e338fba360e46477d","Sv70zJ_VefJwjnnkCDctC/ssr/234453211a3f5552a0460ff23201f9295824b84c","Sv70zJ_VefJwjnnkCDctC/ssr/aeed46aa94878a41de42b018571d9b1ecbe69580","Sv70zJ_VefJwjnnkCDctC/ssr/7b54aa2700d8346b4bbe1256e129c0deef5414ba","Sv70zJ_VefJwjnnkCDctC/ssr/45b6672c00a36b755554b1d29abd4cec548e4ca8","Sv70zJ_VefJwjnnkCDctC/ssr/d295cf3b93be748ee79877c07e1f48de909ecb91","Sv70zJ_VefJwjnnkCDctC/ssr/ac0e5be012551140c406a76787fadaae319cd863","Sv70zJ_VefJwjnnkCDctC/ssr/248e5748e11178cb2eb7f7d1627ab8eeb239011e","Sv70zJ_VefJwjnnkCDctC/ssr/7edd5b85415c10828833f76d43460ea4de8fb652","Sv70zJ_VefJwjnnkCDctC/ssr/bebfeca96c099e1a25c229e61f5dc3d4c4e3c173","Sv70zJ_VefJwjnnkCDctC/ssr/5dabfb3632bce2e970dca32dd35b14b53fdf7d6e","Sv70zJ_VefJwjnnkCDctC/ssr/a07d4f8d6214fb049f440daa96f99f647c834a64","Sv70zJ_VefJwjnnkCDctC/ssr/f0cd0d1b65dc92c7bed4e0d24b9fdd202d3bb0f2","Sv70zJ_VefJwjnnkCDctC/ssr/21c434d1616216c1c252da8cf7157dc5d9dba585","Sv70zJ_VefJwjnnkCDctC/ssr/88e2c1ffa1689a369c8125fdc52653c3de49553a","Sv70zJ_VefJwjnnkCDctC/ssr/dcabbc69a49bfcfe87a35c29db0e9b9508e2d737","Sv70zJ_VefJwjnnkCDctC/ssr/1a665cdeb85601518de641e9cfda350a4a4b2cba","Sv70zJ_VefJwjnnkCDctC/ssr/8d65c08f8445cfa1b7259bbdbc93d553d9f28959","Sv70zJ_VefJwjnnkCDctC/ssr/179a276c9157b91392bda5540d11abfae3515e9c","Sv70zJ_VefJwjnnkCDctC/ssr/e06f83ec6b5c8314a46cfb08a9803ed9dc37ed48","Sv70zJ_VefJwjnnkCDctC/ssr/db079c9fd366c30990dcedeb7c88cf28bc316818","Sv70zJ_VefJwjnnkCDctC/ssr/0b64023b4d1bed0f1f63f8a93ca546e8a9650e42","Sv70zJ_VefJwjnnkCDctC/ssr/c0feee60cbb354fca689602e17e27212509952fe","Sv70zJ_VefJwjnnkCDctC/ssr/9cdf98ed1585642c86efcf9121fe1a31a64482e1","Sv70zJ_VefJwjnnkCDctC/ssr/d7c340049aa7f8e97c14070fe52e62933ea7cff0","Sv70zJ_VefJwjnnkCDctC/ssr/b52112ed80c2d4ba2bdf2795387205719404470b","Sv70zJ_VefJwjnnkCDctC/ssr/fdca1191087ab6421b7b9075726e38683a67e680","Sv70zJ_VefJwjnnkCDctC/ssr/78dab201f4b26f9b3aa2d038bb8dcf749084fb36","Sv70zJ_VefJwjnnkCDctC/ssr/0a62aecdc01fbbebfb7da14f3936bd9ba99c3d5a","Sv70zJ_VefJwjnnkCDctC/ssr/91dd671fccccb8ebc483c22ce477d732762d7a50","Sv70zJ_VefJwjnnkCDctC/ssr/cd2781184fd12c967eb571b85d56cd69642c0f7b","Sv70zJ_VefJwjnnkCDctC/ssr/507f00bc80b5f9b08b01407a2b9db910a736a458","Sv70zJ_VefJwjnnkCDctC/ssr/bb1929c1030cf1800eb2fc409bf8f8edd4b7ff60","Sv70zJ_VefJwjnnkCDctC/ssr/82224c0f6fa407944c819118a2b9b9ccd54b98d5","Sv70zJ_VefJwjnnkCDctC/ssr/4230cbf5f9e3b638ce57eaa7d8820ed43588cfde","Sv70zJ_VefJwjnnkCDctC/ssr/a5e3d77f7bf363d10d3c5f856b01b83ea4cd480d","Sv70zJ_VefJwjnnkCDctC/ssr/e62038f7b31af248a683a27c507974783791afd0","Sv70zJ_VefJwjnnkCDctC/ssr/534b7c1fe05e6733a2b0723050177a5b3a94dd20","Sv70zJ_VefJwjnnkCDctC/ssr/c6338f5cbcb4476872c42c16e4a951e2b00fbc37","Sv70zJ_VefJwjnnkCDctC/ssr/93e2bb9dd21dae3cbb43930bb27c4229af9a7470","Sv70zJ_VefJwjnnkCDctC/ssr/e6abf249b2708845ac6f6c15e407822dae517223","Sv70zJ_VefJwjnnkCDctC/ssr/c8208873297ab5ec63a27f6c5d058313a402bbe0","Sv70zJ_VefJwjnnkCDctC/ssr/9bcbe270ac22d3fa0a6cfd0defe9b9124f016d3f","Sv70zJ_VefJwjnnkCDctC/ssr/d478d4f1ebfbb5f487b14f9c68fa6445f969e1df","Sv70zJ_VefJwjnnkCDctC/ssr/c636629172b3ea1502146817f54a5da25ebcf337","Sv70zJ_VefJwjnnkCDctC/ssr/5cd925dd4034fc0a614c10d410631072f255f173","Sv70zJ_VefJwjnnkCDctC/ssr/86316717a491a8f273f5182d5ccbaee6623de4da","Sv70zJ_VefJwjnnkCDctC/ssr/25257d03950239399a7ceafdd780caafe6129a7c","Sv70zJ_VefJwjnnkCDctC/ssr/31c276668d4592b51d2c9e711c6c8292de1503de","Sv70zJ_VefJwjnnkCDctC/ssr/7dd031c2de5f39ae5cdf78bd1b233660cfe747bd","Sv70zJ_VefJwjnnkCDctC/ssr/62ee5cc18542a9a90f4aefe86c71e7ece1a46200","Sv70zJ_VefJwjnnkCDctC/ssr/69f67decdee21d1932b9f5e53748991232675b40","Sv70zJ_VefJwjnnkCDctC/ssr/52ecc183b63d00e54e83752ca85d8627290f46e5","Sv70zJ_VefJwjnnkCDctC/ssr/100f3d5f7d9b2616380643ce62541454d858d97b","Sv70zJ_VefJwjnnkCDctC/ssr/cca1841223796e51d33b39529dabb09734bfe60b","Sv70zJ_VefJwjnnkCDctC/ssr/8e12da0adce85220790ff575de972c48d5258beb","Sv70zJ_VefJwjnnkCDctC/ssr/2d4d2626746953deac0b15dbf8b698fbb21ca373","Sv70zJ_VefJwjnnkCDctC/ssr/b74a42a7d88110d59b3599b917bef8dcd1faa014","Sv70zJ_VefJwjnnkCDctC/ssr/15c04ddc4b71b3171a9968af32a09a3b1b9cbc1d","Sv70zJ_VefJwjnnkCDctC/ssr/2c0885e21bf350e47164e280362c073f8451f471","Sv70zJ_VefJwjnnkCDctC/ssr/e41d57f867d537f1ab21a5aa82819e382e857071","Sv70zJ_VefJwjnnkCDctC/ssr/a36c28f367c6ec6010eff776865da0f1c9a680ce","Sv70zJ_VefJwjnnkCDctC/ssr/b649a44bbfddef9eccda289930b8843b10d8e05c","Sv70zJ_VefJwjnnkCDctC/ssr/231d6cd2e8e9d2d5058643dc561ea67c887c83e9","Sv70zJ_VefJwjnnkCDctC/ssr/44ad3ea2a0c5f8ee15586ec584a5c3db6964ab1d","Sv70zJ_VefJwjnnkCDctC/ssr/c5a104b61863ade78ec2ddca2bfbb681bd4f2042","Sv70zJ_VefJwjnnkCDctC/ssr/fa4b97c694bc17346cf3bd27368b061dfc9da048","Sv70zJ_VefJwjnnkCDctC/ssr/9ba96505ccde7eeae7de2d9a13c2bf51ed82b6e3","Sv70zJ_VefJwjnnkCDctC/ssr/95e7ebf9f4b4557446373108f84a594771e20af5","Sv70zJ_VefJwjnnkCDctC/ssr/c5bb4f29113c05568f114a5a22da36324ff29b50","Sv70zJ_VefJwjnnkCDctC/ssr/ec966d218efabe3d5c6699ef6d4bf644da5056f1","Sv70zJ_VefJwjnnkCDctC/ssr/d36974c37297ed382699c6a2f3f4a03750060098","Sv70zJ_VefJwjnnkCDctC/ssr/c5180db9e5bf973acb250efacc01222345eb4b66","Sv70zJ_VefJwjnnkCDctC/ssr/6886a7685f171cf978e665404f51114250ecf13f","Sv70zJ_VefJwjnnkCDctC/ssr/32f61621a028cde3fb6f4a918512932d1b115ac0","Sv70zJ_VefJwjnnkCDctC/ssr/5bd554840430b34e5df04093aac733ade8e577e0","Sv70zJ_VefJwjnnkCDctC/ssr/5100ff82f79b4abb91fb4234e9b12c774804ca5f","Sv70zJ_VefJwjnnkCDctC/ssr/9462ccb273484faf6bbde34e124c406b1a1bdca8","Sv70zJ_VefJwjnnkCDctC/ssr/775ec3abe151bf53f926fad8e65f6141da32062c","Sv70zJ_VefJwjnnkCDctC/ssr/d57130c2eeb6e9188dadb60541149957ac608485","Sv70zJ_VefJwjnnkCDctC/ssr/c640488eec74e9acafcc01c25df8e12c97beb905","Sv70zJ_VefJwjnnkCDctC/ssr/a8f78580bb9b75ece06c5f9eaabe83bca684e4cc","Sv70zJ_VefJwjnnkCDctC/ssr/969ab7b73ea371b44b63d7bb3aefef749800e4b5","Sv70zJ_VefJwjnnkCDctC/ssr/5030ee88e2d1a049299344026a86a9245b8b82ae","Sv70zJ_VefJwjnnkCDctC/ssr/71bccaeb5ebd68d9ff0c9cf88530db5c1e1465c8","Sv70zJ_VefJwjnnkCDctC/ssr/56233dd266c3f433c826003417df7a5f13dce64a","Sv70zJ_VefJwjnnkCDctC/ssr/817486c70c0f16bebab0a6c46cca1e90840a33b8","Sv70zJ_VefJwjnnkCDctC/ssr/1dcd77ede93f725b09e31931870c2a7a698b271a","Sv70zJ_VefJwjnnkCDctC/ssr/3a8e68edc1acb3092cf4e25c1c1e808de940f49a","Sv70zJ_VefJwjnnkCDctC/ssr/a61fd36d08daaa8f09fcca8e8f210d1e9dc9ddcb","Sv70zJ_VefJwjnnkCDctC/ssr/d957b24663e031714d8d6eac6c9dec28028bcc16","Sv70zJ_VefJwjnnkCDctC/ssr/a7f44410184c826b9c130089f60c616da12861b8","Sv70zJ_VefJwjnnkCDctC/ssr/090c801a6f51853090b398f86c929a497e877a25","Sv70zJ_VefJwjnnkCDctC/ssr/e9848f684a9c4500cfceb82354e4cda695480a3f","Sv70zJ_VefJwjnnkCDctC/ssr/8732cbce972931f1ae92b31fc0ac3c54913b9540","Sv70zJ_VefJwjnnkCDctC/ssr/e9b06953c6ab57baffd7e084c3ec51924fff2cd9","Sv70zJ_VefJwjnnkCDctC/ssr/39ae6570a0c093f48d7dd5e24fd2a7a268686a15","Sv70zJ_VefJwjnnkCDctC/ssr/3f4824e976165b406aa3e4fa3ed26ef5011ae0c3","Sv70zJ_VefJwjnnkCDctC/ssr/0c4735a49daa28f7a5e3605e1d8a4361872ebddc","Sv70zJ_VefJwjnnkCDctC/ssr/0d3155f9476d78c60bd6ff3274ad32fef742bb1a","Sv70zJ_VefJwjnnkCDctC/ssr/2068d4a1a12598ee736582e3bb69ceb83f08d9c7","Sv70zJ_VefJwjnnkCDctC/ssr/34fc927394c13d776d08367ebdb830f978993781","Sv70zJ_VefJwjnnkCDctC/ssr/a25ceb5fe4996bfd9f7e1b6b05f5e6fdf7a4887e","Sv70zJ_VefJwjnnkCDctC/ssr/be9b4a5bc5c79b5dbb2f076f4b48fa53f011eb30","Sv70zJ_VefJwjnnkCDctC/ssr/4911a8faffda0641ee2f30ac5ae327dae2396f06","Sv70zJ_VefJwjnnkCDctC/ssr/9cdb646b02792688dec5c37dca66f3f932bb88f1","Sv70zJ_VefJwjnnkCDctC/ssr/6ff46b6b6314d3dfb07ed7c4b6959e2da58d5510","Sv70zJ_VefJwjnnkCDctC/ssr/008328a40b4c1bf48e4d4a52a0140504266122b0","Sv70zJ_VefJwjnnkCDctC/ssr/d5364be67060739e798b692902b26eb83702ed4f","Sv70zJ_VefJwjnnkCDctC/ssr/31455ce5303a502a5c291c9c998c2c31fa63587d","Sv70zJ_VefJwjnnkCDctC/ssr/2c7162d3a6ae81897fb41d55701c73cf6db571c4","Sv70zJ_VefJwjnnkCDctC/ssr/88f021b5affca9330e1a98bf685b7a25ea1905cd","Sv70zJ_VefJwjnnkCDctC/ssr/8ccbc56708df217db4c9c0d52e6a48d8d59e093e","Sv70zJ_VefJwjnnkCDctC/ssr/81d2fccf64cbe765eb6e0393e2f1d7b5556248dc","Sv70zJ_VefJwjnnkCDctC/ssr/fab576abe2912e4adba53b6deba59e56f814e26a","Sv70zJ_VefJwjnnkCDctC/ssr/da516fa23a5d2553514372961d880948663398e1","Sv70zJ_VefJwjnnkCDctC/ssr/76de13f05026829e30b5fdd5914c38f5c5d6e2f8","Sv70zJ_VefJwjnnkCDctC/ssr/35b7dba0d675903d97318f7c832e763fa2c07cd3","Sv70zJ_VefJwjnnkCDctC/ssr/08a42571fb0c8804b9d6cffab51e7e8b8d15ef34","Sv70zJ_VefJwjnnkCDctC/ssr/162d415198735858141d31bd17c4adf7d6750e85","Sv70zJ_VefJwjnnkCDctC/ssr/31411a690c6a6199ffc0f9e89ab2f45a569e05d0","Sv70zJ_VefJwjnnkCDctC/ssr/ae9c2f564d57601b5973c252189b305c2dd0766d","Sv70zJ_VefJwjnnkCDctC/ssr/ed13c14b1fc821ab883c468dc4a31363ed953961","Sv70zJ_VefJwjnnkCDctC/ssr/af50f1185b48d62addac5c348f1a57074c040d71","Sv70zJ_VefJwjnnkCDctC/ssr/8c4f85c7417bed8cb4036f22466e0d924afe8efe","Sv70zJ_VefJwjnnkCDctC/ssr/bbb5513fd48ec448415cc832ed07aa99ce3dbfb1","Sv70zJ_VefJwjnnkCDctC/ssr/894a63336f8fa24c61e7b7bfe49e62b41fc1fec4","Sv70zJ_VefJwjnnkCDctC/ssr/9c2fc4a1f5aa128e15be29eb66a9b222a7edd8fd","Sv70zJ_VefJwjnnkCDctC/ssr/c2adedc70899c190d32d80100716bac7149843c4","Sv70zJ_VefJwjnnkCDctC/ssr/c6825d8696aa55b8533f19f5afa7623ccfa3e147","Sv70zJ_VefJwjnnkCDctC/ssr/9c466febf16e79aeea76db23c01564cc821b42aa","Sv70zJ_VefJwjnnkCDctC/ssr/158ffa51785aa7fbd6ee212bdd4b2df3dc75cc86","Sv70zJ_VefJwjnnkCDctC/ssr/5c9ee3f6838f0c667f00e43abda84d96b022be14","Sv70zJ_VefJwjnnkCDctC/ssr/628e1c5942d2468f3b3ca5f8199e4aa528e8f581","Sv70zJ_VefJwjnnkCDctC/ssr/f6c75a4f3e6cf647fbbaefc3587c21c343e609a0","Sv70zJ_VefJwjnnkCDctC/ssr/351229eaf479413b8f71070e085a4faf5c1432dc","Sv70zJ_VefJwjnnkCDctC/ssr/ad2a705e5bb442826b685e8f634600fb08d13a42","Sv70zJ_VefJwjnnkCDctC/ssr/3f3f4621a370e9dfe62e3c5f44d7dceb9526eac6","Sv70zJ_VefJwjnnkCDctC/ssr/c1aa3883410adffe95cd003833b044eee0131b2f","Sv70zJ_VefJwjnnkCDctC/ssr/d562100289e9d26bf0f318056f977e6b14105f24","Sv70zJ_VefJwjnnkCDctC/ssr/452355ec5ff93c66a015263b2c948968349d36d3","Sv70zJ_VefJwjnnkCDctC/ssr/09ea9f2ef190a2c44b791e9d37450699758f46af","Sv70zJ_VefJwjnnkCDctC/ssr/d515d4ffc2e203d9d3e7c1fc096471bbdc0c4aaa","Sv70zJ_VefJwjnnkCDctC/ssr/0eb5a2c93c645dd29fc66012d901405cc20c338b","Sv70zJ_VefJwjnnkCDctC/ssr/170882a72561807b8a346067e0a2da57b8b1000c","Sv70zJ_VefJwjnnkCDctC/ssr/254717b6d9263dc47f4b688cb1e39272676091af","Sv70zJ_VefJwjnnkCDctC/ssr/820f00c202350210c65051904ab413462e3eebb8","Sv70zJ_VefJwjnnkCDctC/ssr/663176d39f8fead3db22f34c002ee2bd488033cb","Sv70zJ_VefJwjnnkCDctC/ssr/9a4398512abcfaa3ac351f7ac6e2baffd3a81379","Sv70zJ_VefJwjnnkCDctC/ssr/0b164bbc5e0b194f10985360f88cd0aa3386c5d4","Sv70zJ_VefJwjnnkCDctC/ssr/ce7a1fa56c53811127835c9a49de1c7d1a660323","Sv70zJ_VefJwjnnkCDctC/ssr/bf652a35d42ca6df89bb1ed8469160412fd1158d","Sv70zJ_VefJwjnnkCDctC/ssr/996cec74552f48ba4b96ba1266ec732bc32f9e52","Sv70zJ_VefJwjnnkCDctC/ssr/223858851e2e3c9ef3b6988abdccfe75ba03fc3f","Sv70zJ_VefJwjnnkCDctC/ssr/6c1b9463133f2ed96e6e7c9848606cf4e98f5349","Sv70zJ_VefJwjnnkCDctC/ssr/34df0ef1330a29eb2af138803f25778ecc0119b1","Sv70zJ_VefJwjnnkCDctC/ssr/c48f49331b8d47b61b7d1002f7dfec1898e5fe68","Sv70zJ_VefJwjnnkCDctC/ssr/f0a68998883dce361b13abae7c910adef144df83","Sv70zJ_VefJwjnnkCDctC/ssr/a6cbefb7a412277b882366e9e236697e619f328f","Sv70zJ_VefJwjnnkCDctC/ssr/5b008a3507cfa6ade71132b321cb39233ab8533e","Sv70zJ_VefJwjnnkCDctC/ssr/d884027d3b10fb57307eeedb3e51b3acc5e0fc2d","Sv70zJ_VefJwjnnkCDctC/ssr/fdfdcc1f950624fdf41d263586b85d083a43aa52","Sv70zJ_VefJwjnnkCDctC/ssr/b1f82d09bec7ab9fc5e5625ac1f89de7c9a78282","Sv70zJ_VefJwjnnkCDctC/ssr/ac7d67a28e34fbf74670b344822ec819705c72c8","Sv70zJ_VefJwjnnkCDctC/ssr/e515a77eaf480b778ad89ec036f7e437ae5e9609","Sv70zJ_VefJwjnnkCDctC/ssr/0551f4c98fc518c371aa306e3ddbad88c20e1d55","Sv70zJ_VefJwjnnkCDctC/ssr/8e4388c50c710c042e22ec1af4390e279ebc6648","Sv70zJ_VefJwjnnkCDctC/ssr/34624b1d1de27fcd5081defc4f42bcc5a107cad3","Sv70zJ_VefJwjnnkCDctC/ssr/cd66063ed4fe0d4de42a2b32fb2c341813252b55","Sv70zJ_VefJwjnnkCDctC/ssr/0aecaf88ba7ae6f5fabb7470190c09818a245ed9","Sv70zJ_VefJwjnnkCDctC/ssr/2bea1ef0ffeac0c9c93ae42e5db78db5e44b587e","Sv70zJ_VefJwjnnkCDctC/ssr/838cb839340a07873d557412c5e49aa4e9119c29","Sv70zJ_VefJwjnnkCDctC/ssr/58fb45c9eb05a961625c5c6e41583c0732184cbf","Sv70zJ_VefJwjnnkCDctC/ssr/ba8a90b824592ceda0530a2cd3102e59ba6f91fe","Sv70zJ_VefJwjnnkCDctC/ssr/755216c401bc86e57923d13d970b3add9e765a4f","Sv70zJ_VefJwjnnkCDctC/ssr/9a3bf53517d2a4c3addc236ff717f1304caee9bf","Sv70zJ_VefJwjnnkCDctC/ssr/74ed6f2492ce5b3974aa3531ecdd7969d5802f5c","Sv70zJ_VefJwjnnkCDctC/ssr/36c35a7831ac6a12406b0071bbc01c85a64c2f09","Sv70zJ_VefJwjnnkCDctC/ssr/a69643eaa40e41bd8aa4603f3a1d1cbd4e158dce","Sv70zJ_VefJwjnnkCDctC/ssr/c603b8fb065f1627cadccb40958ee7f81114ef4d","Sv70zJ_VefJwjnnkCDctC/ssr/26de644d4995473009b7631a28db744864c4764b","Sv70zJ_VefJwjnnkCDctC/ssr/9b2f26b3936d13542c1f9f6c6efbacd1fed3b39d","Sv70zJ_VefJwjnnkCDctC/ssr/6e3d553be2d2f4a7fbccd992187ebfbe43b4e8a9","Sv70zJ_VefJwjnnkCDctC/ssr/5a2b0df0cb7fd278bb3d426ec69b61f0377e5b15","Sv70zJ_VefJwjnnkCDctC/ssr/b82c021e58fb56dff2861bdc4631752c0b56acc1","Sv70zJ_VefJwjnnkCDctC/ssr/6698ce88403439ccc8dfcb4987510d1714b22c79","Sv70zJ_VefJwjnnkCDctC/ssr/7e64cff11ee61529273a28f16e66545e3c10ed7c","Sv70zJ_VefJwjnnkCDctC/ssr/9a741f3dd6fd5809166de2f0c022f98f2a19b743","Sv70zJ_VefJwjnnkCDctC/ssr/629d47f9a3a86fce99de315c045c5938e8be765f","Sv70zJ_VefJwjnnkCDctC/ssr/b941acdbfdac60db060c25f59264a98eec151055","Sv70zJ_VefJwjnnkCDctC/ssr/48d89bacab2af0dedf4f009a204e4438ef3db6eb","Sv70zJ_VefJwjnnkCDctC/ssr/9572c9465bbad942e5917c5b9ee6018efc4305fa","Sv70zJ_VefJwjnnkCDctC/ssr/a9010b078fa9d9c0e11a2a49b32e7ad761ce8aed","Sv70zJ_VefJwjnnkCDctC/ssr/492ddead3d10a6520babbc58aa579871a8aa74bf","Sv70zJ_VefJwjnnkCDctC/ssr/4d806a05ae6f765a5e5f45ce7dee4af787b87360","Sv70zJ_VefJwjnnkCDctC/ssr/2423f5a2ee7a6602d047bcdb473628462bc3cfdb","Sv70zJ_VefJwjnnkCDctC/ssr/71ebda753b30298ee8df65705da598dacc90e576","Sv70zJ_VefJwjnnkCDctC/ssr/db9374acb79c55a348d1e0cb91596bd6ceb10a46","Sv70zJ_VefJwjnnkCDctC/ssr/04c31cd9d29e65042eb819a92c00db419b6374ec","Sv70zJ_VefJwjnnkCDctC/ssr/2433d9b37ebfd55b5a22d8165c058d4640718980","Sv70zJ_VefJwjnnkCDctC/ssr/610ef813701155348a6ae348d77ff02d8d90625b","Sv70zJ_VefJwjnnkCDctC/ssr/424c11e49966d5f0e28e568d2fd38071338cf583","Sv70zJ_VefJwjnnkCDctC/ssr/ef4b1551065fa9fbc8a4f3960477438a4124ebfc","Sv70zJ_VefJwjnnkCDctC/ssr/209ef97a57202af3c590245a2a6459b05ed2bc76","Sv70zJ_VefJwjnnkCDctC/ssr/f676ab4f721dad1ae78872ff557ad634494fc40a","Sv70zJ_VefJwjnnkCDctC/ssr/5b64af36c9c42eb30d430c166b2774ac74b8b363","Sv70zJ_VefJwjnnkCDctC/ssr/93ed55c3ae31357f7e80c7f369c8c59d9f0112cb","Sv70zJ_VefJwjnnkCDctC/ssr/83cbd66c88465d3b2679eaaab4407cf80721d7bc","Sv70zJ_VefJwjnnkCDctC/ssr/8b32ccb8244da40b454a2ac27bda2e4aee749fbf","Sv70zJ_VefJwjnnkCDctC/ssr/38f5bfa52834c928215381c9f9329e447c0d06cc","Sv70zJ_VefJwjnnkCDctC/ssr/dae2d57161ff35b6af32fb5f6ebc40ae6fcf37ad","Sv70zJ_VefJwjnnkCDctC/ssr/605c73e2c8230b73996cb7980cce2b0095f5be1c","Sv70zJ_VefJwjnnkCDctC/ssr/6698fc6c9bf9b4d90409b243a6f828d919fac87e","Sv70zJ_VefJwjnnkCDctC/ssr/ae21b8913f01a4ed7ffcd98ebc3182c1b01bbf70","Sv70zJ_VefJwjnnkCDctC/ssr/43bca728b1f279e9d412b1fcd2030e315b971722","Sv70zJ_VefJwjnnkCDctC/ssr/b6020c6f92e349604cdfdd2d6d579fcfcd5c31f8","Sv70zJ_VefJwjnnkCDctC/ssr/a617e5838c576056d39d4230104d06393f35bb6e","Sv70zJ_VefJwjnnkCDctC/ssr/3986e4877b58d07219946b2108421ce55ad6f959","Sv70zJ_VefJwjnnkCDctC/ssr/1feae06d3c90ed2e3875a1ce044dc373a3252ccf","Sv70zJ_VefJwjnnkCDctC/ssr/146991546b310b2af6bb6de755ad7d0b1cf38f92","Sv70zJ_VefJwjnnkCDctC/ssr/98ce595f163e64b5099e998d96a1c020d890587d","Sv70zJ_VefJwjnnkCDctC/ssr/b26f46f7885db47c3eba2bffc6d45f6e0ce7a9b5","Sv70zJ_VefJwjnnkCDctC/ssr/b63bf13d0ef6e1dd1842ec1cbf15a3f65532b66b","Sv70zJ_VefJwjnnkCDctC/ssr/b1d331711b6511dc7892829a21ca4e2cd9c80975","Sv70zJ_VefJwjnnkCDctC/ssr/e0aaf6150b6ea14c8d4e6dce5954c0e9d8998144","Sv70zJ_VefJwjnnkCDctC/ssr/f680c1cee894d5bab7fd249a549e3ab7f57571d9","Sv70zJ_VefJwjnnkCDctC/ssr/69acf08728a2467c4d8e6de2b923c5c0182bba75","Sv70zJ_VefJwjnnkCDctC/ssr/356c1bc00d454ec31a7e8deba884081cf00e912f","Sv70zJ_VefJwjnnkCDctC/ssr/43846eb0b29320bffbddea62d57d06a060ec6756","Sv70zJ_VefJwjnnkCDctC/ssr/8d0cafa0b66ed744e46194ecc9b0d80b4942450c","Sv70zJ_VefJwjnnkCDctC/ssr/08fa404ad5186677dedfa098a02f9825aea9e620","Sv70zJ_VefJwjnnkCDctC/ssr/dea35a265fa2fceacc8c4e3154f1603e4ff93673","Sv70zJ_VefJwjnnkCDctC/ssr/e86830316da1ab792a08457dac1f03fdda992fd3","Sv70zJ_VefJwjnnkCDctC/ssr/37146fe439fee0c8b935bbb43e284e4caae40979","Sv70zJ_VefJwjnnkCDctC/ssr/3688c24bfc01d628a53212f950efccce099117ab","Sv70zJ_VefJwjnnkCDctC/ssr/7868bef71390d9ea30f4a8cd5e68688ee720b256","Sv70zJ_VefJwjnnkCDctC/ssr/0e55eb0d05466eeea0d82e9bbd8003a0ea278e13","Sv70zJ_VefJwjnnkCDctC/ssr/83aa992657c5f8f7db14c66c8434fc501b4868ff","Sv70zJ_VefJwjnnkCDctC/ssr/7eb3dfcee8fedbdf288c8fc09086476c32cee5d5","Sv70zJ_VefJwjnnkCDctC/ssr/9e6d4bb86d2579762e7709636fe1e053d3cda002","Sv70zJ_VefJwjnnkCDctC/ssr/07509d348750849e4c46686c31ad075782410c75","Sv70zJ_VefJwjnnkCDctC/ssr/97593a4b0c29791200dfa6960c2ee4ab7f409244","Sv70zJ_VefJwjnnkCDctC/ssr/61b0a452891da57cf0a1d3d57a6403b541fee6a9","Sv70zJ_VefJwjnnkCDctC/ssr/07960523deb017bcba627a471f768c45b2615df8","Sv70zJ_VefJwjnnkCDctC/ssr/5a778f2e05728c4197a459581e505ccfd0e66b63","Sv70zJ_VefJwjnnkCDctC/ssr/6c0f4d768eb2b72f31c5501d0d9949ff416749cf","Sv70zJ_VefJwjnnkCDctC/ssr/d3a3c3c417c647198b46a0446afe908c8c8a12f8","Sv70zJ_VefJwjnnkCDctC/ssr/6c2627bed0d9f3d6466f5cf7d93a9480070666a2","Sv70zJ_VefJwjnnkCDctC/ssr/0df2859dbcfefe36df96cb68086100a5f5f3173d","Sv70zJ_VefJwjnnkCDctC/ssr/4b14c1f05f2c000bcda2d6d55df6d4c60793f352","Sv70zJ_VefJwjnnkCDctC/ssr/c4c785a7045db28c6dc5a6d93c31a29d3acc7d49","Sv70zJ_VefJwjnnkCDctC/ssr/9ffd0b989dd8a29ace3a14f29b2b7377731d31c5","Sv70zJ_VefJwjnnkCDctC/ssr/9d168bbfe0c29204e18e87ee7310b84739092bf7","Sv70zJ_VefJwjnnkCDctC/ssr/0abc76be8721de4db9c4868dec4524112fdd6f2c","Sv70zJ_VefJwjnnkCDctC/ssr/b6d9b22942df0a899302e1176fcafeda9028fe58","Sv70zJ_VefJwjnnkCDctC/ssr/f63427ef5f12e90f9111e8d75fa086a4cafcdbcc","Sv70zJ_VefJwjnnkCDctC/ssr/65a33a521816e4b1753706b25893c0e55df91474","Sv70zJ_VefJwjnnkCDctC/ssr/0dd0e394c0fdb25342f9eeb0a01114eb60c18c05","Sv70zJ_VefJwjnnkCDctC/ssr/d0baae87822755c3fde223325472423fe2ad14a8","Sv70zJ_VefJwjnnkCDctC/ssr/31ba2897101251b752e107220be6812d30ec1fee","Sv70zJ_VefJwjnnkCDctC/ssr/aa9f8190066645f5fab5c1adb9f92eaa9f94a105","Sv70zJ_VefJwjnnkCDctC/ssr/c76e8b4622d44ba9927de762dc23f7a987ae73a4","Sv70zJ_VefJwjnnkCDctC/ssr/8e6c16f1af662610c46925f5d5a0deec5e973c8f","Sv70zJ_VefJwjnnkCDctC/ssr/ceb5820a1d2dafdc98850dade09986af4670a69b","Sv70zJ_VefJwjnnkCDctC/ssr/db3588308c77c65e3f4e2c770be9ec08f892d685","Sv70zJ_VefJwjnnkCDctC/ssr/f42575b871470f135d3176f40e29562c566f6297","Sv70zJ_VefJwjnnkCDctC/ssr/e8b4796bdbeb7695fff36b2e95351775b9fa77dd","Sv70zJ_VefJwjnnkCDctC/ssr/5263a98dfa8d2e289ea0627d11e79a45f28fa127","Sv70zJ_VefJwjnnkCDctC/ssr/91817ba2877b2bf6e7630a7cc5c9ad267b50fcaf","Sv70zJ_VefJwjnnkCDctC/ssr/defd665e660f1dabd067511368daf8aa031e40e6","Sv70zJ_VefJwjnnkCDctC/ssr/a71a679e59193ddda0d2f5001d6ce4ef4a6cd1de","Sv70zJ_VefJwjnnkCDctC/ssr/69f1cc96b5ebd7cd945774498548b28777b8fb1e","Sv70zJ_VefJwjnnkCDctC/ssr/5d0d60d47a110056b41ec6e7a1f6d8de52a9ff0f","Sv70zJ_VefJwjnnkCDctC/ssr/b43f91759e6747b4144274b34cebf8bf1ef0e206","Sv70zJ_VefJwjnnkCDctC/ssr/b40a7b9ac1be360370748b935875cecfa8ea2527","Sv70zJ_VefJwjnnkCDctC/ssr/9caf09b5b6871a20968284cfc0914a6dddf1be14","Sv70zJ_VefJwjnnkCDctC/ssr/313016b24e608f2f067bd0a115ec48875edc21b5","Sv70zJ_VefJwjnnkCDctC/ssr/b86a2ba4a89c2da15adc2e248de6e9cf85360c5c","Sv70zJ_VefJwjnnkCDctC/ssr/3b65ebe9fcd12fe24a76bb927137b4222fe8e2ed","Sv70zJ_VefJwjnnkCDctC/ssr/3680b99cae573437b28c31d14053ab82aa2ff218","Sv70zJ_VefJwjnnkCDctC/ssr/4d2ca6f32a599a77625c91e851b5ee47802c71ae","Sv70zJ_VefJwjnnkCDctC/ssr/b27687e52e8c53384196d545873e9acd3c891889","Sv70zJ_VefJwjnnkCDctC/ssr/3500fc73fee410ed58f71ea53b1752db38b4a992","Sv70zJ_VefJwjnnkCDctC/ssr/1fcf132f314576ab88083820a691bd09bdbb6c71","Sv70zJ_VefJwjnnkCDctC/ssr/723db991cfb55705a53a470f1fef4b48e7326112","Sv70zJ_VefJwjnnkCDctC/ssr/b52821238d6f764d22cb048b650da96205c329cb","Sv70zJ_VefJwjnnkCDctC/ssr/0e5f9bdc4a9c328e402fd5403ef75abee83ccee9","Sv70zJ_VefJwjnnkCDctC/ssr/e1f7c6ccd2bf53f3f9d947a8c4590bcc1629a888","Sv70zJ_VefJwjnnkCDctC/ssr/3303a07f8acc2f81074668777c6e25c22ed967e9","Sv70zJ_VefJwjnnkCDctC/ssr/cfa1c36be30ed00d7918b112312230f8007351f1","Sv70zJ_VefJwjnnkCDctC/ssr/b36cb2afcb35c2418f36d243608e4a7b9b2952d4","Sv70zJ_VefJwjnnkCDctC/ssr/bca292541ae1ce0542406457e11e248f37b9f1f8","Sv70zJ_VefJwjnnkCDctC/ssr/7e1ef2892230a0b7d2c84a8aaf71eb41817c6eb4","Sv70zJ_VefJwjnnkCDctC/ssr/965a4acdf761ac29a47e461cc6fcb1fec1f90dda","Sv70zJ_VefJwjnnkCDctC/ssr/ba5ef04ddcca9b567a04ee2e24b334cd994e815c","Sv70zJ_VefJwjnnkCDctC/ssr/ee1129b0e27d116acad909c42bff055183d521ae","Sv70zJ_VefJwjnnkCDctC/ssr/d5778fd1adc167ca6293dab0abdfa62264707917","tmp.iOU32nzqCx/store/agents.ndjson","tmp.iOU32nzqCx/store/runs.ndjson","tmp.iOU32nzqCx/store/run_events.ndjson","tmp.iOU32nzqCx/store/checkpoints.ndjson","tmp.vKYnC7f9uh/store/agents.ndjson","tmp.vKYnC7f9uh/store/runs.ndjson","tmp.vKYnC7f9uh/store/run_events.ndjson","tmp.vKYnC7f9uh/store/checkpoints.ndjson","tmp.qjI2uPTcHz/store/agents.ndjson","tmp.qjI2uPTcHz/store/runs.ndjson","tmp.qjI2uPTcHz/store/run_events.ndjson","tmp.qjI2uPTcHz/store/checkpoints.ndjson","react-doctor-4e289efd-db39-4bbb-afec-26444c70c8a9/diagnostics.json","react-doctor-4e289efd-db39-4bbb-afec-26444c70c8a9/react-doctor--prefer-module-scope-pure-function.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/diagnostics.json","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--prefer-useReducer.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--rerender-lazy-ref-init.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--no-render-in-render.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--exhaustive-deps.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--no-event-handler.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--server-sequential-independent-await.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--js-combine-iterations.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--async-await-in-loop.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--no-cascading-set-state.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--no-barrel-import.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-hooks-js--set-state-in-effect.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-hooks-js--preserve-manual-memoization.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--only-export-components.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--react-compiler-no-manual-memoization.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--rn-prefer-expo-image.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--no-giant-component.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--no-derived-state.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--no-chain-state-updates.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--rn-style-prefer-boxshadow.txt","react-doctor-79ce569f-546c-407a-affb-2f0d6641a3c1/react-doctor--rn-no-legacy-shadow-styles.txt","tmp.rnt6jWdd66/store/agents.ndjson","tmp.rnt6jWdd66/store/runs.ndjson","tmp.rnt6jWdd66/store/run_events.ndjson","tmp.rnt6jWdd66/store/checkpoints.ndjson","tmp.jPtDqRD123/store/agents.ndjson","tmp.jPtDqRD123/store/runs.ndjson","tmp.jPtDqRD123/store/run_events.ndjson","tmp.jPtDqRD123/store/checkpoints.ndjson","tmp.jPtDqRD123/workspace/fixture.txt","tmp.x8cNhhZUbp/store/agents.ndjson","tmp.x8cNhhZUbp/store/runs.ndjson","tmp.x8cNhhZUbp/store/run_events.ndjson","tmp.x8cNhhZUbp/store/checkpoints.ndjson","tmp.g5gLilKPNJ/store/agents.ndjson","tmp.g5gLilKPNJ/store/runs.ndjson","tmp.g5gLilKPNJ/store/run_events.ndjson","tmp.zMdRdRTzEA/store/agents.ndjson","tmp.zMdRdRTzEA/store/runs.ndjson","tmp.qpYdIp2c36/store/agents.ndjson","tmp.qpYdIp2c36/store/runs.ndjson","tmp.qpYdIp2c36/store/run_events.ndjson","screenstudio/polyrecorder-discover-logs/polyrecorder-discovery-1781651188960.log","julius-code-insiders-zsh/.zlogin","julius-code-insiders-zsh/.zshenv","julius-code-insiders-zsh/.zprofile","julius-code-insiders-zsh/.zshrc","gitkraken/gitlens/gitlens-ipc-server-39753-58539.json","gitkraken/gitlens/agents/gitlens-ipc-server-39753-58539.json","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/diagnostics.json","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--no-render-in-render.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--js-combine-iterations.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--rerender-lazy-ref-init.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--no-barrel-import.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--no-cascading-set-state.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--async-await-in-loop.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-hooks-js--set-state-in-effect.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-hooks-js--preserve-manual-memoization.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--exhaustive-deps.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--no-event-handler.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--server-sequential-independent-await.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--prefer-useReducer.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--only-export-components.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--react-compiler-no-manual-memoization.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--rn-style-prefer-boxshadow.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--rn-no-legacy-shadow-styles.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--no-derived-state.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--no-chain-state-updates.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--rn-prefer-expo-image.txt","react-doctor-c70aa040-70de-4f72-88fb-2459f7e6d242/react-doctor--no-giant-component.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/diagnostics.json","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--prefer-useReducer.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--async-await-in-loop.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--rerender-lazy-ref-init.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--no-cascading-set-state.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-hooks-js--preserve-manual-memoization.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--js-combine-iterations.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-hooks-js--set-state-in-effect.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--no-event-handler.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--exhaustive-deps.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--no-render-in-render.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--no-barrel-import.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--only-export-components.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--server-sequential-independent-await.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--react-compiler-no-manual-memoization.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--rn-prefer-expo-image.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--no-giant-component.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--rn-style-prefer-boxshadow.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--rn-no-legacy-shadow-styles.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--no-derived-state.txt","react-doctor-923097e1-1901-414f-b867-ad3ed750c42f/react-doctor--no-chain-state-updates.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/diagnostics.json","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-hooks-js--preserve-manual-memoization.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--no-barrel-import.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--no-render-in-render.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--prefer-useReducer.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--no-cascading-set-state.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--js-combine-iterations.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-hooks-js--set-state-in-effect.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--exhaustive-deps.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--no-event-handler.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--server-sequential-independent-await.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--async-await-in-loop.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--rerender-lazy-ref-init.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--only-export-components.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--react-compiler-no-manual-memoization.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--no-derived-state.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--no-chain-state-updates.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--rn-style-prefer-boxshadow.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--rn-no-legacy-shadow-styles.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--rn-prefer-expo-image.txt","react-doctor-c75d1898-35bf-4040-9291-143a461c0bc2/react-doctor--no-giant-component.txt",".tmp0v8kOo/tracing.js",".tmp0v8kOo/meriyah.umd.min.js",".tmp0v8kOo/privileged-node-repl-config.js",".tmp0v8kOo/privileged-node-repl.js",".tmp0v8kOo/diagnostics.js",".tmp0v8kOo/kernel.js","t3-orchestrator-v2-subagent-oacb4S/.git/logs/refs/heads/main","t3-orchestrator-v2-subagent-oacb4S/.git/logs/HEAD","t3-orchestrator-v2-subagent-oacb4S/.git/refs/heads/main","t3-orchestrator-v2-subagent-oacb4S/.git/COMMIT_EDITMSG","t3-orchestrator-v2-subagent-oacb4S/README.md","t3-orchestrator-v2-subagent-oacb4S/.git/config","t3-orchestrator-v2-subagent-oacb4S/.git/HEAD","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/push-to-checkout.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/update.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/pre-push.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/pre-applypatch.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/pre-merge-commit.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/post-update.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/prepare-commit-msg.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/pre-receive.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/fsmonitor-watchman.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/applypatch-msg.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/pre-commit.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/sendemail-validate.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/pre-rebase.sample","t3-orchestrator-v2-subagent-oacb4S/.git/hooks/commit-msg.sample","t3-orchestrator-v2-subagent-oacb4S/.git/description","t3-orchestrator-v2-subagent-oacb4S/.git/info/exclude","6I2aNB1hLUYb8xMmS8D-A/ssr/03512668e6e78af858678dc39f94b4ebfd9a1636","6I2aNB1hLUYb8xMmS8D-A/ssr/fdc533205cc4baba09e204fbdf8df01390315412","6I2aNB1hLUYb8xMmS8D-A/ssr/3f7629ddfb31c7d1882e4a63c41b471931502692","6I2aNB1hLUYb8xMmS8D-A/ssr/860676e14ee3d69d53c9738f0fd4bda9479d233e","6I2aNB1hLUYb8xMmS8D-A/ssr/34df0ef1330a29eb2af138803f25778ecc0119b1","6I2aNB1hLUYb8xMmS8D-A/ssr/c48f49331b8d47b61b7d1002f7dfec1898e5fe68","6I2aNB1hLUYb8xMmS8D-A/ssr/f0a68998883dce361b13abae7c910adef144df83","6I2aNB1hLUYb8xMmS8D-A/ssr/0551f4c98fc518c371aa306e3ddbad88c20e1d55","6I2aNB1hLUYb8xMmS8D-A/ssr/4d806a05ae6f765a5e5f45ce7dee4af787b87360","6I2aNB1hLUYb8xMmS8D-A/ssr/8e4388c50c710c042e22ec1af4390e279ebc6648","6I2aNB1hLUYb8xMmS8D-A/ssr/cd66063ed4fe0d4de42a2b32fb2c341813252b55","6I2aNB1hLUYb8xMmS8D-A/ssr/26de644d4995473009b7631a28db744864c4764b","6I2aNB1hLUYb8xMmS8D-A/ssr/0aecaf88ba7ae6f5fabb7470190c09818a245ed9","6I2aNB1hLUYb8xMmS8D-A/ssr/2bea1ef0ffeac0c9c93ae42e5db78db5e44b587e","6I2aNB1hLUYb8xMmS8D-A/ssr/838cb839340a07873d557412c5e49aa4e9119c29","6I2aNB1hLUYb8xMmS8D-A/ssr/58fb45c9eb05a961625c5c6e41583c0732184cbf","6I2aNB1hLUYb8xMmS8D-A/ssr/ba8a90b824592ceda0530a2cd3102e59ba6f91fe","6I2aNB1hLUYb8xMmS8D-A/ssr/755216c401bc86e57923d13d970b3add9e765a4f","6I2aNB1hLUYb8xMmS8D-A/ssr/a69643eaa40e41bd8aa4603f3a1d1cbd4e158dce","6I2aNB1hLUYb8xMmS8D-A/ssr/c603b8fb065f1627cadccb40958ee7f81114ef4d","6I2aNB1hLUYb8xMmS8D-A/ssr/71ebda753b30298ee8df65705da598dacc90e576","6I2aNB1hLUYb8xMmS8D-A/ssr/db9374acb79c55a348d1e0cb91596bd6ceb10a46","6I2aNB1hLUYb8xMmS8D-A/ssr/04c31cd9d29e65042eb819a92c00db419b6374ec","6I2aNB1hLUYb8xMmS8D-A/ssr/2433d9b37ebfd55b5a22d8165c058d4640718980","6I2aNB1hLUYb8xMmS8D-A/ssr/610ef813701155348a6ae348d77ff02d8d90625b","6I2aNB1hLUYb8xMmS8D-A/ssr/424c11e49966d5f0e28e568d2fd38071338cf583","6I2aNB1hLUYb8xMmS8D-A/ssr/ef4b1551065fa9fbc8a4f3960477438a4124ebfc","6I2aNB1hLUYb8xMmS8D-A/ssr/209ef97a57202af3c590245a2a6459b05ed2bc76","6I2aNB1hLUYb8xMmS8D-A/ssr/f676ab4f721dad1ae78872ff557ad634494fc40a","6I2aNB1hLUYb8xMmS8D-A/ssr/5b64af36c9c42eb30d430c166b2774ac74b8b363","6I2aNB1hLUYb8xMmS8D-A/ssr/93ed55c3ae31357f7e80c7f369c8c59d9f0112cb","6I2aNB1hLUYb8xMmS8D-A/ssr/83cbd66c88465d3b2679eaaab4407cf80721d7bc","6I2aNB1hLUYb8xMmS8D-A/ssr/8b32ccb8244da40b454a2ac27bda2e4aee749fbf","6I2aNB1hLUYb8xMmS8D-A/ssr/38f5bfa52834c928215381c9f9329e447c0d06cc","6I2aNB1hLUYb8xMmS8D-A/ssr/dae2d57161ff35b6af32fb5f6ebc40ae6fcf37ad","6I2aNB1hLUYb8xMmS8D-A/ssr/605c73e2c8230b73996cb7980cce2b0095f5be1c","6I2aNB1hLUYb8xMmS8D-A/ssr/6698fc6c9bf9b4d90409b243a6f828d919fac87e","6I2aNB1hLUYb8xMmS8D-A/ssr/ae21b8913f01a4ed7ffcd98ebc3182c1b01bbf70","6I2aNB1hLUYb8xMmS8D-A/ssr/43bca728b1f279e9d412b1fcd2030e315b971722","6I2aNB1hLUYb8xMmS8D-A/ssr/b6020c6f92e349604cdfdd2d6d579fcfcd5c31f8","6I2aNB1hLUYb8xMmS8D-A/ssr/a617e5838c576056d39d4230104d06393f35bb6e","6I2aNB1hLUYb8xMmS8D-A/ssr/3986e4877b58d07219946b2108421ce55ad6f959","6I2aNB1hLUYb8xMmS8D-A/ssr/1feae06d3c90ed2e3875a1ce044dc373a3252ccf","6I2aNB1hLUYb8xMmS8D-A/ssr/146991546b310b2af6bb6de755ad7d0b1cf38f92","6I2aNB1hLUYb8xMmS8D-A/ssr/98ce595f163e64b5099e998d96a1c020d890587d","6I2aNB1hLUYb8xMmS8D-A/ssr/b26f46f7885db47c3eba2bffc6d45f6e0ce7a9b5","6I2aNB1hLUYb8xMmS8D-A/ssr/b63bf13d0ef6e1dd1842ec1cbf15a3f65532b66b","6I2aNB1hLUYb8xMmS8D-A/ssr/b1d331711b6511dc7892829a21ca4e2cd9c80975","6I2aNB1hLUYb8xMmS8D-A/ssr/e0aaf6150b6ea14c8d4e6dce5954c0e9d8998144","6I2aNB1hLUYb8xMmS8D-A/ssr/f680c1cee894d5bab7fd249a549e3ab7f57571d9","6I2aNB1hLUYb8xMmS8D-A/ssr/69acf08728a2467c4d8e6de2b923c5c0182bba75","6I2aNB1hLUYb8xMmS8D-A/ssr/356c1bc00d454ec31a7e8deba884081cf00e912f","6I2aNB1hLUYb8xMmS8D-A/ssr/43846eb0b29320bffbddea62d57d06a060ec6756","6I2aNB1hLUYb8xMmS8D-A/ssr/8d0cafa0b66ed744e46194ecc9b0d80b4942450c","6I2aNB1hLUYb8xMmS8D-A/ssr/08fa404ad5186677dedfa098a02f9825aea9e620","6I2aNB1hLUYb8xMmS8D-A/ssr/dea35a265fa2fceacc8c4e3154f1603e4ff93673","6I2aNB1hLUYb8xMmS8D-A/ssr/4911a8faffda0641ee2f30ac5ae327dae2396f06","6I2aNB1hLUYb8xMmS8D-A/ssr/170882a72561807b8a346067e0a2da57b8b1000c","6I2aNB1hLUYb8xMmS8D-A/ssr/5c9ee3f6838f0c667f00e43abda84d96b022be14","6I2aNB1hLUYb8xMmS8D-A/ssr/da516fa23a5d2553514372961d880948663398e1","6I2aNB1hLUYb8xMmS8D-A/ssr/76de13f05026829e30b5fdd5914c38f5c5d6e2f8","6I2aNB1hLUYb8xMmS8D-A/ssr/162d415198735858141d31bd17c4adf7d6750e85","6I2aNB1hLUYb8xMmS8D-A/ssr/bf652a35d42ca6df89bb1ed8469160412fd1158d","6I2aNB1hLUYb8xMmS8D-A/ssr/ce7a1fa56c53811127835c9a49de1c7d1a660323","6I2aNB1hLUYb8xMmS8D-A/ssr/f63427ef5f12e90f9111e8d75fa086a4cafcdbcc","6I2aNB1hLUYb8xMmS8D-A/ssr/bbb5513fd48ec448415cc832ed07aa99ce3dbfb1","6I2aNB1hLUYb8xMmS8D-A/ssr/894a63336f8fa24c61e7b7bfe49e62b41fc1fec4","6I2aNB1hLUYb8xMmS8D-A/ssr/35b7dba0d675903d97318f7c832e763fa2c07cd3","6I2aNB1hLUYb8xMmS8D-A/ssr/08a42571fb0c8804b9d6cffab51e7e8b8d15ef34","6I2aNB1hLUYb8xMmS8D-A/ssr/9cdb646b02792688dec5c37dca66f3f932bb88f1","6I2aNB1hLUYb8xMmS8D-A/ssr/36c35a7831ac6a12406b0071bbc01c85a64c2f09","6I2aNB1hLUYb8xMmS8D-A/ssr/9ba96505ccde7eeae7de2d9a13c2bf51ed82b6e3","6I2aNB1hLUYb8xMmS8D-A/ssr/90eb3168c927e9ddcf0ab4cd169bb31daa5d0e7f","6I2aNB1hLUYb8xMmS8D-A/ssr/e6d547638bc3fd9992a8897714b844680da6f7ae","6I2aNB1hLUYb8xMmS8D-A/ssr/2e90945296775108efa9b01fa739ad47e8aba4dd","6I2aNB1hLUYb8xMmS8D-A/ssr/426b264e71b295f2e89d6660c982549d998eb126","6I2aNB1hLUYb8xMmS8D-A/ssr/20b76bfc8ad0e67d220d0e9323a5b97fcfd765a4","6I2aNB1hLUYb8xMmS8D-A/ssr/89f1e0b4eae28003f174b7c5a5881d82a067e2c8","6I2aNB1hLUYb8xMmS8D-A/ssr/dda0cfe11159b11a071c1d68f2f188eb03e78b85","6I2aNB1hLUYb8xMmS8D-A/ssr/056577ee33fdf896349ea9d45f23b32c7411a9da","6I2aNB1hLUYb8xMmS8D-A/ssr/f56228a1c8e89972e0b9de88c268c4b1052e5208","6I2aNB1hLUYb8xMmS8D-A/ssr/9160809084ea0683dabd81e5664e5c4f92622373","6I2aNB1hLUYb8xMmS8D-A/ssr/9dc8fe9293a9583ebeb59c79d690e29244e2c6a1","6I2aNB1hLUYb8xMmS8D-A/ssr/3213db423cf0ce233e240a56922a0e08bfe0a3f4","6I2aNB1hLUYb8xMmS8D-A/ssr/e3f31f14749821719da975c89201b98d50d38e82","6I2aNB1hLUYb8xMmS8D-A/ssr/1e735c16bf919f0511b4872fb5b82fa216195e3e","6I2aNB1hLUYb8xMmS8D-A/ssr/03c44824143d55d72e5071a7a35b9d33b10b3e88","6I2aNB1hLUYb8xMmS8D-A/ssr/0c2684970f300361612969cc3f81f864f666fba0","6I2aNB1hLUYb8xMmS8D-A/ssr/ead5980546cb65d218d5c030272067a55b501021","6I2aNB1hLUYb8xMmS8D-A/ssr/9f339af2b6527f1a40317774dbc3c74b83486905","6I2aNB1hLUYb8xMmS8D-A/ssr/0bb63e10030b4ef29f811aa74fc442e258c76fb5","6I2aNB1hLUYb8xMmS8D-A/ssr/3132f86817109cc8acea83c7902d0fea0e96f9d7","6I2aNB1hLUYb8xMmS8D-A/ssr/66aee5cb71bbe76e949705d41738631ef02fc371","6I2aNB1hLUYb8xMmS8D-A/ssr/d21f9cb11d2cc7cc3972e960170f1abd15eb08f8","6I2aNB1hLUYb8xMmS8D-A/ssr/e8ef6410eaa3710dc899a3f22a0d4acf7ae889fb","6I2aNB1hLUYb8xMmS8D-A/ssr/176a4bd4eb0a3a539bcb1fa845821af9d2af41c3","6I2aNB1hLUYb8xMmS8D-A/ssr/bef06ba48d24d7081310d9b876431216182d06d6","6I2aNB1hLUYb8xMmS8D-A/ssr/7e0e0c3611fcc458858c9110971959c697bb313b","6I2aNB1hLUYb8xMmS8D-A/ssr/7b6792cb0e1a0594b40cae540b52bbb19763ac97","6I2aNB1hLUYb8xMmS8D-A/ssr/f263c4b6594e239dd59a42bed0b03cc1b0441dbc","6I2aNB1hLUYb8xMmS8D-A/ssr/86a32f9b4ff4370c6b514272b9b5975cba550c33","6I2aNB1hLUYb8xMmS8D-A/ssr/6a7963df7c19582578651c6705c8b0245061a93f","6I2aNB1hLUYb8xMmS8D-A/ssr/503ad5cdcbcc242806fdd170c760202c331a6b6d","6I2aNB1hLUYb8xMmS8D-A/ssr/daa354e850993db37f736a8f5b489436c8124327","6I2aNB1hLUYb8xMmS8D-A/ssr/5313d6298be90479e5793d25364fa4f4b2bad69d","6I2aNB1hLUYb8xMmS8D-A/ssr/4d15985c155136629f688c0f56440f4f01bd95d5","6I2aNB1hLUYb8xMmS8D-A/ssr/f26ac95ac397f898c6b0960740dc851c1a0dae44","6I2aNB1hLUYb8xMmS8D-A/ssr/9af13b165c80573c915bac4e4cd0cec12093bf62","6I2aNB1hLUYb8xMmS8D-A/ssr/dcf3d546a8b96be2d34171110b5cfd48b292e98f","6I2aNB1hLUYb8xMmS8D-A/ssr/b4a117709df63869dfd68c06c97766fea7f96d28","6I2aNB1hLUYb8xMmS8D-A/ssr/4a895b30a440125f726e11b292ce21434637204b","6I2aNB1hLUYb8xMmS8D-A/ssr/24bd728815ed2dfad045837f3fe0911543d0fd3f","6I2aNB1hLUYb8xMmS8D-A/ssr/5cdc491ca6c95b15118a439a30d1b45831e42cdd","6I2aNB1hLUYb8xMmS8D-A/ssr/461fcf4297afc4698b57f8b411a96513463487fe","6I2aNB1hLUYb8xMmS8D-A/ssr/8f9b7afad1e0ae0ff0bc855f44bb1a571f887cd3","6I2aNB1hLUYb8xMmS8D-A/ssr/0f40501169dcabe1bcf43b0ec600f87b02f7d15b","6I2aNB1hLUYb8xMmS8D-A/ssr/cab083fba948e156c272f1312af21b691378eca8","6I2aNB1hLUYb8xMmS8D-A/ssr/012418f8afa5d932d199eff26d9444fc3649d91d","6I2aNB1hLUYb8xMmS8D-A/ssr/81bb3a7ec5d30a472d5eee10d93843aa1ff5e217","6I2aNB1hLUYb8xMmS8D-A/ssr/f5dadf272ae5748ae224c18caf9967eb5c846649","6I2aNB1hLUYb8xMmS8D-A/ssr/98e6dfc34bf155f998f3757d2fe6503997ee7347","6I2aNB1hLUYb8xMmS8D-A/ssr/f5f9c8fe76a9bbc470c8d3279ed29c6336a6befe","6I2aNB1hLUYb8xMmS8D-A/ssr/218eb0759133e8caea9a14f5bd1dd28e19ec5e7c","6I2aNB1hLUYb8xMmS8D-A/ssr/9b0c800ee134a8f74ca2505ac3f0da43111847cc","6I2aNB1hLUYb8xMmS8D-A/ssr/255aedfeeadf2a4cd733177484b0910cfb900cf3","6I2aNB1hLUYb8xMmS8D-A/ssr/82224c0f6fa407944c819118a2b9b9ccd54b98d5","6I2aNB1hLUYb8xMmS8D-A/ssr/4230cbf5f9e3b638ce57eaa7d8820ed43588cfde","6I2aNB1hLUYb8xMmS8D-A/ssr/d478d4f1ebfbb5f487b14f9c68fa6445f969e1df","6I2aNB1hLUYb8xMmS8D-A/ssr/b5535b07bba259da83bb912423eec19163876994","6I2aNB1hLUYb8xMmS8D-A/ssr/86316717a491a8f273f5182d5ccbaee6623de4da","6I2aNB1hLUYb8xMmS8D-A/ssr/534b7c1fe05e6733a2b0723050177a5b3a94dd20","6I2aNB1hLUYb8xMmS8D-A/ssr/c6338f5cbcb4476872c42c16e4a951e2b00fbc37","6I2aNB1hLUYb8xMmS8D-A/ssr/93e2bb9dd21dae3cbb43930bb27c4229af9a7470","6I2aNB1hLUYb8xMmS8D-A/ssr/25257d03950239399a7ceafdd780caafe6129a7c","6I2aNB1hLUYb8xMmS8D-A/ssr/546009b089dbf57256bd33aafe17f2a3a6092f30","6I2aNB1hLUYb8xMmS8D-A/ssr/5cd925dd4034fc0a614c10d410631072f255f173","6I2aNB1hLUYb8xMmS8D-A/ssr/9ffd0b989dd8a29ace3a14f29b2b7377731d31c5","6I2aNB1hLUYb8xMmS8D-A/ssr/5b008a3507cfa6ade71132b321cb39233ab8533e","6I2aNB1hLUYb8xMmS8D-A/ssr/d884027d3b10fb57307eeedb3e51b3acc5e0fc2d","6I2aNB1hLUYb8xMmS8D-A/ssr/c636629172b3ea1502146817f54a5da25ebcf337","6I2aNB1hLUYb8xMmS8D-A/ssr/7e64cff11ee61529273a28f16e66545e3c10ed7c","6I2aNB1hLUYb8xMmS8D-A/ssr/e6abf249b2708845ac6f6c15e407822dae517223","6I2aNB1hLUYb8xMmS8D-A/ssr/fdfdcc1f950624fdf41d263586b85d083a43aa52","6I2aNB1hLUYb8xMmS8D-A/ssr/9a741f3dd6fd5809166de2f0c022f98f2a19b743","6I2aNB1hLUYb8xMmS8D-A/ssr/b1f82d09bec7ab9fc5e5625ac1f89de7c9a78282","6I2aNB1hLUYb8xMmS8D-A/ssr/e7a92a185a34b19bda41eba0ad256e370ea10c59","6I2aNB1hLUYb8xMmS8D-A/ssr/ac7d67a28e34fbf74670b344822ec819705c72c8","6I2aNB1hLUYb8xMmS8D-A/ssr/6c1b9463133f2ed96e6e7c9848606cf4e98f5349","6I2aNB1hLUYb8xMmS8D-A/ssr/9572c9465bbad942e5917c5b9ee6018efc4305fa","6I2aNB1hLUYb8xMmS8D-A/ssr/a6cbefb7a412277b882366e9e236697e619f328f","6I2aNB1hLUYb8xMmS8D-A/ssr/e515a77eaf480b778ad89ec036f7e437ae5e9609","6I2aNB1hLUYb8xMmS8D-A/ssr/9a3bf53517d2a4c3addc236ff717f1304caee9bf","6I2aNB1hLUYb8xMmS8D-A/ssr/74ed6f2492ce5b3974aa3531ecdd7969d5802f5c","6I2aNB1hLUYb8xMmS8D-A/ssr/34624b1d1de27fcd5081defc4f42bcc5a107cad3","6I2aNB1hLUYb8xMmS8D-A/ssr/52ecc183b63d00e54e83752ca85d8627290f46e5","6I2aNB1hLUYb8xMmS8D-A/ssr/0df2859dbcfefe36df96cb68086100a5f5f3173d","6I2aNB1hLUYb8xMmS8D-A/ssr/4b14c1f05f2c000bcda2d6d55df6d4c60793f352","6I2aNB1hLUYb8xMmS8D-A/ssr/c4c785a7045db28c6dc5a6d93c31a29d3acc7d49","6I2aNB1hLUYb8xMmS8D-A/ssr/b6d9b22942df0a899302e1176fcafeda9028fe58","6I2aNB1hLUYb8xMmS8D-A/ssr/5100ff82f79b4abb91fb4234e9b12c774804ca5f","6I2aNB1hLUYb8xMmS8D-A/ssr/15c04ddc4b71b3171a9968af32a09a3b1b9cbc1d","6I2aNB1hLUYb8xMmS8D-A/ssr/2c0885e21bf350e47164e280362c073f8451f471","6I2aNB1hLUYb8xMmS8D-A/ssr/d0baae87822755c3fde223325472423fe2ad14a8","6I2aNB1hLUYb8xMmS8D-A/ssr/31ba2897101251b752e107220be6812d30ec1fee","6I2aNB1hLUYb8xMmS8D-A/ssr/2d4d2626746953deac0b15dbf8b698fbb21ca373","6I2aNB1hLUYb8xMmS8D-A/ssr/58f558f67ce1473475dee602195610641bba1a62","6I2aNB1hLUYb8xMmS8D-A/ssr/db3588308c77c65e3f4e2c770be9ec08f892d685","6I2aNB1hLUYb8xMmS8D-A/ssr/f42575b871470f135d3176f40e29562c566f6297","6I2aNB1hLUYb8xMmS8D-A/ssr/e8b4796bdbeb7695fff36b2e95351775b9fa77dd","6I2aNB1hLUYb8xMmS8D-A/ssr/5263a98dfa8d2e289ea0627d11e79a45f28fa127","6I2aNB1hLUYb8xMmS8D-A/ssr/91817ba2877b2bf6e7630a7cc5c9ad267b50fcaf","6I2aNB1hLUYb8xMmS8D-A/ssr/defd665e660f1dabd067511368daf8aa031e40e6","6I2aNB1hLUYb8xMmS8D-A/ssr/a71a679e59193ddda0d2f5001d6ce4ef4a6cd1de","6I2aNB1hLUYb8xMmS8D-A/ssr/69f1cc96b5ebd7cd945774498548b28777b8fb1e","6I2aNB1hLUYb8xMmS8D-A/ssr/5d0d60d47a110056b41ec6e7a1f6d8de52a9ff0f","6I2aNB1hLUYb8xMmS8D-A/ssr/b43f91759e6747b4144274b34cebf8bf1ef0e206","6I2aNB1hLUYb8xMmS8D-A/ssr/b40a7b9ac1be360370748b935875cecfa8ea2527","6I2aNB1hLUYb8xMmS8D-A/ssr/9caf09b5b6871a20968284cfc0914a6dddf1be14","6I2aNB1hLUYb8xMmS8D-A/ssr/313016b24e608f2f067bd0a115ec48875edc21b5","6I2aNB1hLUYb8xMmS8D-A/ssr/b86a2ba4a89c2da15adc2e248de6e9cf85360c5c","6I2aNB1hLUYb8xMmS8D-A/ssr/3b65ebe9fcd12fe24a76bb927137b4222fe8e2ed","6I2aNB1hLUYb8xMmS8D-A/ssr/3680b99cae573437b28c31d14053ab82aa2ff218","6I2aNB1hLUYb8xMmS8D-A/ssr/4d2ca6f32a599a77625c91e851b5ee47802c71ae","6I2aNB1hLUYb8xMmS8D-A/ssr/b27687e52e8c53384196d545873e9acd3c891889","6I2aNB1hLUYb8xMmS8D-A/ssr/3500fc73fee410ed58f71ea53b1752db38b4a992","6I2aNB1hLUYb8xMmS8D-A/ssr/d1c7193ffe5d30f1dd8d5a3cd30f1ab729aed5ca","6I2aNB1hLUYb8xMmS8D-A/ssr/1fcf132f314576ab88083820a691bd09bdbb6c71","6I2aNB1hLUYb8xMmS8D-A/ssr/723db991cfb55705a53a470f1fef4b48e7326112","6I2aNB1hLUYb8xMmS8D-A/ssr/b52821238d6f764d22cb048b650da96205c329cb","6I2aNB1hLUYb8xMmS8D-A/ssr/0e5f9bdc4a9c328e402fd5403ef75abee83ccee9","6I2aNB1hLUYb8xMmS8D-A/ssr/e1f7c6ccd2bf53f3f9d947a8c4590bcc1629a888","6I2aNB1hLUYb8xMmS8D-A/ssr/3303a07f8acc2f81074668777c6e25c22ed967e9","6I2aNB1hLUYb8xMmS8D-A/ssr/cfa1c36be30ed00d7918b112312230f8007351f1","6I2aNB1hLUYb8xMmS8D-A/ssr/b36cb2afcb35c2418f36d243608e4a7b9b2952d4","6I2aNB1hLUYb8xMmS8D-A/ssr/bca292541ae1ce0542406457e11e248f37b9f1f8","6I2aNB1hLUYb8xMmS8D-A/ssr/7e1ef2892230a0b7d2c84a8aaf71eb41817c6eb4","6I2aNB1hLUYb8xMmS8D-A/ssr/965a4acdf761ac29a47e461cc6fcb1fec1f90dda","6I2aNB1hLUYb8xMmS8D-A/ssr/ba5ef04ddcca9b567a04ee2e24b334cd994e815c","6I2aNB1hLUYb8xMmS8D-A/ssr/ee1129b0e27d116acad909c42bff055183d521ae","6I2aNB1hLUYb8xMmS8D-A/ssr/c3e9dc1c0287989eb1fe1aeffb495bd43fb90d3c","6I2aNB1hLUYb8xMmS8D-A/ssr/3c99065d603c15874997449f8f1dec863d5d6ec9","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/diagnostics.json","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--js-combine-iterations.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--no-render-in-render.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--async-await-in-loop.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--no-barrel-import.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--no-cascading-set-state.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--rerender-lazy-ref-init.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--prefer-useReducer.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--exhaustive-deps.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--no-event-handler.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--server-sequential-independent-await.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--react-compiler-no-manual-memoization.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--only-export-components.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-hooks-js--set-state-in-effect.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-hooks-js--preserve-manual-memoization.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--rn-style-prefer-boxshadow.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--rn-no-legacy-shadow-styles.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--no-giant-component.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--rn-prefer-expo-image.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--no-derived-state.txt","react-doctor-7689037e-8abb-4ead-9a92-4f9c01ee2fec/react-doctor--no-chain-state-updates.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/diagnostics.json","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--no-cascading-set-state.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--no-barrel-import.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--prefer-useReducer.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--js-combine-iterations.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--exhaustive-deps.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--no-event-handler.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--server-sequential-independent-await.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--rerender-lazy-ref-init.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--only-export-components.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-hooks-js--set-state-in-effect.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-hooks-js--preserve-manual-memoization.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--async-await-in-loop.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--no-render-in-render.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--react-compiler-no-manual-memoization.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--rn-style-prefer-boxshadow.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--rn-no-legacy-shadow-styles.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--no-giant-component.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--rn-prefer-expo-image.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--no-derived-state.txt","react-doctor-dea5677f-6356-45da-ae48-29898add4f3d/react-doctor--no-chain-state-updates.txt","metro-cache/55/ae891e4bf5c3a1284aa9e426881c445707c9d590e0f832f818c6de850ef379dc1d6b67","metro-cache/71/b90bcbc6d99cddca9322d8a2e10368f024f76b12bed3d84647b984ac3e2ee934592280","metro-cache/e5/8d2690194be45c0f213f789b5e10ade9f5f5d40e05f97b59a912f472932219db59de56","metro-cache/3e/cf23617e4d3134b6cabad48cba46e83573ae42ffecf0ca7f74ce6e4445313c047a6293","metro-cache/ae/5911c4f429b2b971f819d76155e2e3a80124a579cbef75c3f92e527f05cde59a8b85c8","metro-cache/03/c75a7f6df5ac74e4e1616c19305267acf14cac245ed985bd264dc1c6857966326f601e","metro-cache/a4/6c70033b1eb5dc4ab1b3680ed2d998c80a9f100cc4130d48b59ab69177702d6e5e1967","metro-cache/88/a4f80e39aa8c930a4f5b0b0540a2b51e12815a99b322585dcd6706c7755bfb65740e95","metro-cache/d7/7eadb4813ea68d3ad698da87b59091b89134217fe238870106345de7392d1c744de657","metro-cache/d4/2c2f88a9e3fc4ab94d1ccb9aeb0927712fe76652c54b16073639b692157b72aca82365","metro-cache/8f/5da3f48b191aacf69d81b3bdb721606a690ae46349de8416a47618ee7515aa1a94f691","metro-cache/78/6d484fd8824184b4b1e86e5782c3ed1a9f6c7c00e701808f7fde4d793678cd3ff78698","metro-cache/34/be05c88776a1b2dcace166b56de28abb39bd39f3cd118e9bb1c9e64943342078279acd","metro-cache/52/0048c17e50ae25f310ad1ee4ca1b325bf9b2f26ac8c7e9322d78f24654f740004c4bec","metro-cache/1d/e17dac7f14b03d6c8dcb7b9f21bda51f250fdb6266784d7ddeb820ddd2aa9cb3f77f14","metro-cache/56/c4a16f36f2332fbddd1b1d6a6fb9cb2af1ba1179f234fdc5f63f35673e1aea50ea12da","metro-cache/ea/209ff0cd4956ff1cf202a3330b26bcc6dda4aae86a1f8cf891348b5aa9366433bd2d16","metro-cache/72/b87307702723d60484b86ee1754417b62708d4c6d57aea76ff87c570f5adf2541f78b0","metro-cache/86/2f1b4ac1f880a4c65f002165dffc45069889c43a8bfa5b6c58c9fcd2d6bc8c140ed3a1","metro-cache/a8/e7fca8fa717df92babc2a0568a2476d473a0789f6b9c420e8f83066c3b963b3c255a46","metro-cache/65/b265e5d9757622350bc9a64f4ad2421649e7f4b1a6a2663321f53e1f7e519c9181419d","metro-cache/4a/5765a4c1038692e987ba0c6daede38247ed197d4eb104e3a683137ceaadd7870aa1643","metro-cache/d7/ddb8fdbc433083fe81fa4353cb5df305a7c240489f860d19ab12b40e2d7b0ae14e7ca3","metro-cache/d4/144d83290270806fd0e066ae7f85cfac7cb26fb90c73e22b21a13a0f9b1e176bcec8c3","metro-cache/87/108211f3b8df8c853f201705fbf1e837f6c722970f2d75770af1a253b0208b2281e785","metro-cache/76/5d4c430a98cb2b7a4629d7c13885e4518861b6f01151da7c723cf0cb7b4251ab94f10c","metro-cache/da/a383663ecd0ccb21adcd374ffddb2a8713bee9a99d13df38b7d361f85c4835cb736395","metro-cache/15/d2f9550d8b0aca0d6ae6c309303523ebbffb7d7ea5362a22bfa1bab0bfdeb1617cd610","metro-cache/7a/179c7698f67424d1f0190b325dc4f4fbbb442c138a43c4f8063ba8e7738ea5c56b6e40","metro-cache/af/03996feff6199cfd615bb81494e0f43a9391b51f78e36447ec8272750a76cde6f98a3f","metro-cache/b7/f8eddec8fcf67976fcf3bef53138a4b247d31878019770ffab182f3abaf6e6bf67b3f7","metro-cache/61/a7da34911e9dd131226adb6b5b557e1ba5f29e239a2f1ea910a6ce5ffc0d0ebcae0dff","metro-cache/f5/5a1799c6433130284983658b0770649a171049a9ba63e445f8beb5450b04cc28335ab5","metro-cache/bd/718a02af093d64d21f24aa5a484c78b4cc5542e8dc759eef46581b3ef2bc93c0c41e33","metro-cache/0c/b16789981f00584286fbaaceffd368e75693be686632d510e3f87437e8da311e69f1a9","metro-cache/58/2ea5bbf91e0d167c2284f2223fe70c15e4444e2a60dbcd90632696dc9437ce82a4893e","metro-cache/0d/90058dd4221aa6814c1ef19adbdbc3fca640925d9dbf6518ded4b3b67979657c40a213","metro-cache/9c/2d85bbc9d4d6d1895c990b45d191be282ec2659a9e22f2db4935d4b661303bc2385dad","metro-cache/35/63f1bdbf2ae78d0bcdbd3fb8a1ecbccf0c732a404205a6fec8dedf90d8b7689406f2c8","metro-cache/f0/111fbb4ea4a19f40d0e9d873fc82b6b3370ab3ad06eb4d40cb26bc25f2058347b3b657","metro-cache/dd/7941684dd71e219a906005b8075245d312090485ff42b9d51700f89d5a6bfe046708d3","metro-cache/91/1aa1ab4c7bb54a47449cc0adccb8a42d839eedc64f881337e1197b89f84c16ac9f8c57","metro-cache/c4/e75ac58e6ee6c6bc0b5a9265413cf526b3ce80381d0759035e57453f4af277721104f4","metro-cache/c0/21db256633aeaafece57d62b4edf52ef45331ecc610913e7c49b92441e6bd0996efc19","metro-cache/a3/95d289e5d264d59da94691d3e0c4da7c06b978f881db1d05aeb16168d4468a69812cb2","metro-cache/76/5afb2f83e41f334b3c21b3a45605fc342289bd48a9b031b856ccca15c102b1240bc397","metro-cache/82/75e8db25ea68467d946786fb161f2964b88f1fe85d4448e403fbd70618ff4255c727e5","metro-cache/fa/5370f536426bce1b7021917b906f14aab0e4ad6cbef1d5d99846ef65ec5d402596ceb3","metro-cache/59/548871396103e8bcbae4f0a0056d49e7aec5afedc37faa43e782de82b9f897a63bdd46","metro-cache/4b/0c365d4050518538202eddbf99451aff104092ea95f93204cd2db9cd56076f2dffd63c","metro-cache/db/5e07b9c0496e38b12589f08b55cab5e9e7baf1c749c5a507ccc03f18f49f6e8ae85057","metro-cache/6f/22d983e1ffd04a49a7cdd3d13a7618e0d81e73d78b8260396c6fd119237a75247f7aea","metro-cache/e2/6b0cffa91184b9adcc589e89bcf24f762a84b00d1e5b0ee9a3a751f5c7b51602ee2901","metro-cache/7a/7b26b4e80b8d4260cd4cd14e4320822650aff1137bb94b951d27bf70b067b56bcc757e","metro-cache/e6/eae46b41d2387e1515b20377180896119f69c076882072ce138671c26f887ce245eaf1","metro-cache/92/e93462daa2fd7e3acff2d4fd37f0e1d8cfd20360f7fea399f59f90698d148185d7a698","metro-cache/5e/408c44923d2e1c3c7b9b0fd51c7a0728918f046cd525c7e98ef26be572f740ae807b32","metro-cache/58/49a365428a3eb87f8f8fddf9e2e9ece05c4b31aca8fbb79f5b30c3c83c13f3fec04539","metro-cache/b2/b03ff5e671b9a8e5e7d9e4512a7f8b2f5b0c5a70d1f114e37a4314252048210f24e5c5","metro-cache/b5/c8eab7e802a14ed3957a22cbc1598d122c03e88e00d8e63c14bee0fdf3152382a43013","metro-cache/13/92137f3d5ceef1a4066e6ebc50c379df365463d77f6c9ad572ba3bb3f064a7181f59d6","metro-cache/5c/2ef44455dea2019b838966a8a42453b878f55d43f619a18fed2bca450e40ddfe689ed8","metro-cache/1a/17d5502ce4a24ba7fb8416d01fb64caafc862e0cff951a6cb49f8865696d8fc629323e","metro-cache/d7/88e5e82a9b2e908c02b2d6b9ba127b4cab9a942ed28316fa3d72458fdea45183761919","metro-cache/6b/c644387a99328ce8f1888662b55b2cf1f963a3d32f0153ea3f617be662bff48056fa2e","metro-cache/1e/9c1961e38a0e6a13ed0501e79b55a69a713ab28892a259ced48e1b5eac242915295a9d","metro-cache/59/3912395227e623c11ece36e4b28fab0fff4043961cf0b2af8cabf233b353cc836cb8f9","metro-cache/03/c5df93f7c254369ff07c1751c0fd972ee803fcd0e34fe91423bf921dfcc9e1ec75a891","metro-cache/52/bf48081655201c96fe2bb0a48a58a9806f6df747c5e755d793843d0ddd2be0158d889c","metro-cache/b0/5d9dc9caa7b6cfe62465eb02275fec987c79e16dee569be53e6f3a984bc07642e3b355","metro-cache/0b/06a9ccb2ee19f8712652fb482e9add77901c6a0256ba334b2148f278cfc58e65d23c9d","metro-cache/73/865b2502fe14254e73ae43f5a67299ec5b4ba015ed158a7e52c2d366d35813e12bd726","metro-cache/27/9e003b5f70b6636cf81ebabd8a4058573b1be49a9ae690f02ebc95369c01c99799a29d","metro-cache/bb/617fc12dba5978d591a9fcc1c79cbcb47ed17946947771e1e4409766ff2865eb381f28","metro-cache/d2/035dece083349a131460cb4e57d00ab65ac9df80b6b59b752e178d960a87550cc1d8f9","metro-cache/02/cdcccec74d8989693cc0a8849acb37478b5a1d48f4a998b0226e1863837dbb282a5912","metro-cache/c8/51a3ce40a6d352cd69fae7cc010ba5df792feea90bfa00cf20fca936722de61d275ae2","metro-cache/3b/bf6c2bcbcf4fe17b9353067c270dd46e3aba528884e16f093c8fc08dc72d87b7380f85","metro-cache/01/3453a84b52d9c706cfdec416917c4ceb75635a6770e1f672f48af7dfb30af4cef67257","metro-cache/11/6b700f5dcf01a3493a7cb60d742cde5f02c0ee5d943c87db70503b449331109468a070","metro-cache/81/74587b35777277711b191eeffc6672007f97e34c69fb444dda8ce6c935516eca0ac38b","metro-cache/d5/7bf6ddc09bf3f1c1acc76399565dd56d6b70b54964431aefd2f163f6f85568fdbb2e8a","metro-cache/7a/bc6919df59b4c89a380c5cfb6c388d88ae3a69fa5d54e964e9c7bd9c3bce94f3ec1f5a","metro-cache/93/a65c8cdcc338e431148458b93129ca4dbbb78f0ff3ba425eab2e9c44b2abcb135cb5fa","metro-cache/34/3c210b0b7c8330aae93bd795acdfa6af6c91997f70ad4b900a50863a72c7d2e30e182c","metro-cache/de/1bd126ebab29b2d3e06d83c41cd3970073c92e49db2420d5a96a01b8dc2c0c3d23ee29","metro-cache/cd/7b8852008cabe73ad0aa4f87315991c66fe058484c8f9ade7740fe5cf1f314d5e3e736","metro-cache/85/619815d8b1e8d9d946973df1f27c53fda36387d976578d59b6b1742ff8578151d3ded5","metro-cache/a6/5907ac156e77a27122ca806a8db39293ab8f248b30c5076bae33d6530e6dfe3eca97e4","metro-cache/0d/dfcbd0f5e8fbacd79fa1f88a5e244ef25239db610218d0b3c17258a838acd250e8580e","metro-cache/48/2bb9b148736074ab402dd97be4dfd53e518a8d2bdfe2f7a6f6f1a57c2500574c8ef03c","metro-cache/11/f8621f4883799213ce67e0f107aa66d6223644174d5e121765fcb9f68546610e06bd0e","metro-cache/b6/c8dce4b7568b47936ce1a384fcbfae8aaa744cbbf4ac9d897d4ff1948c7812b4861f20","metro-cache/34/05a6f13c1ab9a138c8f25a95d825107d22c7aca1a3512c4576ca2e8efa76099505e30d","metro-cache/e9/01396787ccb3e63059f69f117ce5319983050e7a9362a1726519f611118eda66e9a58f","metro-cache/3f/f32e83895279b3e3b1b37c17474b8cb1a7021f0fce85b7cf3ace34803023099fb0979e","metro-cache/79/1e1704e15aeedc4e366d6ff34aef21d7b22afcb1f79198baa9f81fbe5d1e2d0ad6fbee","metro-cache/73/cc64a151663c7dc1564ed5447ae384813ef3c50570f208f95d0d3d5cb467df33324f4e","metro-cache/99/bc202578f2aec25edd46055437f8c5bdae81d63b86987532783062e9f0e52cd510337e","metro-cache/e5/ad68e8e596c4dad88c0e9e293baf3e6f89f0a0a7ce597288a7a6d4996687cbe8868fcb","metro-cache/3c/fa46286f7124807bba62bcd5fa2c51796af6597de85e5bd441222fe327ff1e182c805f","metro-cache/f6/468dc25d7680c73defe9778f743de821166423b991b3b2ac7ecc153fd7f766723431cc","metro-cache/82/205a9b61c88c1394389f205627a60385f4a727c53a3a941f13e5c1d4a5b5621837018d","metro-cache/c3/0a5e48e3c5a9b0a5a9b6d65727e81654122fce1116f43a4179acc71c67dfb7cc3b1244","metro-cache/e5/006a41d01e15c93b1853dc5931d8bdb8d9bfbf3de18a0d8d3732113e2a03cdba50b878","metro-cache/0f/e4570a447a892908cf2f8132000549c60988a46e7c6d88d60c36d9f8a37c87d31fa0ee","metro-cache/c0/23c366fc364954b69e11d75307d1532ec3506a357603ccaa7af39b9773f40a0cfc9845","metro-cache/e2/cdbfc1fecbed542f7ae7867c47ac667a444693ba27f2f07348961ad309d6285ba5b06c","metro-cache/4e/b7910147dd4274d718a328e61d4c3983f1244b88c620799ebb6302909434bdd31790cf","metro-cache/03/5d732c87804b0099421691b7ec7f82a7751758a1a2c4a6748435819e9748e42366cfa1","metro-cache/d8/e7e7344a2ebcb72e33ea7cce4d94737251473b1afcf9e24e5bdb75f17451914e3e8f32","metro-cache/66/1d676f2f89a370b8aa76a4cf182f5bb6b52bed7a0fabd01ceb776c0888153b4f6692c1","metro-cache/b9/d07aa9443dedfe8968706764d0076313b4f75ed3abbcfa3eb99daabddab07f0c81638b","metro-cache/42/c8d9001ac7c019b8927ade7b2fa35c8f0a98aaca1dbec87ed1be85b3c998501f89499d","metro-cache/de/cf625c0fc58d102e476caa3075217856aa928ca7d3b73fc583cd7a79073b5b09a53c55","metro-cache/bd/6ef3869139ff7d71e173f00067eb4f49a551419880e4be1b1a412de9882ba700628faa","metro-cache/d8/2824fa75f2897398aa9875963ddb3f936d8aa4a41bd45eee9f80d44de41ce973abe126","metro-cache/1e/2dd630afa1e7cd0c342470288f5f27373b6d92adebc6d2a0e22055f529b68c5d3b3e12","metro-cache/cd/185621f2aae046a8bc38039e4cfb19ca42618e8499f827e0e1a9e94edf692c04389e33","metro-cache/12/a97ed6cb09c1df74f87d7fe1a5f8019924133330792cf741214234c0a0c61781d654cb","metro-cache/c4/0330ef754a0f16ec0919b993bb5a0b7fb22fa4fe4be8c1f2f6d1ef6ab0ad2a4142dffb","metro-cache/f7/0330c462f3888f3c33b97a5820f8dc999d4c50a7e18c476f2c9039d029b526efc48ce4","metro-cache/8f/3cf30e29f25fb814da3fb3e065dbe277be619889c6618eb3718e684f72c6923ebac8e7","metro-cache/31/b7215609a31a186249cdd4c6d1ce393fb88d8d9c4bebe8607592ebc42aa6e525f3f9d9","metro-cache/3b/27cd3bdbfc5310c16106cd737611bf29d3d73bb6721d213428ce01afa43feff4b46740","metro-cache/73/aff9c18275ff815bee8f94aa9cfa0cd56186942c15afb5129ceae965284f34d71b9529","metro-cache/8b/faec3954712eb43f0fe51d15baf07a635c5ca7ed927ddc641c34908ec0afad51831635","metro-cache/f0/9bde564509b8b42fbb83d2ccd866ba017369c0ec9026b22b832f9fe545403d2e91850c","metro-cache/74/9c36da5cae8977ac4c6f8760efda2783aad00428736b1f34690d7e2290a6d8c791ad69","metro-cache/72/c4023d95bd076171edf4ca4252a283a82b157d29daa04f0fca078943b15657f225e112","metro-cache/18/be58c31ac62690c690dbf44d3267bd114968b158b993f59738df254154d66ac4685c10","metro-cache/3f/c7e547abb1652be90b7dd2ab51f5842069342183702206986a78d8349a4cee35e3d7a6","metro-cache/61/da3e92f1a47a937b931be9c5cb77eff6d0d7c0ee5ce97f3ef308b0f3ecd34b39419fcb","metro-cache/8f/c81d745636e29658211f23a88a32232179a7f92cb5dcc5e2c2ae103fc60a83bd75c794","metro-cache/f7/a7b1ea4488d43f5b75447ab1de3c402d7ce0ee55cca453cd96116e1ef3605a4b337b91","metro-cache/94/832a849d178289df4d52c4c0915d303694be15a782252bae9482a48f5acf6d140a6607","metro-cache/82/d8db5baa32fe9d914b037856cae1ab36c03d84b256d770f998934695381d16c223440e","metro-cache/e0/26c7584df4c302cedabf5824114bd27cc2245b9f478a9525455b59e263279fc7bf3ef1","metro-cache/aa/00f1f91559db642a124064cce15ec40183245229ea5d2b0ae239060d0be95a7ceaafaf","metro-cache/f0/2e987f40129786b229e670e1e167630dccc3b8420bbb8c2176ecd065cd6ba63193e301","metro-cache/15/78049477e0cd336b1bb26190e086e7bce2fd093a35bb22db772e551945679472dc1475","metro-cache/ec/9955eac293f90f4ba24a6198242419930890a517f1438dbdbee0686f85a649e8e998fa","metro-cache/4d/0d17e377e297989e1d5369b8add92e97dfd22ddd89c572448f2ff46d67b448d9104bf2","metro-cache/24/7b976c28c92977028a1f06d83410b9758b4ec082436fa3034910906be9980e2c68526a","metro-cache/cf/c6e46d244b966aafd0ef6a677fdebc2183f6e705776434eca3f41ccc1d897f208c6023","metro-cache/a8/894310263b41062039d6647fb51c55be12de0fc7cc6de53bf8705bda40df31b31ad7ff","metro-cache/a8/218ac0597a3ccdb36ff90794bd4768d0c14a92755b1969b8586207f4b1c9f58dd37026","metro-cache/e8/d1c3b9bdd27ef91827e6a6e955275c7a41142dbc97785473d7f05233cbde5e37e3726a","metro-cache/07/98049e21f43b432e79d277f333a8ec85082fd904bf6c7ac9886a3d9ea977dd9b30776b","metro-cache/d0/2e6bc6c1a1f6db69bc33f761f256c1de7cbd7c2ecba7515323293a1771afb627fb1d22","metro-cache/20/ac77241c58509fd96c40b127646feac07210e9d82761ad449a3cf680e9384b4505f83d","metro-cache/9f/9d2f4972ea277952696bc57f0b6cd9f8f92a7c06be652d2ab85fea3788113ebf3ab825","metro-cache/13/8bc9e8416ba19f761627e782355f6497bc07263a39dd3b1f62a6fc18326cc3bfc13e99","metro-cache/c7/8602939ad787725c2527a377a84504d62b104681a25708d46ea3845ced9286b3a8d1fd","metro-cache/57/069bfcadeb56c8dad9f4c99ed092b43c870ec8af8f75eba32fbffb23aaf51ebb0813b2","metro-cache/73/58f2975ddddc016d0a340b0584f2c1bfae71c9eee9ef60d32261ba6e99dbf11ed667c2","metro-cache/e2/5c5f6570938011c359dfb2f9528f959be3ff43b53eabeb6cd1c2512fbc2fe3c0afd610","metro-cache/a3/67537995910fe91f36b107e26a2cd95a4f50702c5df82771cd8b141e3cd10c7ec82d44","metro-cache/27/cb24f0e455b8efe296a18558896f7d65e0c706e5443d06322dda710015a2276e07ec31","metro-cache/2e/1b78ce8ccf5e55d9ad025f03a0585e433f55498ceca52d104d994fbc18dcfdca12d59a","metro-cache/10/e8e2e81ecd15ab85317d06ace50343f4b20fda373be61d0d0a931747cacd4db6c340de","metro-cache/71/6fa3eb2a716f1c334a62e8687be3aa6daa062b72c32cadb9b6a462fb00339a866748d0","metro-cache/a7/9effa014da65cf283ef035249534e41f1c7eab8b1852c21fb76cff5fe6d6ed73fe7262","metro-cache/b3/564c951212bb77fa44cfe70a8b3959e4705af170f7962e665e064b5a944f343812c167","metro-cache/86/5a9533e418ac1f8915aee35ab94a1f16f40c7ed3bc23c98584dad61da3663dd49bb4e9","metro-cache/2b/90ddb3c1bba650436ab64d6919a96791aef271ae771be40c5e6f3776d931b445f00b32","metro-cache/0c/3d1ed6ea10e8db10e82a79f3ee1076fbe728dccd6875db85c21a0cfbc6ea9803706d8a","metro-cache/84/6874ddc679a784eedc8dd6de264b11ac638cb5fc71d1e87f1f331ed139a0d69507a05a","metro-cache/8e/73b091ebae29edc6038b0f499d29fdbdf1041b6d2fd00a47a281adc882c6ec3ec400c7","metro-cache/51/976408b0b7aced73828292bc076d07e22e6ec5a95799a6781f44ca27dae4809fad9730","metro-cache/0e/0eb0e490703730d8070db9b879603de87a23a19db11f49091c557c3a17fab09adb79ac","metro-cache/8f/a487fa04571b02e6e89c99ce13f4540b8a49f80adcc8f1ae5615ad23f158114f5dd0c5","metro-cache/94/c93f25f5f86bcdfa5dbd68da3900bd873e27ee9bc9639dafe54395269d4e2c3c334a33","metro-cache/7a/11a6cbc397a035a9a878c1a65a254736f1614e45818df767cd80914978a14682da8d1c","metro-cache/f3/20e0af4707340f60e5179dc1df21a3df351095eba7d70f1314550fa29c26fc32c33d7a","metro-cache/b5/5f031b7fd3467199d8fb4334dc02e06beb72343aba284212d6c8785eea07f900a4a497","metro-cache/84/56733130a840c56b0fa509d9640d9fd61ad829abb78d5cbc55f7f5440be6fc22775285","metro-cache/65/6de9ad6639a6f8635f723bfe429820f7941e635273fdaadee183074c8c10bda4d722d1","metro-cache/80/c71dfe60b6b5d302a901eb508ae33dcaa830861b5f5bc3d43386db6847c270fffcbd86","metro-cache/98/449a7c2379ed3e721aa55b8dc6230572e0a8e72c9e3c916f6f91e1ea6acf39896ddce4","metro-cache/af/1dd55a01b3a31273f59c6d4e6157b073506d0afa0b9aafb4c23146474268ebe88d24be","metro-cache/61/0497d94c9e6d661bb9318d432e569fa39e9d2914ff3eddc8423a98333943601e7067ac","metro-cache/fa/8d7ce9e3f315ea25c4041326efaa714b8ad4bc2607cbcd25997d27603d2909f93779ec","metro-cache/cf/6e775327e10396fee9310d882828fd36c6fa32eff0c9d2e51158c057983cf63b05be10","metro-cache/95/3bc8cf342f0046379f2862299df1b7e12bad8ec84a1f7bbafcc707fc7fd8fa5fd2e543","metro-cache/32/d2d9a5e642e00c64efa63aa8894345a423e916c36581a3a6bffac1fbdf85552408bb84","metro-cache/8d/dcea02b4595b9f26eec3297e7e1c1c1ab948d47f4790d9ca9e4785f38a2fcd0ef5455c","metro-cache/e4/71278802de78a28da9ad08e3a8de171861169d65412ead375b2091b5ab4c3128e7b78f","metro-cache/f4/c713b77df0322b441b14516cea2aaa9c7ec361f53e53b0ec0f3900453aa701c29a3757","metro-cache/4b/0246ab0f0c67453f9c0c30d1d9a92345cafb794ef0fb26ecb825cdd619d2f5ccfa9f76","metro-cache/43/6522f5fb734898802a78015508e7ea6681b712baa6c0c2651fac5791097677c310d5ec","metro-cache/cc/1af54d719c9a1ab0c3b8b748a779cee1eeb88b1450edef4841169bc4083b86bee235b7","metro-cache/20/7f3eecafe7e67ae85ef570ff4df8ddd5681ffbb2b1631e94e8319f6d36655d410acb9a","metro-cache/3b/2a4442506f70b97cf5166904aed07e04ebbca03d0da20af72497cbff4f641339921d9f","metro-cache/90/1863829453c9bcdde8536146def3ed85d321b6e2711a065e65d9035531824fc1ad3b91","metro-cache/63/cb575d4bf8accec99afbf4ec2e0d09010f6162aa1143ede3f26d228a5cd0841c7bcc04","metro-cache/94/46b05e486da960fb35ceeb44c9c358ff2c32b5580f8b237ef68a76816d896835350da6","metro-cache/72/3c60f8ae78bd79a8fc8d9651c8af4a1f3a30ccfc0cb31377630ed0a64fa65bb5d9a912","metro-cache/38/d96cb38102a12d08bf3b6b8a1606eef5548c11f158d9cf1a4eac0e23525b926a1641b3","metro-cache/5b/3b3bffc224d91cce3bf66eb76a6e416c6120186b77d7c3174d6da19b415e317c10e68f","metro-cache/d1/9b5d021f80d67e690133965fa71d47dd8cc3c3a16192d522811d32d0b4f9dc1e99191a","metro-cache/ab/575a2394becf4123286b1bd829927230ab5186932ad36dd40e6877f4cb94bd4c2c3d9e","metro-cache/13/42214c623b2acc1b31f4b1f10571bd0aa99f269c717645c28adb5ef73d7eab177abd0f","metro-cache/66/1b14ec0bbc0b3dedb0e2122170766814c2beadfce9537a74ea0a60bffcab2059e723a5","metro-cache/f3/29e4201749fc1fc67be08258833a1ec137370cb447bb5bc56ff2430c2ab7b0cd6dabaf","metro-cache/eb/5bb04fe0f566e797a06758fe3a66f535cf2c6bde4ee484907a5c5da0dcd06c409501e1","metro-cache/a1/82310a16d24589c701f743a0b5899d923aacf6f2193185a9a1be459808f07de93b4015","metro-cache/1a/3cd556753c076b70d4ef88c4684070e981b1a5721b7676e3994a77f5b84e6b82311ee4","metro-cache/e6/10455278033369cc18311250faa551a05aaba7fa837594b8d939b6c47b5cef148a1773","metro-cache/db/a2917a26537ea26183248fa2bb269759e372108e8c988cc6f86c5a388eb45589cd1e9b","metro-cache/cb/8a01b6dcf544fc6b2b844b83fb91e8fb75abffb826f3a25d448f7db29878fc45dae58f","metro-cache/1d/b9255ecdc28d590d9b759404b50f005931ab9fb33b0b3e80b53404fcc92f96f0ccafa7","metro-cache/e9/3da63cf8567725a822b36318c140b32ca95c28ce58b472356d87072bac9555c6fa8d18","metro-cache/50/cebabd75dd1a3856296f0ba1a181220b06b32a307cdace45e3558233d80ba80c31f8d8","metro-cache/b7/a608444860da60388f0c1d473653bf5f97ad6caab7f3ba3ad599b9541e9570a9f1b2f6","metro-cache/96/1237063d6077edc5e0824cd5f76c577d0c7de3fa268c50b43e063e0f43c3d03cec7035","metro-cache/96/4d1d9afbd2b9813e75c21f14e7a983624b5607f58a1a84f47ad6d5d5e710217beeb23e","metro-cache/8b/74bd7e972e57e0f0fce56e3146e7b5aa03424ca430683debc283846cea2de2a2130ab1","metro-cache/2d/c4e707d808fe31775f38c0c181dd6bf595e677b47467358bd102975ba07adf3692f6e2","metro-cache/6b/2ea0ac032f738351a84de370a6f9aeada016ac5c6de753b8e071e65de3b772d947f326","metro-cache/32/bbb85523fff3626f1fac16b1084dd11e6a01cc6fd8e63809150af1008cd0c16bfa1fc5","metro-cache/75/18c79c7fc7566866970957e0c772c60cb972b8ab6d9702c1b855abac4ceb1b29ba300c","metro-cache/18/2ea770d8784d69747e6906f3e5040a16250322262885f40e4870e7c1b91cde633acd99","metro-cache/01/017a9291976ca35fd6555f46f614279cced3145a5cc3da5b69acbf54c476c59d7a7614","metro-cache/cc/2a8c6127551c44e7b7d743303a9abb99892d257ac6a4eb62c001ccdbc4d9adeeba0d6c","metro-cache/8b/97f7ef1e59609a991e0a7efb5a8560ac48478fb856a42103e178353f3bec8478d19632","metro-cache/80/1510bbc7ddcc0f95f46662a6147b8d38cd316286bd2cc8eddeda05fc619c6d55135c71","metro-cache/7c/9c1448e5dd363fb4f1290e1dd14d4952b6a78ef1d020346810fcc12d4f9b949aa53612","metro-cache/a3/71bca7c1c459a0471c203b025e573dcb5c432905b3a2b4d38c0c56143cbf311fec3e3b","metro-cache/b2/a8c4334dd8311dddf59ca53c47eaa1c9b0cc70c586ab3300be5722fccef224af5cfaff","metro-cache/58/e51599f428663dbe6401a792cf016c84c8475596a73be599ad81fa4c87171116ed626c","metro-cache/fc/2c011ae0efa7cffa77579a45d1359457984ed897edb2419fc7111072c7da472fb8d61f","metro-cache/e8/c0f724ddcab4facf4effebdb035b27a41d9041a832c5c180eee33411a3cbf6a523d28e","metro-cache/ce/2bb21823864c91c452f9edddc8970a79e980c0c622c34a409a8e58b18377b2dbcb3ec1","metro-cache/7f/0548a211dde20baf3f0af999e101a93e3ae8154624de76f2ab40059b33fb8b89f1af30","metro-cache/9d/d932dfce282262fbf511ea6e8f5ff11c735eb15f9c359ade385a19035a71ed3fa1cc0d","metro-cache/6f/444e7cf9e666ad7ed5815189b16314d3b5690b391a632d6949f5a1b12b8492bc2cbd58","metro-cache/ad/86f039c45edce486f7c2e680bd1675b9c858c990a5b4d4021233d3dccb448e19496279","metro-cache/94/b21421462e72e2f039ae93df3c5cacfd245a9ce091634c7683b4d5f8dc8ffe2006ab70","metro-cache/06/38ea39ce25371de33fd712d826bf10f31cac43cabfbcc1b8a43c36d2c8b4716a2e12f2","metro-cache/46/a6784217641b5056b3703e34f016fd1c9111c853bdfb5ac91ea98a498f24528c7857f4","metro-cache/ac/48adc902ddbbd04a6d48f6749a9261c70aa438ab667bce2403137a9926cf4d1455be83","metro-cache/3b/179eac5fe86f579c792907dd5045f94649aa57e9b8691e3b7e5d04c3f072f7b57ee720","metro-cache/ec/6c0b0f10722e94a599f0f694c3345fb48bcb9c032c3f29c0940cb953036b3ce17436dc","metro-cache/58/6a8c597adc2d3e4d1b13a772090b195d498f6d309840702770f388d7c8e6857045eb75","metro-cache/2c/36d05aa1412db7614c61b9c37b6488217b4566649cc609059cac43f20dc6b16fbe463e","metro-cache/59/abf6e1392c5f3a5fb0863b14ac0a0897a77d9b24d2a4dc73054244131a28fc0c199307","metro-cache/f3/5e041b93140e49714c44829842c14757e19b79c4d27b020376f4f1c2cf231c272bc6d2","metro-cache/d8/e136ed9b6fa4816eb7033af920762f928caa05531ab7ca69828bd42d1db813ee14c789","metro-cache/b7/96379e7cd155aaee8120358906820644f568d8522a9c49467713f05c327ab22512a170","metro-cache/0e/86269df5499722696e6cc0ab08fbca53a60a35d3d26e41a9dc5cd7bd12edb1e73e8fbd","metro-cache/3e/afe126d26e26fbafa7754b27f39f01a45491583ac404fa6b56b1dc65d1cb16ac41981a","metro-cache/9d/eade21170f461e2fa4dc60abfc00fdaba24cd354198406a6df70f284fdfc3cf43d4aaf","metro-cache/fb/588f91c5e96a2757d51f02c3cb516049db8e30e21b1499acfae826171d4992de43c0ca","metro-cache/d8/1de43dc6c67d4ec4cbcccdb3e09047a14ea153eca771e966db15c7efb905038985eec1","metro-cache/ea/ff9392d37f5bcba3161249dae3709aa23625358f737e4ede8befe6f413ba3b133da300","metro-cache/6f/bb945a95de4f005e0b291d6249a3dc40a1bcc83d64ec96ec94bef386a9af6e126d12b4","metro-cache/86/52fda23c8d76b776f49c84d575d00b5f062987a1173abda485ca7d20ff7512362eae77","metro-cache/2b/07be3249f9d0c09add23eb07b55ec32503a635759cdfd2c7de1f64e457030abda501a1","metro-cache/22/bf471bac903b355ad0ae2b3e08d6712a1bb0a208c4f094fe5184d09c35e7e68898971d","metro-cache/da/c5e5149ecad95e4e3f96b4168e71081d16fd0666e9e1cd7473ea8ac33c2680030386e2","metro-cache/aa/0a9740dca73006903cdb3ceb80243f3662f74890ecffb667cb41207b1ad9bc8d6c8352","metro-cache/28/643b776f4fdb268b7dbdd42a330d9e310d8e36b5f2495bd743fa49e3e2097418b88ec8","metro-cache/f5/fda65eb8d765c3de2181766f77a7b61099a4d42520a454d8dbd648ca9f829acd871789","metro-cache/47/6f9a36d423905dc58d0f1d2def951adb20105dc898fa8aa6706492502431c680c0dc94","metro-cache/3c/7bfec6398f36dc2b7508fbc501b17f6af240c1bc8acb76ce34b5aec83c7638082540f4","metro-cache/28/c753f5753aa00f7dac0d51710fab2e01005d1f2b540c4df7e02fb7ac06c60ba3bae371","metro-cache/73/71a0a27e531ab1eece04dbb1ed8e4d71f1cbc572efc7d939433d593f0ce11ed8cc1b7f","metro-cache/39/9c24e1a05ab10b3305a3d415fe526dc6faec724ef47d02ff303772e373c40c9f7f10fc","metro-cache/16/1e8751df11296ef715058f6bdb09fc3e2a7209b065f05777b03502bf2f7336fdb04867","metro-cache/36/0eb2bf650d249827dbaf2c3bd2819203c48b9812f560fd746e06d2245838655e9b0b46","metro-cache/a4/73a95e4d3aee2aaf39bd709a02708982de718a0fa27b93ffd661a58f8b57afd9766f78","metro-cache/33/eaa5bf68cc4f33ef2465e480b684041154567c1ad173a482174e8966f3a54ed7d8f0bd","metro-cache/30/0bfa566ec701fd2268a4356cc1f9c87669e8b84b6c0c87b4944194361b204565ff78cc","metro-cache/f4/ce129f3c2321c27df8cfeed726d1ae9e43b50620d590b1ea1d9e4ab80b30e76ffbb735","metro-cache/a7/32888ae84ae8d27231f6d0951af4d48138b507e70a990e3406a37b1397d706bc9f9f2e","metro-cache/25/1a6feff485b3a4582d807c8905a865e6081ae418c86b9a7c298db80af512a8462fb034","metro-cache/6d/9fc7d3e47695da96561a050d2aea8ebe12f6b17e29a65b2f8835d1326a7524ff194314","metro-cache/56/2bfd54e6abc8d50b8d6e0efe625c0add853347880b9db0997d648fd540252e1f8ccbc6","metro-cache/c5/9289b711ce6c423b18dcc35c6be8c6da242f209bc7d04f85064865a7b6ef1e3e378804","metro-cache/88/d3ee443e0f002720719ff1de495865dc93c48ff2a4546ef3df4d535a3ace35a66a9d51","metro-cache/1d/1e2fa2d4105e3c2992f5a090c146529b0045ff2c599913457121d988c0251211b905c3","metro-cache/84/df73ef8a5e0ebe7fe09e879ccca3d98fed13025b5f6e2cd40fe23badee7665177af59e","metro-cache/44/d6df74a88d0e0041657397137dbf90522bf3d51586b9ee7315d95017664d706fab22ad","metro-cache/b3/8827c8e91cadd50150f2ecf2f7f85e638f154744678907a9bd9c6fea52e702d23627e9","metro-cache/32/fe3e6afba5cd6a484deabac68e691d94713a985cdf03b1474e3b9f7162190a83022050","metro-cache/1c/639588c85cc598eccd7e86680021bdff76d166355052d633d555090e080ba3712e314a","metro-cache/7d/3f086f1c1889a136733ba39e01961785ddaa9fe55bef85f8970f0daac8c3098f468693","metro-cache/6e/4ca8e04ceb84f56896f456605108b67f80126916ca93ecab6896c4d4384fd2b0db2198","metro-cache/26/74a5deff7479f5703198d52bfe463750687b79a52defdbcde400e8755aeb760add4e88","metro-cache/c1/500441528f38c4b86837978b278eed47feda930790ca35148cd94d90cbf67f83dc57c9","metro-cache/98/3f7f761d88d737352b5d78044fe44d924357144ebb96855ec0cec5a9c4827b8668d259","metro-cache/6e/af8b85e97c11d6f5d2c78ec64d7629c0f5c46193377db830d25eac3333baf911f67870","metro-cache/a8/8dc92212ffa01550d29ec58abcce5fe6dc66f2ec504a4ee6bb16316ed31d1743a52838","metro-cache/eb/4e407d9fba7f2ccee2145d22f383d36694287e3f2e3bd86078aee00f31f5612f884088","metro-cache/b9/ef4b9ff65320611ff4a75781624c591b4074d6b8ed9821c9286bfcdf912b584aaeacae","metro-cache/01/1367653468a68e96da4e3b7c08435ff3d373fcef29341c63332fde70d091f95f7dc0d4","metro-cache/ed/e746705b9b51300e2203922937f4479c6364eddaf022891973f38676b1d9ac719c56bd","metro-cache/3b/0809331920bd4e9710a348fa4d1c02ef71d14b2f2c1e7669c1e2c5049c8dbbed7d4577","metro-cache/e4/f3d717b99e862b124502aba9b816c1ada42cd557e6702201e99d5e16da04480b371f0c","metro-cache/3f/785e131e8f590b20f9e5451f814919da62c3d018cb84f84d12441c816c930b3d88b51f","metro-cache/ee/db5eae006d5b2638a23c53a6e9f6c219b90a89cb84cf0a45677e2488636d00f5d5d2d5","metro-cache/b9/f0859543f5bfbf2b72c316da8833de1c46d16cf19816eef5cc9d64c7e0f84f0066f520","metro-cache/6f/78663e49f19d64b174ff86237f5507efc3756a16a4a7781db09e43be776e72259d06e1","metro-cache/db/9929084ccc6924fb1e626a4eefa3035b0cfee1a4b8fcf9bf089136695b686c64281914","metro-cache/0e/7f3a5c4c292a54dca23290baf26acfda3c0db4f2c0d582fbf1e9f0c07ae1e1619f30d0","metro-cache/c3/4b77ce6c5ead9dfabf43e532dea90df71146e2a8111eb5a7d66efe6ac5a2ad6711cbab","metro-cache/74/47881493f533ffe306815f4159b7f27466708d22fbe0a64c7e7b2e2465e84e9b7669f3","metro-cache/b7/3cab097f1a279af71f80e134986b5b4784e631e73b651615d7a40c21f28f4dac9a13ea","metro-cache/92/fe865002c5e283d9877af5d19d70364b5cdf7e761af9618053ee6b65a43d7874a8113a","metro-cache/7d/92cb7791e0777558796e4424c3332e1e877816d921329822a415ea7e1ae2bf76774d04","metro-cache/40/98509a07d0201d2e798483c47d83ca62465e56c468204fbca25e791a5ae8d58c9d5672","metro-cache/19/962b051d8b1b79d4e3efbe9191c44d0c9a3ab79811692b29b2448da8e92b828239f07c","metro-cache/32/a8a4dfdb9546555ecedfb5111a64e97e2f9c147d4e0dc25e5a8ca81cb83eb5653c4d35","metro-cache/73/bad0f0c052d5585d4fff279949793415fd49e52ec2bc900c9410fe703a1494d19f4f19","metro-cache/b0/e128f7e02bc98ca721c5a9f74c2e3963b354f3dc93ce32844834589de9c8ac510f3858","metro-cache/4c/3c45fee8c8264ab4e5f9d4ffd530e9c74196529541236fc08a54879ef96107c04cb2ef","metro-cache/c4/47819f3afc1fb5257240e7d98d795a07aaa7705d099a508d5c978bf837889d0f9e29b9","metro-cache/7c/0d273bba3268e9cacaa336abfd1b0c7e626363bb2acf593c61d5bbe76e443f58f3593e","metro-cache/70/cae48e6e1bd356119cff8b81c7c0586697c1db52c3a12d9da651161d0b58156bbba859","metro-cache/7e/7e9d971ce9a2edb7221a39254f4d63b7f00ed99d8aa81c5b33e8c1ef039c70a4d20234","metro-cache/0d/4d4382631b081ddd184e3eefb58a6addd260d91066697d34262077e2511689958163bf","metro-cache/73/eeadbc6e804e20ae419f567511c44dd91c99d60bbb89d85ee36bf22e40be8283ff8b95","metro-cache/04/9a2b5dbcf1a55c589293232d03a23ee0202e473bac8448c31984d0ead8083005bc46a4","metro-cache/da/bace2a471d8824ff7f39cfe7ac0ef4aa5f836de4c4f74fa1b06cf029da5fd368a1b52b","metro-cache/a1/dc08ed271f46c0ab26925faf77f97b5ec7c402c0c827a0d0d6912866becb91a7f20f08","metro-cache/70/d327ef3bd675a1908bde1524b140dcfa25808231bb391ea64a98a6ee30ef93fc651be3","metro-cache/ac/61d88c0fa6a0761571456dc82b63d6a5a2d8ad395ec9dbd9e21679badc501a6cbf89d2","metro-cache/e3/879a49148a823546427557a66dbec69254c382fbb46c67d53dffae70238cac70637350","metro-cache/03/498a5eeafd0ad3894d4220060340256867b2572ca8b36b716842df4ec933bfb6c7e910","metro-cache/11/e0b6dc55a2172e10e9655b1bec3b28e029531cb66f1a6afd3d77d94a55da8205560f76","metro-cache/ac/bc65e855160b9f8ef00302f50c78be878607dd34c0cf7dfd29ab83666a604096671073","metro-cache/7e/4521527d7bbf0d45757c7cb17ffa74115fd076dd6165f1dfc2d509508be6a7c5d0f9b6","metro-cache/38/3cea595353278c23f29ef8acb0cc498b6bd2d1093a111a1ac6ab91cfae798f9c62d40f","metro-cache/4b/1842ceceb5b537422d2c5a29c3184939624ad0770ecc208f6e891ebbb1903e440a7029","metro-cache/d1/16a95bc4f7e9763169f00d10d3fedbf3be96f13f5a608f645e755839dc8e0f774544d6","metro-cache/d7/1352bb15c040f3500f76c2062909fedba1c968c2a16022ea094387ce339703a14130ab","metro-cache/78/ca9af7cdce9ee5eb3290ebae6b35ddf145573a35268dc10646051aaf96b8fd1d89eedf","metro-cache/57/794ad38f04d0c2f609adc9ab56e39b6bf352455512c3cdc13e2da2fa5c83fd35b6dac2","metro-cache/ea/301e88606c7e980d0da9fddfe31e6333ab4db0ae7e64d751cc19e5870f930da753d4e1","metro-cache/70/1872bc4cc174e78ec14f08b3cd99f725279e5d7b3a59a23b0726a2c2e390eaa6145f54","metro-cache/9f/0490614da874398f3d553caa6bd8331da66973e773004b77d476770db1be05970f5c6c","metro-cache/ad/042be0a14d4d0f86da8fb0bc46ccaa3d50bfecaa1c9d9742ebdacb0f6979a535a77594","metro-cache/8f/744747a6c22afb2c2e8f294a212bf1886b6e364a156fbc3b11c09faf748946114bfcc4","metro-cache/52/cd05b10d4fc6ae35991f39de8fd55a770d4850114d08e47626847c5f17ed8b303750b1","metro-cache/a0/0e9c4f7a268131d928406758077152e3b6f983ff9ed1e4f2a76437965d501295e08057","metro-cache/cd/5fd1672d1cdc63a4b49a1b17216cd7431e1c4a20095f71c1e71d5ee92d8c6cdfa44311","metro-cache/b2/fb1bf5eb63e912f2f23c812dc166dcdffa733a378f1d04193bf1770c591463ec5e9c1f","metro-cache/79/51866c39996cd9c30de5f788d8bbdd8f31c5c1b3f5bed4721113735dabf4ce8caaf95b","metro-cache/c1/e88583908640e38f6023772d2ae32c08cfddb198966d8b6e6ca3e7dc98abcaaaa02be9","metro-cache/37/2835fe70f8cd1d2d68d672ecc95cc174059e050a74d16a38a8a46dd5a34121253dbf06","metro-cache/12/43eb4b6daa5a810eda732c10dff149aabb02936546ad78dcce7925be18e724c7d2e6ae","metro-cache/f8/dba22bb48455cc9bb7733ace88e47ccad0bb993bb27cdab79898d40e1427d1d6f5553b","metro-cache/a1/548ed51651d07218e1f2d060ab26a292607738e83d33295b4bda3f825886cc619645a6","metro-cache/af/87001c1c0ba39cba6fa128a56d73a44874e2c0ba57664ce10625ce624a411a6a5e4a7c","metro-cache/ca/2c96de175464d65c168804b62f9b6b1a695b4eedb0abe748db60d89b07e57589f3e5e1","metro-cache/a2/c7d77c9ca84cf88c16860b16e44fcdc9352be370722bd749f45b5995be744e1adc5b6c","metro-cache/88/950eef1b3c5a0ec7e80e1a3e4448bf504399e8a7a81ab317a222fb808cc4069d7e6ab2","metro-cache/13/96265468e0f4929d1ce860572b4952db79f111fca8791b02eaaa480611291aa4f1b17b","metro-cache/8e/5b10a285687964be66f3766688b34a4c272a78cfc6d9705a0255af553a58993d1696c4","metro-cache/fc/58dbaf6a2e5ea8117a1fbfeafb6e901c260b4cb5fe4b5a8b696b5178b0eddb0a7abb61","metro-cache/90/c749a3a93d3159ac4e76859e6df4aeaf471f367e1f1a943ca05ab98950c223617c312f","metro-cache/dd/0c56ce0f0b2ee7b69913cf7e887ce79386c8bebc506491b4ee7b098c26f06b1dbc5d26","metro-cache/a5/5f9fb2b7824ca4900fe58cbfffd48986e346e18aa62ddc0a90b99148a23e9151952334","metro-cache/4f/237c3fc3d330b39446a996c9a3c77c1f86eb97f0de86915326b565fa50c2fb5eb91c4c","metro-cache/68/c3f3c26f9c7d17128b03a56d16c740385224e2cc37cdd11c77ebc874a88e4f7c8b6b4f","metro-cache/d0/021d3e2d07c5226b4b7a4e91d9367929f7b67d6f00a851ec21f6ea6c06dede92703bc1","metro-cache/f6/a1283b64b2af3651df0611398bc8eaeec9127cbfc8223463339589a075efad53332aa6","metro-cache/92/2bcf574858c3f2dd15c6fcb22ae2e12a7b6860b63d618e46a578c368146e8b8c94ec45","metro-cache/88/cb500392a130f1e7e380f16a4b91f674718810957edcfd47a87f9d9f754c79e53ab500","metro-cache/b5/3628f27bcd634411190a6e8cb1c4bbd1fea14ab0229525e7438269f4be2bd8042feb44","metro-cache/e9/15bcb922dd84f13e54b0ae82265f98ff32848a40614b057ab8b055dcfb09a7daabd6f1","metro-cache/34/3056ff1cbabd99afa9f4bf4f3315b241ebd6f249556f9bdf3553e13393d663614f27f2","metro-cache/a2/1230c3823fb43b6cd3d8dabae04d92d04af1049fbc0926c94d94213fed2e7330679c53","metro-cache/79/99a1d94db78dfee080f7ee0525a920ca71d59effae6426b13dc02ec154ac266a37c9a8","metro-cache/a5/c274ecbc77fd12a785ea260796816b19446976d892fa7124b0c3574dbc5173a2c08231","metro-cache/65/8fb1b43a13454087d560eca1b9f66e51a16f1fc617a17d2546dbdad2b8670c61ea655c","metro-cache/17/52c50c046195d0e7c1bd39d4a86c40fb9ae4a280173c3d5554976cd2f7beb749d26dc5","metro-cache/de/565da312c70cc968ff8da771f548e86e9f78983b602521ff552b116daef075f6edda21","metro-cache/a3/4aa29bfb043b3f980c0fe9f87dc78642e0e197645ac6f7aac2f191def800b52feb0c9d","metro-cache/1b/fe076b93c0fbca3bafcf4c1ccaa26cb5d6647f74479f74414d7f8308c76c4c78dcf44f","metro-cache/40/59413defd9a33c20c1ceb822e9bd0ef29f87ea548c062e4e7b17df11f8cb8a9e93e350","metro-cache/ae/a5e56db11e0fcaae1af1e4f6b037c0080e396bdff3f6f009cac54e4e85231326bd7098","metro-cache/f9/23444fc00012b83dbf5fcc0ba1df0e408ac4b5012283266cfb78519db2d1f6553082dc","metro-cache/70/7733c363d53d6db74e0377893d7056fee117c6e29096618f4bb64b6c501ede4d6322b5","metro-cache/79/f25cc3a9416e72ec0eba2dcf1e7d1267ffb8c3aaec16baeafcf829546cf16e014eef64","metro-cache/bf/632a735b6f3782799be9f88b677c097e42709d12a30e2b407bbd73e125d8568bc0da8c","metro-cache/de/439fdd1bbe480dd78e825875553a6e39bd2bef758d36739b805360871478d96845a724","metro-cache/b7/d53106e45ca32a71e28f9377a5d79e79c3691018838a05069eee7d9503553048528b69","metro-cache/b6/e426fc7734f6662353519544e286532cae483e09388b77d566e6f74ac41265aa0c5d77","metro-cache/3f/5c1374f7de167ae851ee62f0c64791455dabedeac8d2e500759e8e60ac8d85ceb63ce7","metro-cache/12/6c0abadb2c54c473090eb6d54c753beb1dabc3a9974dfcabf71736640d2f0e5305a3da","metro-cache/67/14de1908e413e52a2bc1887c636c3b0660bad6704f1ec15ece242a7a15a7721ef727be","metro-cache/cc/ff34d7bb19482b11124507299aec3d82256fa61412b6d2af6cddf3c93fbb4bfa905543","metro-cache/6c/aca69bd7c9c0ab850fb42201f1878922cfdaf82ce64eb10295e9ccabf9247be4d8d47e","metro-cache/72/9638db719dbe3eca83bcec80aabc168a4769f97d7af98b2c8181c29fc738ecaa51544b","metro-cache/61/6cc7db07bcfcba6b146269bd000edd364f4d4b756ce5712be0b3b62316263ba3741ad7","metro-cache/b6/72270289c54891a908b765e2b7ea305529805ef9b0f40e3ed0d9b123c8669b725a3b02","metro-cache/a4/699606e14df1a4e2b4be24fc9549cf282532bcbd7a1a69480e247afb22f24d489d6ba7","metro-cache/f1/c87212ca8eb0da7f3a2daa7ef3fd9c3a14273c4bc030d3906d56aa43aa22e7ba6c6d7c","metro-cache/a4/8521efaeab2c12d65b9a942b7fbe00d1cbea1df65b7e296fc1a6c5d0ce516b9be7b30a","metro-cache/f1/5893319d73038f5fbeb1fdc9623bcec89d1e1fa50b942d073363e96a2eca2f9c8f00f3","metro-cache/53/738d822fdcfaed2d209423fb810785e9831ba9c8c6806de5e4c07ff31b9567daa19eb2","metro-cache/c2/c978f9ff0dcf03d7ac03eb89b62e4542a8427aece7c954f08a8677563f4fff68ad5ec2","metro-cache/9b/c980f065a4e4ff3c31e8170d1bc6bc8d4a251b5b785c0f83587aab0a68b920cccd272f","metro-cache/b0/cbe1c7c7c9febb054d3e8805b0421bcb2dff549dce6b872bf997709e25300e5bafe8ab","metro-cache/9a/5d386f33ac880c80066fb695cbc3678fe1929729619da339a1c259ba6862d6d7ada95d","metro-cache/6b/574f5eae88201d9ca19b04e0d5e9c849dcbd36cf95209331b5366df15c4aa4349f391f","metro-cache/a9/73bb4c2edbd3a3c989b6406804d7642318df9f018858302732a0d573bf4c43b73a2980","metro-cache/a2/bd5976d6f966be6ff63a5c00ef9c39ace5db6e20f9ca58701d6eb46a1b7e130963155c","metro-cache/75/913fbe3d84b681ba5c1b6220fde506101c16691ff3bfde140781722d3f8a28ef046baf","metro-cache/a9/810a6dd35abce4073495c081ec5ecc9436dd900be0b451003984d6c4f94f1fe1eaccde","metro-cache/c6/c1f5c60e1391ab154ea4f09df730bf2fee5fd5cae0ebb19f8e652b1636e9b8b5bee64f","metro-cache/4f/aeb0cd01df1100806da08519b3fe7296d3c8e8a6da3618a0b1a8da41d7bc6ededdc4bb","metro-cache/94/b7538def41654771b71712be1f36df249a437adad0d0665e06ae6343aecc7c851bf9b2","metro-cache/77/1358040a13bcb1de7d68a1366d23bbfab7f372b030aa799625d88a2f1bb7dbbcbd809b","metro-cache/73/02572229efb0278068a31f58a579de398eaa9ec2236878490ef1b463a5a324edc9bb6f","metro-cache/a8/dccaf825373c52b6d6211fffbf799d966852238bc069420a6402c27c4eee4fbba8571d","metro-cache/f9/393921f3d49e81820a7dc7c4c4d98cacda22b3f526ef71553db94b94009f30421f2657","metro-cache/02/aec10c0836fd0c764adbdd9188f5f0f0aedf0023dc9feac49f191f24da70534a31fb71","metro-cache/d2/eef9b899cb1292872fea44c860c0292b0dd63d32395893da707eb33d38fe40cb7eac06","metro-cache/23/29d9f755c668c286d92152ec83b3b51008b9da2e422063521ecb65d8c90f00991a1056","metro-cache/b7/eded85a9316c523e287066245816f90a009b9e7005b38ac40b1bf5653365f0a7ae21eb","metro-cache/7f/9db8e20ba38098772fb67e4d441dfe1c1297c032a2eefbaf9c6094508c3ca9bbcdf978","metro-cache/78/6450e4a359c1892e43d65567db3074df9a0441529d40a1a553a36647091e1e49bbf5f0","metro-cache/5c/a192356060066965b91ec4d1bd91ff8dfc25df75a5bf9f89314659ede6201a2ad12874","metro-cache/06/f3a6ec8a5c12de34873d90f312f0a6c025a73e037d012f746965c31addb73272de37d6","metro-cache/61/ef95ed6da75805da3af3f697fa66036f7208762ac05e87fed991b4ab24a35de42d2f4a","metro-cache/5b/d58d58301981725f7570bf4516e72eac61ee1b4a8e1763730e04ddd1003d4ee994add8","metro-cache/1e/6db9af91d981e3ea5a8eef1e4bca335e5d4693636eb4b2c4ce3e307f0573bd561709fc","metro-cache/ba/0ebc49e32c0ae08d3659b34181772616ac16f01ef9606ed5b714fd64299118b5afe1e0","metro-cache/0c/0105c5cecd121a475ccecc254031b12b813f77095eaa5ba54de2f1444b4dd8125fdb40","metro-cache/26/9e59aa9ab4a30b3f11adcf8b249a6f51674a8187d339507ae700149d4c3f2014082c43","metro-cache/54/7e25ec048dc74f336e30a0e04e8803e6fb8581e5bf05f66a175b4ae26c96630e9b0450","metro-cache/69/75fa48355effb29bede75189fae986006c1a5b2d7470dc0109ef4abec1eca21248584b","metro-cache/89/6858d1bc63b1aa101305777396f4c9c934b17426d91d5819f5c0f76ca0eb216d976fd5","metro-cache/c6/489fe66ae38f3e7c247541b6188bb378525553d6f0f40e1ced2708cba326d28e6b79e0","metro-cache/6d/aeda73ed0ac9fa163e4ad78f5aabc17efba3fd190110f9ee9bdbcbe8ae7aa1effcb345","metro-cache/97/dc6e87f5ae278c5e9a86b3923ea36cf07a582974ce5d9659af5aebb4ac8e58d2ef765a","metro-cache/6d/698c7a882bf5d77e85cfa6de936733a8902c9d85ca9bd0c529b9b9e1f8928cd9c4ec57","metro-cache/c9/8c0712944a1e5af9d71a50242dcc18a4a4ac71cc153f9c3a7a30bcc268f3d19d06d63d","metro-cache/e6/b8ecfbb0ebf7e9c028a194c7ac89ac2dc8c3343b0deb548f08d6680145876512eea3be","metro-cache/9e/3fdd3f6c0bdf8e0b8307b80ed16e1fbacd8f498850a7e816a40998644b88d030fb6778","metro-cache/4a/bdaa0d2baed3dee22cfc1d1294b66bbc549251486d4c35386fa782a58b059c5e8b0020","metro-cache/2a/49739c024a8b2bb23268173569b14ee3f2b013ac223c12c3d22f00b622cdfe14929b4f","metro-cache/74/96ba64fe70cb3f7ad39c70e89853c6f955d1c00ef5af0ceaf3183a79bbedd9df70a98d","metro-cache/1f/60d6dadd93bfeaf97bdfda944b6eca6c1870fa7265484430a5a1ef5f7e23d611061f85","metro-cache/cf/ed13b7c3bd5cd3fee6e03e789956d7633cc43203ebc98747b95e28c533d3aa90f857cc","metro-cache/12/eb4594a61549c9828c0349ffcaa66feca397c095bb9cff005cdec4a31f30f5bcaad922","metro-cache/ff/1657525ef1d32b8f2c5690f2fff6a7de05c054f29b1fa098d286ab14cdc2843ad60a06","metro-cache/92/a6bfe524258fad700445bb1f66396a9277fdd5fcbe287676aec4cdeb5a612cb846b379","metro-cache/5f/0037bd0e31abdecac526a86de21e3f07edcde3b1550d9aa440f1449d026e44cac44ef0","metro-cache/13/313b662e00c357d20256ed52a00e3f17059b8345631dcc4a7c36fff4cb090f88eb7413","metro-cache/f1/03c2ba0684aa30cd15b1866d93c9cadfb554e7422293e0ff46aed39e56b0567f58e4b5","metro-cache/25/e6c7361d0088dde13ad1a36d67f5881181aa61f00c0b32f8db347d887f329cbad5358d","metro-cache/51/f9503ddd99a693eb88b7807cba6b565eb3c8f78717bfa7adc94d97e36051248e5c1eec","metro-cache/5c/eb42de37b3faf6260b245a312b8c11a07ed7a78921d8160e4f5d834660aa95825c610a","metro-cache/a6/30a73fe1d9e93828d15e044b37586fad1669405577a2aa7fe742e34e7ccf2a5ba4cae0","metro-cache/9e/be1025f84e90892acbcff73e8d15b5f1e4a998f276163e09d8736508cf8731a78c8b1b","metro-cache/5a/7874861ce8f5f69437de9b33df345502b06c6b45e242c56d29c1d5c75536561bbe16bb","metro-cache/69/0d25e36b9413fe7e0813497cd51652d1989cceecd07b19fdfc51dc173479986dd3c9c4","metro-cache/36/01a1d5e833330b1fdabf260c6030c64096f7ab3aa503ee4fc9199b4a1302c109c3454f","metro-cache/cc/f330e5021abf4711c7b89998d0c599f01c9912c9dc00b470b2e8f41ed95ab70185d57b","metro-cache/e1/eb33913ef4d0d3343754b2b3a0cf2967ddf36f727a1d8a99c1324f02b8dd6d897e0a30","metro-cache/c7/983a24fd3a90fdfec5513fb1cc1301bd017569bbcca1e695225b1ffbad3943a687c38d","metro-cache/8e/fe14ecdeab07114469472bfccacd1b031cb78385bb27043fca42491a60aa8a6d1e9cd4","metro-cache/a8/f716f4dea27316b020f584bdafc69ba8456e1d4207c4fef2f33f17c6b0b6d19ed90ea3","metro-cache/3c/c4837fd0154c9b95005ef299223970bd017569bbcca1e695225b1ffbad3943a687c38d","metro-cache/e2/cd8a83fb0109c2530d530d930ebcc15a136d55c4d0bd813264d3feff3c26fbc605272c","metro-cache/13/fe5726b3ea4a133452d10ace740852a1a8f48a4e56e8e61807646016b8dfb6f17963cb","metro-cache/5c/164efe87c220028ff36a6faeba0db4dd16a139566efab77a88bec5e6a8be1153a0302a","metro-cache/a6/cab78680427101c854b2c36f5dc039f6d155c84bf33cfdd109884cf9202508ed197f76","metro-cache/a8/22cd64808814e4f5dba78bb6608347f14e8d990561530baa8d72bab876d7da1713515c","metro-cache/bf/fa1c66859d3e47e08952c86e1b1008bc6aea33196a3cd30be353281864950da07941f2","metro-cache/7f/a7177fbd228a36bec3f0858401ae08a903d7a044b2fc6b9cf58573f8fad39e40a426d8","metro-cache/a8/a977b6f348add0e87adb367a04ed5306a20647259844b7cc7914bb58538f3b39fa38b6","metro-cache/ff/c0fabbf395d0cab31d70d6c35e98e0f261fc5969827959170bd316c012a39bdeb03362","metro-cache/e3/64d602274801231f4346d7f7d9f76840faf1f36cd3b93f8bec0809d562a2543ecf0074","metro-cache/3f/8002cb7fc7f43b3010737e07e99b7f97e941a7f40f77c6fddbc74621dbb07f7dd77130","metro-cache/86/39b043b90e70e83a2d5831533bd43509ee2caa587bed44f6b5253c56e436e2bda271e9","metro-cache/ce/eb0b9813f1dda1a9d4c582530ff6bcd2179e3f400debd5377b58efa5c981ea236a1f32","metro-cache/f3/9b8a4619076edc043ef835997072f1114fa2b2fb0846e55004c1b0045d3b8593b9c083","metro-cache/96/9dd676f8e29bcb14eb3e0351154831ca76d6bf4a31003fdd4a977d1f5a5713c5b760ea","metro-cache/96/bb0792e0313fd1ac94f06aeb3ffc97e882288002cdc9dabf4a1517ce6d4fcef9710a8d","metro-cache/fd/a79e1bcb963c4f7157c8a1b077acb2be039f5cf18e094455588157e4fd4c216f7b37b5","metro-cache/49/b83419cf71a088377a31b7ad8ff061bd9f4d9f2ca128a7fc45d754281c77e40e793a2f","metro-cache/f3/233b412bac2a6b184ccc5229c56ccb9fc3dee7dac635965994c4d112be5dfdd8f7d894","metro-cache/cc/05ae9619a2fb32461de768bcf410fce4fed3812b741ad5c1b724646a069cf200d64319","metro-cache/39/98e45713a7998219939721ae15eef8b7c3c019e4e4bc615f7f73c3fb6872943f28a311","metro-cache/53/483554cbb7c26477d65eb4fdbd877e93640289391cb6bd69d4b192c31ad5d9b79f6919","metro-cache/70/649d6f24a3a0c36152a0b6d4249ee7686d3d8b5e806137ff4ae202788b7d7e4166bfa6","metro-cache/dc/0d2222e7008ad4a0fbe222d22be6eb6c84857cfb7c203e5627ed619654fa30d3ad4a45","metro-cache/3b/56568fd57d016cd7e732f9eda6d6c19d4545d85af6536c45d3dbff8fddc942fc057828","metro-cache/8c/1c46d5b624b2d9f181ea54899f032e1f22c44c855736323bfc1bf3ddc7925c91e9f3e3","metro-cache/30/7e484e29196b9ddb2845114b947a665215c46ff7e4acb5fb140887f062dfb66126676c","metro-cache/ea/9ba5b0c34f69a189c0f0fcce0c124d8f63d424524e772b994ec35921036ce8850cc007","metro-cache/8b/e30914f2a4a164738e988a1f57c11019e0ec83c766927b1c96d961ebfcb485dfa3ebb0","metro-cache/d7/9bccd7939015c66e4fdf2791519b15c7b78d4c705c9bb51b451fa9cea4367675144502","metro-cache/c1/412d40d9b0ef9bcdd5d16ecf2eeb1436f8525b5a8c5a95274ed49581859434d691c0e0","metro-cache/26/6eabfb436bbdf1bc51df7469e9e6854cbe6bce963ee356c1017440b908b3d3682d2061","metro-cache/b0/d5aca858d4f589999e123f7730b64383288d924078f2a0aea40f31ee04d4b306ffdd98","metro-cache/e8/3f1d1f67d66d422602ee76a3c2590722ad4a3f3530c448a2752aa7158d66819e5b8609","metro-cache/dc/e0f29458c981584d0e3c6a42f272280eafec6244f1db6336aa5b37986984216e69166b","metro-cache/d2/c677cfdf471f323665e3c9a41f3132a73ab16faf0dcd0a82995bd2abcefb957bf61232","metro-cache/37/37527fffa3b967a6f524e90d732c2ad27334a759dc4e083cd86dda798231c5ab2c297b","metro-cache/8f/baf624c2aa4a38f69c2b0468376d9e772ef0b23e93e07360d14aac6322db6dbea2ba3c","metro-cache/22/474d5ef3dd2157bc838ad33811bd1194b4dfd640d95543974fd08ee6cc907de432a6cf","metro-cache/a8/0c8657912d0648080c5a4b33f7c38bcc9c3b4ee728e1d19ac7ab89ad5de81505571fdc","metro-cache/80/66eb2e92df9531ef961acb4339b03ad51fb50e0fd799a59b20c3a9a44ef06a73288e81","metro-cache/80/ef857edee160fdf2df199cbde7a4ce2eaf4dd084b8b605c2c1e378b657e14f3e9babda","metro-cache/59/07977b07a04164bff21925c5fa2e3ee4891a86571ee88b0ae9e32abf3d3df064b69020","metro-cache/25/dba0b1ab20a1bf55f161210d25deac46bb8c978a8b0c0f0a1b9f8b82196d8bdbe8e905","metro-cache/8a/d43d014a886d1d361a885e4e285d6ad95b2bdbd831cbd00cf9fc6700385081d6e8223f","metro-cache/19/d7ee75d8dd56573f30e70148d932affe1fa8709e923c50172fc82459fbd1908ad6e54a","metro-cache/50/3e49a26576bbc09d62357255ebf9f903f5398e921bc6773a619cb8747d4683c7ea5c7c","metro-cache/b2/16ec97a5841329a978bafe0ff97a4ee7de7c9355bfc9e35bc27ae308c761bbff238ff2","metro-cache/e2/014701700518dc5f6e40562820be14aba0e50ef0b74c34efbc0ebd9923f26619cf64ab","metro-cache/58/5f813af1062df8f8845f1617623af33d623c713cab8302e87e06e5d424c92c60cf4455","metro-cache/89/f535caecb6004f623f679fad443514b02e7e7011f219f03f4f6482cf6e260ff624a41c","metro-cache/b3/dca124d3ce6cc3f6fcf42975105ce4ee3a807dfb536fe99b8568eaa326ad5f64d90b8f","metro-cache/05/1963909aeacdc1bbb0beff3842ba08136ebcb8d049cf4ae83acc1ea4a5125fdb3cf21b","metro-cache/59/fe29a395b8c9544b31a4577c0471f0944493b3efc3a67039637d9d2851cbab4088cfb0","metro-cache/5c/5ab7eaa686996d038ec6f94a1c65641b7566818f0efa9d847e06e80550df0a3917c8a5","metro-cache/f8/ad161f953b8f633bcd1d503bc3d64802719add2a02e1fd26fee7af49a81a13f7b3d6e8","metro-cache/ba/43d5768f4ba1d662a672b5bc8ccf119fedab17af54e6360be4a53dd17b7145ab822150","metro-cache/70/4d64fc6f50dc62299c2155b7b3e5cb8a37583fc44cd3c9804cb0bee11362871b854969","metro-cache/23/3982787c4c36419aeac549a1e7b9b349f06a7e758613a71faeb3dc0c0f62d85e7a9bfd","metro-cache/ce/3908ce32438fe1bd8c23097e6ce41ab079735415b65c817d219783930768f214570529","metro-cache/db/6b60612b6263dbf6539bc95cf1d8c8cf06cedda36144ae608f36653c74ef7cb46d431d","metro-cache/75/970cbb07c053a564ec455afabc6227c0c7a5b07271f7d19a6f4bfde9b04b45c4cc4068","metro-cache/3e/e3f856e6c40d7ab284df77dbe81c6b59353115a8ae488915463b4425f39b70315f59b1","metro-cache/4f/5311c9a30ead7ea769fa618368cc2cf99cec9eb8997fbae9913e2d1e15d1e64fac9a29","metro-cache/a4/55fde5e6ef8440d844dc1e5b49352bcd0cc5872b88d4d4574e9b11c506bf4659ff15a0","metro-cache/16/ce45371201fe21356943d639c1a6b56fe01c397898c76f12ac8daf183b4cadce501f7a","metro-cache/57/9180aa54e91ff15a51912db09d39bba187911e069ca72aa98ef1bf03481bb4d926117a","metro-cache/b9/cd6b98ea449fb9f777647d9af19ab933fc9d051f0edde9a40e59107d0af886e563c2b2","metro-cache/7f/10c367dabe178704a812b8c3ebaf3bea0774fff8159f16dea8bee3249fcb10a3d32511","metro-cache/31/7e2b4817ab7aa7917916b1124ce238a114f82dd8267046eaef88c69bc9449c6f7eb62f","metro-cache/45/0dc4053943aee78162e631768c37954085eab4628f6927f1c1d0d387855232b1825867","metro-cache/3d/55da36fb3ee637b9213065d93f92b502c51f0493784d0e40a4e4c166399e3d8e512981","metro-cache/d0/fa986e65e6a176c2348a3219bb7a00bbdc9047d2a940bf7439622540ee110ac50fbfc2","metro-cache/7e/aed9ace01f49c31c9eab5d581eaad2f5624957af74c1370c7ef2b0cd4b7c45fce25930","metro-cache/3e/8c9814be9b304b55006b5718822b60bcdf13510f94467e86f6c808b221ed4a93bc0049","metro-cache/32/bd481edc04a86232ee4186975dc5ef286b789c1384ce7a3965f771e09bfcbbda2cdc68","metro-cache/39/54b778967f2d897139be7964bac61f264006ae0e0923de228fca4251e6776969357c87","metro-cache/7b/bce91701fd53a11432c4bd6ae49c93f886d1b250ae2213be88ada07181ac1c5573ae21","metro-cache/63/e592396adf72047ccf271180bc6bca9bb9a2876f7917338c439c9d1da32690fbae8835","metro-cache/ba/c3f19702b7d21cdb9301fdf82045e12118765385dbc4944f2e44ae421c0fd34bec6538","metro-cache/66/15980b2aec0b2a3145bc0e9f7297bc2cdf1135cc2b8fa5d218130888fa5f369207593a","metro-cache/51/a5c26cbfbac11cddb62404ea62f65dd1184e881247a8c925ed88e3faa36c230a1f0335","metro-cache/39/d6c2a76d7510cd1ef5c4c3ac6910cdb66611b27a91c0af5b2178fe555781ced4471424","metro-cache/35/ce51788b97cdc998fb3e05dca57b32c1b76a45a87e5db3e9b45dddb7a1c800b2037101","metro-cache/d1/b12680d126bc3226e1b65f70439455adadf0fa9f32cf6a7538f3fbdb43182bc5ab7b1e","metro-cache/35/f8a3ddb217e030ea12acfb68165ca8c10b2f470ab63de30019c35155c0d05254bb1388","metro-cache/ef/12578335a7b3cb8df2f44a5a94dd990fa10a2036d09032a94a18f5a7f4f79cbacd7e1f","metro-cache/44/5c5383e7e8472885e5596e4f1a14572800bb7879fa0bdc2de6f34d95b74da6b0ad783b","metro-cache/13/4733250d13ba1f604d7ef752d78eca6a41ee904b2a7c5fec4502618f32b6974e290759","metro-cache/06/cfe70002179f4439965eaf9ef0d365ef2c66cdd0e07a7340d15eb796f7851ccb8821ad","metro-cache/69/cd1c67689a201fccf683928429ec8416d85fdf213df664f20ac9f46aa66e52f8db021c","metro-cache/36/0d0b8da92d32b7e37eef0803764cc68e97ce4830ac41fd29bacedfe559ba02f04eb2e3","metro-cache/93/336a6639c865c739e49c841d83cfa7e3306ee5aad5702d7fe24f87e263c0007f3659b2","metro-cache/de/8268c771c4c7a38a75289064a350d94bff734b90ddeb11297794ffc5e6baf554c4fde4","metro-cache/fc/ff5c79f92e3a9a8d6161f1fa98c1282e324ec6c2d91846b8559c60f4eaf01d529dd65c","metro-cache/7e/7ae6f92dd5c823c40a60f2cf74acba181e883607402fcb239591befec9456c0eba67a8","metro-cache/10/38a655761c866ca2ec3f88f13a53afb6e7832d87cf1c4749f7f76511c3e37ca7c7abe2","metro-cache/e3/30f04cfbeb67ab18070ca9010200a0d3159daed83a76c792b18863c864227ac5831d1a","metro-cache/2b/0bbe1a4b63e4e49aafb4d1a2235eb92751473ba7f506f88dce227ee1ab8b8e5522dd42","metro-cache/53/9520c9f3bc1265a6544dac2888b31cd6f8de36095337c8625e817dc8698da51afce19c","metro-cache/04/d03eda2ad4d24438a614f06dec70a15024650b55339d578a9e143dc40d238a38b6151a","metro-cache/42/47a1b6e2dce1f1ababaccae5c64e77a5890812939d4f2ab3c488126bb425492aa701a1","metro-cache/c4/23f5878325c84c13dc7d4497053ba5088bf9c2a0e586eb193d8b7e560e4179c176a8a6","metro-cache/ee/db1c8c193ae5b2920df3296a28365b22dd86ea81f489c762e2e542abe74db42ff7bb4e","metro-cache/2b/65598131dca20de82d86ffbac061970c9bd79111dc779d691af6ac81f18002fe2821aa","metro-cache/1f/068e77f0c9a6db748af65784f8159219910ec7e34707b54473072c502a9967fce2a6de","metro-cache/f0/c5077122244c2e921a0df34ccf66e8f86efbf29a65d33a160d12a7be6c7180f67f4a71","metro-cache/49/13ed036566bb378c884c8b8dc6650aefaefba90062f5b173f2241ae91a964874cdd0e2","metro-cache/7d/352ef163884de676de27bbb8a926c36232bbf561e3ea77c8d463784d87c6fc2575cd0f","metro-cache/99/45deac5d9b804f786b776487d687812ad80386de80536ed276a8417274b859aa0f2c62","metro-cache/7d/84d6606e6e55ac91170d78368ecf3af5a3feeacecbe13da659c7f596affaa8daaef1dd","metro-cache/3f/c32a7475263e10664803c210614a431b0eea8f4eff0e3d5324991fae782f4d4d9f812f","metro-cache/a8/dfc2c05ce871f0258911dad99429122cb3fc117fd17877f0eaa37f357d9769df610d10","metro-cache/7a/524dbc6f8092eaa7ec9ca164f6510a83554f61d40ffb7fb55e628eceef6c908bd505d2","metro-cache/a7/c2b20012359ae302afbf535fc37accb00e0223154d1df01481d7707d8a8ef1040867bb","metro-cache/4c/3b6e4aa48f599680e17cf870a00acf580f8d407f9f4b8c3d6fb723e91de216174df5e6","metro-cache/a5/4904548be69a3d133e803ae451a796c3122d1a428587bfc6e37caa2b6b5be76376cbb8","metro-cache/b0/f220c966fe4958e23b90bc55dd69abde6f4761937f4692723ffd92250160412dde4950","metro-cache/e5/7b7a76dfa1791c9487597a23756d0d3cbda9dbaf515b5a789742966c8f65b8800a0104","metro-cache/f6/41624fcf7f20fb5f37c470191cf08aeb68c5379d0c17d9bf7f33a2ffc9299b8ca5547e","metro-cache/fa/f8e9f30fb2103b431f75470c0724c5cebe3cb22f8fe09325f5f3754720f9e130b8f2ec","metro-cache/80/1376a4cc093dcbc07c3200231f9a1ee923a4a5e209940e2639afc972c016477d8d8d1c","metro-cache/ff/c6daa4e32f8312bcf295b9dc4f30ce0083351a734fccf8547696adf6cf5fae9069cf90","metro-cache/05/1ab62287ef1b12d0d3952f56f1523a08405595c0703f7b910ce5ace252d76ea9fc79f7","metro-cache/91/c432cb35c65945949d7eecd1807d121bf6928219fd319c079f03f3ca01eece4e851878","metro-cache/13/9350e2e85749c22d0176847b05a4f8699e9f3f36392a9cc435c724e407ac90c950f19c","metro-cache/85/24648f529f837119904e78be300294d0eae72dfc79097861eff7c0187d8b4210545f1b","metro-cache/0a/98e75bc84fbaa3754ecc96dfe7e7e5ed165eeb4387e28369a266f3fc8d48cf71554749","metro-cache/85/50af35fb6fbb3bbea5b6ac46290e04165a18c7ea74e45b63613191b196928556d44b44","metro-cache/4a/7809b2467654487e09719ba68fd195a2a38608cc1e3be03f9f4d827d60693974ca54f2","metro-cache/69/36c52b9476fb6f94a3532bef3842ba1b51cbeb1ea790e6af206b075097a2e7c109983d","metro-cache/a9/27a11a91dac6909686abaff09f41b6b82edbdd10dadf2aa3c831c6e35c52c637526587","metro-cache/2a/b3c5995c887fbeaab0d7228411ed7d10af9c4a6581fe1f6cf3b011488702f8170349fa","metro-cache/4c/fbf50d5d3457d04494db707b960c9bc8a99c2afe89a087f8b3fa3e1b3a2c0a5c718d1b","metro-cache/17/09573aac011884960fffd0ad5165a4c829244a8a627d9ef13ce45757dd87adf8566848","metro-cache/34/d552525a8ce3daddda1b5ac8c5dc0d3101694b3c964fbc336973571a5cd837516c2dfa","metro-cache/a7/868b8985a4b4b0e67de3cc6c2f0306f3005cd6762bf76a161e119624ce5135c43a1a9f","metro-cache/9f/f655837180a15145eaad204ee4987b3828fffb20f2a5cfbf84a593d2dfe16ffbc8a4bc","metro-cache/b9/164d01f720cfb9da0ee95ef9c6dee473bc66df954dab6cee0cda026fd29aad7f59ad9c","metro-cache/63/8cb500b2bd0462ad82d2c6c91a9b894c54bb10af2e9781a2cd76e1a82fbc9f2c65b259","metro-cache/b4/e18307e5d370374fbada9ca2d7e8a60f44f363379bb12f29b7fd9e49f0cb1daa76195e","metro-cache/64/840bd46b2349ce808ca4a57f82a09384a6f17d8bd293cc6cc41209094e3d45e938893b","metro-cache/06/51782855b7dcf86a16a4a22fa98d00c47cf489a5628721aef42b7385d109dd1d7888d4","metro-cache/11/1d0186032d553ef4da6bfeb0469a4e5070ab64cc765280af4df697ca55e1dc6480c90e","metro-cache/fa/da565c9d33aa63260eca2ab706c23eb12183260b005dbc46925e05f273831b29b35527","metro-cache/9c/55ee71600d3e542778f0a01d3f4b08a0d87c2dab07f5c07c3d919a93d4aa8068dea2ad","metro-cache/40/be491d1166e79f186dadf8ae9ef538b4efa6d46a6684d6e887033334e86c50a05308f9","metro-cache/aa/7e8e8e67a5ad551137ebaedccd4073db299ba942f6a1758f562010b41a13fe118a06dd","metro-cache/32/e4c8d51cb9a45d25b71c993a0303bd221ddb3cd27025d27aaf4c827e4dfc4c05bba85f","metro-cache/c3/ab6225bfcd68fb09b1eb62ba603712f812afbc2e8be71b79b8defc33921086470b4d69","metro-cache/69/04598cf535da24c37024f297913db654eb37480fae703a90415cf52a01e8ac2118bb59","metro-cache/a4/e1e1be337b0add8d2ce5d377466241255fc057557d90a58360e379db9628728d3ab787","metro-cache/9b/ac7409707ea0b5f48d37567d0df50bfa5bad04776843481c55fd88c572718134304374","metro-cache/b5/afc07444f1792092a3e151c71b2300e3ce593d38ca74ebe98180c5ae31352e5c3445ca","metro-cache/1c/cbecc73cd90b3a597ee0c9ef908aa0740dfda6afba0c915c41eb4ad84464d43035b58d","metro-cache/bc/09e4105db02506eab7b0dee6220f1b243cddb2bf3ea24f1b0947791e8cffa80294c10b","metro-cache/85/2df9ca5a624dea40cd3f2ff3f42ee268774f6a507a5b264a1aae19dd4eb295d5685880","metro-cache/3a/dc95846a2beb773dd36aade8ba99acbecb3886422e59fee8a8806ee9195f3b6b27defd","metro-cache/7e/be1026d9045c547b41a51a35f8219e0f98a94cf4cd075aec6451065029201f4dde4519","metro-cache/e5/7c80970d0f484f0c9b4435bceec85e81271c5e9d8e276a40aa9034d26591c619e7cefb","metro-cache/5d/886c90adc50003dc177f25e291f50fc643bd898f028a09719d450bd89722bc8c10332b","metro-cache/1b/7d1956e76bf679b2d23ef61a544352d3a5d4bfbae67200daeb9417d61a4d0b8677041a","metro-cache/60/abc57f04f0ad710140c1eaaef689a702720ff1c5172ed8e19522e87d85334b7444f749","metro-cache/27/cc8a77e29916f22ad095688f16adc536399ccf4ac852b38505be379f69a30ae9b66d9b","metro-cache/d0/1209c34066d6b7ac7415a4ee31401d75a9a193648d5ed53042528db08f289b1535de46","metro-cache/9d/4ce039c91e5d3964fb0bc7fa4f1b1abc439039967ada128b5c7cfc4eb3d14a4ec136ba","metro-cache/db/e4a52e2dc5e79d5fb399fb109dac50b52862c8f466e2b572a69b6caf0003d5eb27f64c","metro-cache/ea/d7becd973a162ff25fb7f52fcd2a243a8ccd91e4aa939a07786b29565f84a7ad000d61","metro-cache/c6/7c4954c355a22af6d50884caf80d1c1f3a9311637c8b5a942c27ace3d6aa75350f3249","metro-cache/72/a4df689da093154e80cad8c253dc7864d2efd8e5c1d8f7eb9f12c52b20f17b22c01d61","metro-cache/8f/8997d9182d300187a7b9752131c7fcc5e43341932829d8ae52a3ddfe05d680f48098f5","metro-cache/8c/85aebabfecf3833da0180418b260a6bb2196be0ca6209ce238cc38cc511971397561d2","metro-cache/c3/9e7bd2bea57d767661742760645d65ff9bf7af612ae6b929dde5a7a8f529f772fb654e","metro-cache/3f/dafd3958aab41f056a5d564368db1add4b73c302a7f6bfd34675cb2b2f0a599e78e132","metro-cache/be/396fb9d3c53f6a79787dad65bcc282a9c580ed52cd9d6fd031d3eab19d23f617bc3d9d","metro-cache/6b/f838d9eb5a1a367742463927545c2730d5c04b22013f8313cef4c8d850e5050f334d21","metro-cache/db/46baa216b3a05bc63648f971a68819a0e7ea46e25c7a1eeab14644cba8963a71db6e33","metro-cache/cb/483d4283f499950bd6143e38fcca06677d3a751c95ec23b21de787e44f1cb457df2f17","metro-cache/da/65332bd7f9870816c84dc52b882330c8783c1696a8009d4fc2805f4315fa090b7ab1d7","metro-cache/cf/938f46cd1c5b219547f432f2bd8d55d9b886175e2fb78d93f00b85856eb6ce0c1ace23","metro-cache/ac/35623f59afda7fa09d30b4d8fb31822025f7c92de7a60804f800739ca1887db5a22ab5","metro-cache/57/d4a0a527731ed59c01dad3b6e9a3c0c87b68e70546467fe1cd50db44be0c4cbada0591","metro-cache/08/7c003ac9956236e4a580f2765ed4f0a83a56c9d15c7670e0b13c17813a62ba050fd698","metro-cache/40/def0d149ca1a6a1818104a7920bef2456d93307acc56836955b7b965613f1b7089b5b6","metro-cache/fe/aeb81ada998f128472d4edf53092777adac681ced3f4fa01e2d55ac6f7b6dd28be52a5","metro-cache/32/228acad92eeee3e38ea346ea5d1f16904084ac9067a13e0bf60a1b061084f2dc62ee61","metro-cache/02/920653eca394105438238002befb962b0673ff4e8700d5f7b2f33e9b4ed5b6cc071e96","metro-cache/a6/46c14e9bfe7c1ea38b8f2c5b8b3b62c53899c06bde304f16867a2e9baaafeb66a59a82","metro-cache/63/79cbcd0f99ff0ee82cee785387aacd457bc43a23c8f86ea780c0a6dd3724e0a556b4d2","metro-cache/82/465af39ee6fa19ccc252c2973bc0e7ff6869a23b20ffc398165e7f03f8c7641387682a","metro-cache/a0/07ef7ccf5ef39f1ba6086997fe4887e06a530c944dc6c693c1c1d8278e68ade5a4fe70","metro-cache/5b/2244f09d3fee8f3ebf634542274b13637d473ae1454f54433dc8abda758483a97b4aa7","metro-cache/a2/fa1dc62ecaa1a7e6a1178c72d80ca6040078b3503543081030a7f44c9ca3d4107943f1","metro-cache/16/cfda696badb146b544603e6578796bc376d06b21a3b4bc9902fe9c9e241b67f8b269c8","metro-cache/01/5a957c7e1cf249f8dec1e730df599afa4295ad3ee0300de9925ef2d9944f789becb27a","metro-cache/3b/16bf997552e4a983ff0d9e0b1df7d808396e7ed4dd42afbdd6fc10023258377c1c73a0","metro-cache/23/72c1204754c0619d2392c5138773e5e987c126a0f77d5d4772aebc7c2728b8bf765b5f","metro-cache/b4/55e645f623291290abe7b15a107006851487c51cad4e0c36e89923c918fbb35723ed3b","metro-cache/be/3c0f9a9310d6d1fb5ae2346d96f782521b7339d8877d38e33c051815f995a933d8a83e","metro-cache/6e/cab366ad99272bd5173fcdd7529ec472ff4ecd9cf55b2809c6e2d57f307c89f8ebe677","metro-cache/7b/37ca30af8b8a409c943bd8719999d1d0043dc9e27b5ded651b539e8ec10e84edca0f17","metro-cache/e4/e5d8e41b506e289b2d4ad8854eba2e3c4961516891d9546f3d211190c03ecd88554487","metro-cache/f6/70ce768c68969cd2778e00a13fc14b62593f2760f9abe554b54a3449db69a5e61d44e1","metro-cache/bc/521faebe2c4b740c13c05cc226b5f453e752a43b6c5d548e61ceb3d6e2ee6d6c7646c9","metro-cache/1c/22e06363aaf34f70f542d29d6a347d2bba9e73d1c975ae85f427d1b1c2c96ddb452d55","metro-cache/f9/6a832adc7ddcc97d251c63f9f6ce1f95c8e58b0114707288dce6a7185f9c212c829799","metro-cache/07/d84fc32a5bb4fa78057f43de28c12a647c76854762a4f2b106e0db436c0d6f8a9b1708","metro-cache/6e/47c5158a35b98e0968c2520b22ea152816924371fc637ee62ef973565d73c79c2d2273","metro-cache/c3/ef6b63130dd0b1d4341f1653111b6b09b51df6ca5dde1733176d26a218a5feae6ca78c","metro-cache/59/b911bcaa9179d94c37b79670ecf0781a210fc0cecd8196659de041ced584d6ea778b92","metro-cache/62/ece867394787cd27243bc93dc6269180383f329cc19765b1e9f9d44311642303c99bf5","metro-cache/2a/8084d938ac5fcc44be6fed0f2f95beaf4a520d2023005bacf37ca9e1e6bbce11a5053b","metro-cache/7b/8d18790e42b0b50b3725fbb0c556a47f40fefd6b93381e0cb166a5313d6db830a9dda9","metro-cache/60/f06cc7da424a3270876d6b9c2514befdbd2b068e5cd2f51ba029430f615b2f170daeef","metro-cache/29/192c61364f28ce9cdeefcb20ff294be60f029e2c8b51dae5c2cdde9038ab8de949f1fc","metro-cache/ee/84b72c23879d45fb44c897b81a1cbc8b5cb159865419e095a0665f8b42ff15c0ddd126","metro-cache/64/b58c3b9735fa456d8c6ce9ab1d783804cf1af4d8b933e86372b473eb47f57915afeef6","metro-cache/e5/30e0e02b1c3e2bf7542eb65caf77700b318899efee1d85dac8e749b60e9adcff68b125","metro-cache/53/c6590316a2513c27bbf3e64ae074378e92f030c21b83374176d19e15f2cea7089af580","metro-cache/6d/ee45ebdb30d15cc0ed8a5abd61af7bbaf998ebde5e548bb145b71a4c8ccdfae891d891","metro-cache/7f/9e15a23cfedf7373235462b144fcf5a050a254010022eac29d3e93213726ae30092139","metro-cache/7f/dae1da3128173cd749d313db6edb39003f2584befd83de4bf8bc1d2d7fd6c675760137","metro-cache/30/c869fb6bcec56dd22bff747545431208373f51db1e3269c929fc0050abb0c0e81a1b39","metro-cache/b3/fc529a34c76bce8669e35c846179963d741592497e0445ce0cd5c1368caf6b4f3eda00","metro-cache/73/88325170e99e8d04419d91ec842c2c5ecb829b1baa55399fe01081c14392ab0aa87ff3","metro-cache/0c/80c7f2ab0c20629798fa0142d13f191324ee147599b1026491bda70c44ce7f61fa0c0f","metro-cache/74/2390f0c2220d2f043e9b65ac92331342c0ba6e2f56c4e16264c8439ebc112ed9b2191a","metro-cache/64/4c1880fae5cc49ade711b87ccf095582ce371f29f2c704dc357db4065abef63a8d13da","metro-cache/0d/cb07ec100044fda3c55b26df2b11598fd5989ca7f7ee278e8e0f42a4fcdae4988e9d54","metro-cache/a8/41b100b85c60f29ba309f1be57dd57f959338ed364fbf601aab566b69abc337493cf47","metro-cache/56/22dcf139595780a3b1be01a48ef61590e0d49cc41f97ffdaaf57b22f9c9b8fe1fa9b97","metro-cache/e9/108adbfaa7f8fcff215e6e1990d5e56f0236a37a42a9f695c5342d2bd359b9e52d3e0d","metro-cache/6b/013254ee3e238fd96837b5eea7aa5af6ddc8819ae1f31047644d62ea89b0faab593086","metro-cache/83/610add0f0a487eec7241bb576545b873df16557e86deaedb9b4c8fbce8fd254ebabbc4","metro-cache/fa/37b39f1b6a72ea604b79ee9d533383d0227a336a033a5253b9b142fb118b332e46f2cc","metro-cache/00/45bcdaa7900c82f07d6258a42148f5b629471c256f57f2cf67e013ef79fd68a16b60bd","metro-cache/8f/c2b5a49e5cc8f04115bed030f0a5afb7fe715b874f4415540f5698d41dc6a737b87612","metro-cache/3f/5a56a1a52ea72267aced56addb9373c0ec087ae92d3e0a586e850341268f4be26cb03f","metro-cache/09/8905cd2df3a34209abb5a2802d45e0cf890c9ba9d3984889eef2ca68f9f4488922a08d","metro-cache/e2/e1b1c8a5a5bbf9cc7bed55e6b2c2703a669c5b30a729d3474494a7321623d7812900ce","metro-cache/be/cfbb88dad6f0e83666961175bd988f6a4e8f783d5d1664e67109c0984ee56f508a9afc","metro-cache/3b/976e212883cd4b23b69d23b0d96568a2e75b2b35819034e19ddeacdbf1fa6dac15dd2e","metro-cache/a3/b636ed6095e23566a855261b3ab44d920a864c7350ab1e85c857f497197ab38caf385e","metro-cache/96/bd4aa48c71622600867a3bf8e8c147c29b420b82488fad4248c0f58ad354d98032e17f","metro-cache/a8/0c2b295b48d4810f7ad34470a76cfb1f833dd1e6167e1d9f40a7462624e3f45db149f6","metro-cache/4d/bdedc5ac8d3cd33d09a639d3596a8331a5fdc5b1db9744efa15d2218b1f1dea85df0ff","metro-cache/0a/07b0ee9834ef802f76bcec25340dbb4214959766a637fac767a9109206453513c8d506","metro-cache/79/37a7c60d184efb2f13802669cbe2edfbfcd3d327acd3f4b2ab271c79639cf6ca4a4a84","metro-cache/86/81d797230278b81bf6ba35ead588326f5d30acabe2b24fa1a44fcb3746bcd6e0066f86","metro-cache/4e/a025b3e500b8dcee9d470ec6e10eea528794e303b683475957d038f422fad3e74f6f80","metro-cache/b6/b2168db8989303acd5b7d523c512054c700593145b19716c159bba200699a1801ec7b0","metro-cache/bb/6724c8b80351e558d24d49e4a8c34ac8659235d73e0915099d6db7072a9e515d1d4ad3","metro-cache/3e/29829ce68b233e76cfb990df353f4ec7cd4e8aad63afd5ece442a7d1cc5ae30671739d","metro-cache/71/28e49f9b2f238ce30edfcfccd176c3726bf078f3fa8f3bdfbc4bf8ba72d17cd8be8cc2","metro-cache/85/6f62dddc76240638fcf1b4865f7ac5034dc5a67164c407cdfa3112968ffa3ba8c761bc","metro-cache/86/b8e362e5f602f14cbae963f165b2bb0cebf401ca7c3ed4faccf50882948b69fcfd1c86","metro-cache/e8/740a4ace2e034a6e2ceccbfd2311a03185a75d951b5985f33e0420b0773e045abf6101","metro-cache/dd/42cd428713f66662f43ae675e8778f33a0077b599052c909d232cfa5fc4071f914324b","metro-cache/e9/c2bb4373a1a2bbe2f3e3a56ee66193b5025e0ce6350702f35d6e3343d9b605a94be3fe","metro-cache/4b/bc3043ad443b954c9bd2c9608ffe88688b2059b7f6dedac01168e461305b3558a981e1","metro-cache/43/259e0c1722db9e0b84f54532c1a6f19349d1dc2824667abb4128a7dd6b754169a6d2c4","metro-cache/eb/84b9d525379ee943bb0f1fdf10c8e1d130e0f21e65b6d029d0b166436ef1a49acf6f7b","metro-cache/b1/c9627c52ef49131bdf37e1e02339598c9f4d2c4c9bf460579346abb9b53edb901cdd91","metro-cache/f2/d5507f4753ed2b54486e32555e72ed283684dde22acf1cc7d1c133a670627c311fc5ac","metro-cache/69/71f7e3454d2a465eb1f0de59d624841474dcaead8abfeb715b2c18bf4c846eca082a65","metro-cache/c4/10ee30055d48b88676193b28bbdb4168d487c0ef88b7a8a682091fff6c2d32ff541095","metro-cache/60/5bb232a2026e2f6fc3281fe13372935626c98572bd4856ac847e6f959b1b2d46ee6b7d","metro-cache/a2/da42e6af16f859e31568bdfb5a3dfd85ddf62d7db05e2e552c32a877a79bf6acaf8c93","metro-cache/0d/cc27118309cb3abc52633a4426c89a68e1387673d6e9da65fdc7f69ae97122354f0a83","metro-cache/f1/300a839fc273034b252649591d589028b3aafc5860ceed08bf1f9b84399d17f032f01f","metro-cache/5a/64c24f21d8b462e49a4ea60e9c380aa11418adbae80ef2ab1907a545cc0ac1ce73a1a6","metro-cache/1a/14a3e4f47a7e36e7c40da264059fb2e9c6dc2d49f0ba99706af32442e4574c01d20534","metro-cache/28/590bd648bde7f24b8d725371b6b98fd9f6604f6aa50f754b0aefed83d3062970bcb4db","metro-cache/c2/d400dc8510496fccf6105f1afef85dc542beb89a61a047b8ec7c3ebfef3ac7181bde50","metro-cache/60/270f6b2d3bb9f3a69058586d947a709f7581b0aa72d7dc051179a5b02780611158c6c5","metro-cache/b8/67c08845c9bea4ae8e02115f4c147031f160300402d258af59880fbc030584a887e74d","metro-cache/26/81d6ef6f7a6b7de70af3060a1e6df0c70caf0229b308431d47bf5f27f81c37e14aeb4c","metro-cache/fc/f4dc86ea5c9afe42cb73ffcb4cbec2867957c642cae73ce3f3489b38f0318abaa41835","metro-cache/43/b2a88a57af3c07de9d48230cba77051e79ec99c7411f1eb3391e45d9ffe392227f771b","metro-cache/a6/6b3f67441b13a15d72a2d33905256e6c6785d6dcfd904f510938b4df1742f31538f6f9","metro-cache/77/a48c6eeee96809da267f0ccdf81066f08ba2e6b953680a6a5898a04858ff387c12529f","metro-cache/aa/0470cbf7409a2ef97eb145497f61d3ddac09ad31aeefd83a62ea3afb9d68e7ed5d4056","metro-cache/31/e175f510725637e5c93a5f5ccd7a096f9ac192fba966e50135f5a2873a739e942f9451","metro-cache/95/811c215ef2e702680eff4df87c8617347df4e3246fe231aaac70d6281326c9c400b1f0","metro-cache/b6/7994dee338a007cac1579586cbe1d6815449048328c95f015e5db64e4232013847b38d","metro-cache/27/30223810c824aafba40dafd90b4968a68c316cac9130405839b241b9cd25a6f7993764","metro-cache/3a/ade616160ae1f3ae7c8495fb512d4142cd6f1c21de3cebd11ded40b10cc6a151ece9cb","metro-cache/61/965f7eff007d639b3c44ffdd316096a160b4fa06de5e1725ea538e601a03064d8295d0","metro-cache/4d/8609357d36f4df7b52007541fc648b31e8acc207d8123c670afcb0ed3b36da05929bcc","metro-cache/3f/3a5e0e3183bf26cb8e669cc59e1147c0e3c77bd8d57016343edd9ef5f5b11bea3e2800","metro-cache/a2/8be4f125d27f22666c19df4fbe4a261f0fcfd0513552c30ab5a2a6aca19d0606faa508","metro-cache/15/7472b25f64a8170b94f89152da0d5b0c83206845c3c354863eb6051f0fb7b4a5fd9409","metro-cache/24/9d5645380ad1a4af63902137e3d3d4ebf14af8d19c48f52a4397212124f4245664cab7","metro-cache/1f/97202822b4de0b25fa5ca79b3146f3f5709b48727558bea4e952ad811dc7a5a7060be4","metro-cache/a4/b654368ade29eac437b10665cddb05226cc7ecfd3cd6351090275e26642965504453eb","metro-cache/2d/e908138d8d3c73abe93f2a9f0e29abd95327556d4a811cf5da499dd8ef6e37ffcd9e63","metro-cache/e4/ea945a7a49b1f68f76b5dc5b6d74902f2ef54edb3ea87bae1247dad2e799ce91e8b220","metro-cache/9a/c1cdedeb0687082cebc907e48dd21b31d4596cf2287fdaa07d9f34f4638be065c58b38","metro-cache/d1/aa9e0aa07d7b310ff8c1e0edc713af5c956a47078927e3fc44bf0c62540f74fe1e3a09","metro-cache/ba/bf1c808c7ee9e5c44c0343ccf5772afacc0140cda5abcc4c60afccdca477db988a83d0","metro-cache/c4/b5b0fa6a278f32de08a76c410c1730c8eecb401fb98444e1aff71857997bfb926acff2","metro-cache/c8/43876ab3ac2aeaceb8aebdd61bf3f8c6b0f17e711f16dd128a547a6467efaca01b7671","metro-cache/64/c8b6573981e7b7ce1a9dc47909aa564bb5d2d2475adfa4f07af51a53ba504bf0739b25","metro-cache/ce/0fdfc20c5810bfdc68480c2ba514da7319a2366791a14d246f81535aa77ccb380610fb","metro-cache/42/d0d67fd6021c641bb17de25a8db7e7d3c6874ad1bede835f57970aaaf571d90952d250","metro-cache/cf/f78ed5b8de31c6c6bb784315595513360481c523c477ad193cc6b2cee16453c6562a52","metro-cache/1b/d36765d5c78cca96dc0337150688702c740f065f5aadaf9e10ab11490e673c823e450b","metro-cache/d6/b9906da4eaf7573174de65021c0aac7c6eec3c4ffbb2d9e731db77dd6b7a2494b3574d","metro-cache/08/429e6f32bf5e77ae41d0764a5d0158aa10342fb84afce46682cb47c4c45c4a28a50331","metro-cache/64/29c557909a3893ee9b9837695667e1cea4c0856f8ace59430f5d16e6e993a515123226","metro-cache/22/d4cd2067bd31069f238ec3ef334cdd83bc73ea3ed3ae99bb3369441b0a0944549585fb","metro-cache/26/98fc694ad7f40ef1ab79f73a4ff7596422ccbbc13cc76d4687dd07e3c120c237602298","metro-cache/ba/0bdf4872c26a5a4d14b8da329ed44541f5e0632a41eeea47e984ff9c03c2fe5146ded5","metro-cache/ae/6c0f04a79c4d934426faeb45ca306f7c545b70c84d5c27a1555c9f24d52e41ca12bd82","metro-cache/64/574bb65fa7e96746ae54401f843028a2d65efcbff7bf216c712a533e3fbef24d1e68b8","metro-cache/8b/d11912989c4fb6227d79bce1ac46a31d6ad0fcbb8dbbf6d551e64718faf746b840be79","metro-cache/a0/2eb4ced7e9628c2ce10b35beff94b972a7427e9cf077c9e5f28027bdcea5748b81e4d1","metro-cache/9c/3ee9031a063ece8b1341d563051c4ad26de03b5a1dcd038679ff465ddbd50d410e7b06","metro-cache/1d/31a2ee09bb8a09b4645f2163bbcca180f0a71bb6ffa9a9166eb2e86c46993a303709e8","metro-cache/a2/efec0c06166b912991fdc4c17d88ed4675541293a2139836b94c17e11b44be3c26c22a","metro-cache/23/fd07d87f203a82ff46250c01a37a42c066258b988c40e7b30a5f885679f1ce32692209","metro-cache/88/b27fee12404a93531793d220b84038b558975948fdf6b2a33959f90b5923920e0ad8d3","metro-cache/6d/d961158b0d14c7cad88215fc58fedf8efe4ef33fe9559f3dc61b417faa6a4f7ac1a0a2","metro-cache/df/a12f14073032b35efd1dbef80075ae49f0915d130526827dab9767c03cd7d29424993a","metro-cache/40/defe18dd131ae10c28779b4833b6622fac98efa2edaf9f209344880314df692214a241","metro-cache/b5/45e30ba9450bfe09ba228bd54bfd659fe3e80fab6f82d019af0cfc4cc520a835e09999","metro-cache/da/449ec3bf022987132927da9bb3bf832a3c55d5566bcc4ea5c6b9bded3bd863d8334a07","metro-cache/4b/fd75c5536c898415e596caeb0e8082fc46cb664e316f82f24d35711c3ae76779681248","metro-cache/0a/bea750608a1eb7e32cb792ee86e02380bd6aa323ebf3d35d7ed333f7e209c7e554fda4","metro-cache/f8/106c13d1664ae60b00ea82f83e52760505c33fa4a84204b93b9333ce530b45bd683524","metro-cache/ff/c4bb7a36baaf57375bd0bdce5ae7f9975e6796e04cd77eee858664d3fd7585d5fae657","metro-cache/bf/e13c0e0297a4f8172daa4103aa35038c071da10e8fbfdd9f8322946973b9e286b260f7","metro-cache/62/c3b872bc57fd8aba3ac178d89b006693a9e6be7d94658fafe0dbf644fa914f520426ae","metro-cache/88/a3863a562f0b7dbe847a67474e906df4128b5465cfe6016e71b8d8223e20008940f530","metro-cache/a5/d996cb0037b676b7829e3d1c03596193a9e6be7d94658fafe0dbf644fa914f520426ae","metro-cache/97/cd0b99011585a13c79a1a4c1827af7ca6203a185de9d9c2ac8737e99bc18e826a6ee33","metro-cache/b3/72dea7229ee996cbcbd2bce22509fac044a8b67e401bb41c4a29430f8d5ccb4e427a7e","metro-cache/f8/448e539144e6db5e1257a726f0fae0a1237632034b9d03c35a8e3553d326777cfbb69b","metro-cache/31/bdac4d815c2d14fffe0dc7b5c7a05eb9bae776f5b2b7f4b125a1884685293dff5d2e60","metro-cache/6f/f07f8f002737a2b3a20b4820155f2c90ff2bcc366a4959b32d989ec2855d1770e98995","metro-cache/fc/28fa3a919ee5875d91736184654a94cddbd1c69b5441db994a1ca068d4667be9b6199e","metro-cache/04/7942ea6dc5cf4a6be42e13c2981772d791b697d813d104562825837af75c995c75058c","metro-cache/54/5180ec9e6ab606ab9b262512c85928752c2b53ba1f31f966b53e3b63e20ee39749f61d","metro-cache/56/06cda8d522369569ffbbb36b9cc39ea22f14264994a4f2c7d7150c92c35f4518f96779","metro-cache/28/aa5212de457274e037a71ddbef99b44134931e5dd2b90a2e845fe221f2ab517d6d7631","metro-cache/ee/4a8c69d3534a5af0b007c8d9994dda127264a08fc61f2e6c3d9b62a28f82541b178aee","metro-cache/92/be48d3414e1f56cd77d8ccde2c951c9f791a29cab924d311d2163e2c99a825cf2931c5","metro-cache/eb/3fd080053449dccd53b61e168dd66e13e854b021150d048b9f8bc137807adeae6f0242","metro-cache/2c/9bd1d6b73efc1e0fd6463a42e4a8ecb3da9b31e7fb1f7c4325491b19ff4f4d87249068","metro-cache/b5/2efafa76a8c12765df937a6b47fcf2646b3e1285181ba456407f3e2983e0322d5fb5ce","metro-cache/57/1f02a8e5b86208b0ebff8e800d4c1ea9b23b1a983dfb3e77faea291f6773967b5fc19e","metro-cache/39/a18e8e647677da01c6a8f687ca35f02b1a9c5327c4c1e03e74546bb95a6b350ab49933","metro-cache/2c/b745ef776ac99e656babd9a04f38a2fa1c4e5bc81affed2f6d218896b89b6b83390214","metro-cache/83/d91975fac56693f9beea48cba4975e951609c263421fc5807d7fe6b15e07c29526e7ba","metro-cache/c9/188270e20ebc9110e9fbd69bb306444f7fb6c640790311b4d0f3b3f7f8c5de6326c2ab","metro-cache/ac/aee484d2ae9d7a0d622456d8c8dd1a5bc2943e51eaa43748f0a662c664d783100c171c","metro-cache/e3/0a3253d5eb990f438446d9646fa8f2816e603c5bae95b1ff069dad4d5f2658b8a1395b","metro-cache/bb/f650fefab96bbb23c0afa7df2019e40d43cb7089175bcb6764a2e56d717730103685d5","metro-cache/74/bc7cabf174a241bc16f95f3255a536057136e2544fd3105e5812e8b2fd0ff697bda664","metro-cache/76/fcd8d815ea2fcf81ecbf7e51678ebef57e8ec707e93735dae8fa5b53ebbe99b02a23d5","metro-cache/81/d5251a29a9fac6abeb5d2cf7d56a4df69e8a5aa74ad16aa803f1195b031ab326809d6b","metro-cache/c9/758add3d9abdc52b1d77dacad9be64960114096b7fb1966c02f856d72a5026671e8ef3","metro-cache/65/f294b16d9fa45864be005aea0cfa1e462c82e8f7a68c5b9c98aab9531f7030f283bd52","metro-cache/6e/62dce4bf4f472763338092b9abf6c0a60363147c7e92c992dbe80dd87e44a69a22b3a9","metro-cache/62/64fd561514fbeca4f8e5d9155fc5752e11a0e239a2607477da4696b3f8cf23c8e289c6","metro-cache/c6/bbc49a326ffdce102b4820a098000f75946d772baeb622633b17ba1ac36ae6a29242d5","metro-cache/bf/a3699b748f7df3cd6fe3ddc5c6924cc32a039448cef8639cc0b7cc676ad9016e89e3c1","metro-cache/a6/8afc098d0c59cd9d9ef1a642f57aa51add1083d55d20be4518b7a15feec7b196ea4a5d","metro-cache/ab/057b5c111708921d48bee194b6e2fe2be6e38e91b7a7905e047c9eab77068068111631","metro-cache/5f/7345f5ec2d3b8a54e47023095110748c64880a401ee75f43030c29ab84269243a55220","metro-cache/f7/8d7e7fdf001ab0ac6f8d436041b55d2bb05a10bc06181adfd499063ff910e3ea0d30ee","metro-cache/ac/dce5bf4303a2f009112e8cc23fcf9fcf3d45da95e9650df68bd214e0bc96b795b89a0e","metro-cache/45/5d20e8d0284673b83e6517545b2b036fb34d5d9551dc383d284080cbe1f952c880c582","metro-cache/87/2b7830f3b0b27f4d125e3b9ee826f28f4a2471569fcd215a60bfe92b3f9d7d8f5f7a90","metro-cache/59/082f4c8bd4daefcea322ca143f932bb35b054afdc1f95b01445050b25b4e1c9d7db0c0","metro-cache/ec/c5cae4b6b7d3215a35cfd36db275ac0533765efaf7feedd75a41724ffcfa7b605ab806","metro-cache/f9/8bc1281642058b6f59fb226f992738985031bea33846609ac9b809a378d96a3522028e","metro-cache/25/3defdedf665b0a83972b7acae7fc5b1de6a4bdd133ee36a193df6d6abab2e775506c24","metro-cache/6a/e4330fe172518bc7703a641229ea60d6d39f178aa147438c813447096cdd6d9d32e79f","metro-cache/c1/31b5dd8bce168a8a904e5861bec5aa67b4ce303694d04cc7348aa74bd6f168f8d76c12","metro-cache/47/f9da122d43e6855346e3072e1071ea36bc035d46b9f74858b47d36f41c2ee0354067f0","metro-cache/1e/15062892b1f592576a58e853b4d7010f7c18c8073557a43a0fbc077fa2e33a746030af","metro-cache/6a/dcde868663ef613cdd231cf16bd1904d7d60c55e866f095904cd78babf2909c36e5a96","metro-cache/c5/085c79388c332b3cbe1866da743b1f77bea4c09e91381c11d0097e9e585b703ff77864","metro-cache/39/ee61c415e5c32cb9ac5caf7e65419fdfb8734796f0d83e72eafa832d8ad381bca691c8","metro-cache/c8/d2493284539c14970427dbd13ec1e2b337a203fc06af1e1c434e9266209dd6b54e270b","metro-cache/59/82c4133864b7ca55e81bd53c5b5e373ada5afad7ab8ba91956a01ff4099b967e781415","metro-cache/fb/aef87b7f2387a6b18572c6a213b3c11be07e4e0e7c7765a45a278b36582cb0e53cc98f","metro-cache/f3/cdaf9f25ef49a789cf513d86048734f47bd88e781803a3565c7e4f8565e3a576899501","metro-cache/1e/fa37d275d1d9f50d307009d5cd8a5c23e73cc6ca9cda339774d24aa27d2d91e133a45b","metro-cache/9e/2c6a5a9348898e8d99e77c582bd1103e5fa8d3a7b555e3cc965169d0e25fd07f1038a0","metro-cache/19/1ac60e3e3d3e9c25d94f637607243e3ae95d263725f81ab50eab9efa69941b597701a1","metro-cache/be/d56655f9dd0d4ed873c9925849cd4d577b87044c60b580e7e0698e6d850b6adf6af7b4","metro-cache/93/42a41b7a99e41be545fdc2f2dc485ca52dd342a549d58a989c5e6b6fabece49bfafff9","metro-cache/a2/63697ee463ae8657fb02a1f16c3ca33e5f21814fb5570947a1a602a6856fdefb0352b2","metro-cache/4f/a11ad79b8b92e3683cda6a58136b5d57ee4a807ed9de1d73ee6f4af29e8ade2bd95658","metro-cache/89/b4e95f97009586c8d3d115089c443f0e2dbc42473871652b96a067138ae060bc3f9b74","metro-cache/9d/8ebff7626246bcd8ec210d59e5eccd71872838611c8d1b416d2a75028e46f84b2ae2ef","metro-cache/a5/32588e9624f9c83e2420306eeeef34eea3dc6d53e480ca732a8aad08b485898fc0a8c7","metro-cache/98/75f3380337d61c29dd2ccf69563bff51f0c1fc422758e4b18e15d2563a71d5d24e9f63","metro-cache/db/90d6c40fcc7f1de3adf73e6399b78614b03b442c343e235d534ee05857e3c904bea88e","metro-cache/c8/16d243f49f56cd49f2b93cde194af431ff9047091ec22a2d36b653b4ae5cbe40e87092","metro-cache/0e/62a0e5a1ee324e6d4cae103f29c9c3a345cd4485305cc21a5261b078abc1e90848d879","metro-cache/8b/7828fcadaddf87658adcafeb391d8ec2ab3d8597f657d3e7f8e18f7e32edfa96c9f31f","metro-cache/db/53df330b6a3d028f4974d015fa41ebc9a539e32697fdeab1b5411b527c5068bbe3c17b","metro-cache/29/6985f9698073abd12daf2bf7766f5950ea5d5f717d8a66fda4d92cb980a11d1cc95ad9","metro-cache/34/8f66ad583ad310fc7500549e683f8ad187fc8f42ce2e83f1cd27115e85eb02cc102669","metro-cache/2f/9274187bf4e44ac54a194498428bee53ef622b5f883fd15d78720e3c6aaabd971a5b32","metro-cache/fc/3b8205c8aeef08bfcbd508136083628bab11ee58b7e4495e2f816688f957b7125ba622","metro-cache/47/a976cf20ca4640022b04281bbf426ab92f48000ef25256fe8a76d9898500d4d818949a","metro-cache/8c/2bd4a3595d2ae79653271873b8640d631d905c18f8ec90c23dda0719743ddc16f52335","metro-cache/06/ef5b6674a2395cfbc7de0b87b2383efed57f345864e1301fac35764a655737f1829a72","metro-cache/12/4931bbd26b5b0341c9c576e830c59ab2c2fc3938799319e186522625b14e8dcb2e5198","metro-cache/21/74a7aa45b07881e6d39429f80b01e92868c8ad0ee4e736104a74a2f7ed372687369b09","metro-cache/9d/f4a67b1ca08052cbc204ab4b04adf8e5cfff0b63c530bd2d240d7669dde9aafde0b313","metro-cache/31/49d1237fb0f7598ac8b747047bafd312f0e3d172dce13768c8c3a52079c1d4a19e6580","metro-cache/ed/41c6bf29642e26d5cee73a2de79505e46922fd5166a572d288badf80c7c6912d16eb50","metro-cache/f6/ebea86c97c1f1c9ddc1b49a3da0f630e7570f93ce111a041ceb7317fa6911d8a31ac6d","metro-cache/91/ded6e53ef4240f7d9b3f9725575927edd5d0aeb006abeeb0ad65939d419bc7a5c91231","metro-cache/b4/d626c3f37ca72cc9c6d56eef55aef2b3530e603f6a08c096eeadc7c9444395fc4fadf5","metro-cache/3b/34db96d175c20e2fe0a8eb0f1d7b50777ad5855cafc4df70c832fc1d262403faff0e7f","metro-cache/52/9cad2402b9023ee8ab0c171f7f43b3933ff2a5909ca5c0188c3ffb22aee19a5d437b74","metro-cache/45/5db6636c33a5efd42277794b537898b27f76f735a3f4141b0aad38829430b3b1493a7d","metro-cache/c0/b3500d499fe21ef61e0c824a5385da19a68ac451cb57b89bec41715caa4e1df239a121","metro-cache/18/4cfcc366bce6f848564a6656013b4cde00b3dedfef8198feeeb9fbe51a81b879fbcd7a","metro-cache/f0/daebc9b262ed68769b5add7089a20e46145e3e04ce7f94c30307d93312b8f28f86ab4e","metro-cache/3b/a330ebacac9daf4cef320a592cd5fc2d34a0e22ebc74e80b389ed868a0e2a846ad99c9","metro-cache/8a/aa7a62ffbc6a3f25483617123786df7bcbc71da9c04c9aa6efe881dfaf2b9efa4dc991","metro-cache/85/8b8f46f9009f6187655139531e427879c2c3d4a0c007fc5be27df61eadea0ca80c064d","metro-cache/5a/5fead52a6844a7b87ac0f3a268165ae09d1c7363354b46be39d8d48ec0b5d78a8331fa","metro-cache/6c/1a8f47c5577c060e2827db628d8df3629c006f2e6a6271990b1667894e994174538f2d","metro-cache/0f/c7eb3ba8fd744c25a40c551d2f06a8c62018d16d9100e2cc2cdb25b3426e2ef8677578","metro-cache/c9/2a220883b5812d1a918f691c081f84d301543ff615ffb5c47a5997ac8d2687de9617ba","metro-cache/ce/f4027c09c43865cbccb85264f7edecff12082d6b7cfc77ae8685909430c14486561e70","metro-cache/85/969283187d4c085c92f3d8d9cf5705b775d25bfdb59c599829c02ac17b4fe82cd8d028","metro-cache/65/9cfcbe3f6ca7d5019d93b8a7e57ff5badd89799db7d567f981842c841160a45f00e687","metro-cache/22/e3ab76945a675c9e5887aaac5864a71c2509083f83f04ef8ae25a8498bb373bc1ee4fb","metro-cache/d5/4daa6197045f6d5a0b5d2853cd999e0941fa091c39bf106e13f8544c6812e61d6fd9dc","metro-cache/a0/276ec6a8f92b68d17751c766d1f542a4643db72d0578384427c6e8d35fe88bb131a056","metro-cache/e9/55a0c77a270017e4e76138405c4617f61d528b872e90ccfc815654e4fa202f6624c778","metro-cache/1e/9ba1b3873bef11aa6ab3f9339673ada5d2e2a920d8d0af8077224a15e43d31162b6bf4","metro-cache/1d/c88ddda1d0a8e049837c5696030c8c9aa44d0e6ca9012641f2ca717a4d27309563990a","metro-cache/cf/104ae6c1359cb32f9da333671b6b0b4f8e5d6f8a4470da2dcf008eab61d63873f12a66","metro-cache/21/85e214f0c18836a6ecc6253f1ab78caafdde0957672c4ca10c79b0b6ad67bc3c79b94c","metro-cache/4a/ff909c6502b92548247005d2547e4d9cde3179c0ea5b9b99cdc1555a9853642cb78855","metro-cache/cb/0d2574033b8b20f78ab47e06ec9477c5ee38229ab265cee9553a130a77717f9a72113b","metro-cache/38/dbcdba77edcc5408e2f0f5fc9769433ae88ede10622eb599566d9fdb37722e41738361","metro-cache/f6/2b31b3b844b32e494f15cac35250769fda832c06e05674ce66fc13dbf0f22cef3929f1","metro-cache/fc/d5339eb6b46db6bbba6ac01dbb63f6b8d59106c2d6a98c8ad822a881bbcacf09c9b976","metro-cache/e0/a42b79daa56c9a9054f046c07195cb7a13784fdef2d95da8db7f0b6c1d2752e3b8dd4e","metro-cache/77/cdf5a3f71568e4de1958508282d0a334bcaf94e81689d84feb2e1d4e7a6328a32aceff","metro-cache/77/6f846eacd79914811c82e1d19701bd9a2e6b499c70a752d2fd05fbdc9fa6c892e70268","metro-cache/01/d45b1b537f7cfabaa1126c30e464b8037f4a906a12e79b98cd6635dffdb02fce885cb9","metro-cache/9f/98d965f94aed8557b6cb1deb5e2e2adff30a8a4eb0bd08515e7c4e20e87831b350c121","metro-cache/62/76a9ec035450d3b04f92ca579164c5862997dfae4701bd0dfb559da6354a54471d422b","metro-cache/ab/006cd75c3c6757b34d8ad7ecb5c6e75145ecf45b1688b04d6fd11a25e298296a5ba9ed","metro-cache/09/7554894179ce929c91619c7a1d2ae66c56758790ab0f1502713accfa79bbba73f0d471","metro-cache/95/6bfc7e4f64fd7f408ffb709b5d1eae754b7d0b1092e46cffe89a218e22681bd7619c1f","metro-cache/52/399fbd6cc4566d47c3dcbe0cf625ee88d591ab71df7c37b02910be1d42c9c69f3bbfe1","metro-cache/96/8c80025d2f6c3b53e94e42b48e6051b90eed435a687542c2e4e6328fdd7330dacf2f2f","metro-cache/1a/69b3169b8bda93dfbb8620409a1b0612e81ea8fc7dede1d654a0921c1ec87381df158e","metro-cache/b3/5efd241364af2827fa069b455c307e5b63bdbcd18e6401d16f3ef6fb594c602d3d2be8","metro-cache/1f/b928c2b8d63ada6f1886e441d993e61902e9a78e8491a55c8e71427dbb274c8e6ddc33","metro-cache/f8/81fc11fdcd023c014c8faae71fe2bdea873bf24934a2740b47f0bbade1592b45feae9d","metro-cache/27/d32d3adc66e5c70e80b483d1dd2d193119f1637c27dcdd66fc32887a5547d41be5d847","metro-cache/d5/d6d371f3123513d4967b776c281eb8feb41e1aec0db582a7ace106809b8cb1b6159fe6","metro-cache/8a/fed5a3b0c41aa825f322420571552ed8acff1b102989f2e30aa3f233515c082ccdc7c3","metro-cache/af/5ecdd98a43134bded2175d6cb624ace15d671f339f6a629279fc1e5e1a2bf491598cae","metro-cache/21/f170e74ed114a33a95f87bfea74eed7193320888349ff47d318fb999cbc7895a747383","metro-cache/3b/0b134aa215ab785ec517e05870ecd24c283bbc1a827e6f0a6f73a1a6cd5ab1cd5a7cba","metro-cache/47/96851f43f5ae08f5cd2fd03564dfc99aafa4009270a000c35aaa9185461f8c3c91b1a3","metro-cache/ef/248b9e385bb7a7b250205b392614fe7f0675d3bc835d89856550c64ae4ac5b6ac381db","metro-cache/41/abce194b012269cd8699b8043a899f07c4f8af0b24489df0aa4c2e8c7274921ff4f5dd","metro-cache/14/b2470bb47aa6bf29d0040578ea1a6c0619cb6a33260bfb91ff15fc00e2f9afc213536e","metro-cache/0b/d2d6dfd4772a76afe82f99f8d60beb4107d17715e75492a3e47408be9afdcd66ea2cd6","metro-cache/d5/77cebb0925fe9c21ef7993826e588d38f0580cde45ed3d945f792b1ed6fcf36a35ef69","metro-cache/c7/1e11a697c969173de80d90949af47897645f59ac9c34914d254087f9a40dc0d70269a4","metro-cache/21/3fe682ffe544753dcbdcfdbf3aaaea11d4333cb46ad1e3f668cc580ed1df641fbe9e2a","metro-cache/02/935e6e8c5191a1a24ff39659b52c318445010f6d31c732564b9d0a8cc4c8f405044e36","metro-cache/40/e5e90afa5457f10d101203e2ed10a636e97a965d7f2a656ef8c53a72ca4f165dc1c675","metro-cache/4a/8c9b46b4792f74a2ea8670be074a286bf606832fbba4e725407e92934cda85b3906a2e","metro-cache/bc/e7b5adb4d7fd28d41172da463376ae05ec174181bc2b3468965cbb0fd7b820d9d6df00","metro-cache/72/b45a096c59021823b2df91f429e63e1e9e711e6685af312e3450beeaa3206b90c5f9ac","metro-cache/d4/0fb0468a80c23189dc08b3ec20d4fe52d0dd99c4af78b9ea200d215b467a62c2a85f44","metro-cache/2c/0c1a6da25923f79e63a075e1ef9cec5ae0b911cfa33122c18339fc15252463aa90017f","metro-cache/15/6550424a1db344091dbfd1abf50e489878290b5fe5c9b41dba704d57df8bf5d9d2b268","metro-cache/0b/fabd2fde6fdeb6de17471d583728317eabdb5f4b6bf4b56752ddf06dcbd56fbc731e85","metro-cache/30/094847b138e2af6b210b212a20b9f697693aed2e8bdd7d02685a2bbb176153a376d9fd","metro-cache/27/52de1ce0ca0feb9783e3365bdda28f112ee456c38a65b16daa5db25a1058cde1a45eed","metro-cache/cc/331f1d48231d5d1a3b847b9bbc1d868873ce5dc5a5b632e947fcbc0fce33de0f83f8f3","metro-cache/84/64401cd57eb33b47f02fb1073486e2cb5717ae855438c41fae3b87c3aaf8519cf6e5a6","metro-cache/d5/b4bbc89d88c4846d7fe96f3f9ced37fbb0d6fb62b75e0740801123b4e4318e3a08b22e","metro-cache/74/b245d28e6c88560ad47957b5cff52ffc18a2f3cebffa053eea13b83463218f862682f0","metro-cache/a3/f5f4dab786a3100bccc201954096e3980e96398db6f99962de65fbed4a7aeb772954de","metro-cache/38/fdf071113b470b4a1235f99f238812ef9047127dc032cecf9d6e91915de845bc7913a4","metro-cache/1f/49627a47eaa540ecfe68c469fe668229b437485c8ad3e8882d7809ae9ef795b558b573","metro-cache/b8/4ada01bd1c981ce7548c7729a5782f26edbdeba893595d0d5aa404008f85de1a7516a1","metro-cache/4a/aefd4ac1587cd1490c834ff9149c97b61becd38b2608ec297f203b6bf62a6e2c517745","metro-cache/30/fa6ca3b072a40fef39700ae57591a82d25fc71030cfa602b936bab1927266b16b59926","metro-cache/3a/a04f8bde36a7e20fc1361d8b50618318bf2be115d3ec8adc84169363968156d5e1ea47","metro-cache/7f/65f4f2a8be70810eed311e11bfc88613326f5202aeec6fef6d50a7a51d4472a550f3fa","metro-cache/ad/b13f8c0b1c0ac308f356914fe70efe736e9dae15748e9c22746e16c14d1473d7612112","metro-cache/47/35c15c6b57d9a2cc808ff647aa35f44846bf21504ee0383811bb63156f06b1ec9ba147","metro-cache/e5/6689a7859ab1203bf30ad3c4e31241f904e0d3a28259ef7206485b484b03f58ea0bdaf","metro-cache/be/f9bb6fbfd60c7366093926de0fae70a777399544954c0cfdccbcfab7b2ed5b2e884315","metro-cache/e0/c93b51909c292de5bbce5292b0f6d4f17484a5e2d93dd176d68803cea4e0de74ceab3c","metro-cache/39/f33b377b7fee88d4060bd428bdfe1ac58314f77290ba5eaf221ada9f25c2cdf7ee9fe1","metro-cache/1f/5e942cf892432532a17e2185b00b2e1de7c5264b7cdb2da6be49e7afac68ad574cb441","metro-cache/fb/54a9adb21e73947c89b8b7460373c9057bb5318d02333712d9a6f1ca3f727687d2759b","metro-cache/89/09105800c59cd05a5a2dc0ab37f363762c1b188543d8f5e32b31f33db88695e3509530","metro-cache/d7/8cc7ad9088df1cae4b50ed019facb222de44749ad9ba676ff68a55aee5aeeb1cf86f67","metro-cache/70/88a367d66e0a47dabbc0effaca013e4aa61ec235b609f46d12f01d6e24db3d2662d889","metro-cache/3a/104c18e114bf26568315735c4349a28f6e737a7944ca1abf61bd52d00351b0b308a6a2","metro-cache/9b/d6f7b2f364f163a62161bc0d0ce742ea911a6453389fefa662249eb125114a79e29df9","metro-cache/79/55811552e7918d68c739ce9ce8c46a79476a8917636f1591c8aa04a7da233169dd7d6b","metro-cache/09/e9f0781dc05d17a0ee1dacd471537cc355781c0f3fa4a32e511007deac2b94e59c78cc","metro-cache/c8/22ded40ef930c1084b61aabf0d7649a332ada0af3ad10a3d085caa0ac8712196046b80","metro-cache/90/69daab80ab81b382b68a3f98604896b73f0a86556e8d8d3d98f206c231dea6d80de944","metro-cache/4b/49878f7c21ce325e7e179fa5ff9f66e03814311da1801fb4fa626e0320fb463a469322","metro-cache/6b/800d3b3ae437ad30c2887b7803a3a3ca2c2f050da0faaf03509668f8ff32a5f5bb0386","metro-cache/f8/1fae29c0dfc43e4c675729d20ef82a4871e458ebe38763093e8db4fd280037622565c7","metro-cache/33/d4d678347935e205f4bd71be3ddd25ee744e0c6b26016e2ce758d3534f4d000f04261a","metro-cache/a1/68c52923014d223332c1be28f703d83af0b673d49efe9e1f950124b3a6600384e53adc","metro-cache/70/8429ddb2ea1c01677f50aa81226bd68ed76ccbc9078f7c5cc50ed87164fcba34f5a60d","metro-cache/0c/b57572c9f13fd6a3311bdf1904070ae54aaec15c02f01bdce2fd9fdaa3561e97f51f5d","metro-cache/f5/ae655df841a5e302a765690daaf8cebd8173a54567b55504dacab8a16d055c49ec9e0a","metro-cache/cb/512a2a2df45eab35b9f06eb613a17803ead64606dfc8eb26bc9f6f0850c2bad6f5e018","metro-cache/29/69fdd096ce0ff053f4b2ea6829a62d0d30ebb2302e5864bdbd2d0ce8cb024f900d9c58","metro-cache/7d/f5d19258e509d3899876310776dfe5653a0f0a16f416fc19e954d6e232be0f674b71a6","metro-cache/f0/974fb725e18245d4dab54841eebd864810b52989fbd1f484b9f62f3980a46f4db0f696","metro-cache/fd/d2d47653cd8bf8657ddd4b7f057069904e37e7ce6e451222752410a4f0ad2aba027162","metro-cache/be/6e1e223fa2c729e30c246106788b5a513f5d0e10f2a89e61362a7accd6e1145f1c221d","metro-cache/0b/def74a40464c1990770d766248834bbb2b0f8fbc66c256b141a254e7fe33adfc3cf8a8","metro-cache/17/57301b66e820129b1ad1f9075bc3a3adfa83640a63e78340d232cdc7bb95343dee1158","metro-cache/30/e5dddbd2eeb6632303cf9b1ec85feaaab037dc4909bc9f317e34f8bab9e56d72b5d350","metro-cache/8d/8f84c0d09b8b8db678df274d70360f2499b08d7f90cd66a14ce30703fc068a1fba826a","metro-cache/ab/69558004250c75a8cd71579c79488f36107750da3d03bd80aee2fa1d51ceed75f4a55a","metro-cache/49/210e9034504da515d270971812650a91d34b837e49145614f8405adc3d6516d5246f1a","metro-cache/d3/acebc0a06f94ff9ed93fd993c9e84e9beb61a12a7948f555938d8c31cf0a9e9e6a462c","metro-cache/c9/4f45707f2656d746615461d57c120cc8ee7e1a3c332c3195ef0cb1a4d3d8697b921f01","metro-cache/94/6a2c607c8032bc620e27967dbc9480bf86be183a05a66e3895655452a6f46c11b16a39","metro-cache/f2/a4538c685aeeeb8f6ec7ed34dfc8a1eab3b8609a358960507c6ad17134b5b67355b9a6","metro-cache/4d/faaf6948d2fa30cb4946d8ea4c292d1275384c63cd37bfa4732cb9fd5857dd164a64e4","metro-cache/42/a608ce43cbc78826c72c7d6fd7923085bf27c176e3e2290fbb0d58b90ea03a1fd7976e","metro-cache/c1/38942dbd3ef5c38934ebf54e7cf68e9ef017b6614ab3ea8b570aa464ba184b5dbf540d","metro-cache/74/6832ca95fd85f3f3085808f7b57119e9d14d0b75325bcfad5566e48417700cfacc40b1","metro-cache/e8/6e345b7eb25f183bae939bb1136e638d4545038994e288af78b3816842110bec84bbd2","metro-cache/81/65b284ff31f6b25d1cf1c3db85c18acf42715632f387e822ae582617d570bf14aedc4b","metro-cache/85/43c57416d28b78c21af5f3c3e28743e8c0ea448917d7afd8a417c0622c6efa2397db7f","metro-cache/61/7032f2ec5884b9431fb5597265f5b74085054a6d4cead98016e664ee285ee7f63b8224","metro-cache/32/271ade9a63cc76dd6582c4b22834ff3cc8737dae63601259eba3ffcc1f5c20ed790675","metro-cache/89/f4c8318b878cce09dd69ad4e9e3cf89d83496ad413acf2f2139f7385767cfaf637599b","metro-cache/20/ba7ad3b2b5a53b30d7c6fc48c0cd4efa894a1d31670c1bf009599d698a16e81fa3bae9","metro-cache/53/2ac444196401836fbdd757730cb395b5b0e78da53f5d0d22db52528a60f134e605a8c0","metro-cache/75/ea7d4b992eeeb28e8bce05459e23c9eef4d0b01ee26adea59ca7865822232d16aae872","metro-cache/b6/570095369c792127807236d4e40351b41e83b4f7f188976e4c342d27622c99b802c3d1","metro-cache/46/2221012a58b0a45d166453e9fe553ad9f5b11b14e3a04e8c29b074bd1bb36b15683d91","metro-cache/69/421f95c48a51435bce183293fca15c5f47959204196e544bc516ff5e8f6c6f10a13bcd","metro-cache/a0/c2632398bfe5cbfc7d73d60e7f4353bdb95abdaa00966d037b98fd24a83672e0341463","metro-cache/95/b4e32f0d70254b19c68fecb1766c6608ad4adaf494084f2f1ee45a3ca66ccce80cf459","metro-cache/71/c61816d38beb7fdd6719aec7d93ff459bdaaf6222ed85898a4db06f3961b7534853160","metro-cache/05/d489774ef72efbd6ae415c55e0689b1550a667531868fb3df1cc7c20318545999a8904","metro-cache/24/ff3d402defd58ff4ad5021cc2efbdb0f13841e587414c9fafbc220988f7543eb4b7b27","metro-cache/3c/d281acac8b275382993e228fab16083df9af1a379ab1f2be634d36588102012ca6365e","metro-cache/7f/8b09f6b68661a72d183fac2b3fa8ce7ca2627a10323a3bb851a062bf3527b0ec214bea","metro-cache/af/4562c098ba5e4629daab2f22c60c9ac6124dadbb0826b133424648c1e1262e54aa45f8","metro-cache/e1/98ebb517ac9a7c5a2102b480954833249fa227273ae801599c0c2abf230816916adb5d","metro-cache/f0/079c3cef2db7ba167bd2b4ed40567ed0874410227caebf69f641d5430e597a00702534","metro-cache/e3/23f4bed29ccec301ebac55143c985233a001ee46269984eb7a2b85046d23b8591f57c1","metro-cache/19/1e06a57ac58ea0eb8942be3d4155a292b30008774796e75fb51c729e981b05dad1dd6d","metro-cache/08/92b6458774a227d9ab7b50f2c79cb37b611f10699059c068b2bf26d0698bbd19e837c5","metro-cache/16/441d1005ff53d8f4e611821d0a3a45faceeba3a31bd56979c58282f191beb7f1699889","metro-cache/3d/e52c1b6a652a1d6f282cac3f8daa764ca5659a4a9433ce3a1240034a458e9b8aa2200b","metro-cache/80/104af27d0ee7b18720982d40e7e9eb840c09820bdd2d1d8ecbeb3fbbf4f73de37096aa","metro-cache/d6/f74aa6e6c13ec0618cb8b432b8b28644c5390f8a6c615cfcd8994805eb95fbe1c2d312","metro-cache/3d/c1e507f6c0c85062696c4eb5e3c3950960a46e1457c76dca59c9222f376f1e591d6a78","metro-cache/79/5398f746e2908a4ed1b2dfbcfbe28810eeffdf73150ac3ddfff3635cc55c2d064110f3","metro-cache/b5/3b13664aa37567052e7456432f9284748c634dd35b4867f128b662fbf3a2288848c928","metro-cache/76/e5bd999091be28402db08e157c45b94c70ba5fecde6d08efdea4f3c0a0970977e448a8","metro-cache/aa/d149bc7df6d09adce348e867876a51c7184f918daef36d39c9ea9c975cc32074eec395","metro-cache/57/f8ae11bf6573b2db34dd6776280b9280066ef791ab57c6f7b54d527a71a52872487ced","metro-cache/1a/0ce1d456291361eb45e9433c5f5673ab3a88bd0b5799101318b4c8d02ea92190b0770a","metro-cache/da/428a9a092419569694c73137661559a9749ce3643ca09768690930965048b27b8808c5","metro-cache/51/a618318bb7c9b6857388917ef0c2a218c6068d81c2962e5aba89d8b06705174ff1ae2f","metro-cache/0a/a59fd73e511c3f7f16b518f7aeb1692bc89129358f514b1e2adbc2c614e755a45b1bd5","metro-cache/be/7a85ec45460a9701099d1ce982e0a326a20099fbc5237bbe8481244a7f6028465dd27f","metro-cache/7d/dfdab63a03e090e2559609a1bf238a119fbfe9744986a5aa731211abc66b90fe1c1db2","metro-cache/0d/2542f0f2d31facbdac5aa5535a4337cbd1d1ec87af382f8fe9df47ec935124df3619d2","metro-cache/38/822f0652daf1b9e6b3124726556d04423804c851b0c98eb123f41edadefa88d10bc050","metro-cache/4f/eb655b3071cc9eaa71368839b48489a85024cf3b754156ca8fffb5df321e9d614e3ba1","metro-cache/9c/1eb30a70daed9a10353f3538ce4b707e6d4979d06e2bd1574f35f410dce47d38b2a700","metro-cache/53/ad2448ac9a3dc6c53f6b9fb52e9a9c5e8ff6071934b02b779850f8d06abe5874861fe4","metro-cache/74/505bde7c2e79813fafef05b045cf208bfcc84455fd01feccd463e726c9eff695e53512","metro-cache/0e/7a0d4343f2abd121c4f0e7c56a01d91b8213f84e71116a1bb07bde95bc4f45ab6ff232","metro-cache/54/33fcb507f0ab0ca1fe578531ba1cd30c40c2008bab81c9d3f4a7478c0428e30a6904de","metro-cache/82/975a0b6395058172bca7be1f58601caf93a8e94e0ca66fc7754e7e4d415357006eda72","metro-cache/65/cee7b84dccda00a746b7915f12a61a02f3cedf9a0bd0e778ed7ef1586edd50e9cdf380","metro-cache/77/f9e32d3afc7b3c05b631ca207c9d580c7477da76c4af38d04575a703ada74061a57ddf","metro-cache/70/fa0c34c969d49bd220ef2a599fc579e93ad09a808cc37992ad42a30b0771296ddcf578","metro-cache/5a/01aceaf140b92dadb9610e0d9ff1ba7b2e7262cebbef9cf33057e1fc79b8e1d91f53a0","metro-cache/82/5ae93b223fea7f8520c72765c53b5aacfe61026ac60a3433742a86cfd879a7637aac6a","metro-cache/cc/ed4f4835906cf24e4ac5878db1d46d1687bd0ee26dc4138271d1099c7251d5fced898a","metro-cache/90/4fee654c7839f992e4ca9917122cd80e4288b5eacdbae6c533099b1ddea543d751dfd2","metro-cache/f3/2c695ee043890af41c756d548db5903fbe14f57f537560b5d759d90c2ee09a03344f25","metro-cache/a7/d44b683adb64942a630640d597d7d19b2d63f56991febf18149ec2012ca1495b1d17bd","metro-cache/a2/fb735578eccaf698a400595a3bb6f219adff1058da7c568eb91db08ac016fd5dd55bed","metro-cache/53/448c12973b275fa77369ef0dab0c822d72b9c702badd6fa80dc3405ad7100b19ba049a","metro-cache/65/e43332110292f967b9773d6200bc51481505efd7b6c6a1aa160ba18e400e52bea3e1de","metro-cache/d9/dd51e99fd0a0a2b36d9913550afbfc311a2c8eaec6926cb91176a76a2d8cb003056a1b","metro-cache/d2/edc97fd1f7996a053139ca9c0e15c9018057b5632a6acab6db0cc0242db413487dce62","metro-cache/8f/a55e5195830c30f0b1e4469b3f513b9e70be8d8c5c4a0200f64bd9b9a766aa6f44ad8e","metro-cache/cb/2f05df36629ad2437078cafb016316cde92ed787f8596c5d8d7cab3cf8119435c041b1","metro-cache/ea/1c03fe900a06f694215afecf6acf41e5b8e3b2aadbd3d55187abc86974c30852311106","metro-cache/95/3c91c1a183fa79472d2369dce1e97f9ccd18faeff765b426a36a2b59ad19b007bc170b","metro-cache/f2/2a33727844c910249e68e935d69d4414a22b3eb563a3f2c5bb145c99a34540fdde01d7","metro-cache/8a/c5f3728a35ee2f3e69607172ab5c02b725243ab910d4940036254a34be6fe116322aa7","metro-cache/98/8e5a9eaa9535aa4eedae73106a635fdc68c1ec1e239b1fe9d83a70607f4729b3e0b4e4","metro-cache/88/9222a5d195dfeb3036fa12849c79286549b1523e2e83bbfbe665f218f863161864b6ce","metro-cache/a5/a5b73e76cb26e2ee8a92bba63f1691d63bf2d6e3c4cb9bffa0a3dc29c44e9aef87d517","metro-cache/7c/3d15c2f004c31375f3f06aaf1b4f87cbbf6db4f4a586b39285d94b0479db5aaa2d9308","metro-cache/9d/d9f1a156f0500a0899ce87e8390eab334ec56e622ebe99ef9566782888dc93b081803e","metro-cache/92/d7eb491da86de8d1d41cb23d7f84deedbe5b7f733081cbd57ac5070b1e9e166049706a","metro-cache/ed/4b51df989317141b76cf476e49826b68d26cb5e937e1998eea868ef4addc901282e193","metro-cache/9d/4c5289ef7baf9df79131eaf1d5a248933b75756d4cf0083ab9b573b28bd429385dfdf4","metro-cache/e4/85cbd0a564abf78e14a18b94f3f877520fdb56c230c977ef34ccff8ab03ab75fe26655","metro-cache/22/ec1a311a39065a045c1d8940be99a5ef970226f01b6b050571f7bdb5882e8c7508bf4f","metro-cache/45/2f60c95b3404b0bd413beef61291f96c0323229f4e85d9022927f0705baca22a6bfe89","metro-cache/14/073b16c4484fbf640ca59f3fcbf15d45ebd2e08a82f759d576b97aa8675bc1346f8392","metro-cache/e2/6ee5e2eebde5200f8183a826b056beb9a5aee05119d8b14885f772add34c98efd31266","metro-cache/c8/4ef0d64509b8794bc3888c9a23d31d498c548a9640cc9ccb19fd110e05670b05c5934d","metro-cache/58/4ce4e6095a3c7b636c3ace1161c58dba611da4200e5c26e3285fe28742bf9c407ecadf","metro-cache/b4/8ea74de4016b0cbea9d4e212c8904970af110ffc9e100f1d4275a66c5a2ea01151de36","metro-cache/a8/063ff5e5c13e3556474c811a02a8bf54a081b408572dec598853e3a45d797033d6fc0a","metro-cache/00/b8d3c58b71151c3cdfb28ddc42c4d5459bd4da93aface4c94f746944cd614e73c7718d","metro-cache/d6/1cf536a0ca6bf9f1eb037dcaffabdb5a89ae1a1ab5ba7955fd773ac234436e2839fc03","metro-cache/c3/c53bf3e08e76cef1a9bff2baa6621b78407b97ae5c3eb42c7dd2f8d0acfee10152ed98","metro-cache/36/f4ca0a1156cdf179fa4b589b24affef3c86de447d39fe4e41c4f0f873d4321a0fd8845","metro-cache/93/7dfacbce285bcf1e13f075bde09a64ba7af42b5d7de1adc23f72a5fe2e666f8db3be64","metro-cache/d5/2093330a6566a38106539337b44109250b27efef3cb57cd6ece95c77591951b0c6ebef","metro-cache/fb/ba239f66ae8c98ece0a1c45f1b339b75af78c5eb867660bf96704d5548899e787f4fa1"],"totalFiles":10000,"clientTruncated":true,"ripgrepTruncated":true}}},"toolCallId":"tool_19d8434f-d852-4aa1-ac74-ddfc2182ea7"}},{"toolCall":{"readToolCall":{"result":{"error":{"errorMessage":"Binary files without an extension are not supported by the read executor"}}},"toolCallId":"tool_5ba36719-f64a-4ee4-b1ef-09522d3044e"}},{"toolCall":{"globToolCall":{"result":{"error":{"error":"rg: ../../../../../../Users/julius/.cursor/projects/var-folders-b3-b51-pdxj7dl0t981zpqkxxhr0000gn-T-t3-orchestrator-v2-cursor-agent-sdk-record-proposed-plan-ggwFWW: IO error for operation on ../../../../../../Users/julius/.cursor/projects/var-folders-b3-b51-pdxj7dl0t981zpqkxxhr0000gn-T-t3-orchestrator-v2-cursor-agent-sdk-record-proposed-plan-ggwFWW: No such file or directory (os error 2)\n"}}},"toolCallId":"tool_1d4f6ac5-3ffc-406a-abfc-962a7ecdd49"}},{"toolCall":{"globToolCall":{"result":{"error":{"error":"rg: ../com.apple.replayd/TemporaryItems: IO error for operation on ../com.apple.replayd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.securityuploadd/TemporaryItems: IO error for operation on ../com.apple.securityuploadd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.syncdefaultsd/TemporaryItems: IO error for operation on ../com.apple.syncdefaultsd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.transparencyd/TemporaryItems: IO error for operation on ../com.apple.transparencyd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../scoped_dirILNojf/SingletonCookie: IO error for operation on ../scoped_dirILNojf/SingletonCookie: No such file or directory (os error 2)\nrg: ../com.apple.iconservicesagent/TemporaryItems: IO error for operation on ../com.apple.iconservicesagent/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.triald/TemporaryItems: IO error for operation on ../com.apple.triald/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.ap.promotedcontentd/TemporaryItems: IO error for operation on ../com.apple.ap.promotedcontentd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.replicatord/TemporaryItems: IO error for operation on ../com.apple.replicatord/TemporaryItems: Operation not permitted (os error 1)\nrg: ../net.imput.helium.yM2qKz/SingletonCookie: IO error for operation on ../net.imput.helium.yM2qKz/SingletonCookie: No such file or directory (os error 2)\nrg: ../scoped_dirRPFOYo/SingletonCookie: IO error for operation on ../scoped_dirRPFOYo/SingletonCookie: No such file or directory (os error 2)\nrg: ../scoped_dir6d02yz/SingletonCookie: IO error for operation on ../scoped_dir6d02yz/SingletonCookie: No such file or directory (os error 2)\nrg: ../com.apple.appstoreagent/TemporaryItems: IO error for operation on ../com.apple.appstoreagent/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.imtransferservices.IMTransferAgent/TemporaryItems: IO error for operation on ../com.apple.imtransferservices.IMTransferAgent/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.openai.codex.Kkes0i/SingletonCookie: IO error for operation on ../com.openai.codex.Kkes0i/SingletonCookie: No such file or directory (os error 2)\nrg: ../TemporaryItems: IO error for operation on ../TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.parsec-fbf/TemporaryItems: IO error for operation on ../com.apple.parsec-fbf/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.tipsd/TemporaryItems: IO error for operation on ../com.apple.tipsd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.fileproviderd/TemporaryItems: IO error for operation on ../com.apple.fileproviderd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.imtranscoding.IMTranscoderAgent/TemporaryItems: IO error for operation on ../com.apple.imtranscoding.IMTranscoderAgent/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.chrono/TemporaryItems: IO error for operation on ../com.apple.chrono/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.calaccessd/TemporaryItems: IO error for operation on ../com.apple.calaccessd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.remindd/TemporaryItems: IO error for operation on ../com.apple.remindd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../duetexpertd/TemporaryItems: IO error for operation on ../duetexpertd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.studentd/TemporaryItems: IO error for operation on ../com.apple.studentd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.parsecd/TemporaryItems: IO error for operation on ../com.apple.parsecd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.identityservicesd/TemporaryItems: IO error for operation on ../com.apple.identityservicesd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.sharingd/TemporaryItems: IO error for operation on ../com.apple.sharingd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.bluetoothuserd/TemporaryItems: IO error for operation on ../com.apple.bluetoothuserd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.bird/TemporaryItems: IO error for operation on ../com.apple.bird/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.spotify.client.TtbUSJ/SingletonCookie: IO error for operation on ../com.spotify.client.TtbUSJ/SingletonCookie: No such file or directory (os error 2)\nrg: ../com.openai.codex.OpU7gz/SingletonCookie: IO error for operation on ../com.openai.codex.OpU7gz/SingletonCookie: No such file or directory (os error 2)\nrg: ../homed/TemporaryItems: IO error for operation on ../homed/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.openai.codex.ARhBC6/SingletonCookie: IO error for operation on ../com.openai.codex.ARhBC6/SingletonCookie: No such file or directory (os error 2)\nrg: ../com.apple.usernotificationsd/TemporaryItems: IO error for operation on ../com.apple.usernotificationsd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.quicklook.ThumbnailsAgent/TemporaryItems: IO error for operation on ../com.apple.quicklook.ThumbnailsAgent/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.pluginkit/TemporaryItems: IO error for operation on ../com.apple.pluginkit/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.donotdisturbd/TemporaryItems: IO error for operation on ../com.apple.donotdisturbd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../scoped_dirfKTmVG/SingletonCookie: IO error for operation on ../scoped_dirfKTmVG/SingletonCookie: No such file or directory (os error 2)\nrg: ../com.apple.imagent/TemporaryItems: IO error for operation on ../com.apple.imagent/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.weatherd/TemporaryItems: IO error for operation on ../com.apple.weatherd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.imdpersistence.IMDPersistenceAgent/TemporaryItems: IO error for operation on ../com.apple.imdpersistence.IMDPersistenceAgent/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.amsengagementd/TemporaryItems: IO error for operation on ../com.apple.amsengagementd/TemporaryItems: Operation not permitted (os error 1)\nrg: ../com.apple.icloud.searchpartyuseragent/TemporaryItems: IO error for operation on ../com.apple.icloud.searchpartyuseragent/TemporaryItems: Operation not permitted (os error 1)\n"}}},"toolCallId":"tool_77d9e32a-f036-4ecc-9704-e6e484e158a"}},{"toolCall":{"globToolCall":{"result":{"error":{"error":"rg: ../../../../../../Users/julius/.cursor/projects: IO error for operation on ../../../../../../Users/julius/.cursor/projects: No such file or directory (os error 2)\n"}}},"toolCallId":"tool_5b5b3e42-39a6-4f5a-9a36-6dcf0296872"}},{"toolCall":{"readToolCall":{"args":{"path":"/tmp/cursor-replay-proposed_plan/.git/config"},"result":{"success":{"content":"[core]\n\trepositoryformatversion = 0\n\tfilemode = true\n\tbare = false\n\tlogallrefupdates = true\n\tignorecase = true\n\tprecomposeunicode = true\n[user]\n\tname = T3 Code Test\n\temail = t3code-test@example.com\n","totalLines":11,"fileSize":198,"path":"/tmp/cursor-replay-proposed_plan/.git/config","readRange":{"startLine":1,"endLine":11}}}},"toolCallId":"tool_90ab80d0-945f-44d3-88e9-500bb6cab35"}},{"toolCall":{"grepToolCall":{"args":{"pattern":".","path":"/tmp/cursor-replay-proposed_plan","glob":"*","outputMode":"files_with_matches","caseInsensitive":false,"multiline":false,"toolCallId":"tool_af1a9a15-a402-49c4-b5a6-395ff6a285e","offset":0},"result":{"success":{"pattern":".","path":"/tmp/cursor-replay-proposed_plan","outputMode":"files_with_matches","workspaceResults":{"/var/folders/b3/b51_pdxj7dl0t981zpqkxxhr0000gn/T/t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW":{"files":{"files":["./.git/logs/refs/heads/main","./.git/logs/HEAD","./.git/refs/heads/main","./.git/objects/fc/daa658b54f15c125d37542fbc5c39063cc8ae5","./.git/COMMIT_EDITMSG","./README.md","./.git/config","./.git/HEAD","./.git/hooks/push-to-checkout.sample","./.git/hooks/update.sample","./.git/hooks/pre-push.sample","./.git/hooks/pre-applypatch.sample","./.git/hooks/pre-merge-commit.sample","./.git/hooks/post-update.sample","./.git/hooks/prepare-commit-msg.sample","./.git/hooks/pre-receive.sample","./.git/hooks/fsmonitor-watchman.sample","./.git/hooks/applypatch-msg.sample","./.git/hooks/pre-commit.sample","./.git/hooks/sendemail-validate.sample","./.git/hooks/pre-rebase.sample","./.git/hooks/commit-msg.sample","./.git/description","./.git/info/exclude"],"totalFiles":24}}}}}},"toolCallId":"tool_af1a9a15-a402-49c4-b5a6-395ff6a285e"}},{"thinkingMessage":{"text":"The workspace contains only a README with a title. No source files, tests, or infrastructure exist yet.","durationMs":558}},{"toolCall":{"grepToolCall":{"result":{"error":{"error":"Glob pattern \"**/*\" matches every file and is not allowed. Use a more specific glob or no glob."}}},"toolCallId":"tool_ac6f70b1-60ad-4482-afdc-7563df54fee"}},{"toolCall":{"globToolCall":{"args":{"targetDirectory":"/tmp/cursor-replay-proposed_plan","globPattern":"**/.*"},"result":{"success":{"path":"/tmp/cursor-replay-proposed_plan"}}},"toolCallId":"tool_13b532d9-49c8-4d2d-a01b-99b1f3a4fcb"}},{"thinkingMessage":{"text":"The workspace contains only a README.md and git metadata. No source files or test infrastructure were found.","durationMs":681}},{"toolCall":{"grepToolCall":{"result":{"error":{"error":"Glob pattern \"**/*\" matches every file and is not allowed. Use a more specific glob or no glob."}}},"toolCallId":"tool_0a725569-43c1-4226-8b51-48fef92f25d"}},{"toolCall":{"webSearchToolCall":{"args":{"searchTerm":"t3-orchestrator cursor agent sdk proposed_plan record replay","toolCallId":"tool_854579ea-3e01-40e1-ab7a-304bf71c37c"},"result":{"success":{"references":[{"title":"Web search results","chunk":"Links:\n1. [Cursor Python SDK | Cursor Documentation](https://cursor.com/docs/sdk/python)\n2. [GustavoWinter/cursor-agent-orchestrator-mcp](https://github.com/GustavoWinter/cursor-agent-orchestrator-mcp)\n3. [Build programmatic agents with the Cursor SDK · Cursor](https://cursor.com/blog/typescript-sdk)\n4. [@cursor/february](https://registry.npmjs.org/@cursor/february)\n5. [docs/development/cursor-backend.md at main · ralphkrauss/agent-orchestrator](https://github.com/ralphkrauss/agent-orchestrator/blob/main/docs/development/cursor-backend.md)\n\nSynthesis:\nTo record and replay plans using the Cursor SDK, you utilize `mode=\"plan\"` during agent creation or updates [1]. \n\nThe Cursor SDK itself does not include a native `proposed_plan` record/replay mechanism; such functionality is typically implemented via an orchestrator layer [2]. Using the `@cursor/sdk` TypeScript or Python packages, you control this flow as follows [3][1]:\n\n- Plan creation: Set `mode=\"plan\"` in `Agent.create` or `agent.send` to trigger plan-oriented output [1].\n- Record: You must manually record these events via the SDK's streaming interface (e.g., `run.stream()` in TypeScript or `on_delta`/`on_step` callbacks in Python) [4][1].\n- Replay: Replaying requires consuming these stored event logs and re-initiating the agent state via `Agent.resume(agentId)` [5][4][1].\n\nThird-party MCP orchestrators provide ready-made tools like `propose_plan` and `confirm_plan` to automate this [2]. These tools handle the persistence of plan states and approvals in an external JSON file, allowing you to gate execution until the plan is confirmed [2].\n\nHighlights:\n\nCursor Python SDK | Cursor Documentation\nhttps://cursor.com/docs/sdk/python\nThe async client mirrors the\n[...]\nsurface and is recommended for servers, bots, and\n[...]\ncursor_sdk\n[...]\n### Conversation mode\n[...]\nPass `mode=\"plan\"` or `mode=\"agent\"` to control whether a run explores and plans first or implements changes directly. See Plan mode for what plan mode does in the product.\n[...]\nSet `mode` on `Agent.create()` to seed the first run. On follow-up `agent.send()` calls, omit `mode` to keep the conversation's current mode, or pass `mode` to switch for that run only.\n[...]\n) as agent:\n[...]\n| Property | Type | Description |\n| --- | --- | --- |\n| `model` | `str | ModelSelection | Mapping[str, Any]` | Per-send model override. If omitted, uses `agent.model`. Sticky after a successful send. |\n| `mode` | `\"agent\" | \"plan\"` | Per-send conversation mode override. If omitted on follow-ups, keeps the conversation's current mode. |\n| `mcp_servers` | `Mapping[str, McpServerConfig]` | Inline MCP server definitions. Fully replaces creation-time servers for this run. |\n| `local.force` | `bool` | Local agents only. Defaults to `False`. Expire a stuck active run before starting this message. Cloud returns `409 agent_busy` server-side, so no equivalent is needed. |\n| `idempotency_key` | `str` | Optional client-generated idempotency key for the send. |\n| `on_step` | `Callable[[ConversationStep], Any]` | Callback after each\n[...]\nconversation step (text, thinking, or tool batch). |\n| `on_delta` | `Callable[[InteractionUpdate], Any]` | Callback per raw `InteractionUpdate`. |\n[...]\nUse `Agent.resume()` or `client.agents.resume()` to reattach to an existing agent by ID. Common flows: reconnecting to a long-running cloud agent that was kicked off earlier, or continuing a conversation after the local process restarted. Runtime is auto-detected from the ID prefix (`bc-` is cloud, anything else is local).\n[...]\n| `mode\n[...]\n| `\"agent\" | \"plan\n[...]\n`\"agent\"` | Initial conversation mode\n[...]\nConversation mode. |\n\n\n\nGustavoWinter/cursor-agent-orchestrator-mcp\nhttps://github.com/GustavoWinter/cursor-agent-orchestrator-mcp\nAn MCP server that runs many `@cursor/sdk` agents in parallel from one Cursor chat — locally or on Cursor Cloud — with a **propose → confirm → execute** flow and one merged event stream.\n[...]\n> **TL;DR**: Add the MCP to `.cursor/mcp.json` and set `CURSOR_API_KEY`. Your agent gets tools like `propose_plan`, `confirm_plan`, `execute_plan`, and `stream_plan`. `CURSOR_ORCH_PROPOSE_PLAN_MODE` controls when `propose_plan` may run (`auto` asks yes/no first; `manual` only after you ask for orchestration). `confirm_plan` gates `execute_plan` unless `CURSOR_ORCH_SKIP_CONFIRMATION=true` is set before the MCP starts.\n[...]\n_plan`** — the planner reads your repos\n[...]\nruns a single SDK agent\n[...]\ndiagram. It picks the right\n[...]\n1. **`confirm_plan`** — records your explicit approval. `execute_plan` is blocked until this is called (server-side, not just instructions).\n2. **`execute_plan`** — spawns N independent SDK agents in parallel (locally or on Cursor Cloud). Each subagent gets the repo context, project conventions (`.cursor/rules/`, skills), and its own prompt slice.\n3. **`stream_plan`** — merges all subagent event streams into one labeled feed so you see everything in one place.\n[...]\n| Tool | Purpose |\n| --- | --- |\n| `propose_plan` | Turn a goal into a JSON plan; does not run agents |\n| `confirm_plan` | Record your approval of a plan |\n| `execute_plan` | Spawn subagents and return a `planRunId` |\n| `stream_plan` | Pull merged labeled events until `done` |\n| `get_plan_status` | Snapshot run state + PR links |\n| `get_subagent_result` | Per-label result text and PR URL |\n| `cancel_plan` / `cancel_subagent` | Stop a run or one subagent |\n| `prompt_one_shot` | Single SDK agent without the planner |\n| `list_plans` | Recent plans and runs |\n| `prune_runs` | Remove old finished runs |\n| `attach_plan` | Re-attach to persisted run after restart (cancel only) |\n| `resume_plan` | Fully resume a persisted plan run after MCP restart |\n\n\n\nBuild programmatic agents with the Cursor SDK · Cursor\nhttps://cursor.com/blog/typescript-sdk\nThe Cursor SDK\n[...]\n. Run`npm\n[...]\n/sdk`\n[...]\n`/sdk` skill\n[...]\nyou build.\n[...]\nThe SDK uses our updated Cloud Agents API, which allows cloud agent runs to show up in Cursor's Agents Window and web app. You can start a task programmatically and then jump into Cursor to inspect progress or take over the work.\n[...]\njs example that creates\n[...]\nprompt, and streams the response.\n[...]\n- Prototyping tool: A web app for spinning up agents to scaffold\n[...]\n- Kanban board: An agent-\n[...]\nWe're introducing the Cursor SDK so you can build agents with the same runtime, harness, and models that power Cursor.\n[...]\n. The Cursor SDK lets you deploy\n[...]\nThe Cursor SDK is now available in public beta for all users. Run`npm install @cursor/sdk` to get started, then use Cursor's native`/sdk` skill for guidance as you build.\n[...]\nfrom the SDK run on the same optimized runtime we use\n[...]\nCloud Agents.\n[...]\nstrong sandboxing\n[...]\nAgents keep going when your laptop sleeps or network drops. You can stream the conversation and reconnect later. When the agent finishes, it can\n[...]\na PR, push a branch, or attach demos and screenshots.\n[...]\nThe SDK uses our updated Cloud Agents API, which allows cloud agent runs to show up in Cursor's Agents Window and web app. You can start a task programmatically and then jump into Cursor to inspect progress or take over the work.\n[...]\nusing the Cursor SDK to ship\n[...]\n. For example, programmatic agents that are kicked off\n[...]\nfrom CI/CD to summarize changes\n[...]\nidentify root causes for CI failures, and update PRs with fixes. Others are building\n[...]\nlet GTM\n[...]\nquery product data\n\n\n\n@cursor/february\nhttps://registry.npmjs.org/@cursor/february\nTypeScript SDK for Cursor agents (private alpha — codenamed).\n[...]\nThe primary API is the static `Agent` namespace. It creates durable agents, starts runs, streams normalized run events, waits for completion, resumes existing agents, and inspects persisted agent state.\n[...]\n- `run.stream()`: Async generator of normalized `SDKMessage` events.\n- `run.wait()`: Resolves to a terminal `RunResult`.\n- `run.cancel()`: Cancels a supported running run.\n- `run.conversation()`: Returns accumulated `ConversationTurn[]` for this run.\n- `run.supports(operation)`: Checks whether `stream`, `wait`, `cancel`, or `conversation` is supported.\n- `run.unsupportedReason(operation)`: Explains why an operation is unavailable.\n- `run.onDidChangeStatus(listener)`: Subscribes to run status changes.\n[...]\n`run.stream()` emits `SDKMessage` events. This is the stable public stream surface shared by local and cloud runs.\n[...]\nLive local runs can accumulate tool steps from raw executor deltas. Persisted replay reconstructs conversation from `SDKMessage` events, so replayed conversations can include tool-call steps when the persisted stream contains tool payload data.\n[...]\n`Agent.messages.list(...)` reads persisted conversation/checkpoint messages. It is complementary to `run.conversation()`, which is scoped to one run.\n[...]\n- Persisted conversation replay can only reconstruct information present in the public `SDKMessage` stream.\n- Inline MCP server definitions are not persisted across `Agent.resume(...)`.\n- Artifact download support is not implemented for local SDK agents yet.\n\n\n\ndocs/development/cursor-backend.md at main · ralphkrauss/agent-orchestrator\nhttps://github.com/ralphkrauss/agent-orchestrator/blob/main/docs/development/cursor-backend.md\n```md\n# Cursor Backend (Local SDK Runtime)\n[...]\nThe `cursor` backend runs Cursor agents in-process through the\n[`@cursor/sdk`](https://www.npmjs.com/package/@cursor/sdk) TypeScript SDK.\n[...]\nUnlike the `codex` and `claude` backends, the cursor backend does not spawn a\nCLI subprocess: it loads the SDK in the daemon Node process and streams typed\nevents.\n[...]\nThis release ships the **local runtime only** (`local: { cwd }`). The agent\noperates against files on disk in the run's `cwd`. Cloud and self-hosted\nruntimes (`cloud: { repos, ... }`) are out of scope and tracked as follow-ups.\n[...]\n- subagents (`AgentDefinition`)\n[...]\nserver forwarding from the\n[...]\n| Setting | Cursor behavior |\n|---|---|\n| `model` | Required. Pass a Cursor-side model id (e.g. `composer-2`). Resume calls thread per-run model overrides through `SendOptions.model`. |\n| `reasoning_effort` | Rejected with `INVALID_INPUT`. The SDK exposes per-model parameter discovery (`Cursor.models.list()`) which is deferred. |\n| `service_tier` | Rejected with `INVALID_INPUT`. |\n| `worker_posture` | Optional; defaults to `'trusted'`. Under `'trusted'`, `Agent.create` and `Agent.resume` receive `local.settingSources: ['all']` so the SDK loads every ambient settings layer (project, user, team, MDM, plugins). Under `'restricted'`, the shim omits `settingSources` and the SDK falls back to its pre-#58 in-process defaults. |\n[...]\n## Sessions and resume\n[...]\nThe runtime persists the durable Cursor `agentId` as the run's `session_id`.\nFollow-ups call `Agent.resume(agentId, { apiKey, local: { cwd } })` and pass\nthe per-call `SendOptions.model` only when the follow-up changes the model.\n[...]\nA `Run.status === \"cancelled\"` is recorded with `runStatusOverride =\n\"cancelled\"` so the run finalizes as cancelled rather than completed.\n"}]}}},"toolCallId":"tool_854579ea-3e01-40e1-ab7a-304bf71c37c"}},{"thinkingMessage":{"text":"The workspace appears empty. No files are present to explore.","durationMs":868}},{"toolCall":{"readToolCall":{"args":{"path":"/tmp/cursor-replay-proposed_plan/.git/info/exclude"},"result":{"success":{"content":"# git ls-files --others --exclude-from=.git/info/exclude\n# Lines that start with '#' are comments.\n# For a project mostly in C, the following would be a good set of\n# exclude patterns (uncomment them if you want to use them):\n# *.[oa]\n# *~\n","totalLines":7,"fileSize":240,"path":"/tmp/cursor-replay-proposed_plan/.git/info/exclude","readRange":{"startLine":1,"endLine":7}}}},"toolCallId":"tool_cb4fafcf-08df-449a-8ee9-a1a0f78410d"}},{"toolCall":{"readToolCall":{"args":{"path":"/tmp/cursor-replay-proposed_plan/.git/refs/heads/main"},"result":{"success":{"content":"fcdaa658b54f15c125d37542fbc5c39063cc8ae5\n","totalLines":2,"fileSize":41,"path":"/tmp/cursor-replay-proposed_plan/.git/refs/heads/main","readRange":{"startLine":1,"endLine":2}}}},"toolCallId":"tool_a4044dd9-25ad-43ba-89e7-2315b0165c7"}},{"toolCall":{"globToolCall":{"args":{"targetDirectory":"/tmp/cursor-replay-proposed_plan","globPattern":"**/*.{ts,tsx,js,py,json,yml,yaml,md}"},"result":{"success":{"path":"/tmp/cursor-replay-proposed_plan","files":["README.md"],"totalFiles":1}}},"toolCallId":"tool_c7276bc4-70a6-4065-8ecc-d5002bd2aec"}},{"thinkingMessage":{"text":"The workspace is a greenfield scaffold containing only a README.","durationMs":979}},{"toolCall":{"globToolCall":{"result":{"error":{"error":"rg: ../../../../../../Users/julius/.cursor/projects: IO error for operation on ../../../../../../Users/julius/.cursor/projects: No such file or directory (os error 2)\n"}}},"toolCallId":"tool_1bbd05f9-8821-42a4-aaa1-748344ca8f2"}},{"toolCall":{"grepToolCall":{"args":{"pattern":"t3-orchestrator|proposed_plan|cursor-agent-sdk","glob":"*.jsonl","caseInsensitive":false,"headLimit":30,"multiline":false,"toolCallId":"tool_726cab56-6097-4b7c-a4d3-493856329fb","offset":0},"result":{"success":{"pattern":"t3-orchestrator|proposed_plan|cursor-agent-sdk","outputMode":"content","workspaceResults":{"/var/folders/b3/b51_pdxj7dl0t981zpqkxxhr0000gn/T/t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW":{"content":{"headLimitApplied":30}}}}}},"toolCallId":"tool_726cab56-6097-4b7c-a4d3-493856329fb"}},{"assistantMessage":{"text":"## Executive summary\n\nThis workspace is a **greenfield scaffold**, not an existing orchestrator or SDK codebase. After a full file search and keyword scan, the only tracked source file is `README.md` (one line). There is **no** replay, recording, fixture, test, or mock infrastructure to analyze yet.\n\n---\n\n## 1. What is this project?\n\n### What exists in the repo\n\n```\nt3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW/\n├── README.md # sole source file\n└── .git/ # single initial commit (\"initial\")\n```\n\nThe entire README:\n\n```1:1:README.md\n# cursor-agent-sdk-record-proposed_plan\n```\n\nGit metadata suggests this was created by an automated test harness:\n\n- Author: `T3 Code Test `\n- One commit: `fcdaa658` — message `\"initial\"`\n- No remote, no `package.json`, no source tree, no tests\n\n### Inferred intent (from naming only)\n\nThe directory name `t3-orchestrator-v2-cursor-agent-sdk-record-proposed_plan-ggwFWW` strongly suggests a **planned feature task**, not an implemented repo:\n\n| Name segment | Likely meaning |\n|---|---|\n| `t3-orchestrator-v2` | Second version of a T3 test orchestrator |\n| `cursor-agent-sdk` | Integration with Cursor’s programmatic Agent SDK |\n| `record-proposed_plan` | Record `proposed_plan` events/states for deterministic replay |\n| `ggwFWW` | Ephemeral sandbox ID |\n\nThere is **no orchestrator code, no SDK wrapper, and no `proposed_plan` type** in this workspace.\n\n---\n\n## 2. Replay / recording / fixture infrastructure\n\n### Keyword search results (entire repo)\n\n| Keyword | Matches |\n|---|---|\n| `proposed_plan` | `README.md` title only |\n| `record` | Substring of README title only |\n| `replay` | **0** |\n| `fixture` | **0** |\n| `deterministic` | **0** |\n| `snapshot` | **0** |\n| `mock` | **0** |\n| `orchestrator` | **0** (only in path name) |\n| `cursor-agent-sdk` | **0** (only in path/README title) |\n\n**Conclusion:** No recording, replay, fixture, or persistence layer exists.\n\n---\n\n## 3. Test patterns, mocks, deterministic testing\n\n**None present.** Specifically absent:\n\n- No test runner config (`package.json`, `vitest.config.*`, `jest.config.*`, `pytest.ini`, etc.)\n- No `__tests__/`, `test/`, or `*.test.*` / `*.spec.*` files\n- No mock/stub utilities\n- No snapshot or golden-file tests\n- No VCR/cassette-style HTTP recording\n- No seed/time/randomness controls for determinism\n\n---\n\n## 4. Project structure overview\n\n| Path | Role |\n|---|---|\n| `README.md` | Project title placeholder |\n| `.git/` | Initial commit with README only |\n| *(everything else)* | **Does not exist** |\n\nExpected structure for the task implied by the name (not yet present):\n\n```\nsrc/\n orchestrator/ # plan lifecycle, subagent coordination\n cursor-sdk/ # Agent.create, run.stream(), Agent.resume()\n record/ # event capture during propose_plan\n replay/ # fixture playback for tests\nfixtures/\n proposed_plan/ # recorded plan JSON + SDK event streams\ntests/\n replay/ # deterministic replay tests\n```\n\n---\n\n## 5. Current gaps for deterministic replay fixtures\n\nBecause there is no code, **all** of the following are gaps:\n\n1. **Event schema** — No type for `proposed_plan` or recorded SDK events (`SDKMessage`, tool calls, deltas).\n2. **Recorder** — No hook on agent streaming (`run.stream()`, `on_delta`, `on_step`) to persist events.\n3. **Fixture format** — No JSON/YAML convention for plans + event sequences + metadata (model, mode, cwd).\n4. **Replayer** — No substitute transport that feeds recorded events instead of live SDK calls.\n5. **Determinism controls** — No fixed clocks, idempotency keys, or stripped nondeterministic fields (timestamps, IDs).\n6. **Test harness** — No assertions comparing replay output to expected snapshots.\n7. **Orchestrator integration** — No `propose_plan` → `confirm_plan` → `execute_plan` flow to record.\n\n---\n\n## 6. Types/interfaces that would need extension\n\n**None exist in this repo.** Based on the task name and typical Cursor SDK + orchestrator patterns, you would likely need:\n\n```typescript\n// Hypothetical — NOT in codebase\n\ninterface ProposedPlan {\n id: string;\n goal: string;\n subagents: SubagentSpec[];\n // ...\n}\n\ninterface RecordedRun {\n mode: 'plan' | 'agent';\n agentId?: string;\n events: SDKMessage[]; // from run.stream()\n proposedPlan?: ProposedPlan;\n recordedAt: string;\n}\n\ninterface ReplayFixture {\n name: string;\n input: { prompt: string; mode: 'plan' };\n recorded: RecordedRun;\n expected?: { finalStatus: string; planHash?: string };\n}\n\ninterface RecordReplayTransport {\n record(run: AgentRun): AsyncIterable;\n replay(fixture: ReplayFixture): AsyncIterable;\n}\n```\n\nPublic Cursor SDK concepts relevant here (external, not in repo):\n\n- `run.stream()` → normalized `SDKMessage` events (stable replay surface)\n- `Agent.resume(agentId)` → reconnect to persisted agents\n- `mode: \"plan\"` → plan-mode runs\n- Persisted replay reconstructs conversation from `SDKMessage` streams\n\n---\n\n## 7. Suggested integration points (when code is added)\n\nSince there is no code to anchor to, these are **architectural integration points** aligned with the task name:\n\n### A. SDK stream boundary (primary record point)\n\nWrap `Agent.create()` / `run.stream()`:\n\n```\nLive: prompt → Agent.create → run.stream() → [RECORDER] → consumer\nReplay: fixture → [REPLAYER] → consumer (same interface as stream)\n```\n\nRecord every `SDKMessage`; normalize timestamps/IDs before writing fixtures.\n\n### B. Orchestrator plan lifecycle\n\nIf following a propose → confirm → execute model:\n\n| Phase | Record | Replay |\n|---|---|---|\n| `propose_plan` | Full plan JSON + planning stream | Feed recorded plan stream; skip LLM |\n| `confirm_plan` | Approval metadata | Inject fixed approval |\n| `execute_plan` | Per-subagent streams | Replay subagent fixtures in parallel |\n\n### C. Transport abstraction\n\n```typescript\ninterface AgentTransport {\n create(options: CreateOptions): Promise;\n stream(handle: AgentHandle): AsyncIterable;\n}\n\nclass LiveSdkTransport implements AgentTransport { /* @cursor/sdk */ }\nclass FixtureReplayTransport implements AgentTransport { /* read fixtures/ */ }\n```\n\nTests inject `FixtureReplayTransport`; production uses `LiveSdkTransport`.\n\n### D. Fixture layout (suggested)\n\n```\nfixtures/\n proposed_plan/\n simple-refactor/\n meta.json # mode, model, cwd\n plan.json # proposed plan artifact\n events.ndjson # one SDKMessage per line\n expected.json # optional assertions\n```\n\n### E. Determinism checklist\n\n- Strip or normalize: `timestamp`, `runId`, `agentId`, token counts\n- Use stable ordering for parallel subagent events (e.g. sort by `label` + `sequence`)\n- Fixed `idempotency_key` on sends\n- Mock filesystem/git side effects in replay mode\n\n---\n\n## 8. What you can do next\n\nThis workspace has nothing to extend yet. To proceed you would need either:\n\n1. **The parent `t3-orchestrator-v2` repo** cloned or copied into this workspace, or \n2. **Agent mode** to scaffold the recorder/replayer/fixture layout from scratch.\n\nIf you have the orchestrator source elsewhere, point me at that repo (or switch to Agent mode with it checked out) and I can map concrete files, existing types, and exact hook points instead of this inferred architecture."}}],"agentId":"95b8b4ba-cc91-4455-9389-9729e569f76b","isBackground":false,"durationMs":45981,"backgroundReason":"unspecified"}}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-0-yjwv"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":1912}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-delta","text":"The codebase is empty"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-delta","text":" aside from a README."}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-delta","text":" I will draft a proposed"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":6}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-delta","text":" plan for deterministic"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":6}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-delta","text":" replay fixtures."}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"thinking-completed","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-completed","thinkingDurationMs":562}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":"Checking agent"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" transcripts for"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" prior context on this"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" task"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":".\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":41}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"tool-call-started","callId":"tool_2fcd3afc-c41d-42ca-9978-6944952eba2","toolCall":{"type":"glob","args":{"globPattern":"**/*","targetDirectory":"/Users/julius/.cursor/projects/var-folders-b3-b51-pdxj7dl0t981zpqkxxhr0000gn-T-t3-orchestrator-v2-cursor-agent-sdk-record-proposed-plan-ggwFWW/agent-transcripts"}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-1-e5et"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":31}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"tool-call-started","callId":"tool_240db1e2-13d0-4012-9b2a-90ad32b0ec5","toolCall":{"type":"read","args":{"path":"/tmp/cursor-replay-proposed_plan/README.md"}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-1-e5et"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":107}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"tool-call-completed","callId":"tool_240db1e2-13d0-4012-9b2a-90ad32b0ec5","toolCall":{"type":"read","args":{"path":"/tmp/cursor-replay-proposed_plan/README.md"},"result":{"status":"success","value":{"content":"# cursor-agent-sdk-record-proposed_plan\n","totalLines":2,"fileSize":40}}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-1-e5et"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":10}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-delta","text":"The workspace is empty."}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-delta","text":" I am drafting a short"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":6}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-delta","text":" implementation plan"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-delta","text":" for deterministic replay"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":6}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-delta","text":" fixtures based on typical"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":7}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-delta","text":" Cursor Agent SDK and"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-delta","text":" orchestrator patterns."}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":6}}} +{"type":"emit_inbound","label":"thinking-completed","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"thinking-completed","thinkingDurationMs":1027}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":"The"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" repo is a"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" greenfield scaffold;"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" drafting"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" a concise"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" plan"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" from the project"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" name and standard"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" Cursor Agent SDK replay"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":6}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":" patterns"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"text-delta","text":".\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"partial-tool-call","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"partial-tool-call","callId":"tool_27b151a5-1a11-410a-a412-5325c4f7d2c","toolCall":{"type":"createPlan","args":{"plan":""}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-2-z9b0"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":8}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":49}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"partial-tool-call","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"partial-tool-call","callId":"tool_27b151a5-1a11-410a-a412-5325c4f7d2c","toolCall":{"type":"createPlan","args":{"plan":"# Deterministic Replay Fixtures for `proposed_plan`\n\n## Context\n\nThe workspace is a greenfield scaffold ([README.md](README.md)). This plan introduces the minimum structure to **record** plan-mode SDK streams and **replay** them as fixtures for deterministic tests.\n\n## Architecture\n\n```mermaid\nflowchart LR\n subgraph live [Live mode]\n Prompt --> LiveTransport\n LiveTransport --> SDK[\"Cursor Agent SDK\"]\n SDK --> Recorder\n Recorder --> Consumer\n Recorder --> FixtureFile\n end\n\n subgraph replay [Replay mode]\n FixtureFile2[Fixture file] --> ReplayTransport\n ReplayTransport --> Consumer2[Same consumer code]\n end\n```\n\n**Key idea:** Orchestrator code consumes `AsyncIterable` from a transport interface; production uses live SDK, tests use fixture replay.\n\n## 1. Define core types\n\nAdd [`src/replay/types.ts`](src/replay/types.ts):\n\n- `ProposedPlanFixture` — `{ name, input: { prompt, mode: \"plan\" }, events: SDKMessage[], plan?: unknown, meta: { model?, cwd? } }`\n- `AgentTransport` — `{ create(opts), stream(handle): AsyncIterable }`\n- `RecordOptions` / `ReplayOptions` — fixture path, normalize flag\n\nReuse SDK message shapes from `@cursor/agent-sdk` (or a thin local mirror) so fixtures stay aligned with `run.stream()` output.\n\n## 2. Fixture format and layout\n\n```\nfixtures/proposed_plan/\n /\n meta.json # input prompt, mode, model, cwd\n events.ndjson # one SDKMessage per line (post-normalization)\n plan.json # extracted proposed plan artifact (optional convenience)\n expected.json # optional assertions (status, plan hash, key fields)\n```\n\n- NDJSON keeps diffs readable and supports streaming replay.\n- Commit normalized fixtures only (no secrets, no absolute paths).\n\n## 3. Normalization for determinism\n\nAdd [`src/replay/normalize.ts`](src/replay/normalize.ts) to strip or replace volatile fields before write/compare:\n\n- Timestamps, run/agent IDs, token counts, latency fields\n- Sort parallel sub-events by stable key (`type` + `sequence` or `label`)\n- Replace cwd/home with placeholders (e.g. `$WORKSPACE`)\n\nApply normalization in both **recorder** (on write) and **test assertions** (on compare).\n\n## 4. Implement recorder\n\nAdd [`src/replay/recorder.ts`](src/replay/recorder.ts):\n\n- Wrap live `AgentTransport.stream()` and tee events to consumer + buffer\n- On stream end, extract `proposed_plan` payload from terminal plan message(s)\n- Write fixture directory via `writeFixture(name, data)`\n\nCLI entrypoint [`src/cli/record-fixture.ts`](src/cli/record-fixture.ts):\n\n```bash\npnpm record-fixture --name simple-refactor --prompt \"...\" --mode plan\n```\n\n## 5. Implement replay transport\n\nAdd [`src/replay/replay-transport.ts`](src/replay/replay-transport.ts):\n\n- Load fixture by name/path\n- Yield `events.ndjson` lines as `SDKMessage` with configurable tick delay (default 0)\n- Implement `AgentTransport` so orchestrator plan flow is unchanged\n\nWire via env or factory in [`src/transport/index.ts`](src/transport/index.ts):\n\n```typescript\nexport function createTransport(): AgentTransport {\n return process.env.REPLAY_FIXTURE\n ? new ReplayTransport(process.env.REPLAY_FIXTURE)\n : new LiveSdkTransport();\n}\n```\n\n## 6. Orchestrator hook: `proposed_plan`\n\nAdd [`src/orchestrator/propose-plan.ts`](src/orchestrator/propose-plan.ts):\n\n1. `createTransport()` → `create({ mode: \"plan\", prompt })`\n2. Consume stream until plan-complete message\n3. Return parsed plan + raw events (for optional inline recording in dev)\n\nThis is the single integration point both live and replay modes share.\n\n## 7. Deterministic tests\n\nAdd [`tests/replay/proposed-plan.test.ts`](tests/replay/proposed-plan.test.ts):\n\n- Set `REPLAY_FIXTURE=fixtures/proposed_plan/simple-refactor`\n- Run `proposePlan(prompt)` and assert:\n - Stable plan hash or snapshot of normalized `plan.json`\n - Expected status from `expected.json`\n- Add one golden fixture recorded from a real run, then lock behavior\n\nUse Vitest (or project-standard runner) with `fixtures/` as test data.\n\n## 8. Deliverables (minimal scope)\n\n| File | Purpose |\n|------|---------|\n| `src/replay/types.ts` | Shared fixture + transport types |\n| `src/replay/normalize.ts` | Deterministic field stripping |\n| `src/replay/recorder.ts` | Live capture → fixture |\n| `src/replay/replay-transport.ts` | Fixture → stream |\n| `src/transport/live-sdk-transport.ts` | Thin SDK wrapper |\n| `src/orchestrator/propose-plan.ts` | Plan-mode orchestration |\n| `src/cli/record-fixture.ts` | One-shot recording CLI |\n| `fixtures/proposed_plan/simple-refactor/` | Seed fixture |\n| `tests/replay/proposed-plan.test.ts` | Replay regression test |\n\n## Success criteria\n\n- Same orchestrator code path works in live and replay modes.\n- Re-running replay tests produces identical normalized plan output across machines.\n- New fixtures can be recorded with one CLI command and committed as NDJSON + JSON.\n"}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-2-z9b0"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":1261}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":155}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"tool-call-started","callId":"tool_27b151a5-1a11-410a-a412-5325c4f7d2c","toolCall":{"type":"createPlan","args":{"plan":"# Deterministic Replay Fixtures for `proposed_plan`\n\n## Context\n\nThe workspace is a greenfield scaffold ([README.md](README.md)). This plan introduces the minimum structure to **record** plan-mode SDK streams and **replay** them as fixtures for deterministic tests.\n\n## Architecture\n\n```mermaid\nflowchart LR\n subgraph live [Live mode]\n Prompt --> LiveTransport\n LiveTransport --> SDK[\"Cursor Agent SDK\"]\n SDK --> Recorder\n Recorder --> Consumer\n Recorder --> FixtureFile\n end\n\n subgraph replay [Replay mode]\n FixtureFile2[Fixture file] --> ReplayTransport\n ReplayTransport --> Consumer2[Same consumer code]\n end\n```\n\n**Key idea:** Orchestrator code consumes `AsyncIterable` from a transport interface; production uses live SDK, tests use fixture replay.\n\n## 1. Define core types\n\nAdd [`src/replay/types.ts`](src/replay/types.ts):\n\n- `ProposedPlanFixture` — `{ name, input: { prompt, mode: \"plan\" }, events: SDKMessage[], plan?: unknown, meta: { model?, cwd? } }`\n- `AgentTransport` — `{ create(opts), stream(handle): AsyncIterable }`\n- `RecordOptions` / `ReplayOptions` — fixture path, normalize flag\n\nReuse SDK message shapes from `@cursor/agent-sdk` (or a thin local mirror) so fixtures stay aligned with `run.stream()` output.\n\n## 2. Fixture format and layout\n\n```\nfixtures/proposed_plan/\n /\n meta.json # input prompt, mode, model, cwd\n events.ndjson # one SDKMessage per line (post-normalization)\n plan.json # extracted proposed plan artifact (optional convenience)\n expected.json # optional assertions (status, plan hash, key fields)\n```\n\n- NDJSON keeps diffs readable and supports streaming replay.\n- Commit normalized fixtures only (no secrets, no absolute paths).\n\n## 3. Normalization for determinism\n\nAdd [`src/replay/normalize.ts`](src/replay/normalize.ts) to strip or replace volatile fields before write/compare:\n\n- Timestamps, run/agent IDs, token counts, latency fields\n- Sort parallel sub-events by stable key (`type` + `sequence` or `label`)\n- Replace cwd/home with placeholders (e.g. `$WORKSPACE`)\n\nApply normalization in both **recorder** (on write) and **test assertions** (on compare).\n\n## 4. Implement recorder\n\nAdd [`src/replay/recorder.ts`](src/replay/recorder.ts):\n\n- Wrap live `AgentTransport.stream()` and tee events to consumer + buffer\n- On stream end, extract `proposed_plan` payload from terminal plan message(s)\n- Write fixture directory via `writeFixture(name, data)`\n\nCLI entrypoint [`src/cli/record-fixture.ts`](src/cli/record-fixture.ts):\n\n```bash\npnpm record-fixture --name simple-refactor --prompt \"...\" --mode plan\n```\n\n## 5. Implement replay transport\n\nAdd [`src/replay/replay-transport.ts`](src/replay/replay-transport.ts):\n\n- Load fixture by name/path\n- Yield `events.ndjson` lines as `SDKMessage` with configurable tick delay (default 0)\n- Implement `AgentTransport` so orchestrator plan flow is unchanged\n\nWire via env or factory in [`src/transport/index.ts`](src/transport/index.ts):\n\n```typescript\nexport function createTransport(): AgentTransport {\n return process.env.REPLAY_FIXTURE\n ? new ReplayTransport(process.env.REPLAY_FIXTURE)\n : new LiveSdkTransport();\n}\n```\n\n## 6. Orchestrator hook: `proposed_plan`\n\nAdd [`src/orchestrator/propose-plan.ts`](src/orchestrator/propose-plan.ts):\n\n1. `createTransport()` → `create({ mode: \"plan\", prompt })`\n2. Consume stream until plan-complete message\n3. Return parsed plan + raw events (for optional inline recording in dev)\n\nThis is the single integration point both live and replay modes share.\n\n## 7. Deterministic tests\n\nAdd [`tests/replay/proposed-plan.test.ts`](tests/replay/proposed-plan.test.ts):\n\n- Set `REPLAY_FIXTURE=fixtures/proposed_plan/simple-refactor`\n- Run `proposePlan(prompt)` and assert:\n - Stable plan hash or snapshot of normalized `plan.json`\n - Expected status from `expected.json`\n- Add one golden fixture recorded from a real run, then lock behavior\n\nUse Vitest (or project-standard runner) with `fixtures/` as test data.\n\n## 8. Deliverables (minimal scope)\n\n| File | Purpose |\n|------|---------|\n| `src/replay/types.ts` | Shared fixture + transport types |\n| `src/replay/normalize.ts` | Deterministic field stripping |\n| `src/replay/recorder.ts` | Live capture → fixture |\n| `src/replay/replay-transport.ts` | Fixture → stream |\n| `src/transport/live-sdk-transport.ts` | Thin SDK wrapper |\n| `src/orchestrator/propose-plan.ts` | Plan-mode orchestration |\n| `src/cli/record-fixture.ts` | One-shot recording CLI |\n| `fixtures/proposed_plan/simple-refactor/` | Seed fixture |\n| `tests/replay/proposed-plan.test.ts` | Replay regression test |\n\n## Success criteria\n\n- Same orchestrator code path works in live and replay modes.\n- Re-running replay tests produces identical normalized plan output across machines.\n- New fixtures can be recorded with one CLI command and committed as NDJSON + JSON.\n"}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-2-z9b0"}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"tool-call-completed","callId":"tool_27b151a5-1a11-410a-a412-5325c4f7d2c","toolCall":{"type":"createPlan","args":{"plan":"# Deterministic Replay Fixtures for `proposed_plan`\n\n## Context\n\nThe workspace is a greenfield scaffold ([README.md](README.md)). This plan introduces the minimum structure to **record** plan-mode SDK streams and **replay** them as fixtures for deterministic tests.\n\n## Architecture\n\n```mermaid\nflowchart LR\n subgraph live [Live mode]\n Prompt --> LiveTransport\n LiveTransport --> SDK[\"Cursor Agent SDK\"]\n SDK --> Recorder\n Recorder --> Consumer\n Recorder --> FixtureFile\n end\n\n subgraph replay [Replay mode]\n FixtureFile2[Fixture file] --> ReplayTransport\n ReplayTransport --> Consumer2[Same consumer code]\n end\n```\n\n**Key idea:** Orchestrator code consumes `AsyncIterable` from a transport interface; production uses live SDK, tests use fixture replay.\n\n## 1. Define core types\n\nAdd [`src/replay/types.ts`](src/replay/types.ts):\n\n- `ProposedPlanFixture` — `{ name, input: { prompt, mode: \"plan\" }, events: SDKMessage[], plan?: unknown, meta: { model?, cwd? } }`\n- `AgentTransport` — `{ create(opts), stream(handle): AsyncIterable }`\n- `RecordOptions` / `ReplayOptions` — fixture path, normalize flag\n\nReuse SDK message shapes from `@cursor/agent-sdk` (or a thin local mirror) so fixtures stay aligned with `run.stream()` output.\n\n## 2. Fixture format and layout\n\n```\nfixtures/proposed_plan/\n /\n meta.json # input prompt, mode, model, cwd\n events.ndjson # one SDKMessage per line (post-normalization)\n plan.json # extracted proposed plan artifact (optional convenience)\n expected.json # optional assertions (status, plan hash, key fields)\n```\n\n- NDJSON keeps diffs readable and supports streaming replay.\n- Commit normalized fixtures only (no secrets, no absolute paths).\n\n## 3. Normalization for determinism\n\nAdd [`src/replay/normalize.ts`](src/replay/normalize.ts) to strip or replace volatile fields before write/compare:\n\n- Timestamps, run/agent IDs, token counts, latency fields\n- Sort parallel sub-events by stable key (`type` + `sequence` or `label`)\n- Replace cwd/home with placeholders (e.g. `$WORKSPACE`)\n\nApply normalization in both **recorder** (on write) and **test assertions** (on compare).\n\n## 4. Implement recorder\n\nAdd [`src/replay/recorder.ts`](src/replay/recorder.ts):\n\n- Wrap live `AgentTransport.stream()` and tee events to consumer + buffer\n- On stream end, extract `proposed_plan` payload from terminal plan message(s)\n- Write fixture directory via `writeFixture(name, data)`\n\nCLI entrypoint [`src/cli/record-fixture.ts`](src/cli/record-fixture.ts):\n\n```bash\npnpm record-fixture --name simple-refactor --prompt \"...\" --mode plan\n```\n\n## 5. Implement replay transport\n\nAdd [`src/replay/replay-transport.ts`](src/replay/replay-transport.ts):\n\n- Load fixture by name/path\n- Yield `events.ndjson` lines as `SDKMessage` with configurable tick delay (default 0)\n- Implement `AgentTransport` so orchestrator plan flow is unchanged\n\nWire via env or factory in [`src/transport/index.ts`](src/transport/index.ts):\n\n```typescript\nexport function createTransport(): AgentTransport {\n return process.env.REPLAY_FIXTURE\n ? new ReplayTransport(process.env.REPLAY_FIXTURE)\n : new LiveSdkTransport();\n}\n```\n\n## 6. Orchestrator hook: `proposed_plan`\n\nAdd [`src/orchestrator/propose-plan.ts`](src/orchestrator/propose-plan.ts):\n\n1. `createTransport()` → `create({ mode: \"plan\", prompt })`\n2. Consume stream until plan-complete message\n3. Return parsed plan + raw events (for optional inline recording in dev)\n\nThis is the single integration point both live and replay modes share.\n\n## 7. Deterministic tests\n\nAdd [`tests/replay/proposed-plan.test.ts`](tests/replay/proposed-plan.test.ts):\n\n- Set `REPLAY_FIXTURE=fixtures/proposed_plan/simple-refactor`\n- Run `proposePlan(prompt)` and assert:\n - Stable plan hash or snapshot of normalized `plan.json`\n - Expected status from `expected.json`\n- Add one golden fixture recorded from a real run, then lock behavior\n\nUse Vitest (or project-standard runner) with `fixtures/` as test data.\n\n## 8. Deliverables (minimal scope)\n\n| File | Purpose |\n|------|---------|\n| `src/replay/types.ts` | Shared fixture + transport types |\n| `src/replay/normalize.ts` | Deterministic field stripping |\n| `src/replay/recorder.ts` | Live capture → fixture |\n| `src/replay/replay-transport.ts` | Fixture → stream |\n| `src/transport/live-sdk-transport.ts` | Thin SDK wrapper |\n| `src/orchestrator/propose-plan.ts` | Plan-mode orchestration |\n| `src/cli/record-fixture.ts` | One-shot recording CLI |\n| `fixtures/proposed_plan/simple-refactor/` | Seed fixture |\n| `tests/replay/proposed-plan.test.ts` | Replay regression test |\n\n## Success criteria\n\n- Same orchestrator code path works in live and replay modes.\n- Re-running replay tests produces identical normalized plan output across machines.\n- New fixtures can be recorded with one CLI command and committed as NDJSON + JSON.\n"},"result":{"status":"success","value":{}}},"modelCallId":"12792358-9978-4430-839d-d1aa84ab7471-2-z9b0"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"token-delta","tokens":7}}} +{"type":"emit_inbound","label":"step-completed","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"step-completed","stepId":11,"stepDurationMs":54858}}} +{"type":"emit_inbound","label":"turn-ended","frame":{"type":"interaction.update","runId":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","update":{"type":"turn-ended","usage":{"inputTokens":41151,"outputTokens":2171,"cacheReadTokens":30336,"cacheWriteTokens":0}}}} +{"type":"emit_inbound","label":"run.completed:1","frame":{"type":"run.completed","result":{"id":"run-6fc6c9f5-f2b7-4f6e-8922-d479f68e7710","requestId":"12792358-9978-4430-839d-d1aa84ab7471","status":"finished","result":"The repo is a greenfield scaffold; drafting a concise plan from the project name and standard Cursor Agent SDK replay patterns.\n","model":{"id":"composer-2.5"},"durationMs":57537}}} +{"type":"expect_outbound","label":"agent.close","frame":{"type":"agent.close","agentId":"agent-bc5d59e0-bc8b-441a-9292-b49dfff962d3"}} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/provider_thread_resume/cursor_transcript.ndjson b/apps/server/src/orchestration-v2/testkit/fixtures/provider_thread_resume/cursor_transcript.ndjson new file mode 100644 index 0000000000..5adf0d528c --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/provider_thread_resume/cursor_transcript.ndjson @@ -0,0 +1,60 @@ +{"type":"transcript_start","provider":"cursor","protocol":"cursor-agent-sdk.local","version":"1","scenario":"provider_thread_resume","metadata":{"generatedBy":"recordCursorAgentSdkReplayTranscript","nativeAgentId":"agent-06c9d7f0-c6a5-4194-b204-8aa8ddb04d10"}} +{"type":"expect_outbound","label":"agent.open","frame":{"type":"agent.open","operation":"create","options":{"model":{"id":"composer-2.5"},"hasName":true,"mode":"agent","local":{"hasCwd":true,"autoReview":false,"sandboxEnabled":false,"enableAgentRetries":true}}}} +{"type":"emit_inbound","label":"agent.opened","frame":{"type":"agent.opened","agentId":"agent-06c9d7f0-c6a5-4194-b204-8aa8ddb04d10"}} +{"type":"expect_outbound","label":"run.start:1","frame":{"type":"run.start","message":"Respond with exactly: provider thread resume fixture first turn complete","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:1","frame":{"type":"run.started","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","agentId":"agent-06c9d7f0-c6a5-4194-b204-8aa8ddb04d10"}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"text-delta","text":"provider"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"text-delta","text":" thread"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"text-delta","text":" resume"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"text-delta","text":" fixture"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"text-delta","text":" first"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"text-delta","text":" turn"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"text-delta","text":" complete"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"step-completed","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"step-completed","stepId":1,"stepDurationMs":766}}} +{"type":"emit_inbound","label":"turn-ended","frame":{"type":"interaction.update","runId":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","update":{"type":"turn-ended","usage":{"inputTokens":10274,"outputTokens":45,"cacheReadTokens":1856,"cacheWriteTokens":0}}}} +{"type":"emit_inbound","label":"run.completed:1","frame":{"type":"run.completed","result":{"id":"run-2aa4fc7d-3102-4d95-b449-2fb5e8703b5b","requestId":"ff15a3d5-de92-4d4c-ae3d-2b627b3d4839","status":"finished","result":"provider thread resume fixture first turn complete","model":{"id":"composer-2.5"},"durationMs":5298}}} +{"type":"expect_outbound","label":"agent.close:before-prompt-2","frame":{"type":"agent.close","agentId":"agent-06c9d7f0-c6a5-4194-b204-8aa8ddb04d10"}} +{"type":"expect_outbound","label":"agent.resume:before-prompt-2","frame":{"type":"agent.open","operation":"resume","agentId":"agent-06c9d7f0-c6a5-4194-b204-8aa8ddb04d10","options":{"model":{"id":"composer-2.5"},"hasName":true,"mode":"agent","local":{"hasCwd":true,"autoReview":false,"sandboxEnabled":false,"enableAgentRetries":true}}}} +{"type":"emit_inbound","label":"agent.resumed:before-prompt-2","frame":{"type":"agent.opened","agentId":"agent-06c9d7f0-c6a5-4194-b204-8aa8ddb04d10"}} +{"type":"expect_outbound","label":"run.start:2","frame":{"type":"run.start","message":"Using the conversation history available in this resumed thread, first repeat the exact final answer you gave in the previous turn. Then on a new line write exactly: provider thread resume fixture second turn complete","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:2","frame":{"type":"run.started","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","agentId":"agent-06c9d7f0-c6a5-4194-b204-8aa8ddb04d10"}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":"provider"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":" thread"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":" resume"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":" fixture"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":" first"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":" turn"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":" complete"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":"\n"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":"provider"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":" thread"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":" resume"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":" fixture"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":" second"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":" turn"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"text-delta","text":" complete"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"step-completed","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"step-completed","stepId":1,"stepDurationMs":773}}} +{"type":"emit_inbound","label":"turn-ended","frame":{"type":"interaction.update","runId":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","update":{"type":"turn-ended","usage":{"inputTokens":10369,"outputTokens":101,"cacheReadTokens":10304,"cacheWriteTokens":0}}}} +{"type":"emit_inbound","label":"run.completed:2","frame":{"type":"run.completed","result":{"id":"run-57e0a96b-f734-4919-b59a-8fbdfa9a8880","requestId":"3822e867-4c17-44fb-81b9-e0f3d76b0c87","status":"finished","result":"provider thread resume fixture first turn complete\nprovider thread resume fixture second turn complete","model":{"id":"composer-2.5"},"durationMs":4461}}} +{"type":"expect_outbound","label":"agent.close","frame":{"type":"agent.close","agentId":"agent-06c9d7f0-c6a5-4194-b204-8aa8ddb04d10"}} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/queued_turn/cursor_transcript.ndjson b/apps/server/src/orchestration-v2/testkit/fixtures/queued_turn/cursor_transcript.ndjson new file mode 100644 index 0000000000..86448aaa89 --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/queued_turn/cursor_transcript.ndjson @@ -0,0 +1,30 @@ +{"type":"transcript_start","provider":"cursor","protocol":"cursor-agent-sdk.local","version":"1","scenario":"queued_turn","metadata":{"generatedBy":"recordCursorAgentSdkReplayTranscript","nativeAgentId":"agent-2c1578fc-9bfb-4db9-91c2-8d6744a8cb4c"}} +{"type":"expect_outbound","label":"agent.open","frame":{"type":"agent.open","operation":"create","options":{"model":{"id":"composer-2.5"},"hasName":true,"mode":"agent","local":{"hasCwd":true,"autoReview":false,"sandboxEnabled":false,"enableAgentRetries":true}}}} +{"type":"emit_inbound","label":"agent.opened","frame":{"type":"agent.opened","agentId":"agent-2c1578fc-9bfb-4db9-91c2-8d6744a8cb4c"}} +{"type":"expect_outbound","label":"run.start:1","frame":{"type":"run.start","message":"Respond with exactly: first fixture turn complete","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:1","frame":{"type":"run.started","runId":"run-e8e94512-2578-458e-8fcd-3d2c232ed00a","agentId":"agent-2c1578fc-9bfb-4db9-91c2-8d6744a8cb4c"}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-e8e94512-2578-458e-8fcd-3d2c232ed00a","update":{"type":"text-delta","text":"first"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-e8e94512-2578-458e-8fcd-3d2c232ed00a","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-e8e94512-2578-458e-8fcd-3d2c232ed00a","update":{"type":"text-delta","text":" fixture"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-e8e94512-2578-458e-8fcd-3d2c232ed00a","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-e8e94512-2578-458e-8fcd-3d2c232ed00a","update":{"type":"text-delta","text":" turn"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-e8e94512-2578-458e-8fcd-3d2c232ed00a","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-e8e94512-2578-458e-8fcd-3d2c232ed00a","update":{"type":"text-delta","text":" complete"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-e8e94512-2578-458e-8fcd-3d2c232ed00a","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"step-completed","frame":{"type":"interaction.update","runId":"run-e8e94512-2578-458e-8fcd-3d2c232ed00a","update":{"type":"step-completed","stepId":1,"stepDurationMs":884}}} +{"type":"emit_inbound","label":"turn-ended","frame":{"type":"interaction.update","runId":"run-e8e94512-2578-458e-8fcd-3d2c232ed00a","update":{"type":"turn-ended","usage":{"inputTokens":10397,"outputTokens":41,"cacheReadTokens":448,"cacheWriteTokens":0}}}} +{"type":"emit_inbound","label":"run.completed:1","frame":{"type":"run.completed","result":{"id":"run-e8e94512-2578-458e-8fcd-3d2c232ed00a","requestId":"b0ca1b65-cdfd-4f50-8698-1924b0521b15","status":"finished","result":"first fixture turn complete","model":{"id":"composer-2.5"},"durationMs":3685}}} +{"type":"expect_outbound","label":"run.start:2","frame":{"type":"run.start","message":"Respond with exactly: second fixture turn complete","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:2","frame":{"type":"run.started","runId":"run-28ee8e5c-e5b0-4da3-a793-6ac182da167f","agentId":"agent-2c1578fc-9bfb-4db9-91c2-8d6744a8cb4c"}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-28ee8e5c-e5b0-4da3-a793-6ac182da167f","update":{"type":"text-delta","text":"second"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-28ee8e5c-e5b0-4da3-a793-6ac182da167f","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-28ee8e5c-e5b0-4da3-a793-6ac182da167f","update":{"type":"text-delta","text":" fixture"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-28ee8e5c-e5b0-4da3-a793-6ac182da167f","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-28ee8e5c-e5b0-4da3-a793-6ac182da167f","update":{"type":"text-delta","text":" turn"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-28ee8e5c-e5b0-4da3-a793-6ac182da167f","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-28ee8e5c-e5b0-4da3-a793-6ac182da167f","update":{"type":"text-delta","text":" complete"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-28ee8e5c-e5b0-4da3-a793-6ac182da167f","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"step-completed","frame":{"type":"interaction.update","runId":"run-28ee8e5c-e5b0-4da3-a793-6ac182da167f","update":{"type":"step-completed","stepId":1,"stepDurationMs":830}}} +{"type":"emit_inbound","label":"turn-ended","frame":{"type":"interaction.update","runId":"run-28ee8e5c-e5b0-4da3-a793-6ac182da167f","update":{"type":"turn-ended","usage":{"inputTokens":10458,"outputTokens":29,"cacheReadTokens":10432,"cacheWriteTokens":0}}}} +{"type":"emit_inbound","label":"run.completed:2","frame":{"type":"run.completed","result":{"id":"run-28ee8e5c-e5b0-4da3-a793-6ac182da167f","requestId":"9e7ec735-db7c-4bdc-b75d-dce82a288678","status":"finished","result":"second fixture turn complete","model":{"id":"composer-2.5"},"durationMs":2467}}} +{"type":"expect_outbound","label":"agent.close","frame":{"type":"agent.close","agentId":"agent-2c1578fc-9bfb-4db9-91c2-8d6744a8cb4c"}} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/shared.ts b/apps/server/src/orchestration-v2/testkit/fixtures/shared.ts index ded873a87b..5c1272376d 100644 --- a/apps/server/src/orchestration-v2/testkit/fixtures/shared.ts +++ b/apps/server/src/orchestration-v2/testkit/fixtures/shared.ts @@ -160,6 +160,12 @@ export type OrchestratorFixtureInputStep = readonly attachments?: ReadonlyArray; readonly targetRunIndex: number; } + | { + readonly type: "restart"; + readonly text: string; + readonly attachments?: ReadonlyArray; + readonly targetRunIndex: number; + } | { readonly type: "interrupt"; readonly targetRunIndex: number; @@ -225,6 +231,11 @@ export const CLAUDE_MODEL_SELECTION = { model: "claude-sonnet-4-6", } satisfies ModelSelection; +export const CURSOR_MODEL_SELECTION = { + instanceId: ProviderInstanceId.make("cursor"), + model: "composer-2.5", +} satisfies ModelSelection; + export const READ_ONLY_ON_REQUEST_POLICY = { approvalPolicy: "on-request", sandboxPolicy: { @@ -384,7 +395,8 @@ export function materializeFixtureInput(input: { const shouldRunInBackground = (nextStep !== undefined && ((nextStep.type === "interrupt" && nextStep.targetRunIndex === messageIndex) || - nextStep.type === "queue_message")) || + nextStep.type === "queue_message" || + (nextStep.type === "restart" && nextStep.targetRunIndex === messageIndex))) || nextStep?.type === "approve_next_runtime_request" || nextStep?.type === "answer_next_user_input_request"; const key = `run:${messageIndex}`; @@ -410,7 +422,7 @@ export function materializeFixtureInput(input: { } else if ( !( nextStep !== undefined && - nextStep.type === "steer" && + (nextStep.type === "steer" || nextStep.type === "restart") && nextStep.targetRunIndex === messageIndex ) ) { @@ -525,6 +537,40 @@ export function materializeFixtureInput(input: { steps.push({ type: "await_thread_idle", threadId: ids.threadId }); } break; + case "restart": + messageIndex += 1; + steps.push({ + type: "await_run_steerable", + threadId: ids.threadId, + runId: runIdFor(step.targetRunIndex), + }); + pushDispatch( + dispatchMessageCommand({ + commandId: yield* idAllocator.allocate.command({ + fixtureName: input.scenario, + commandName: `restart-${messageIndex}`, + }), + ids, + modelSelection: input.modelSelection, + messageId: yield* idAllocator.allocate.message({ + threadId: ids.threadId, + ordinal: messageIndex, + }), + text: step.text, + ...(step.attachments === undefined ? {} : { attachments: step.attachments }), + dispatchMode: { + type: "restart_active", + targetRunId: runIdFor(step.targetRunIndex), + }, + }), + ); + if (input.fixtureInput.steps[stepIndex + 1]?.type !== "approve_next_runtime_request") { + if (activeRunDispatchKeys.delete(`run:${step.targetRunIndex}`)) { + steps.push({ type: "await", key: `run:${step.targetRunIndex}` }); + } + steps.push({ type: "await_thread_idle", threadId: ids.threadId }); + } + break; case "interrupt": if (step.waitForTurnItemType !== undefined) { steps.push({ diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/simple/cursor_transcript.ndjson b/apps/server/src/orchestration-v2/testkit/fixtures/simple/cursor_transcript.ndjson new file mode 100644 index 0000000000..76b8b5278c --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/simple/cursor_transcript.ndjson @@ -0,0 +1,11 @@ +{"type":"transcript_start","provider":"cursor","protocol":"cursor-agent-sdk.local","version":"1","scenario":"simple","metadata":{"generatedBy":"recordCursorAgentSdkReplayTranscript","nativeAgentId":"agent-78cfad4d-9b71-4534-b49c-fbcfab939a0f"}} +{"type":"expect_outbound","label":"agent.open","frame":{"type":"agent.open","operation":"create","options":{"model":{"id":"composer-2.5"},"hasName":true,"mode":"agent","local":{"hasCwd":true,"autoReview":false,"sandboxEnabled":false,"enableAgentRetries":true}}}} +{"type":"emit_inbound","label":"agent.opened","frame":{"type":"agent.opened","agentId":"agent-78cfad4d-9b71-4534-b49c-fbcfab939a0f"}} +{"type":"expect_outbound","label":"run.start:1","frame":{"type":"run.start","message":"Respond with the following text: fixture simple ok","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:1","frame":{"type":"run.started","runId":"run-74d16078-96e5-44f9-ac08-9d854eeb3bab","agentId":"agent-78cfad4d-9b71-4534-b49c-fbcfab939a0f"}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-74d16078-96e5-44f9-ac08-9d854eeb3bab","update":{"type":"text-delta","text":"fixture simple ok"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-74d16078-96e5-44f9-ac08-9d854eeb3bab","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"step-completed","frame":{"type":"interaction.update","runId":"run-74d16078-96e5-44f9-ac08-9d854eeb3bab","update":{"type":"step-completed","stepId":1,"stepDurationMs":1246}}} +{"type":"emit_inbound","label":"turn-ended","frame":{"type":"interaction.update","runId":"run-74d16078-96e5-44f9-ac08-9d854eeb3bab","update":{"type":"turn-ended","usage":{"inputTokens":10393,"outputTokens":38,"cacheReadTokens":1856,"cacheWriteTokens":0}}}} +{"type":"emit_inbound","label":"run.completed:1","frame":{"type":"run.completed","result":{"id":"run-74d16078-96e5-44f9-ac08-9d854eeb3bab","requestId":"a35bc166-9742-4bd7-bcc4-22620560c2d2","status":"finished","result":"fixture simple ok","model":{"id":"composer-2.5"},"durationMs":3983}}} +{"type":"expect_outbound","label":"agent.close","frame":{"type":"agent.close","agentId":"agent-78cfad4d-9b71-4534-b49c-fbcfab939a0f"}} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/subagent/cursor_output.ts b/apps/server/src/orchestration-v2/testkit/fixtures/subagent/cursor_output.ts new file mode 100644 index 0000000000..f4c3ee92b7 --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/subagent/cursor_output.ts @@ -0,0 +1,79 @@ +import { assert } from "@effect/vitest"; +import type { ProviderReplayTranscript } from "@t3tools/contracts"; + +import type { OrchestratorV2ScenarioResult } from "../../OrchestratorScenario.ts"; +import { + assertAssistantTextIncludes, + assertBaseProjection, + assertExecutionNodeKinds, + assertNoExtraAppRunsForProviderChildren, + assertRunProviderTurnCardinality, + assertSemanticProjectionIntegrity, + assertTurnItemTypes, + assertUserMessagesInclude, + projectionFor, + SUBAGENT_PROMPT, +} from "../shared.ts"; + +export function assertCursorSubagentOutput( + result: OrchestratorV2ScenarioResult, + transcript: ProviderReplayTranscript, +) { + assertBaseProjection({ + result, + transcript, + runCount: 1, + runStatuses: ["completed"], + }); + + const projection = projectionFor(result, transcript.scenario); + assertSemanticProjectionIntegrity(projection); + assertExecutionNodeKinds(projection, ["root_turn", "subagent"]); + assertTurnItemTypes(projection, ["user_message", "subagent", "assistant_message"]); + assertRunProviderTurnCardinality({ projection, rootRunCount: 1 }); + assertNoExtraAppRunsForProviderChildren({ projection, expectedAppRuns: 1 }); + assertUserMessagesInclude(projection, [SUBAGENT_PROMPT]); + assertAssistantTextIncludes(projection, "cursor-read-only-fixture"); + assertAssistantTextIncludes(projection, "ES2022"); + + assert.lengthOf(projection.subagents, 2); + assert.lengthOf(result.shellSnapshot.threads, 3); + assert.deepEqual( + projection.subagents.map((subagent) => subagent.status), + ["completed", "completed"], + ); + + for (const subagent of projection.subagents) { + assert.equal(subagent.origin, "provider_native"); + assert.equal(subagent.createdBy, "agent"); + assert.equal(subagent.provider, "cursor"); + assert.isNull(subagent.providerThreadId); + assert.isNotNull(subagent.childThreadId); + assert.isNotNull(subagent.nativeTaskRef); + assert.isNotNull(subagent.completedAt); + assert.isNotNull(subagent.result); + if (subagent.childThreadId === null) { + throw new Error(`Subagent ${subagent.id} is missing its child thread`); + } + + const childProjection = result.projections.get(subagent.childThreadId); + assert.isDefined(childProjection); + assert.equal(childProjection.thread.lineage.parentThreadId, projection.thread.id); + assert.equal(childProjection.thread.lineage.relationshipToParent, "subagent"); + assert.isNull(childProjection.thread.activeProviderThreadId); + assert.lengthOf(childProjection.runs, 0); + assert.lengthOf(childProjection.providerThreads, 0); + assert.lengthOf(childProjection.providerTurns, 0); + assertExecutionNodeKinds(childProjection, ["root_turn", "tool_call"]); + assertTurnItemTypes(childProjection, ["user_message", "file_search", "assistant_message"]); + assertUserMessagesInclude(childProjection, [subagent.prompt]); + assert.isTrue( + childProjection.turnItems.some( + (item) => + item.type === "assistant_message" && + subagent.result !== null && + item.text.includes(subagent.result.slice(0, 40)), + ), + ); + } +} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/subagent/cursor_transcript.ndjson b/apps/server/src/orchestration-v2/testkit/fixtures/subagent/cursor_transcript.ndjson new file mode 100644 index 0000000000..f1e2187642 --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/subagent/cursor_transcript.ndjson @@ -0,0 +1,474 @@ +{"type":"transcript_start","provider":"cursor","protocol":"cursor-agent-sdk.local","version":"1","scenario":"subagent","metadata":{"generatedBy":"recordCursorAgentSdkReplayTranscript","nativeAgentId":"agent-1eee5e51-da10-4b21-af9a-ef9aca8c482d"}} +{"type":"expect_outbound","label":"agent.open","frame":{"type":"agent.open","operation":"create","options":{"model":{"id":"composer-2.5"},"hasName":true,"mode":"agent","local":{"hasCwd":true,"autoReview":false,"sandboxEnabled":true,"enableAgentRetries":true}}}} +{"type":"emit_inbound","label":"agent.opened","frame":{"type":"agent.opened","agentId":"agent-1eee5e51-da10-4b21-af9a-ef9aca8c482d"}} +{"type":"expect_outbound","label":"run.start:1","frame":{"type":"run.start","message":"Spawn 2 subagents, one to read package.json and one to read tsconfig.json","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:1","frame":{"type":"run.started","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","agentId":"agent-1eee5e51-da10-4b21-af9a-ef9aca8c482d"}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"thinking-delta","text":"Spawning two subagents"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"thinking-delta","text":" to read package.json"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"thinking-delta","text":" and tsconfig.json."}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-completed","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"thinking-completed","thinkingDurationMs":130}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Sp"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"awning"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" two"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" sub"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"agents"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" in"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" parallel"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" to"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" read"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" `"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"package"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":".json"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"`"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" and"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" `"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"ts"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"config"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":".json"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"`.\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":72}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"partial-tool-call","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"partial-tool-call","callId":"tool_0c313ecc-9783-4a21-b0d5-74150331312","toolCall":{"type":"task","args":{"description":"Read package.json","prompt":"Read the file package.json in the workspace root at /tmp/cursor-replay-subagent/package.json and return its full contents along with a brief summary of what the project is (name, dependencies, scripts, etc.).","subagentType":{"kind":"unspecified"},"model":"composer-2.5-fast","agentId":"414d4889-6f0e-4866-9379-cd8a57673251","mode":"unspecified"}},"modelCallId":"393d6cf5-3363-488b-80aa-ca0498451dca-0-zcvb"}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"tool-call-started","callId":"tool_0c313ecc-9783-4a21-b0d5-74150331312","toolCall":{"type":"task","args":{"description":"Read package.json","prompt":"Read the file package.json in the workspace root at /tmp/cursor-replay-subagent/package.json and return its full contents along with a brief summary of what the project is (name, dependencies, scripts, etc.).","subagentType":{"kind":"unspecified"},"model":"composer-2.5-fast","agentId":"414d4889-6f0e-4866-9379-cd8a57673251","mode":"unspecified"}},"modelCallId":"393d6cf5-3363-488b-80aa-ca0498451dca-0-zcvb"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":78}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"partial-tool-call","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"partial-tool-call","callId":"tool_1d92aa7d-e115-4918-9cf6-d384c92098a","toolCall":{"type":"task","args":{"description":"Read tsconfig.json","prompt":"Read the file tsconfig.json in the workspace root at /tmp/cursor-replay-subagent/tsconfig.json and return its full contents along with a brief summary of the TypeScript configuration (compiler options, target, module settings, etc.).","subagentType":{"kind":"unspecified"},"model":"composer-2.5-fast","agentId":"4eab0559-c807-4f08-a101-c8d99d895c82","mode":"unspecified"}},"modelCallId":"393d6cf5-3363-488b-80aa-ca0498451dca-0-zcvb"}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"tool-call-started","callId":"tool_1d92aa7d-e115-4918-9cf6-d384c92098a","toolCall":{"type":"task","args":{"description":"Read tsconfig.json","prompt":"Read the file tsconfig.json in the workspace root at /tmp/cursor-replay-subagent/tsconfig.json and return its full contents along with a brief summary of the TypeScript configuration (compiler options, target, module settings, etc.).","subagentType":{"kind":"unspecified"},"model":"composer-2.5-fast","agentId":"4eab0559-c807-4f08-a101-c8d99d895c82","mode":"unspecified"}},"modelCallId":"393d6cf5-3363-488b-80aa-ca0498451dca-0-zcvb"}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"tool-call-completed","callId":"tool_0c313ecc-9783-4a21-b0d5-74150331312","toolCall":{"type":"task","args":{"description":"Read package.json","prompt":"Read the file package.json in the workspace root at /tmp/cursor-replay-subagent/package.json and return its full contents along with a brief summary of what the project is (name, dependencies, scripts, etc.).","subagentType":{"kind":"unspecified"},"model":"composer-2.5-fast","agentId":"414d4889-6f0e-4866-9379-cd8a57673251","mode":"unspecified"},"result":{"status":"success","value":{"conversationSteps":[{"toolCall":{"readToolCall":{"args":{"path":"/tmp/cursor-replay-subagent/package.json"},"result":{"success":{"content":"{\"name\":\"cursor-read-only-fixture\",\"private\":true,\"scripts\":{\"typecheck\":\"tsc --noEmit\"}}","totalLines":1,"fileSize":89,"path":"/tmp/cursor-replay-subagent/package.json","readRange":{"startLine":1,"endLine":1}}}},"toolCallId":"tool_45b696cd-7ad1-4fb6-bdd5-32452d02ea5"}},{"assistantMessage":{"text":"## Full contents\n\n```json\n{\n \"name\": \"cursor-read-only-fixture\",\n \"private\": true,\n \"scripts\": {\n \"typecheck\": \"tsc --noEmit\"\n }\n}\n```\n\n## Summary\n\n| Field | Value |\n|--------|--------|\n| **Name** | `cursor-read-only-fixture` |\n| **Private** | `true` (not intended for npm publish) |\n| **Scripts** | `typecheck` — runs TypeScript compiler in check-only mode (`tsc --noEmit`) |\n| **Dependencies** | None listed |\n| **Dev dependencies** | None listed |\n\nThis is a minimal TypeScript fixture project. It has no runtime or build dependencies in `package.json`; the only script is type-checking via `tsc`. The name suggests it’s a read-only test or demo setup for Cursor/orchestrator tooling rather than a full application."}}],"agentId":"414d4889-6f0e-4866-9379-cd8a57673251","isBackground":false,"durationMs":3570,"backgroundReason":"unspecified"}}},"modelCallId":"393d6cf5-3363-488b-80aa-ca0498451dca-0-zcvb"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":258}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"tool-call-completed","callId":"tool_1d92aa7d-e115-4918-9cf6-d384c92098a","toolCall":{"type":"task","args":{"description":"Read tsconfig.json","prompt":"Read the file tsconfig.json in the workspace root at /tmp/cursor-replay-subagent/tsconfig.json and return its full contents along with a brief summary of the TypeScript configuration (compiler options, target, module settings, etc.).","subagentType":{"kind":"unspecified"},"model":"composer-2.5-fast","agentId":"4eab0559-c807-4f08-a101-c8d99d895c82","mode":"unspecified"},"result":{"status":"success","value":{"conversationSteps":[{"assistantMessage":{"text":"Reading `tsconfig.json` and summarizing its TypeScript settings.\n"}},{"toolCall":{"readToolCall":{"args":{"path":"/tmp/cursor-replay-subagent/tsconfig.json"},"result":{"success":{"content":"{\"compilerOptions\":{\"module\":\"ESNext\",\"strict\":true,\"target\":\"ES2022\"}}","totalLines":1,"fileSize":71,"path":"/tmp/cursor-replay-subagent/tsconfig.json","readRange":{"startLine":1,"endLine":1}}}},"toolCallId":"tool_af98da3d-ddfc-4f07-a9a2-1c1ac8efcd6"}},{"assistantMessage":{"text":"## Full contents\n\n```json\n{\n \"compilerOptions\": {\n \"module\": \"ESNext\",\n \"strict\": true,\n \"target\": \"ES2022\"\n }\n}\n```\n\n## Summary\n\nThis is a minimal TypeScript config with three compiler options:\n\n| Option | Value | Meaning |\n|--------|--------|---------|\n| **target** | `ES2022` | Emit JavaScript for ES2022 (modern syntax and runtime features). |\n| **module** | `ESNext` | Use the latest ECMAScript module format for imports/exports. |\n| **strict** | `true` | Enable all strict type-checking options (e.g. `strictNullChecks`, `noImplicitAny`). |\n\n**Not specified (defaults apply):**\n- No `include` / `exclude` — TypeScript will include all `.ts` files in the project directory.\n- No `outDir` / `rootDir` — output location and root are inferred or use defaults.\n- No `moduleResolution`, `esModuleInterop`, `skipLibCheck`, or path aliases — standard defaults are used.\n\nOverall, it targets modern ES modules with strict checking and leaves most other settings at TypeScript defaults."}}],"agentId":"4eab0559-c807-4f08-a101-c8d99d895c82","isBackground":false,"durationMs":3614,"backgroundReason":"unspecified"}}},"modelCallId":"393d6cf5-3363-488b-80aa-ca0498451dca-0-zcvb"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":325}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Both"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" sub"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"agents"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" finished"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"."}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" Here"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"’s"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" what"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" they"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" reported"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":":\n\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"##"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" package"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":".json"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\n\n"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"```"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"json"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\n"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"{\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" "}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" \""}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"name"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\":"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" \""}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"cursor"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-read"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-only"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-fix"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"ture"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\",\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" "}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" \""}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"private"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\":"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" true"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":",\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" "}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" \""}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"scripts"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\":"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" {\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" "}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" \""}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"type"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"check"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\":"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" \""}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"t"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"sc"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" --"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"no"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Emit"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\"\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" "}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" }\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"}\n"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"```\n\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" **"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Name"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":":**"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" `"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"cursor"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-read"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-only"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-fix"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"ture"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"`\n"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" **"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Private"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":":**"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" `"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"true"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"`"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" ("}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"not"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" for"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" npm"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" publish"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":")\n"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" **"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Scripts"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":":**"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" `"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"type"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"check"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"`"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" runs"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" `"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"t"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"sc"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" --"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"no"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Emit"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"`\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" **"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Dependencies"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":":**"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" none"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" listed"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\n\n"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"This"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" looks"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" like"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" a"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" minimal"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" Type"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Script"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" fixture"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" for"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" Cursor"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"/or"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"che"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"strator"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" tooling"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":".\n\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"##"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" ts"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"config"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":".json"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\n\n"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"```"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"json"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\n"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"{\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" "}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" \""}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"compiler"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Options"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\":"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" {\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" "}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" \""}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"module"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\":"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" \""}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"ES"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Next"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\",\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" "}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" \""}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"strict"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\":"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" true"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":",\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" "}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" \""}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"target"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\":"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" \""}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"ES"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"202"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"2"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\"\n"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" "}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" }\n"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"}\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"```\n\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" **"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"target"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":":**"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" `"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"ES"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"202"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"2"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"`\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" **"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"module"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":":**"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" `"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"ES"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Next"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"`\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" **"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"strict"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":":**"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" `"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"true"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"`"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" ("}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"full"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" strict"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" type"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-check"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"ing"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":")\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" No"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" `"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"include"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"`"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"/`"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"exclude"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"`,"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" `"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"out"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Dir"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"`,"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" or"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" path"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" aliases"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" —"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" defaults"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" apply"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"\n\n"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Together"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":","}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" this"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" is"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" a"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" small"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" read"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"-only"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" Type"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"Script"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" project"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" with"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" strict"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" checking"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" and"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" a"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" single"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" type"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"check"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":" script"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"text-delta","text":"."}}} +{"type":"emit_inbound","label":"step-completed","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"step-completed","stepId":5,"stepDurationMs":6831}}} +{"type":"emit_inbound","label":"turn-ended","frame":{"type":"interaction.update","runId":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","update":{"type":"turn-ended","usage":{"inputTokens":21878,"outputTokens":661,"cacheReadTokens":17788,"cacheWriteTokens":0}}}} +{"type":"emit_inbound","label":"run.completed:1","frame":{"type":"run.completed","result":{"id":"run-4f9fd970-8f15-44ae-8973-09aa4d42daaf","requestId":"393d6cf5-3363-488b-80aa-ca0498451dca","status":"finished","result":"Both subagents finished. Here’s what they reported:\n\n## package.json\n\n```json\n{\n \"name\": \"cursor-read-only-fixture\",\n \"private\": true,\n \"scripts\": {\n \"typecheck\": \"tsc --noEmit\"\n }\n}\n```\n\n- **Name:** `cursor-read-only-fixture`\n- **Private:** `true` (not for npm publish)\n- **Scripts:** `typecheck` runs `tsc --noEmit`\n- **Dependencies:** none listed\n\nThis looks like a minimal TypeScript fixture for Cursor/orchestrator tooling.\n\n## tsconfig.json\n\n```json\n{\n \"compilerOptions\": {\n \"module\": \"ESNext\",\n \"strict\": true,\n \"target\": \"ES2022\"\n }\n}\n```\n\n- **target:** `ES2022`\n- **module:** `ESNext`\n- **strict:** `true` (full strict type-checking)\n- No `include`/`exclude`, `outDir`, or path aliases — defaults apply\n\nTogether, this is a small read-only TypeScript project with strict checking and a single typecheck script.","model":{"id":"composer-2.5"},"durationMs":9585}}} +{"type":"expect_outbound","label":"agent.close","frame":{"type":"agent.close","agentId":"agent-1eee5e51-da10-4b21-af9a-ef9aca8c482d"}} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/todo_list/cursor_output.ts b/apps/server/src/orchestration-v2/testkit/fixtures/todo_list/cursor_output.ts new file mode 100644 index 0000000000..061d1797d4 --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/todo_list/cursor_output.ts @@ -0,0 +1,44 @@ +import { assert } from "@effect/vitest"; +import type { ProviderReplayTranscript } from "@t3tools/contracts"; + +import type { OrchestratorV2ScenarioResult } from "../../OrchestratorScenario.ts"; +import { + assertAssistantTextIncludes, + assertBaseProjection, + assertExecutionNodeKinds, + assertRunOrdinals, + assertSemanticProjectionIntegrity, + assertTurnItemTypes, + assertUserMessagesInclude, + assertVisibleTurnItemsMirrorLocalTurnItems, + projectionFor, + TODO_LIST_PROMPT, +} from "../shared.ts"; + +export function assertTodoListCursorOutput( + result: OrchestratorV2ScenarioResult, + transcript: ProviderReplayTranscript, +) { + assertBaseProjection({ result, transcript, runCount: 1, runStatuses: ["completed"] }); + + const projection = projectionFor(result, transcript.scenario); + assertSemanticProjectionIntegrity(projection); + assertVisibleTurnItemsMirrorLocalTurnItems(projection); + assertRunOrdinals(projection, [1]); + assertExecutionNodeKinds(projection, ["root_turn", "todo_list", "tool_call"]); + assertTurnItemTypes(projection, [ + "user_message", + "file_search", + "todo_list", + "assistant_message", + ]); + assertUserMessagesInclude(projection, [TODO_LIST_PROMPT]); + assertAssistantTextIncludes(projection, "todo list fixture complete"); + + const todoLists = projection.plans.filter((plan) => plan.kind === "todo_list"); + assert.isAtLeast(todoLists.length, 1); + assert.deepEqual( + todoLists.at(-1)?.steps.map((step) => step.status), + ["completed", "completed", "completed"], + ); +} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/todo_list/cursor_transcript.ndjson b/apps/server/src/orchestration-v2/testkit/fixtures/todo_list/cursor_transcript.ndjson new file mode 100644 index 0000000000..915b3b3c28 --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/todo_list/cursor_transcript.ndjson @@ -0,0 +1,104 @@ +{"type":"transcript_start","provider":"cursor","protocol":"cursor-agent-sdk.local","version":"1","scenario":"todo_list","metadata":{"generatedBy":"recordCursorAgentSdkReplayTranscript","nativeAgentId":"agent-dc85ea29-1f94-4803-8d28-0dc358300ffe"}} +{"type":"expect_outbound","label":"agent.open","frame":{"type":"agent.open","operation":"create","options":{"model":{"id":"composer-2.5"},"hasName":true,"mode":"agent","local":{"hasCwd":true,"autoReview":false,"sandboxEnabled":true,"enableAgentRetries":true}}}} +{"type":"emit_inbound","label":"agent.opened","frame":{"type":"agent.opened","agentId":"agent-dc85ea29-1f94-4803-8d28-0dc358300ffe"}} +{"type":"expect_outbound","label":"run.start:1","frame":{"type":"run.start","message":"Use the update_plan tool to track exactly three steps: inspect package.json, inspect tsconfig.json, report completion. Then read package.json and tsconfig.json, and answer exactly: todo list fixture complete","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:1","frame":{"type":"run.started","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","agentId":"agent-dc85ea29-1f94-4803-8d28-0dc358300ffe"}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":"I'll"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":" use"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":" the update_plan"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":" tool for"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":" the three steps"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":","}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":" then read both"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":" config"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":" files"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":".\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":30}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"tool-call-started","callId":"tool_1afa2c76-8304-41d9-a59d-139ff962eb0","toolCall":{"type":"read","args":{"path":"/tmp/cursor-replay-todo_list/package.json"}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-0-wgfq"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":31}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"tool-call-started","callId":"tool_fb1809e9-fffb-4f76-9b0f-10e4f0f1f88","toolCall":{"type":"read","args":{"path":"/tmp/cursor-replay-todo_list/tsconfig.json"}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-0-wgfq"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":17}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"tool-call-completed","callId":"tool_1afa2c76-8304-41d9-a59d-139ff962eb0","toolCall":{"type":"read","args":{"path":"/tmp/cursor-replay-todo_list/package.json"},"result":{"status":"success","value":{"content":"{\"name\":\"cursor-read-only-fixture\",\"private\":true,\"scripts\":{\"typecheck\":\"tsc --noEmit\"}}","totalLines":1,"fileSize":89}}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-0-wgfq"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":22}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"tool-call-completed","callId":"tool_fb1809e9-fffb-4f76-9b0f-10e4f0f1f88","toolCall":{"type":"read","args":{"path":"/tmp/cursor-replay-todo_list/tsconfig.json"},"result":{"status":"success","value":{"content":"{\"compilerOptions\":{\"module\":\"ESNext\",\"strict\":true,\"target\":\"ES2022\"}}","totalLines":1,"fileSize":71}}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-0-wgfq"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":18}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"tool-call-started","callId":"tool_b9573f13-5878-4f12-8a4a-1ac6539d2c6","toolCall":{"type":"grep","args":{"pattern":"update_plan","offset":0}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-1-kj0v"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"tool-call-started","callId":"tool_85d050cc-5276-4dea-9ae0-69d7d0c5dcf","toolCall":{"type":"glob","args":{"globPattern":"**/*"}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-1-kj0v"}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"tool-call-completed","callId":"tool_b9573f13-5878-4f12-8a4a-1ac6539d2c6","toolCall":{"type":"grep","args":{"pattern":"update_plan","offset":0},"result":{"status":"success","value":{"workspaceResults":{"/var/folders/b3/b51_pdxj7dl0t981zpqkxxhr0000gn/T/t3-orchestrator-v2-cursor-agent-sdk-record-todo_list-CIb23S":{"type":"content","output":{"matches":[],"totalMatches":0}}}}}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-1-kj0v"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":45}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"tool-call-completed","callId":"tool_85d050cc-5276-4dea-9ae0-69d7d0c5dcf","toolCall":{"type":"glob","args":{"globPattern":"**/*"},"result":{"status":"success","value":{"files":["./tsconfig.json","./package.json","./.git/logs/refs/heads/main","./.git/logs/HEAD","./.git/refs/heads/main","./.git/objects/ca/af47d623ededb9003c98e14a66bcfd037f0182","./.git/COMMIT_EDITMSG","./README.md","./.git/config","./.git/HEAD","./.git/hooks/push-to-checkout.sample","./.git/hooks/update.sample","./.git/hooks/pre-push.sample","./.git/hooks/pre-applypatch.sample","./.git/hooks/pre-merge-commit.sample","./.git/hooks/post-update.sample","./.git/hooks/prepare-commit-msg.sample","./.git/hooks/pre-receive.sample","./.git/hooks/fsmonitor-watchman.sample","./.git/hooks/applypatch-msg.sample","./.git/hooks/pre-commit.sample","./.git/hooks/sendemail-validate.sample","./.git/hooks/pre-rebase.sample","./.git/hooks/commit-msg.sample","./.git/description","./.git/info/exclude"],"totalFiles":26,"clientTruncated":false,"ripgrepTruncated":false}}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-1-kj0v"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":206}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"thinking-delta","text":"The update_plan tool"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"thinking-delta","text":" does not exist in the"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"thinking-delta","text":" MCP servers or codebase."}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":6}}} +{"type":"emit_inbound","label":"thinking-completed","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"thinking-completed","thinkingDurationMs":608}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":30}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"tool-call-started","callId":"tool_196feaa1-1381-49c6-8bf5-e716ff05eef","toolCall":{"type":"read","args":{"path":"/tmp/cursor-replay-todo_list/README.md"}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-2-zbbf"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":10}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"tool-call-completed","callId":"tool_196feaa1-1381-49c6-8bf5-e716ff05eef","toolCall":{"type":"read","args":{"path":"/tmp/cursor-replay-todo_list/README.md"},"result":{"status":"success","value":{"content":"# cursor-agent-sdk-record-todo_list\n","totalLines":2,"fileSize":36}}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-2-zbbf"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":9}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"thinking-delta","text":"The update_plan tool"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"thinking-delta","text":" is unavailable."}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"thinking-delta","text":"\n\nTodoWrite will replace"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":6}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"thinking-delta","text":" the unavailable update_plan"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":7}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"thinking-delta","text":" tool."}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"thinking-completed","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"thinking-completed","thinkingDurationMs":984}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":"No `update_plan"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":"` tool is"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":" available here; I'll"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":" track"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":" the three"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":" steps with Todo"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":"Write instead"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":".\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"partial-tool-call","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"partial-tool-call","callId":"tool_64775a27-f6f1-4f85-9061-2038c1c6d57","toolCall":{"type":"updateTodos","args":{"todos":[{"content":"inspect package.json","status":"completed"}]}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-3-fvov"}}} +{"type":"emit_inbound","label":"partial-tool-call","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"partial-tool-call","callId":"tool_64775a27-f6f1-4f85-9061-2038c1c6d57","toolCall":{"type":"updateTodos","args":{"todos":[{"content":"inspect package.json","status":"completed"},{"content":"inspect tsconfig.json","status":"completed"}]}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-3-fvov"}}} +{"type":"emit_inbound","label":"partial-tool-call","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"partial-tool-call","callId":"tool_64775a27-f6f1-4f85-9061-2038c1c6d57","toolCall":{"type":"updateTodos","args":{"todos":[{"content":"inspect package.json","status":"completed"},{"content":"inspect tsconfig.json","status":"completed"},{"content":"report completion","status":"completed"}]}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-3-fvov"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":53}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"tool-call-started","callId":"tool_64775a27-f6f1-4f85-9061-2038c1c6d57","toolCall":{"type":"updateTodos","args":{"todos":[{"content":"inspect package.json","status":"completed"},{"content":"inspect tsconfig.json","status":"completed"},{"content":"report completion","status":"completed"}]}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-3-fvov"}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"tool-call-completed","callId":"tool_64775a27-f6f1-4f85-9061-2038c1c6d57","toolCall":{"type":"updateTodos","args":{"todos":[{"content":"inspect package.json","status":"completed"},{"content":"inspect tsconfig.json","status":"completed"},{"content":"report completion","status":"completed"}]},"result":{"status":"success","value":{"todos":[{"content":"inspect package.json","status":"completed"},{"content":"inspect tsconfig.json","status":"completed"},{"content":"report completion","status":"completed"}],"totalCount":3}}},"modelCallId":"78b3b965-5601-4832-a723-a9259703c762-3-fvov"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":93}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":"todo"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"text-delta","text":" list fixture complete"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"step-completed","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"step-completed","stepId":13,"stepDurationMs":9044}}} +{"type":"emit_inbound","label":"turn-ended","frame":{"type":"interaction.update","runId":"run-50c35736-cb9d-4070-8299-8a4360c76af7","update":{"type":"turn-ended","usage":{"inputTokens":55956,"outputTokens":1036,"cacheReadTokens":40288,"cacheWriteTokens":0}}}} +{"type":"emit_inbound","label":"run.completed:1","frame":{"type":"run.completed","result":{"id":"run-50c35736-cb9d-4070-8299-8a4360c76af7","requestId":"78b3b965-5601-4832-a723-a9259703c762","status":"finished","result":"todo list fixture complete","model":{"id":"composer-2.5"},"durationMs":11741}}} +{"type":"expect_outbound","label":"agent.close","frame":{"type":"agent.close","agentId":"agent-dc85ea29-1f94-4803-8d28-0dc358300ffe"}} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/tool_call_read_only/cursor_output.ts b/apps/server/src/orchestration-v2/testkit/fixtures/tool_call_read_only/cursor_output.ts new file mode 100644 index 0000000000..c1463ba10a --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/tool_call_read_only/cursor_output.ts @@ -0,0 +1,39 @@ +import { assert } from "@effect/vitest"; +import type { ProviderReplayTranscript } from "@t3tools/contracts"; + +import type { OrchestratorV2ScenarioResult } from "../../OrchestratorScenario.ts"; +import { + assertAssistantTextIncludes, + assertBaseProjection, + assertRuntimeRequestCounts, + assertSemanticProjectionIntegrity, + assertTurnItemTypes, + assertUserMessagesInclude, + assertVisibleTurnItemsMirrorLocalTurnItems, + projectionFor, + TOOL_CALL_READ_ONLY_PROMPT, +} from "../shared.ts"; + +export function assertToolCallReadOnlyCursorOutput( + result: OrchestratorV2ScenarioResult, + transcript: ProviderReplayTranscript, +) { + assertBaseProjection({ result, transcript, runCount: 1, runStatuses: ["completed"] }); + + const projection = projectionFor(result, transcript.scenario); + assertSemanticProjectionIntegrity(projection); + assertVisibleTurnItemsMirrorLocalTurnItems(projection); + assertTurnItemTypes(projection, ["user_message", "file_search", "assistant_message"]); + assertUserMessagesInclude(projection, [TOOL_CALL_READ_ONLY_PROMPT]); + assertAssistantTextIncludes(projection, "read only tool fixture complete"); + assertRuntimeRequestCounts(projection, { total: 0 }); + + const fileSearches = projection.turnItems.filter((item) => item.type === "file_search"); + assert.lengthOf(fileSearches, 2); + assert.isTrue( + fileSearches.some((item) => + JSON.stringify(item.results ?? []).includes("cursor-read-only-fixture"), + ), + ); + assert.isTrue(fileSearches.some((item) => JSON.stringify(item.results ?? []).includes("ES2022"))); +} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/tool_call_read_only/cursor_transcript.ndjson b/apps/server/src/orchestration-v2/testkit/fixtures/tool_call_read_only/cursor_transcript.ndjson new file mode 100644 index 0000000000..6238f8d6e6 --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/tool_call_read_only/cursor_transcript.ndjson @@ -0,0 +1,27 @@ +{"type":"transcript_start","provider":"cursor","protocol":"cursor-agent-sdk.local","version":"1","scenario":"tool_call_read_only","metadata":{"generatedBy":"recordCursorAgentSdkReplayTranscript","nativeAgentId":"agent-3d017b33-d7fe-40aa-868b-0b7a68d0e15b"}} +{"type":"expect_outbound","label":"agent.open","frame":{"type":"agent.open","operation":"create","options":{"model":{"id":"composer-2.5"},"hasName":true,"mode":"agent","local":{"hasCwd":true,"autoReview":false,"sandboxEnabled":true,"enableAgentRetries":true}}}} +{"type":"emit_inbound","label":"agent.opened","frame":{"type":"agent.opened","agentId":"agent-3d017b33-d7fe-40aa-868b-0b7a68d0e15b"}} +{"type":"expect_outbound","label":"run.start:1","frame":{"type":"run.start","message":"Read /tmp/claude-replay-tool_call_read_only/package.json and /tmp/claude-replay-tool_call_read_only/tsconfig.json, then answer exactly: read only tool fixture complete","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:1","frame":{"type":"run.started","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","agentId":"agent-3d017b33-d7fe-40aa-868b-0b7a68d0e15b"}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"text-delta","text":"Reading both files now"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"text-delta","text":".\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"token-delta","tokens":13}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"tool-call-started","callId":"tool_56c7e2fb-8a39-4b1d-8b28-31f47bd717e","toolCall":{"type":"read","args":{"path":"/tmp/cursor-replay-tool_call_read_only/package.json"}},"modelCallId":"fb59b086-fb0a-4263-ac27-2c53351e44ac-0-279u"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"token-delta","tokens":13}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"tool-call-started","callId":"tool_a4c6ef64-f13c-4738-b527-1aad09b6185","toolCall":{"type":"read","args":{"path":"/tmp/cursor-replay-tool_call_read_only/tsconfig.json"}},"modelCallId":"fb59b086-fb0a-4263-ac27-2c53351e44ac-0-279u"}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"tool-call-completed","callId":"tool_56c7e2fb-8a39-4b1d-8b28-31f47bd717e","toolCall":{"type":"read","args":{"path":"/tmp/cursor-replay-tool_call_read_only/package.json"},"result":{"status":"success","value":{"content":"{\"name\":\"cursor-read-only-fixture\",\"private\":true,\"scripts\":{\"typecheck\":\"tsc --noEmit\"}}","totalLines":1,"fileSize":89}}},"modelCallId":"fb59b086-fb0a-4263-ac27-2c53351e44ac-0-279u"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"token-delta","tokens":23}}} +{"type":"emit_inbound","label":"tool-call-completed","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"tool-call-completed","callId":"tool_a4c6ef64-f13c-4738-b527-1aad09b6185","toolCall":{"type":"read","args":{"path":"/tmp/cursor-replay-tool_call_read_only/tsconfig.json"},"result":{"status":"success","value":{"content":"{\"compilerOptions\":{\"module\":\"ESNext\",\"strict\":true,\"target\":\"ES2022\"}}","totalLines":1,"fileSize":71}}},"modelCallId":"fb59b086-fb0a-4263-ac27-2c53351e44ac-0-279u"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"token-delta","tokens":17}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"text-delta","text":"read"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"text-delta","text":" only tool fixture complete"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"token-delta","tokens":6}}} +{"type":"emit_inbound","label":"step-completed","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"step-completed","stepId":4,"stepDurationMs":2132}}} +{"type":"emit_inbound","label":"turn-ended","frame":{"type":"interaction.update","runId":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","update":{"type":"turn-ended","usage":{"inputTokens":20572,"outputTokens":118,"cacheReadTokens":14720,"cacheWriteTokens":0}}}} +{"type":"emit_inbound","label":"run.completed:1","frame":{"type":"run.completed","result":{"id":"run-db8a1002-593e-4baf-9ed1-d837c14643ed","requestId":"fb59b086-fb0a-4263-ac27-2c53351e44ac","status":"finished","result":"read only tool fixture complete","model":{"id":"composer-2.5"},"durationMs":4662}}} +{"type":"expect_outbound","label":"agent.close","frame":{"type":"agent.close","agentId":"agent-3d017b33-d7fe-40aa-868b-0b7a68d0e15b"}} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/turn_interrupt_mid_tool/cursor_output.ts b/apps/server/src/orchestration-v2/testkit/fixtures/turn_interrupt_mid_tool/cursor_output.ts new file mode 100644 index 0000000000..becc6006a9 --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/turn_interrupt_mid_tool/cursor_output.ts @@ -0,0 +1,75 @@ +import { assert } from "@effect/vitest"; +import type { ProviderReplayTranscript } from "@t3tools/contracts"; + +import type { OrchestratorV2ScenarioResult } from "../../OrchestratorScenario.ts"; +import { + assertBaseProjection, + assertSemanticProjectionIntegrity, + assertTurnItemTypes, + assertUserMessagesInclude, + assertVisibleTurnItemsMirrorLocalTurnItems, + projectionFor, + TURN_INTERRUPT_MID_TOOL_PROMPT, +} from "../shared.ts"; + +function frameType(frame: unknown): string | undefined { + return typeof frame === "object" && frame !== null + ? (Reflect.get(frame, "type") as string | undefined) + : undefined; +} + +function cursorUpdateType(frame: unknown): string | undefined { + if (frameType(frame) !== "interaction.update") { + return undefined; + } + const update = Reflect.get(frame as object, "update"); + return typeof update === "object" && update !== null + ? (Reflect.get(update, "type") as string | undefined) + : undefined; +} + +export function assertTurnInterruptMidToolCursorOutput( + result: OrchestratorV2ScenarioResult, + transcript: ProviderReplayTranscript, +) { + const toolStartedIndex = transcript.entries.findIndex( + (entry) => + entry.type === "emit_inbound" && cursorUpdateType(entry.frame) === "tool-call-started", + ); + const cancelIndex = transcript.entries.findIndex( + (entry) => entry.type === "expect_outbound" && frameType(entry.frame) === "run.cancel", + ); + assert.isAtLeast(toolStartedIndex, 0); + assert.isAbove(cancelIndex, toolStartedIndex); + assertBaseProjection({ result, transcript, runCount: 1, runStatuses: ["interrupted"] }); + + const projection = projectionFor(result, transcript.scenario); + assertSemanticProjectionIntegrity(projection); + assertVisibleTurnItemsMirrorLocalTurnItems(projection); + assertTurnItemTypes(projection, [ + "user_message", + "command_execution", + "run_interrupt_request", + "run_interrupt_result", + ]); + assertUserMessagesInclude(projection, [TURN_INTERRUPT_MID_TOOL_PROMPT]); + + const commandItem = projection.turnItems.find((item) => item.type === "command_execution"); + const interruptRequest = projection.turnItems.find( + (item) => item.type === "run_interrupt_request", + ); + const interruptResult = projection.turnItems.find((item) => item.type === "run_interrupt_result"); + assert.isDefined(commandItem); + assert.isDefined(interruptRequest); + assert.isDefined(interruptResult); + assert.include(commandItem.input, "node -e"); + assert.equal(interruptRequest.status, "completed"); + assert.equal(interruptResult.status, "interrupted"); + assert.equal(interruptResult.parentItemId, interruptRequest.id); + assert.deepEqual( + projection.attempts.map((attempt) => attempt.status), + ["interrupted"], + ); + assert.equal(projection.providerThreads[0]?.status, "idle"); + assert.equal(projection.providerTurns[0]?.status, "interrupted"); +} diff --git a/apps/server/src/orchestration-v2/testkit/fixtures/turn_interrupt_mid_tool/cursor_transcript.ndjson b/apps/server/src/orchestration-v2/testkit/fixtures/turn_interrupt_mid_tool/cursor_transcript.ndjson new file mode 100644 index 0000000000..fbbcca5af5 --- /dev/null +++ b/apps/server/src/orchestration-v2/testkit/fixtures/turn_interrupt_mid_tool/cursor_transcript.ndjson @@ -0,0 +1,43 @@ +{"type":"transcript_start","provider":"cursor","protocol":"cursor-agent-sdk.local","version":"1","scenario":"turn_interrupt_mid_tool","metadata":{"generatedBy":"recordCursorAgentSdkReplayTranscript","nativeAgentId":"agent-e4dcb030-b82a-4526-9b30-3db02142c1bb"}} +{"type":"expect_outbound","label":"agent.open","frame":{"type":"agent.open","operation":"create","options":{"model":{"id":"composer-2.5"},"hasName":true,"mode":"agent","local":{"hasCwd":true,"autoReview":false,"sandboxEnabled":true,"enableAgentRetries":true}}}} +{"type":"emit_inbound","label":"agent.opened","frame":{"type":"agent.opened","agentId":"agent-e4dcb030-b82a-4526-9b30-3db02142c1bb"}} +{"type":"expect_outbound","label":"run.start:1","frame":{"type":"run.start","message":"Run this exact local command: `node -e \"console.log('interrupt fixture tool started'); setTimeout(() => {}, 30000)\"`. Do not answer until it completes, then respond exactly: interrupt fixture should not finish naturally.","options":{"model":{"id":"composer-2.5"},"mode":"agent"}}} +{"type":"emit_inbound","label":"run.started:1","frame":{"type":"run.started","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","agentId":"agent-e4dcb030-b82a-4526-9b30-3db02142c1bb"}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"thinking-delta","text":"Running the Node.js "}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"thinking-delta","text":"command now. Waiting"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"thinking-delta","text":" for it to complete "}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"thinking-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"thinking-delta","text":"before responding."}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"thinking-completed","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"thinking-completed","thinkingDurationMs":697}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"text-delta","text":"Running"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"text-delta","text":" the"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"text-delta","text":" command"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"text-delta","text":" and"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"text-delta","text":" waiting"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"text-delta","text":" for"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"text-delta","text":" it"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"text-delta","text":" to"}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"text-delta","text":" finish"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":2}}} +{"type":"emit_inbound","label":"text-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"text-delta","text":".\n"}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":3}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":22}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":4}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":9}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":5}}} +{"type":"emit_inbound","label":"token-delta","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"token-delta","tokens":1}}} +{"type":"emit_inbound","label":"tool-call-started","frame":{"type":"interaction.update","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","update":{"type":"tool-call-started","callId":"tool_6ecf0e02-3c15-448d-8994-2d041457475","toolCall":{"type":"shell","args":{"command":"node -e \"console.log('interrupt fixture tool started'); setTimeout(() => {}, 30000)\"","timeout":35000}},"modelCallId":"d7f78da1-7ccd-45fc-a021-a0f7c333bd1d-0-kteu"}}} +{"type":"expect_outbound","label":"run.cancel:1","frame":{"type":"run.cancel","runId":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2"}} +{"type":"emit_inbound","label":"run.completed:1","frame":{"type":"run.completed","result":{"id":"run-3735f72d-3c3a-40b3-ae4a-caed784e6ea2","requestId":"d7f78da1-7ccd-45fc-a021-a0f7c333bd1d","status":"cancelled","model":{"id":"composer-2.5"},"durationMs":4496}}} +{"type":"expect_outbound","label":"agent.close","frame":{"type":"agent.close","agentId":"agent-e4dcb030-b82a-4526-9b30-3db02142c1bb"}} diff --git a/apps/server/src/provider/Drivers/CursorDriver.ts b/apps/server/src/provider/Drivers/CursorDriver.ts index 2101664d5c..964819844e 100644 --- a/apps/server/src/provider/Drivers/CursorDriver.ts +++ b/apps/server/src/provider/Drivers/CursorDriver.ts @@ -1,9 +1,9 @@ /** * CursorDriver — `ProviderDriver` for the Cursor Agent (`cursor-agent`) runtime. * - * Cursor exposes an ACP-based CLI. Model catalog and capability refreshes - * happen during the managed provider status check via Cursor's - * `list_available_models` extension method. + * Provider status and model discovery use the official Cursor SDK when an API + * key is configured. The ACP CLI remains the compatibility fallback for + * installations that authenticate through the local Cursor binary. * * Text generation is supported via the ACP runtime — `makeCursorTextGeneration` * drives `runtime.prompt` with a structured-output schema and collects the @@ -31,6 +31,7 @@ import { checkCursorProviderStatus, enrichCursorSnapshot, } from "../Layers/CursorProvider.ts"; +import { CursorSdkCatalogLive } from "../Layers/CursorSdkCatalog.ts"; import { ProviderEventLoggers } from "../Layers/ProviderEventLoggers.ts"; import { makeManagedServerProvider } from "../makeManagedServerProvider.ts"; import { @@ -134,7 +135,7 @@ export const CursorDriver: ProviderDriver = { const checkProvider = checkCursorProviderStatus(effectiveConfig, processEnv).pipe( Effect.map(stampIdentity), - Effect.provideService(Crypto.Crypto, crypto), + Effect.provide(CursorSdkCatalogLive), Effect.provideService(ChildProcessSpawner.ChildProcessSpawner, spawner), Effect.provideService(FileSystem.FileSystem, fileSystem), Effect.provideService(Path.Path, path), diff --git a/apps/server/src/provider/Layers/CursorProvider.test.ts b/apps/server/src/provider/Layers/CursorProvider.test.ts index 7c87b0d2ae..78a9573114 100644 --- a/apps/server/src/provider/Layers/CursorProvider.test.ts +++ b/apps/server/src/provider/Layers/CursorProvider.test.ts @@ -3,17 +3,22 @@ import * as os from "node:os"; import { chmod, mkdtemp, readFile, writeFile } from "node:fs/promises"; import { fileURLToPath } from "node:url"; +import type { SDKModel } from "@cursor/sdk"; +import { describe, expect, it } from "@effect/vitest"; import * as NodeServices from "@effect/platform-node/NodeServices"; -import { Effect } from "effect"; -import { describe, expect, it } from "vitest"; +import * as Effect from "effect/Effect"; +import * as FileSystem from "effect/FileSystem"; +import * as Layer from "effect/Layer"; +import * as Path from "effect/Path"; import type * as EffectAcpSchema from "effect-acp/schema"; import type { CursorSettings, ServerProviderModel } from "@t3tools/contracts"; import { buildCursorProviderSnapshot, buildCursorCapabilitiesFromConfigOptions, - buildCursorDiscoveredModelsFromConfigOptions, - discoverCursorModelCapabilitiesViaAcp, + buildCursorCapabilitiesFromSdkModel, + buildCursorDiscoveredModelsFromSdk, + checkCursorProviderStatus, discoverCursorModelsViaAcp, getCursorFallbackModels, getCursorParameterizedModelPickerUnsupportedMessage, @@ -23,6 +28,7 @@ import { resolveCursorAcpBaseModelId, resolveCursorAcpConfigUpdates, } from "./CursorProvider.ts"; +import { CursorSdkCatalogError, makeCursorSdkCatalogTestLayer } from "./CursorSdkCatalog.ts"; const __dirname = path.dirname(fileURLToPath(import.meta.url)); const mockAgentPath = path.join(__dirname, "../../../scripts/acp-mock-agent.ts"); @@ -239,13 +245,50 @@ const baseCursorSettings: CursorSettings = { customModels: [], }; -const emptyCapabilities = { - reasoningEffortLevels: [], - supportsFastMode: false, - supportsThinkingToggle: false, - contextWindowOptions: [], - promptInjectedEffortLevels: [], -} as const; +const sdkParameterizedModel = { + id: "claude-opus-4-8", + displayName: "Opus 4.8", + parameters: [ + { + id: "thinking", + displayName: "Thinking", + values: [{ value: "false" }, { value: "true" }], + }, + { + id: "context", + displayName: "Context", + values: [ + { value: "300k", displayName: "300K" }, + { value: "1m", displayName: "1M" }, + ], + }, + { + id: "effort", + displayName: "Effort", + values: [ + { value: "low", displayName: "Low" }, + { value: "high", displayName: "High" }, + ], + }, + { + id: "fast", + displayName: "Fast", + values: [{ value: "false" }, { value: "true", displayName: "Fast" }], + }, + ], + variants: [ + { + displayName: "Opus 4.8", + isDefault: true, + params: [ + { id: "thinking", value: "true" }, + { id: "context", value: "1m" }, + { id: "effort", value: "high" }, + { id: "fast", value: "false" }, + ], + }, + ], +} satisfies SDKModel; describe("getCursorFallbackModels", () => { it("does not publish any built-in cursor models before ACP discovery", () => { @@ -361,22 +404,114 @@ describe("buildCursorCapabilitiesFromConfigOptions", () => { }); }); -describe("checkCursorProviderStatus", () => { - it("reports the install docs when the Cursor CLI command is missing", async () => { - const provider = await runNode( - checkCursorProviderStatus({ - enabled: true, - binaryPath: missingCursorBinaryPath, - apiEndpoint: "", - customModels: [], +describe("Cursor SDK model discovery", () => { + it("maps native SDK parameter ids and default variant values to model capabilities", () => { + expect(buildCursorCapabilitiesFromSdkModel(sdkParameterizedModel)).toEqual( + createModelCapabilities({ + optionDescriptors: [ + selectDescriptor("effort", "Effort", [ + { id: "low", label: "Low" }, + { id: "high", label: "High", isDefault: true }, + ]), + selectDescriptor("contextWindow", "Context", [ + { id: "300k", label: "300K" }, + { id: "1m", label: "1M", isDefault: true }, + ]), + booleanDescriptor("fastMode", "Fast", false), + booleanDescriptor("thinking", "Thinking", true), + ], }), ); + }); + + it("filters invalid and duplicate SDK model entries", () => { + expect( + buildCursorDiscoveredModelsFromSdk([ + sdkParameterizedModel, + { ...sdkParameterizedModel, displayName: "Duplicate" }, + { id: "", displayName: "Invalid" }, + ]), + ).toEqual([ + { + slug: "claude-opus-4-8", + name: "Opus 4.8", + isCustom: false, + capabilities: buildCursorCapabilitiesFromSdkModel(sdkParameterizedModel), + }, + ]); + }); +}); + +describe("checkCursorProviderStatus", () => { + it("uses the SDK catalog when CURSOR_API_KEY is configured", async () => { + const provider = await Effect.runPromise( + checkCursorProviderStatus( + { + ...baseCursorSettings, + binaryPath: "cursor-cli-must-not-be-invoked", + customModels: ["internal/cursor-model"], + }, + { CURSOR_API_KEY: "test-cursor-key" }, + ).pipe( + Effect.provide( + Layer.mergeAll( + makeCursorSdkCatalogTestLayer((apiKey) => { + expect(apiKey).toBe("test-cursor-key"); + return Effect.succeed({ + user: { + apiKeyName: "test-key", + userEmail: "cursor@example.com", + createdAt: "2026-01-01T00:00:00.000Z", + }, + models: [sdkParameterizedModel], + }); + }), + NodeServices.layer, + ), + ), + ), + ); + + expect(provider).toMatchObject({ + status: "ready", + auth: { + status: "authenticated", + type: "api-key", + label: "Cursor API key (test-key)", + email: "cursor@example.com", + }, + models: [ + { slug: "claude-opus-4-8", isCustom: false }, + { slug: "internal/cursor-model", isCustom: true }, + ], + }); + }); + + it("surfaces SDK authentication failures without invoking the CLI", async () => { + const provider = await Effect.runPromise( + checkCursorProviderStatus(baseCursorSettings, { + CURSOR_API_KEY: "invalid-test-key", + }).pipe( + Effect.provide( + Layer.mergeAll( + makeCursorSdkCatalogTestLayer(() => + Effect.fail( + new CursorSdkCatalogError({ + authenticationFailure: true, + cause: new Error("unauthorized"), + }), + ), + ), + NodeServices.layer, + ), + ), + ), + ); expect(provider).toMatchObject({ - installed: false, status: "error", - auth: { status: "unknown" }, - message: cursorCliCommandMissingMessage, + auth: { status: "unauthenticated" }, + message: "Cursor SDK authentication failed. Check CURSOR_API_KEY.", }); }); @@ -393,8 +528,18 @@ describe("checkCursorProviderStatus", () => { }, { ...process.env, + CURSOR_API_KEY: "", T3_ACP_REQUEST_LOG_PATH: requestLogPath, }, + ).pipe( + Effect.provide( + Layer.mergeAll( + makeCursorSdkCatalogTestLayer(() => + Effect.die("SDK catalog must not be used without CURSOR_API_KEY"), + ), + NodeServices.layer, + ), + ), ), ); @@ -409,45 +554,40 @@ describe("checkCursorProviderStatus", () => { }); describe("discoverCursorModelsViaAcp", () => { - it("keeps the ACP probe runtime alive long enough to discover models", async () => { - const wrapperPath = await makeMockAgentWrapper(); - - const models = await Effect.runPromise( - discoverCursorModelsViaAcp({ + it.effect("keeps the ACP probe runtime alive long enough to discover models", () => + Effect.gen(function* () { + const wrapperPath = yield* makeMockAgentWrapper(); + const models = yield* discoverCursorModelsViaAcp({ enabled: true, binaryPath: wrapperPath, apiEndpoint: "", customModels: [], - }).pipe(Effect.provide(NodeServices.layer), Effect.scoped), - ); + }); - expect(models.map((model) => model.slug)).toEqual([ - "default", - "composer-2", - "gpt-5.4", - "claude-opus-4-6", - ]); - }); + expect(models.map((model) => model.slug)).toEqual([ + "default", + "composer-2", + "gpt-5.4", + "claude-opus-4-6", + ]); + }).pipe(Effect.provide(NodeServices.layer), Effect.scoped), + ); - it("closes the ACP probe runtime after discovery completes", async () => { - const tempDir = await mkdtemp(path.join(os.tmpdir(), "cursor-provider-exit-log-")); - const exitLogPath = path.join(tempDir, "exit.log"); - const wrapperPath = await makeMockAgentWrapper({ - T3_ACP_EXIT_LOG_PATH: exitLogPath, - }); + it.effect("closes the ACP probe runtime after discovery completes", () => + Effect.gen(function* () { + const { exitLogPath, wrapperPath } = yield* makeExitLogFixture("cursor-provider-exit-log-"); - await Effect.runPromise( - discoverCursorModelsViaAcp({ + yield* discoverCursorModelsViaAcp({ enabled: true, binaryPath: wrapperPath, apiEndpoint: "", customModels: [], - }).pipe(Effect.provide(NodeServices.layer)), - ); + }); - const exitLog = await waitForFileContent(exitLogPath); - expect(exitLog).toContain("SIGTERM"); - }); + const exitLog = yield* waitForFileContent(exitLogPath); + expect(exitLog).toContain("SIGTERM"); + }).pipe(Effect.provide(NodeServices.layer)), + ); }); describe("discoverCursorModelCapabilitiesViaAcp", () => { diff --git a/apps/server/src/provider/Layers/CursorProvider.ts b/apps/server/src/provider/Layers/CursorProvider.ts index fee4306c4c..32dc0f36ea 100644 --- a/apps/server/src/provider/Layers/CursorProvider.ts +++ b/apps/server/src/provider/Layers/CursorProvider.ts @@ -1,7 +1,9 @@ -import * as NodeOS from "node:os"; +import * as NodeOs from "node:os"; +import type { SDKModel, SDKUser } from "@cursor/sdk"; import type { CursorSettings, ModelCapabilities, + ProviderOptionDescriptor, ProviderOptionSelection, ServerProvider, ServerProviderAuth, @@ -44,8 +46,10 @@ import { enrichProviderSnapshotWithVersionAdvisory, type ProviderMaintenanceCapabilities, } from "../providerMaintenance.ts"; -import * as AcpSessionRuntime from "../acp/AcpSessionRuntime.ts"; +import { cursorSdkParameterPriority, cursorSdkProviderOptionId } from "../cursorSdkModel.ts"; +import { AcpSessionRuntime } from "../acp/AcpSessionRuntime.ts"; import { CursorListAvailableModelsResponse } from "../acp/CursorAcpExtension.ts"; +import { CursorSdkCatalog } from "./CursorSdkCatalog.ts"; const decodeCursorListAvailableModelsResponse = Schema.decodeUnknownEffect( CursorListAvailableModelsResponse, @@ -60,6 +64,7 @@ const EMPTY_CAPABILITIES: ModelCapabilities = createModelCapabilities({ }); const CURSOR_ACP_MODEL_DISCOVERY_TIMEOUT_MS = 15_000; +const CURSOR_SDK_CATALOG_TIMEOUT_MS = 15_000; const CURSOR_PARAMETERIZED_MODEL_PICKER_MIN_VERSION_DATE = 2026_04_08; const CURSOR_CLI_INSTALLATION_DOCS_URL = "https://cursor.com/docs/cli/installation"; const CURSOR_ACP_MODEL_DISCOVERY_FAILED_MESSAGE = [ @@ -378,6 +383,112 @@ function buildCursorDiscoveredModels( }); } +function cursorSdkDefaultParameterValue(model: SDKModel, parameterId: string): string | undefined { + return model.variants + ?.find((variant) => variant.isDefault) + ?.params.find((parameter) => parameter.id === parameterId)?.value; +} + +export function buildCursorCapabilitiesFromSdkModel(model: SDKModel): ModelCapabilities { + const seen = new Set(); + const optionDescriptors: Array = []; + const parameters = (model.parameters ?? []) + .map((parameter, index) => ({ parameter, index })) + .toSorted( + (left, right) => + cursorSdkParameterPriority(left.parameter.id) - + cursorSdkParameterPriority(right.parameter.id) || left.index - right.index, + ); + for (const { parameter } of parameters) { + const nativeId = parameter.id.trim(); + const id = cursorSdkProviderOptionId(nativeId); + if (!nativeId || !id || seen.has(id)) { + continue; + } + seen.add(id); + + const values = parameter.values.flatMap((entry) => { + const value = entry.value.trim(); + if (!value) { + return []; + } + return [ + { + value, + label: entry.displayName?.trim() || value, + }, + ]; + }); + if (values.length === 0) { + continue; + } + + const label = parameter.displayName?.trim() || toTitleCaseWords(id); + const defaultValue = cursorSdkDefaultParameterValue(model, nativeId); + const normalizedValues = new Set(values.map((entry) => entry.value.toLowerCase())); + if (values.length === 2 && normalizedValues.has("true") && normalizedValues.has("false")) { + if (defaultValue === "true" || defaultValue === "false") { + optionDescriptors.push( + buildBooleanOptionDescriptor({ + id, + label, + currentValue: defaultValue === "true", + }), + ); + } else { + optionDescriptors.push(buildBooleanOptionDescriptor({ id, label })); + } + continue; + } + + optionDescriptors.push( + buildSelectOptionDescriptor({ + id, + label, + options: values.map((entry) => ({ + ...entry, + ...(entry.value === defaultValue ? { isDefault: true } : {}), + })), + }), + ); + } + + return createModelCapabilities({ optionDescriptors }); +} + +export function buildCursorDiscoveredModelsFromSdk( + models: ReadonlyArray, +): ReadonlyArray { + const seen = new Set(); + return models.flatMap((model) => { + const slug = model.id.trim(); + const name = model.displayName.trim(); + if (!slug || !name || seen.has(slug)) { + return []; + } + seen.add(slug); + return [ + { + slug, + name, + isCustom: false, + capabilities: buildCursorCapabilitiesFromSdkModel(model), + } satisfies ServerProviderModel, + ]; + }); +} + +function cursorSdkAuth(user: SDKUser): ServerProviderAuth { + const email = user.userEmail?.trim(); + const apiKeyName = user.apiKeyName.trim(); + return { + status: "authenticated", + type: "api-key", + label: apiKeyName ? `Cursor API key (${apiKeyName})` : "Cursor API key", + ...(email ? { email } : {}), + }; +} + function buildCursorDiscoveredModelsFromAvailableModelsResponse( response: typeof CursorListAvailableModelsResponse.Type, ): ReadonlyArray { @@ -990,7 +1101,7 @@ export const checkCursorProviderStatus = Effect.fn("checkCursorProviderStatus")( ): Effect.fn.Return< ServerProviderDraft, never, - ChildProcessSpawner.ChildProcessSpawner | Crypto.Crypto | FileSystem.FileSystem | Path.Path + ChildProcessSpawner.ChildProcessSpawner | CursorSdkCatalog | FileSystem.FileSystem | Path.Path > { const checkedAt = DateTime.formatIso(yield* DateTime.now); const fallbackModels = getCursorFallbackModels(cursorSettings); @@ -1011,6 +1122,68 @@ export const checkCursorProviderStatus = Effect.fn("checkCursorProviderStatus")( }); } + const sdkApiKey = environment?.CURSOR_API_KEY?.trim(); + if (sdkApiKey) { + const sdkCatalog = yield* CursorSdkCatalog; + const catalogResult = yield* sdkCatalog + .read(sdkApiKey) + .pipe(Effect.timeoutOption(CURSOR_SDK_CATALOG_TIMEOUT_MS), Effect.result); + + if (Result.isFailure(catalogResult)) { + yield* Effect.logWarning("Cursor SDK catalog probe failed", { + cause: catalogResult.failure.cause, + }); + const authenticationFailure = catalogResult.failure.authenticationFailure; + return buildServerProvider({ + presentation: CURSOR_PRESENTATION, + enabled: cursorSettings.enabled, + checkedAt, + models: fallbackModels, + probe: { + installed: true, + version: null, + status: "error", + auth: { status: authenticationFailure ? "unauthenticated" : "unknown" }, + message: authenticationFailure + ? "Cursor SDK authentication failed. Check CURSOR_API_KEY." + : "Cursor SDK catalog request failed. Check server logs for details.", + }, + }); + } + + if (Option.isNone(catalogResult.success)) { + return buildServerProvider({ + presentation: CURSOR_PRESENTATION, + enabled: cursorSettings.enabled, + checkedAt, + models: fallbackModels, + probe: { + installed: true, + version: null, + status: "error", + auth: { status: "unknown" }, + message: `Cursor SDK catalog request timed out after ${CURSOR_SDK_CATALOG_TIMEOUT_MS}ms.`, + }, + }); + } + + const snapshot = catalogResult.success.value; + const discoveredModels = buildCursorDiscoveredModelsFromSdk(snapshot.models); + return buildCursorProviderSnapshot({ + checkedAt, + cursorSettings, + parsed: { + version: null, + status: "ready", + auth: cursorSdkAuth(snapshot.user), + }, + discoveredModels, + ...(discoveredModels.length === 0 + ? { discoveryWarning: "Cursor SDK model discovery returned no built-in models." } + : {}), + }); + } + // Single `agent about` probe: returns version + auth status in one call. const aboutProbe = yield* runCursorAboutCommand(cursorSettings, environment).pipe( Effect.timeoutOption(ABOUT_TIMEOUT_MS), @@ -1118,8 +1291,9 @@ export const checkCursorProviderStatus = Effect.fn("checkCursorProviderStatus")( * * Used by `CursorDriver` as the `makeManagedServerProvider.enrichSnapshot` * hook: republishes update/version advisory metadata without performing any - * model or capability discovery. Cursor model data comes exclusively from - * `cursor/list_available_models` during provider status checks. + * model or capability discovery. Provider status checks source Cursor model + * data from the SDK when an API key is configured, with ACP discovery as the + * compatibility fallback. */ export const enrichCursorSnapshot = (input: { readonly settings: CursorSettings; diff --git a/apps/server/src/provider/Layers/CursorSdkCatalog.ts b/apps/server/src/provider/Layers/CursorSdkCatalog.ts new file mode 100644 index 0000000000..1b9a987e77 --- /dev/null +++ b/apps/server/src/provider/Layers/CursorSdkCatalog.ts @@ -0,0 +1,73 @@ +import { + AuthenticationError, + Cursor, + CursorSdkError, + type SDKModel, + type SDKUser, +} from "@cursor/sdk"; +import * as Context from "effect/Context"; +import * as Effect from "effect/Effect"; +import * as Layer from "effect/Layer"; +import * as Schema from "effect/Schema"; + +export interface CursorSdkCatalogSnapshot { + readonly user: SDKUser; + readonly models: ReadonlyArray; +} + +export class CursorSdkCatalogError extends Schema.TaggedErrorClass()( + "CursorSdkCatalogError", + { + authenticationFailure: Schema.Boolean, + cause: Schema.Defect(), + }, +) { + override get message(): string { + return this.authenticationFailure + ? "Cursor SDK authentication failed." + : "Cursor SDK catalog request failed."; + } +} + +export interface CursorSdkCatalogShape { + readonly read: (apiKey: string) => Effect.Effect; +} + +export class CursorSdkCatalog extends Context.Service()( + "t3/provider/Layers/CursorSdkCatalog", +) {} + +function isAuthenticationFailure(cause: unknown): boolean { + return ( + cause instanceof AuthenticationError || + (cause instanceof CursorSdkError && cause.status === 401) + ); +} + +const readCursorSdkCatalog = Effect.fn("CursorSdkCatalog.read")(function* (apiKey: string) { + return yield* Effect.tryPromise({ + try: async () => { + const [user, models] = await Promise.all([ + Cursor.me({ apiKey }), + Cursor.models.list({ apiKey }), + ]); + return { user, models } satisfies CursorSdkCatalogSnapshot; + }, + catch: (cause) => + new CursorSdkCatalogError({ + authenticationFailure: isAuthenticationFailure(cause), + cause, + }), + }); +}); + +export const CursorSdkCatalogLive = Layer.succeed( + CursorSdkCatalog, + CursorSdkCatalog.of({ read: readCursorSdkCatalog }), +); + +export function makeCursorSdkCatalogTestLayer( + read: CursorSdkCatalogShape["read"], +): Layer.Layer { + return Layer.succeed(CursorSdkCatalog, CursorSdkCatalog.of({ read })); +} diff --git a/apps/server/src/provider/cursorSdkModel.ts b/apps/server/src/provider/cursorSdkModel.ts new file mode 100644 index 0000000000..c1c21af645 --- /dev/null +++ b/apps/server/src/provider/cursorSdkModel.ts @@ -0,0 +1,33 @@ +const CURSOR_SDK_PARAMETER_TO_PROVIDER_OPTION: Readonly> = { + context: "contextWindow", + fast: "fastMode", +}; + +const PROVIDER_OPTION_TO_CURSOR_SDK_PARAMETER: Readonly> = { + contextWindow: "context", + fastMode: "fast", +}; + +export function cursorSdkProviderOptionId(parameterId: string): string { + return CURSOR_SDK_PARAMETER_TO_PROVIDER_OPTION[parameterId] ?? parameterId; +} + +export function cursorSdkParameterId(providerOptionId: string): string { + return PROVIDER_OPTION_TO_CURSOR_SDK_PARAMETER[providerOptionId] ?? providerOptionId; +} + +export function cursorSdkParameterPriority(parameterId: string): number { + switch (parameterId) { + case "effort": + case "reasoning": + return 0; + case "context": + return 1; + case "fast": + return 2; + case "thinking": + return 3; + default: + return 4; + } +} diff --git a/apps/web/src/lib/orchestrationV2Timeline.test.ts b/apps/web/src/lib/orchestrationV2Timeline.test.ts new file mode 100644 index 0000000000..91fd9888d3 --- /dev/null +++ b/apps/web/src/lib/orchestrationV2Timeline.test.ts @@ -0,0 +1,22 @@ +import { describe, expect, it } from "vite-plus/test"; + +import { removeAndRenumberTimelineItem } from "./orchestrationV2Timeline"; + +describe("removeAndRenumberTimelineItem", () => { + it("closes the position gap before a streamed item is reinserted", () => { + const remaining = removeAndRenumberTimelineItem( + [ + { position: 0, sourceItemId: "first" }, + { position: 1, sourceItemId: "streaming" }, + { position: 2, sourceItemId: "last" }, + ], + "streaming", + ); + + expect(remaining).toEqual([ + { position: 0, sourceItemId: "first" }, + { position: 1, sourceItemId: "last" }, + ]); + expect(new Set(remaining.map((row) => row.position)).size).toBe(remaining.length); + }); +}); diff --git a/apps/web/src/lib/orchestrationV2Timeline.ts b/apps/web/src/lib/orchestrationV2Timeline.ts new file mode 100644 index 0000000000..0c6091da3c --- /dev/null +++ b/apps/web/src/lib/orchestrationV2Timeline.ts @@ -0,0 +1,8 @@ +export function removeAndRenumberTimelineItem< + Id, + Row extends { readonly position: number; readonly sourceItemId: Id }, +>(rows: ReadonlyArray, sourceItemId: Id): Array { + return rows + .filter((row) => row.sourceItemId !== sourceItemId) + .map((row, position) => ({ ...row, position })); +} diff --git a/apps/web/src/routes/debug.orchestration-v2.tsx b/apps/web/src/routes/debug.orchestration-v2.tsx index d570a32b72..92baf99106 100644 --- a/apps/web/src/routes/debug.orchestration-v2.tsx +++ b/apps/web/src/routes/debug.orchestration-v2.tsx @@ -29,6 +29,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { ProviderModelPicker } from "../components/chat/ProviderModelPicker"; import { getPrimaryEnvironmentConnection } from "../environments/runtime"; import { useSettings } from "../hooks/useSettings"; +import { removeAndRenumberTimelineItem } from "../lib/orchestrationV2Timeline"; import { newCommandId, newMessageId, newProjectId, newThreadId } from "../lib/utils"; import { type AppModelOption, getAppModelOptionsForInstance } from "../modelSelection"; import { @@ -603,8 +604,9 @@ function applyStreamEventToProjection( }; const withoutStaleItem = { ...nextProjection, - visibleTurnItems: activeVisibleTurnItems(nextProjection).filter( - (row) => row.sourceItemId !== event.payload.id, + visibleTurnItems: removeAndRenumberTimelineItem( + activeVisibleTurnItems(nextProjection), + event.payload.id, ), }; return { diff --git a/docs/README.md b/docs/README.md index 30653e7d50..fadf0dd19c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -42,3 +42,13 @@ policy in [CONTRIBUTING.md](../CONTRIBUTING.md); agent rules in [AGENTS.md](../A - [Observability](./operations/observability.md) - [Relay observability](./operations/relay-observability.md) - [Mobile app store screenshots](./operations/mobile-app-store-screenshots.md) +- [Getting started](./getting-started/quick-start.md) +- [Architecture](./architecture/overview.md) +- [T3 Connect](./cloud/t3-connect-clerk.md) +- [Integrations](./integrations/source-control-providers.md) +- [Mobile](./mobile/app.md) +- [Operations](./operations/ci.md) +- Providers: [Codex](./providers/codex.md), [Claude](./providers/claude.md), + [Cursor](./providers/cursor.md) +- [Reference](./reference/encyclopedia.md) +- [User guides](./user/keybindings.md) diff --git a/docs/orchestration-v2/orchestrator-mcp-server.md b/docs/orchestration-v2/orchestrator-mcp-server.md index f41d3204b8..756f113a84 100644 --- a/docs/orchestration-v2/orchestrator-mcp-server.md +++ b/docs/orchestration-v2/orchestrator-mcp-server.md @@ -84,10 +84,16 @@ Claude receives an HTTP MCP server in its query options: The adapter logs only whether MCP configuration exists; it does not log the server headers or token. +### Cursor Agent SDK V2 + +Cursor receives the same authenticated HTTP MCP endpoint through the SDK's +`mcpServers` agent and send options. The adapter passes the authorization header +to the SDK but projects only redacted option metadata into protocol diagnostics. + ### Initial Provider Support -The initial V2 provider adapters are Codex and Claude Agent SDK. Capability -discovery still reports other registered provider instances, but marks them +The V2 provider adapters are Codex, Claude Agent SDK, and Cursor Agent SDK. +Capability discovery still reports other registered provider instances, but marks them unavailable for orchestration when no V2 adapter exists. This keeps provider selection model-visible without allowing a request that cannot run. @@ -293,6 +299,6 @@ Coverage includes: - inheritance and per-thread provider overrides; and - idempotent retries. -Provider adapter tests separately verify Codex and Claude MCP injection, and +Provider adapter tests separately verify Codex, Claude, and Cursor MCP injection, and the provider-session manager test verifies that credentials exist before an adapter opens and are revoked when it closes. diff --git a/docs/orchestration-v2/testing-strategy.md b/docs/orchestration-v2/testing-strategy.md index 79eceab01b..1906c2e543 100644 --- a/docs/orchestration-v2/testing-strategy.md +++ b/docs/orchestration-v2/testing-strategy.md @@ -118,6 +118,10 @@ Codex replay transcript Claude replay transcript -> Claude Agent SDK query() outbound options and yielded SDKMessage chunks -> consumed by ClaudeAdapter + +Cursor replay transcript + -> Cursor Agent SDK open/send calls and ordered onDelta/run results + -> consumed by CursorAdapter ``` Fixtures should preserve raw provider evidence as closely as possible. Expected V2 events or projections are assertions, not fixture input. @@ -129,7 +133,8 @@ SDK output; it does not test the SDK's own subprocess or transport parser. Provider transcript recorders live with the server orchestration testkit, not with provider client packages. Use `bun run record:codex-replay -- --scenario ` for Codex app-server transcripts -and `bun run record:claude-replay -- --scenario ` for Claude Agent SDK transcripts. +and `bun run record:claude-replay -- --scenario ` for Claude Agent SDK transcripts. Use +`pnpm --filter t3 record:cursor-replay -- --scenario ` for Cursor Agent SDK transcripts. ## Contract Test Levels @@ -201,7 +206,7 @@ Testing infrastructure should be built before production rewrites: 2. Effect service definitions. 3. provider runtime transport abstraction. 4. generic replay runtime. -5. Codex and Claude transcript loaders for app-owned provider replay fixtures. +5. Codex, Claude, and Cursor transcript loaders for app-owned provider replay fixtures. 6. projection reducer tests for core invariants. 7. full command-to-projection integration tests. 8. production layers. diff --git a/docs/user/cursor.md b/docs/user/cursor.md new file mode 100644 index 0000000000..c4de4c7316 --- /dev/null +++ b/docs/user/cursor.md @@ -0,0 +1,64 @@ +# Cursor + +Cursor V2 runs through the official [`@cursor/sdk`](https://cursor.com/docs/api/sdk/typescript) +TypeScript package. It does not use Cursor's ACP transport for V2 execution. + +## Prerequisites + +- Node.js 22.13 or newer. The repository's supported Node version satisfies this requirement. +- A Cursor API key in `CURSOR_API_KEY`. Provider-instance environment variables override the host + environment in the same way as the other providers. +- A model accepted by the Cursor SDK. `auto` is sent to the SDK as its `default` model selection. + +The adapter currently uses the SDK's local-agent runtime so runs operate in the selected T3 Code +workspace. Cursor cloud agents need repository and cloud-environment configuration that T3 Code does +not expose yet. + +## V2 Capability Mapping + +The adapter supports: + +- creating and resuming local Cursor agent threads; +- changing the model and model parameters between turns; +- assistant text, reasoning, tool output, plans, and todo streaming; +- thread-scoped T3 Code MCP tools; +- image attachments; +- interruption, queued app messages, and orchestrator-owned interrupt/restart steering; +- provider conversation snapshots through `Agent.messages.list()`; +- Cursor `task` subagents, projected as read-only child app threads with their tool activity and + final result. + +The public SDK does not currently expose native agent fork, conversation rollback, active steering, +or interactive approval callbacks. Direct active steering is advertised as unsupported, while V2 +steering uses the orchestrator's interrupt-and-restart path and preserves the app run identity across +provider turns. Same-provider Cursor forks use the orchestrator's portable full-thread context +handoff into a fresh Cursor agent. The SDK has in-process custom callback tools, but the V2 adapter +intentionally uses the authenticated, thread-scoped MCP server instead. + +Cursor task events include an `agentId`, but the local SDK does not register that identifier as a +resumable agent: `Agent.resume()` returns `AgentNotFoundError`. The adapter therefore does not attach +a provider thread to native task projections or advertise subagent thread IDs. Sending a new message +from a projected child starts a new Cursor agent rather than pretending to resume the task runtime. + +Runtime modes map to the controls the local SDK exposes: full access disables its sandbox, while +restricted modes and explicit non-full-access sandbox policies enable it. Explicit approval policy +overrides also control Cursor Auto-review. Auto-review is not represented as an interactive T3 Code +approval flow. + +The existing Cursor binary path and API endpoint settings belong to the CLI/ACP integration. Cursor +V2 execution does not launch that binary, and the SDK does not expose an API endpoint override. + +## Replay And Live Testing + +Cursor replay fixtures preserve the SDK boundary: agent open/resume, sends, ordered `onDelta` +updates, terminal results, cancellation, message snapshots, and close. The real V2 adapter, +orchestrator, event store, projections, and checkpoint logic still run in tests. + +Record a fixture against the real SDK with: + +```bash +pnpm --filter t3 record:cursor-replay -- --scenario simple +``` + +Use `--out ` to record a temporary probe without replacing a checked-in fixture. Supported +scenarios are listed by the recorder when an invalid scenario is supplied. diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2c79aea36a..7f5008c061 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -449,6 +449,15 @@ importers: '@anthropic-ai/claude-agent-sdk': specifier: ^0.3.170 version: 0.3.170(@anthropic-ai/sdk@0.93.0(zod@4.4.3))(@modelcontextprotocol/sdk@1.29.0(zod@4.4.3))(zod@4.4.3) + '@connectrpc/connect': + specifier: 1.7.0 + version: 1.7.0(@bufbuild/protobuf@1.10.0) + '@connectrpc/connect-node': + specifier: 1.7.0 + version: 1.7.0(@bufbuild/protobuf@1.10.0)(@connectrpc/connect@1.7.0(@bufbuild/protobuf@1.10.0)) + '@cursor/sdk': + specifier: 1.0.19 + version: 1.0.19 '@effect/platform-bun': specifier: 4.0.0-beta.103 version: 4.0.0-beta.103(bufferutil@4.1.0)(effect@4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))(utf-8-validate@6.0.6) @@ -1637,57 +1646,8 @@ packages: '@types/react': optional: true - '@blazediff/core@1.9.1': - resolution: {integrity: sha512-ehg3jIkYKulZh+8om/O25vkvSsXXwC+skXmyA87FFx6A/45eqOkZsBltMw/TVteb0mloiGT8oGRTcjRAz66zaA==} - - '@bruits/satteri-darwin-arm64@0.9.3': - resolution: {integrity: sha512-dRUZZrdwh1asfTOyM1nDNmzolhnHtlIFpqYrl1Tdd3YVcaebKmrfJgGL7NAoGPjbEwYmZxaugrxA0uzw83c0dw==} - cpu: [arm64] - os: [darwin] - - '@bruits/satteri-darwin-x64@0.9.3': - resolution: {integrity: sha512-wgNCTRp2hPSpNMGFv5A4+6+VXgRJIlBZ7XKb3iwjV8YjRWNIjzE5zV2fUeYynyZYVRkuJ9aYFqQmWhc1e5H+UQ==} - cpu: [x64] - os: [darwin] - - '@bruits/satteri-linux-arm64-gnu@0.9.3': - resolution: {integrity: sha512-A/pWy8Jb/PhDYc2/JFuYh06gFJcsfBUBDl81YydGYBrL/Z4nItDfhNDNOibyeSN/lKKDRlycIHEIajjErk00sQ==} - cpu: [arm64] - os: [linux] - libc: [glibc] - - '@bruits/satteri-linux-arm64-musl@0.9.3': - resolution: {integrity: sha512-L6YxmyOSickzo4pE5WmZfNTJnjX0MtgKOsuwQfNZECTx9Ir5vl2B37EIwnxe2AybuPPHl+FqVQtthNDUdH4Vgg==} - cpu: [arm64] - os: [linux] - libc: [musl] - - '@bruits/satteri-linux-x64-gnu@0.9.3': - resolution: {integrity: sha512-RgH6GPihg9Lzs2yHUsMjqiLxfLyOdmBty8sg9pBY9B4CBnvdOzvg8vklqN+C4qrEEdA9TwpbDpHr1AshLKyRpw==} - cpu: [x64] - os: [linux] - libc: [glibc] - - '@bruits/satteri-linux-x64-musl@0.9.3': - resolution: {integrity: sha512-BeWhVORjNTIomePznUKiMbHZTqC0j7sMXZFsISmbX+po5d33KLkqBqKh6K332CHJ8KUmCWx16FfPjwsoysttQg==} - cpu: [x64] - os: [linux] - libc: [musl] - - '@bruits/satteri-wasm32-wasi@0.9.3': - resolution: {integrity: sha512-dFNcOHKWV2cztCPnYTn7kZ9D7kNOt8N239z5ysFkNHLxJrfK7zaKIXQbfXYN32C+JoVFqAcTIOeWH2+VnsCOHg==} - engines: {node: '>=14.0.0'} - cpu: [wasm32] - - '@bruits/satteri-win32-arm64-msvc@0.9.3': - resolution: {integrity: sha512-VnwjBHiAra/PNNEza8eSZdQiG4A3PtTJJwUDtOPAc6iTs0BWZwZX8+OPUZE7//yQCBhgvEMcI8vpwsAwCb6qGQ==} - cpu: [arm64] - os: [win32] - - '@bruits/satteri-win32-x64-msvc@0.9.3': - resolution: {integrity: sha512-Dsoe4reWe69MyILmMwU6iISIceTW7YIFqbyym7haf9DhUvqkYfMAyp7GMM21JzV0SpG9A2BwzFVP7iq9mmxrpA==} - cpu: [x64] - os: [win32] + '@bufbuild/protobuf@1.10.0': + resolution: {integrity: sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==} '@callstack/liquid-glass@0.7.1': resolution: {integrity: sha512-N2rzs8g3kneI5G/98AZdVtjc6OUFBBFwPxVGVMoXUEI7QiioB4+aWwbImg5h8Z3Vb/T+fgLYWmmNhi27wHwE4g==} @@ -1862,8 +1822,61 @@ packages: '@cloudflare/workers-types@4.20260604.1': resolution: {integrity: sha512-nVTydUwPcz9WfwZ/6xAmqs8uUVeGbDVmyPvSYrYAo4CQTyi0122SoE1Suw8RvqnN60XXHPChAjDqSIjnr/mbmg==} - '@cloudflare/workers-types@5.20260726.1': - resolution: {integrity: sha512-fKgRSm3sDmOdak1LGWehS4vSPSj7/zeu0NfmE62VPjBMqWgODcOGljYvq6A75sL+7YfY3iGFGb0jVEDYq+hlmw==} + '@connectrpc/connect-node@1.7.0': + resolution: {integrity: sha512-6vaPIkG/NyhxlYgytLoR9KYbPhczEboFB2OYWkA9qvUz1K7efXfeGrlRxoLtpa+r8VxyIOw73w5ktNe743nD+A==} + engines: {node: '>=16.0.0'} + peerDependencies: + '@bufbuild/protobuf': ^1.10.0 + '@connectrpc/connect': 1.7.0 + + '@connectrpc/connect-web@1.7.0': + resolution: {integrity: sha512-qyP0YOnUPRWwCc/VfsoydMJvkb7EyUPr2q9sHgBuJzbADjiqck1gKH5V5ZPzPhTLBvmz5UvG+wiZ5sMRQHU1MQ==} + peerDependencies: + '@bufbuild/protobuf': ^1.10.0 + '@connectrpc/connect': 1.7.0 + + '@connectrpc/connect@1.7.0': + resolution: {integrity: sha512-iNKdJRi69YP3mq6AePRT8F/HrxWCewrhxnLMNm0vpqXAR8biwzRtO6Hjx80C6UvtKJ5sFmffQT7I4Baecz389w==} + peerDependencies: + '@bufbuild/protobuf': ^1.10.0 + + '@cursor/sdk-darwin-arm64@1.0.19': + resolution: {integrity: sha512-CPhqcpDaqjjqkkVGMLsdfXv7PGznL5L6U5CJXps/oaGW5mtHoxDpsRNj1rszCRQXNAvmMU+EFxLWnBwlE8mUNg==} + cpu: [arm64] + os: [darwin] + hasBin: true + + '@cursor/sdk-darwin-x64@1.0.19': + resolution: {integrity: sha512-6/Jj0hxrxEs9V9wtYEApSkMcJwYAaT4Vwna9xBzgN6CK1K4Ws0E1/PfiddahAAFZpkp9pgjb8wQXwG7qJ2g77A==} + cpu: [x64] + os: [darwin] + hasBin: true + + '@cursor/sdk-linux-arm64@1.0.19': + resolution: {integrity: sha512-Dq/BhGT1jAZ6eHJwy1Vugi/Upc+yoL0X/LN6ppd9cVPM9OAB1xX5KIbvIwsGlNiZccPLVXFv/1KOp5SBK+y+jQ==} + cpu: [arm64] + os: [linux] + hasBin: true + + '@cursor/sdk-linux-x64@1.0.19': + resolution: {integrity: sha512-ZHgHH+SdEwYwfPg/uVKqZRVOIMCV3/3vghxc/usOMYMrhbY9TYXZxYqwWTduVLzCXH7Dz0aT19mSJHmhwkQ1CA==} + cpu: [x64] + os: [linux] + hasBin: true + + '@cursor/sdk-win32-x64@1.0.19': + resolution: {integrity: sha512-XGIQmx3J0K8uKkA00qnoy1FJHFdFdwNdcmUqtRF1PXLcYup91YYetAHk9afXM7S/v1t0L4EatydsirL8uz7SIw==} + cpu: [x64] + os: [win32] + hasBin: true + + '@cursor/sdk@1.0.19': + resolution: {integrity: sha512-DJbVnGeRJq7iwt9mz1cMACqVfAYP15IB+Q8Iz2eDtEN4A8Dp83yB0Y31YREj1jeA9EPUEdRZJRIYch/s+Wi9Ow==} + engines: {node: '>=22.13'} + + '@develar/schema-utils@2.6.5': + resolution: {integrity: sha512-0cp4PsWQ/9avqTVMCtZ+GirikIA36ikvjtHweU4/j8yLtgObI0+JUPhYFScgwlteveGB1rt3Cm8UhN04XayDig==} + engines: {node: '>= 8.9.0'} '@distilled.cloud/aws@0.30.2': resolution: {integrity: sha512-Uw2yZf7PJ2ienrKG49HN1ajnke65mTtHBUrSb/3ykeZ/8cLaSgwVhPscHxSzGByY0TEtYcYKNNmfUVISgGQl9g==} @@ -2662,6 +2675,10 @@ packages: resolution: {integrity: sha512-4aQzz9vgxcNXFfo/iyNgDDYfsU5XGKKxWxZopw0cVotHiW+U8IJbIxMaxsINs6bHhtkG3StKNPcOrn3eBuxKPw==} hasBin: true + '@fastify/busboy@2.1.1': + resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} + engines: {node: '>=14'} + '@ff-labs/fff-bin-darwin-arm64@0.9.4': resolution: {integrity: sha512-xyivu2xB++O5xXDx5Qm50JsU2aXt8YgXlGVhH/HE7UMYDrE6L6f1RYdYs8Y0bn0D3D0+bFBrN5ELPszK9E4Wbw==} cpu: [arm64] @@ -4457,6 +4474,12 @@ packages: '@standard-schema/spec@1.1.0': resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} + '@statsig/client-core@3.31.0': + resolution: {integrity: sha512-SuxQD6TmVszPG7FoMKwTk/uyBuVFk7XnxI3T/E0uyb7PL7GNjONtfsoh+NqBBVUJVse0CUeSFfgJPoZy1ZOslQ==} + + '@statsig/js-client@3.31.0': + resolution: {integrity: sha512-LFa5E0LjT6sTfZv3sNGoyRLSZ1078+agdgOA+Vm1ecjG+KbSOfBLTW7hMwimrJ29slRwbYDzbtKaPJo/R37N2g==} + '@stripe/stripe-js@5.6.0': resolution: {integrity: sha512-w8CEY73X/7tw2KKlL3iOk679V9bWseE4GzNz3zlaYxcTjmcmWOathRb0emgo/QQ3eoNzmq68+2Y2gxluAv3xGw==} engines: {node: '>=12.16'} @@ -9889,6 +9912,10 @@ packages: undici-types@7.16.0: resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==} + undici@5.29.0: + resolution: {integrity: sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==} + engines: {node: '>=14.0'} + undici@6.26.0: resolution: {integrity: sha512-4yqz8a3n5HmGTlsbADNtr/dJlhkh/55Rq798G6ibiULcXbDtaLpTl1pvdqcbFfeoj3iSi52lePFM7h9H21cw/A==} engines: {node: '>=18.17'} @@ -11472,38 +11499,7 @@ snapshots: optionalDependencies: '@types/react': 19.2.16 - '@blazediff/core@1.9.1': {} - - '@bruits/satteri-darwin-arm64@0.9.3': - optional: true - - '@bruits/satteri-darwin-x64@0.9.3': - optional: true - - '@bruits/satteri-linux-arm64-gnu@0.9.3': - optional: true - - '@bruits/satteri-linux-arm64-musl@0.9.3': - optional: true - - '@bruits/satteri-linux-x64-gnu@0.9.3': - optional: true - - '@bruits/satteri-linux-x64-musl@0.9.3': - optional: true - - '@bruits/satteri-wasm32-wasi@0.9.3': - dependencies: - '@emnapi/core': 1.11.1 - '@emnapi/runtime': 1.11.1 - '@napi-rs/wasm-runtime': 1.1.6(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1) - optional: true - - '@bruits/satteri-win32-arm64-msvc@0.9.3': - optional: true - - '@bruits/satteri-win32-x64-msvc@0.9.3': - optional: true + '@bufbuild/protobuf@1.10.0': {} '@callstack/liquid-glass@0.7.1(react-native@0.85.3(@babel/core@7.29.7)(@react-native/metro-config@0.85.3(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.2.16)(bufferutil@4.1.0)(react@19.2.3)(utf-8-validate@6.0.6))(react@19.2.3)': dependencies: @@ -11692,7 +11688,54 @@ snapshots: '@cloudflare/workers-types@4.20260604.1': {} - '@cloudflare/workers-types@5.20260726.1': {} + '@connectrpc/connect-node@1.7.0(@bufbuild/protobuf@1.10.0)(@connectrpc/connect@1.7.0(@bufbuild/protobuf@1.10.0))': + dependencies: + '@bufbuild/protobuf': 1.10.0 + '@connectrpc/connect': 1.7.0(@bufbuild/protobuf@1.10.0) + undici: 5.29.0 + + '@connectrpc/connect-web@1.7.0(@bufbuild/protobuf@1.10.0)(@connectrpc/connect@1.7.0(@bufbuild/protobuf@1.10.0))': + dependencies: + '@bufbuild/protobuf': 1.10.0 + '@connectrpc/connect': 1.7.0(@bufbuild/protobuf@1.10.0) + + '@connectrpc/connect@1.7.0(@bufbuild/protobuf@1.10.0)': + dependencies: + '@bufbuild/protobuf': 1.10.0 + + '@cursor/sdk-darwin-arm64@1.0.19': + optional: true + + '@cursor/sdk-darwin-x64@1.0.19': + optional: true + + '@cursor/sdk-linux-arm64@1.0.19': + optional: true + + '@cursor/sdk-linux-x64@1.0.19': + optional: true + + '@cursor/sdk-win32-x64@1.0.19': + optional: true + + '@cursor/sdk@1.0.19': + dependencies: + '@bufbuild/protobuf': 1.10.0 + '@connectrpc/connect': 1.7.0(@bufbuild/protobuf@1.10.0) + '@connectrpc/connect-web': 1.7.0(@bufbuild/protobuf@1.10.0)(@connectrpc/connect@1.7.0(@bufbuild/protobuf@1.10.0)) + '@statsig/js-client': 3.31.0 + zod: 3.25.76 + optionalDependencies: + '@cursor/sdk-darwin-arm64': 1.0.19 + '@cursor/sdk-darwin-x64': 1.0.19 + '@cursor/sdk-linux-arm64': 1.0.19 + '@cursor/sdk-linux-x64': 1.0.19 + '@cursor/sdk-win32-x64': 1.0.19 + + '@develar/schema-utils@2.6.5': + dependencies: + ajv: 6.15.0 + ajv-keywords: 3.5.2(ajv@6.15.0) '@distilled.cloud/aws@0.30.2(effect@4.0.0-beta.103(patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6))': dependencies: @@ -12771,6 +12814,8 @@ snapshots: chalk: 4.1.2 js-yaml: 4.2.0 + '@fastify/busboy@2.1.1': {} + '@ff-labs/fff-bin-darwin-arm64@0.9.4': optional: true @@ -14648,6 +14693,12 @@ snapshots: '@standard-schema/spec@1.1.0': {} + '@statsig/client-core@3.31.0': {} + + '@statsig/js-client@3.31.0': + dependencies: + '@statsig/client-core': 3.31.0 + '@stripe/stripe-js@5.6.0': {} '@swc/helpers@0.5.21': @@ -21154,6 +21205,10 @@ snapshots: undici-types@7.16.0: {} + undici@5.29.0: + dependencies: + '@fastify/busboy': 2.1.1 + undici@6.26.0: {} undici@7.27.1: {}