Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ Install the Inline CLI and have Claude/Codex interact with it.

For setup failures, repeat the command with `--verbose` (twice for trace detail).
See [diagnostics and optional error reporting](docs/diagnostics.md).
Official binaries report metadata-only command, bridge-runtime, updater outcomes, and panic failures to Sentry. Set
Official binaries report command, bridge-runtime, updater, and panic failures to Sentry
with allowlisted metadata and the same bounded, scrubbed failure text the CLI shows. Set
`INLINE_CLI_TELEMETRY=off` to disable reporting. Command arguments, message contents,
credentials, local paths, and raw errors are not sent.
credentials, local paths, unscrubbed error text, and stack traces are not sent.

## Install

Expand Down
16 changes: 10 additions & 6 deletions crates/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ Rust SDK for Inline API calls, uploads, client metadata, and realtime RPC.

This is the low-level SDK. It does not own a durable cache or sync engine; that
lives in the higher-level `inline-client` crate. Use this crate when you
want typed protocol access, HTTP auth/upload helpers, or a realtime RPC
want typed protocol access, HTTP auth helpers, native uploads, or a realtime RPC
transport.

```rust
use inline_sdk::{
ApiClient, ClientIdentity, PeerId, ReadMessagesInput, RealtimeClient,
UploadFileInput, proto,
ApiClient, ClientIdentity, NativeUploadInput, PeerId, ReadMessagesInput, RealtimeClient,
proto, upload_file_v2,
};
use std::time::Duration;

Expand All @@ -35,9 +35,13 @@ async fn run() -> Result<(), Box<dyn std::error::Error>> {
let read = ReadMessagesInput::new(PeerId::thread(123)).with_max_id(456);
api.read_messages(&token, read).await?;

let upload =
UploadFileInput::document("./report.pdf", "report.pdf").with_mime_type("application/pdf");
api.upload_file(&token, upload).await?;
let upload = NativeUploadInput::new(
"./report.pdf",
"report.pdf",
"application/pdf",
proto::UploadKind::Document,
);
let _uploaded = upload_file_v2(&mut realtime, upload, |_progress| {}).await?;

let _me = result.user;
Ok(())
Expand Down
4 changes: 3 additions & 1 deletion packages/mcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ Connect new clients to `https://mcp.inline.chat/mcp/v2`. Every conversation-scop
Legacy reads using `userId` resolve an existing approved DM from conversation metadata and fail when none exists. They do not create a DM. Explicit legacy sends using `userId` retain the backend's ability to create a destination DM.

- `account.me` (read-only): inspect current MCP authorization, scopes, and allowed chat context.
- `account.profile` (authenticated, read-only): identify the connected Inline account for ChatGPT's Connected accounts view. It accepts no arguments and returns the immutable Inline user ID plus available `name`, `email`, and `nickname` from authenticated `GET_ME`. The tool is designated with `_meta["openai/profile"] = true`; its top-level structured result and JSON text fallback match [OpenAI's profile contract](https://developers.openai.com/plugins/build/auth). It requires no message or space scope and never selects an identity from caller input or a people-search result. `account.me` remains unchanged.
- Input: `{}`
- Output: `{ user, session, allowed, hints[] }`
- `account.profile` (authenticated, read-only): identify the connected Inline account for ChatGPT's Connected accounts view. It accepts no arguments and returns the immutable Inline user ID plus available `name`, `email`, and `nickname` from authenticated `GET_ME`. The tool is designated with `_meta["openai/profile"] = true`; its top-level structured result and JSON text fallback match [OpenAI's profile contract](https://developers.openai.com/plugins/build/auth). It requires no message or space scope and never selects an identity from caller input or a people-search result. `account.me` remains unchanged.
- Input: `{}`
- Output: `{ id, name?, email?, nickname? }`
- `spaces.list` (read-only): list spaces visible to the current MCP grant.
- Input: `{ query?, limit? }`
- Output: `{ query, items[] }`
Expand Down
2 changes: 1 addition & 1 deletion server/docs/content-encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ bun -e 'import { randomBytes } from "node:crypto"; process.stdout.write(JSON.str

Paste it into `INLINE_PROTOCOL_REPLAY_KEY_RING_JSON` as a single JSON value and save a copy in your secret manager. **Never replace an existing ring with this new one**: retained replay results require their original keys. Do not change the other protocol keys for this rollout.

Deploy this release to every API process and worker. The normal container startup applies migration `0149`; it adds columns/indexes and widens title/emoji storage without rewriting content. Check that migration and startup succeed on every instance. Schedule the deployment in a quiet window because the DDL takes PostgreSQL locks. Open existing chats and attachments before continuing.
Deploy this release to every API process and worker. Container startup does not migrate schema: the release's migrate step (`bun server/dist/migrate.js`, then `bun server/dist/verify-migrations.js`, with the direct database connection; the Deploy Server workflow runs both once before replacing any API) applies migration `0149`. It adds columns/indexes and widens title/emoji storage without rewriting content. An API whose database lacks a required migration refuses to start, so check that the migration succeeds and every instance starts and reports ready. See [Fly deployment and schema migrations](fly-deployment.md). Schedule the deployment in a quiet window because the DDL takes PostgreSQL locks. Open existing chats and attachments before continuing.

### 3. Verify existing data without changing it

Expand Down
Loading