{"at":"2026-11-23T06:10:34.662Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T06:10:35.029Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T06:10:35.130Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T06:10:35.512Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"instructions":"offprompt asks the human for a value only they have — an API key, a token, a password, a\nprivate key — and writes it where the project reads it.\n\nWhen a task needs one, call collect_secret with every key you need at once. It waits while the human types and\nreturns once the values are written, with the key names and the file, never the values.\n\nWhen your environment tells you that you run in a cloud sandbox or a remote VM, set sandbox: true. The call returns a\nlink: show it to the user on its own line, with a short line saying what it is for, since nothing happens until they\nopen it. If you have a tool that asks the user a question and waits for the answer, put the link in a question too: a\nhost can fold a turn's earlier messages away, and a question stays in front of the user. Then wait with await_secret,\ndoing nothing else until the values are written, and put the link in anything you write to the user meanwhile, your\nlast message included.\n\nNever open, cat, grep or print the file the values landed in. Reading it puts the values into the transcript.\n\nReach offprompt only through these tools. When it refuses, tell the user what it said and stop: never start its server\nor talk to it yourself.","protocolVersion":"2025-11-25","serverInfo":{"name":"offprompt","version":"0.3.1"}}}}
{"at":"2026-11-23T06:10:35.512Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T06:10:35.512Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T06:10:35.517Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Get the values a task needs — API keys, tokens, connection strings, settings — written\nwhere the project reads them, typed by the human or generated by offprompt. Call this instead of asking the user to paste\na secret into the conversation.\n\nEach entry in `secrets` is one key, and says how its value comes to be:\n- `generate: {}` — a random value, 32 bytes of base64url unless set, made on the user's page (or by offprompt when no\n  page opens); the user may paste one they already use instead. You never see it. For AUTH_SECRET, JWT_SECRET,\n  SESSION_SECRET and encryption keys. A key that is already set is kept as it is.\n- `provider` — a key the human gets from a provider, such as `provider: \"stripe\"` for STRIPE_SECRET_KEY. The page\n  shows the provider's logo and links to where the key is made.\n- `format` — a value of a known kind that no one provider issues, such as `format: \"postgres_url\"` for DATABASE_URL.\n  The page links to providers where the human can create one.\n- none of these — any other value, taken as plain text. A provider's key is still recognised by its usual name.\nSet `secret: false` on a value that is not secret, such as MAX_RETRIES, and the page shows it in the clear.\n\nGive an entry a `link` when you know where its value is made, so the human lands on the right page:\n- Some provider keys are made on a page that belongs to one account, organisation or project. Give that one's name or ID\n  as parameters, such as `link: { \"project\": \"abcdefghijklmnopqrst\" }` for a Supabase key, and the page's \"Get it\"\n  opens it. The `link` field lists the keys that take them and where a project keeps each value: read it from there\n  rather than guessing. A parameter that is missing or does not fit leaves \"Get it\" on the key's usual page.\n- A key no provider issues, such as an internal tool's token, takes the https address where it is made. The page shows it\n  as your suggestion, apart from offprompt's own links, and asks the human to confirm its host before it opens. A\n  provider's key can take one too; it shows under its \"Get it\", never in its place.\nThe result's `links` says which links were used, and why any was dropped.\n\nWhen every key is generated, nothing opens: offprompt writes them and returns. Otherwise it opens a page in the user's\nbrowser and this call waits there, for up to five minutes, while the human types. It returns once the values have been\nwritten or the request has expired, so there is nothing to poll and nothing to do in the meantime. In a host that ends a\ntool call sooner, such as Cline, it returns \"awaiting\" before then: call await_secret, and again while it says awaiting,\nwith no other work in between.\n\nIn a cloud sandbox or a remote VM, a browser opened there is one the user cannot see. Set `sandbox: true` only when your\nenvironment tells you that is where you run, as your instructions or the platform you run on do. A temporary folder, or a\nrun with nobody at the terminal, is not a sign of one, and offprompt detects the common environments itself. The call then\nreturns at once with a link: show it to the user, then wait with await_secret and do nothing else until the values are\nwritten. The user types in their own browser, and the values are encrypted there so that only the sandbox can read them.\n\nYou never receive a value. You get back the key names and the file they landed in, and you reference them by name from\nthen on, for example process.env.RESEND_API_KEY. Never open, cat, grep or print that file afterwards: reading it puts\nthe values into the transcript, which is the one thing this tool exists to prevent. The result lists every key the\nfile holds, so there is nothing left to check.\n\nA written result opens with `tell_user`: \"Fingerprint\" and four emoji the user's page shows too. Write that line to\nthe user as soon as the call returns, before your next tool call, on a line of its own, for every write, one that comes\nstraight after another included. The user compares the two while the page is still open, so this does not wait for the\nend of your task or for your next call to offprompt.\n\nWhen the result carries a `url`, the human has to open it and nothing can happen until they do. Put the link in your\nreply to them, on its own line, where they will see it. A link mentioned only in your reasoning, or buried in a\nparagraph, is a request the human never receives. Until the values are written, put it again in whatever you write to\nthem, your last message included: a host can fold a turn's earlier messages away and show only its last. If you have a\ntool that asks the user a question and waits for the answer, put the link in a question as well, since a question stays\nin front of them.\n\nState the intent once: `reason` is shown to the human as your claim about why the values are needed, so write it for\nthem, not for yourself.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"reason":{"description":"Why the values are needed, written for the human and shown on the page as your claim. Markdown is rendered: bold, italics, code, lists, quotes. Links show their address as text and are not clickable.","maxLength":2000,"minLength":1,"type":"string"},"sandbox":{"description":"true only when your environment tells you that you run in a cloud sandbox, a container or a remote VM, where a browser would open on a screen the user cannot see. Not a temporary folder or a run nobody watches. offprompt detects the common environments itself, and on the user's own Mac or Windows machine it opens the page there either way.","type":"boolean"},"secrets":{"description":"Every key you need, in one request. The human fills them on one page and can paste them all at once.","items":{"properties":{"caption":{"description":"One short line shown under the field, such as where to find the value: \"Stripe dashboard → Developers → API keys\". Keep it brief.","maxLength":90,"minLength":1,"type":"string"},"format":{"description":"What the value is, when no one provider issues it, such as postgres_url for DATABASE_URL.","enum":["text","integer","hex","base64","email","url","hostname","uuid","jwt","pem","json","postgres_url"],"type":"string"},"generate":{"description":"A random value, made on the page (or by offprompt when no page opens); the user may paste their own. You never see it. For signing and encryption secrets. A key that is already set is kept.","properties":{"bytes":{"default":32,"description":"Random bytes before encoding.","maximum":64,"minimum":16,"type":"integer"},"encoding":{"default":"base64url","description":"How the bytes are written: base64url, base64 or hex.","enum":["base64url","base64","hex"],"type":"string"}},"type":"object"},"link":{"anyOf":[{"maxLength":2048,"minLength":1,"type":"string"},{"additionalProperties":{"maxLength":100,"type":"string"},"propertyNames":{"maxLength":64,"type":"string"},"type":"object"}],"description":"Where the value is made. Either parameters for the page of a provider key that belongs to one account, organisation or project, read from the project, or an https address for a key no provider issues, shown as your suggestion. cloudflare/r2_access_key_id and cloudflare/r2_secret_access_key take `account`, the account ID (32 hexadecimal digits): account_id in wrangler.toml or wrangler.jsonc, or CLOUDFLARE_ACCOUNT_ID. sentry/auth_token takes `org`, the organization slug: org under [defaults] in .sentryclirc, defaults.org in sentry.properties, SENTRY_ORG, or the part before .sentry.io in its dashboard address. supabase/secret_key and supabase/publishable_key take `project`, the project ref (20 lowercase letters): the subdomain of SUPABASE_URL (https://<ref>.supabase.co), or supabase/.temp/project-ref once supabase link has run. The project_id at the top of supabase/config.toml is a local name, not the ref."},"name":{"description":"The env key the value is stored under. Also the label the human sees.","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$","type":"string"},"provider":{"description":"A key the human gets from this provider. Give provider/credential, such as stripe/webhook_secret, when the provider issues several keys and the name does not say which.","enum":["algolia","anthropic","auth0","aws","axiom","clerk","cloudflare","cloudinary","cohere","convex","datadog","deepseek","digitalocean","discord","docker","doppler","elevenlabs","fireworks","fly","gemini","github","gitlab","groq","huggingface","infisical","lemonsqueezy","linear","mailgun","mapbox","mistral","mongodb","netlify","notion","npm","onepassword","openai","openrouter","paddle","perplexity","pinecone","planetscale","polar","posthog","postmark","railway","render","replicate","resend","sendgrid","sentry","shopify","slack","stripe","supabase","telegram","together","turso","twilio","uploadthing","upstash","vercel","voyage","workos","xai","algolia/application_id","algolia/search_api_key","algolia/admin_api_key","auth0/domain","auth0/client_id","auth0/client_secret","aws/access_key_id","aws/secret_access_key","aws/session_token","axiom/api_token","axiom/dataset","clerk/secret_key","clerk/publishable_key","cloudflare/api_token","cloudflare/account_id","cloudflare/r2_access_key_id","cloudflare/r2_secret_access_key","cloudinary/url","cloudinary/cloud_name","cloudinary/api_key","cloudinary/api_secret","convex/deploy_key","convex/deployment_url","datadog/api_key","datadog/application_key","digitalocean/personal_access_token","digitalocean/spaces_access_key_id","digitalocean/spaces_secret_access_key","discord/bot_token","discord/public_key","discord/application_id","docker/personal_access_token","docker/username","infisical/client_id","infisical/client_secret","mailgun/api_key","mailgun/sending_domain","mapbox/public_token","mapbox/secret_token","paddle/api_key","paddle/client_token","paddle/webhook_secret","planetscale/password","planetscale/service_token","planetscale/service_token_id","posthog/project_token","posthog/personal_api_key","railway/project_token","railway/api_token","sentry/auth_token","sentry/dsn","shopify/admin_api_access_token","shopify/client_id","shopify/client_secret","slack/bot_token","slack/signing_secret","slack/webhook_url","stripe/secret_key","stripe/publishable_key","stripe/webhook_secret","supabase/secret_key","supabase/publishable_key","turso/database_url","turso/auth_token","twilio/account_sid","twilio/auth_token","twilio/api_key_sid","twilio/api_key_secret","upstash/redis_rest_url","upstash/redis_rest_token","upstash/qstash_token","upstash/qstash_current_signing_key","upstash/qstash_next_signing_key","workos/api_key","workos/client_id"],"type":"string"},"secret":{"description":"false for a value that is not secret, such as MAX_RETRIES or a publishable key. It is shown in the clear.","type":"boolean"}},"required":["name"],"type":"object"},"maxItems":12,"minItems":1,"type":"array"},"sink":{"description":"Where the values are written. Fixed now and not re-read from the page.","oneOf":[{"properties":{"kind":{"const":"dotenv","type":"string"},"path":{"default":".env","description":"Path to the dotenv file, relative to the project root.","type":"string"}},"required":["kind"],"type":"object"},{"properties":{"kind":{"const":"file","type":"string"},"path":{"description":"Path to the file, relative to the project root. The value becomes its whole content.","type":"string"}},"required":["kind","path"],"type":"object"}]}},"required":["secrets","reason","sink"],"type":"object"},"name":"collect_secret","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"emoji":{"description":"A fingerprint of the values as the file holds them. The user's page shows the four it took from what they typed. Write them to the user as soon as the call returns, before your next tool call.","type":"string"},"expires_in":{"type":"number"},"file_keys":{"description":"Every key the file holds after the write, names only, so the file never needs opening.","items":{"type":"string"},"type":"array"},"kept":{"items":{"type":"string"},"type":"array"},"links":{"description":"What became of each link you gave: used as the key's \"Get it\" or shown as your suggestion, with the address the page opens, or dropped, with why.","items":{"additionalProperties":false,"properties":{"dropped":{"type":"string"},"ignored":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"url":{"type":"string"},"used":{"enum":["get_it","suggestion"],"type":"string"}},"required":["name"],"type":"object"},"type":"array"},"names":{"items":{"type":"string"},"type":"array"},"note":{"type":"string"},"request_id":{"type":"string"},"sink":{"additionalProperties":false,"properties":{"kind":{"type":"string"},"path":{"type":"string"}},"required":["kind","path"],"type":"object"},"status":{"enum":["awaiting","written","expired"],"type":"string"},"tell_user":{"description":"The line to write to the user as soon as the call returns, before your next tool call: \"Fingerprint\" and the four emoji their page shows.","type":"string"},"url":{"description":"The page the user has to open, while the request is awaiting and the link is yours to pass on.","type":"string"},"written_anyway":{"description":"Keys the user wrote although their values did not pass offprompt's checks: the provider may have changed the format, or the value may be wrong.","items":{"type":"string"},"type":"array"}},"required":["request_id","status","names","sink","note","expires_in"],"type":"object"},"title":"Collect a secret from the human"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Wait for a collect_secret request that came back still \"awaiting\" — which happens when\noffprompt runs in a cloud sandbox, had no browser to open and handed you the page URL to pass on, or runs in a host that\nends a tool call before the human is done. Long-polls for up to 60 seconds, 50 in Cline, and returns\n\"written\", \"awaiting\" or \"expired\". Call it again while the status is \"awaiting\", with no other work in between. When\nyou were given a link to pass on, an \"awaiting\" result carries it again: keep it in whatever you write to the user, or\nask them, until the values are written.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"request_id":{"description":"The request_id returned by collect_secret.","minLength":1,"type":"string"}},"required":["request_id"],"type":"object"},"name":"await_secret","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"emoji":{"description":"A fingerprint of the values as the file holds them. The user's page shows the four it took from what they typed. Write them to the user as soon as the call returns, before your next tool call.","type":"string"},"file_keys":{"description":"Every key the file holds after the write, names only, so the file never needs opening.","items":{"type":"string"},"type":"array"},"kept":{"items":{"type":"string"},"type":"array"},"names":{"items":{"type":"string"},"type":"array"},"note":{"type":"string"},"request_id":{"type":"string"},"sink":{"additionalProperties":false,"properties":{"kind":{"type":"string"},"path":{"type":"string"}},"required":["kind","path"],"type":"object"},"status":{"enum":["awaiting","written","expired"],"type":"string"},"tell_user":{"description":"The line to write to the user as soon as the call returns, before your next tool call: \"Fingerprint\" and the four emoji their page shows.","type":"string"},"url":{"description":"The page the user has to open, while the request is awaiting and the link is yours to pass on.","type":"string"},"written_anyway":{"description":"Keys the user wrote although their values did not pass offprompt's checks: the provider may have changed the format, or the value may be wrong.","items":{"type":"string"},"type":"array"}},"required":["request_id","status","names","sink","note"],"type":"object"},"title":"Wait for a secret to be written"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Close a collect_secret request that is no longer needed. Anything already typed on the\npage is discarded.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"request_id":{"description":"The request_id returned by collect_secret.","minLength":1,"type":"string"}},"required":["request_id"],"type":"object"},"name":"cancel_secret","outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"emoji":{"description":"A fingerprint of the values as the file holds them. The user's page shows the four it took from what they typed. Write them to the user as soon as the call returns, before your next tool call.","type":"string"},"file_keys":{"description":"Every key the file holds after the write, names only, so the file never needs opening.","items":{"type":"string"},"type":"array"},"kept":{"items":{"type":"string"},"type":"array"},"names":{"items":{"type":"string"},"type":"array"},"note":{"type":"string"},"request_id":{"type":"string"},"sink":{"additionalProperties":false,"properties":{"kind":{"type":"string"},"path":{"type":"string"}},"required":["kind","path"],"type":"object"},"status":{"enum":["awaiting","written","expired"],"type":"string"},"tell_user":{"description":"The line to write to the user as soon as the call returns, before your next tool call: \"Fingerprint\" and the four emoji their page shows.","type":"string"},"url":{"description":"The page the user has to open, while the request is awaiting and the link is yours to pass on.","type":"string"},"written_anyway":{"description":"Keys the user wrote although their values did not pass offprompt's checks: the provider may have changed the format, or the value may be wrong.","items":{"type":"string"},"type":"array"}},"required":["request_id","status","names","sink","note"],"type":"object"},"title":"Cancel a secret request"}]}}}
