From bf1abb14927fd7b2a918cf4047672efc88499cca Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Fri, 1 May 2026 21:00:08 -0400 Subject: [PATCH 1/3] chore(plugin-rpc): raise MAX_RPC_TIMEOUT_MS cap to 60 minutes --- server/src/services/plugin-worker-manager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/services/plugin-worker-manager.ts b/server/src/services/plugin-worker-manager.ts index 8413af10..993a64e5 100644 --- a/server/src/services/plugin-worker-manager.ts +++ b/server/src/services/plugin-worker-manager.ts @@ -57,8 +57,8 @@ import { logger } from "../middleware/logger.js"; /** Default timeout for RPC calls in milliseconds. */ const DEFAULT_RPC_TIMEOUT_MS = 30_000; -/** Hard upper bound for any RPC timeout (5 minutes). Prevents unbounded waits. */ -const MAX_RPC_TIMEOUT_MS = 5 * 60 * 1_000; +/** Hard upper bound for any RPC timeout (60 minutes). Prevents unbounded waits. */ +const MAX_RPC_TIMEOUT_MS = 60 * 60 * 1_000; /** Timeout for the initialize RPC call. */ const INITIALIZE_TIMEOUT_MS = 15_000; From 441bbd5b9aa008a45e5165014349300280682a7c Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Sat, 2 May 2026 07:15:08 -0400 Subject: [PATCH 2/3] feat(env): allow multi-line env var values via auto-growing textarea Replace the plain-value with the shadcn Textarea (which has field-sizing: content baked in). Starts at rows={1}, grows as content needs more vertical space. Storage and runtime already preserve newlines so this is purely a UI capability change. --- ui/src/components/EnvVarEditor.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/src/components/EnvVarEditor.tsx b/ui/src/components/EnvVarEditor.tsx index 01df6d55..39790ba9 100644 --- a/ui/src/components/EnvVarEditor.tsx +++ b/ui/src/components/EnvVarEditor.tsx @@ -2,6 +2,7 @@ import { useEffect, useRef, useState } from "react"; import type { CompanySecret, EnvBinding } from "@paperclipai/shared"; import { X } from "lucide-react"; import { cn } from "../lib/utils"; +import { Textarea } from "./ui/textarea"; const inputClass = "w-full rounded-md border border-border px-2.5 py-1.5 bg-transparent outline-none text-sm font-mono placeholder:text-muted-foreground/40"; @@ -212,8 +213,9 @@ export function EnvVarEditor({ ) : ( <> - updateRow(index, { plainValue: event.target.value })} From 7e2517935c9dde70231121d30216ef8c3da6927d Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Sat, 2 May 2026 07:36:11 -0400 Subject: [PATCH 3/3] feat(env): collapse env value textarea to single line when unfocused --- ui/src/components/EnvVarEditor.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/src/components/EnvVarEditor.tsx b/ui/src/components/EnvVarEditor.tsx index 39790ba9..916af828 100644 --- a/ui/src/components/EnvVarEditor.tsx +++ b/ui/src/components/EnvVarEditor.tsx @@ -215,7 +215,12 @@ export function EnvVarEditor({ <>