rpc

package
v0.2.85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 64 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Web conversation transport

This bounded transport implements Protocol, ListSessions, History, Prompt, and Join from internal/rocketclaw/web/proto/web.proto. Steer Prompt waits for Backend RunTurn completion, using the authenticated username. Bare /stop runs cancel through RunTurn and waits for that interrupted turn. Queue Prompt stashes waiting work through existing Backend queue operations and returns without waiting for that turn. ListQueue, SteerQueueItem, RemoveQueueItem, and ReorderQueue use existing Backend queue operations; promotion keeps the queued item's original principal and message ID. ListQueue.delivery distinguishes later work from pending steers. Direct steers retain the client's Prompt.message_id as durable input_id; pure-Web queued/stashed messages retain the supplied stable message ID (or a server-generated ID when omitted). History uses those IDs to move waiting inputs into chat in consumption order without matching text. Dropped items never run. ReorderQueue saves the listed order in one transaction, with the request's context: listed items take the places listed items already hold, unlisted or hidden items keep theirs, unknown IDs are ignored, and a failure changes nothing. Join sends only committed, content-free conversation-change hints; it does not replay history or return output through Prompt's private response field. History accepts the last applied revision and returns changed entries, removed keys, the complete ordered key inventory, and running/terminal state. Invalid or differently scoped revisions reset the view. Running turns include those of hidden runs whose sync destination is the chat; each shows after the chat's history under the key its synced copy later takes, and Join reports its changes. A positive limit returns only the newest limit saved entries plus running turns, and its revision follows only those entries, so a read's cost depends on the entries shown, not on the whole chat. start is where the returned entries begin and more says older ones exist. A positive before reads a settled, unfollowed page of older entries: the newest limit of them, or every entry from from onward. If older history is cleared, the next limited read resets. A chat's origin still comes from its first entry when that entry is not returned. SearchSessions applies the same origin rules when it matches the query against every chat the caller may see; routine runs and private External MCP conversations never match.

WatchTyping (GET /typing?id=) and ReportTyping (POST /api/ReportTyping) relay who is typing in a chat. Unlike Join they are not content-free: a TypingEvent carries the typist's display name, or their login when it is blank as on their prompts, and whether they are typing. A report carries no draft text; the server takes the typist from the caller's identity. It sends the event to the chat's other watchers, skipping the typist's own watches, and drops it for a watch whose buffer is full. A report names its browser tab and numbers it seq from 1; while a chat has watches the server keeps the newest number from each person's tab and drops a report that arrives after a later one, so a late "typing" never undoes a "stopped". A chat nobody watches keeps nothing, and its reports go nowhere. A watch opens with an empty event once it listens. The relay lives in memory only: no database, timers or stored typists. Both calls admit a chat by the rules for viewing it; an opencode: session needs no stored row but is closed to people limited to spaces. docs/verification/typing holds a PlusCal model of the relay.

A Search page's SearchSessions names its tab and search_id, and its search runs on the server past the request. The same query joins the run or takes its finished answer, which only one request receives; another query cancels and replaces it, and so does the same query asked fresh because new sessions reached the caller's list, which keeps the person's entry of a run still going. Each person keeps 8 such searches, running or finished. A search the person entered marks the tab "Search finished" when it ends, unless it was replaced, evicted or stopped meanwhile, the person no longer has the tab, or they are looking at it. Other callers share one search per query while someone waits for it.

StageRevert accepts a visible session ID, an optional recorded message_id on any branch of the chat, and a boundary; omission selects Undo's predecessor from complete effective history, not the loaded page. BEFORE, the default, ends the chat's current point just before that user message; THROUGH ends it after that user message or agent reply. It settles the runtime bridge, moves the current point without deleting anything, and returns the actual marker, plus for BEFORE the editable TranscriptEvent prompt without its generated header. It requires a top-level pure Web session; Slack, MCP-bound/private, routine-origin and delegation sessions are ineligible even through direct calls.

History returns revert_eligible, revert_message_id and can_undo, including an empty first-message cutoff. Its opaque revision includes the cutoff; a change resets page bounds, inventory and delegation links from one database snapshot. Committed marker changes use the existing Join wake-up channel. Clients must reject outstanding reads across mutations/resets, not compare cutoff values alone: a later move can return to the same value. IDs are opaque decimal strings with replay indices; do not convert them to JavaScript numbers.

Every append links the new entry at the current point and clears the marker, so a prompt sent after a move starts a new branch; nothing is pruned. /agent and /stop are controls and leave the marker intact. Queued work keeps running from the current point. Uploads remain available to restored drafts. MessageTree returns every branch's user messages and agent replies with the flags the panel needs; DeleteBranch (with a dry run) permanently deletes a branch, first moving off it when the chat is on it; SummarizeBranch appends a summary of another branch at the current point. Moves never compensate files, external tool effects, deliveries or scheduled registrations. Migration 108 adds history links and is forward-only: rolling back after people have branched shows every branch interleaved. In-progress turns and saved turns share source-qualified turn keys; item_id is render identity, while message_id identifies saved entry positions for commands. History returns the recorded turn in order, including developer messages, thinking summaries, tool calls, tool results, and user/assistant text. Encrypted reasoning bodies stay stored and are not sent. History retains tool call IDs and names so Web can group each call with its result. Recognized public records in OutputTrace add replay-neutral assistant text and fixed tool/delegation lifecycle states. Unknown trace records are not rendered. Progress rows use producer-qualified item/call identities, never fabricated message_id or input_id values. Per-item completion is independent of the parent turn's running state. Authoritative replay replaces overlapping partial text, including empty final output; retained public records provide display fallback when compaction removes the corresponding replay. Blocked, failed, or stopped delegation metadata suppresses private or reviewer-bearing result text in Web, including saved history, without changing canonical provider replay. Private child diagnostics, review reasons, reasoning bodies, and provisional arguments never enter this public path. History reads neither acknowledge Slack delivery nor change queue/steer boundaries. Slack keeps placeholder-plus-final delivery. New messages save their exact generated bracket header alongside model-facing text as prompt_header in local replay. History and session-list previews remove only that saved prefix from user/developer display text. History exposes it as TranscriptEvent.header; the Web message footer shows it through an info icon on hover or click. Old messages are not backfilled or guessed from their text. Model-facing text still includes the generated header; local header metadata is never sent to the provider. Assistant text is unchanged. TranscriptEvent.principal decodes only the stored header's top-level quoted principal, including on attachment-bearing inputs. QueueItem.principal copies the item's recorded author; an item another session's agent wrote has none and shows agent <name> (session <ID>) instead. EditQueueItem makes the caller the item's author, as if they had sent it from Web. Web shows it above human text inside the existing bubble and above queue-row text, without replacing it with the viewer's identity. Missing or malformed stored principals stay unlabeled; raw headers remain intact. Previews use the latest nonempty user or assistant message, including the same successful delivery report shown in History. Session running is true while the conversation has an unfinished turn.

MoveToBackground moves every running execute, task and task_clone call of agents with permission.rocketclaw.allow_background: allow in the conversation into Background Jobs and reports moved; with nothing eligible it changes nothing. StopBackgroundJob stops one running job by ID, records it as stopped by user, and reports stopped, false when the job had already finished. Stopping a task job also stops its subagent session's running turn and that subagent's own jobs. It reaches the conversation's own jobs and jobs of hidden routine or External MCP runs whose sync destination is this conversation, the same scope as the agent's rocketclaw_stop_background_job. Both authorize like the queue RPCs and are refused for private routine and External MCP conversations. History adds a movable flag, true while such a call runs attached to its turn, and a backgroundJobs list with label, kind, state, tool call ID, subagent key, who stopped it, and a hidden mark. The list holds jobs that are running or whose Completion Note is still pending, including those of hidden runs that report here. History also lists pendingQuestions: the unanswered ask_user_question calls of the conversation's Web turns, read from their saved turn steps, so they survive a closed tab or a restart. AnswerQuestion authorizes like the queue RPCs, then saves the selected values and custom text as the answer to the named question of that conversation and wakes its waiting turn. The first answer wins; any other answer, including one naming another conversation's question, fails with NotFound "no longer pending" and changes nothing. Transcript events that deliver Completion Notes carry them in completionNotes with each job ID, final state, and note text. They come from the stored jobs whose IDs the system input saved as its input ID, never from its text, so output that looks like a note adds no row; the jobs stay until their conversation is deleted, and a fork copies the finished ones its copied notes list, as already read, with their unexpired retained output. A task call's events carry delegation, the Delegation History of the subagent the call started or continued, as recorded in its public progress. Any call's function_call event carries review, the Delegation History its automatic permission reviews save to, derived from the turn ID and call ID; the Web links it only while the response's delegations list it, so a review saved after the row was sent still links. Job changes and movable flips send the usual conversation-change hint.

Session.tags (additive protobuf field 14) carries the owning conversation's durable, lexically sorted active tag names in ListSessions. Missing metadata returns an empty list. The existing session-list query joins tags without adding a request per row or widening private-session discovery. Tag-only changes appear on the next snapshot without changing previews or timestamps. HTTP retains the same owner/completeness envelopes and ordering; no tag mutation RPC or event is added.

Session discovery starts from explicitly recorded conversations with stored entries, excluding private routine run locators and recorded MCP X bindings. It does not discover orphaned entry rows or backfill records. CreateSession records a fresh opaque ID with the selected loaded agent. For a sticky agent it first looks for the agent's sticky session (StickySessions): the chat whose stored sticky value, set once at creation, matches the agent's mode, created by the caller's login for sticky: user. A chat born off never counts. When one exists it returns that ID with resumed set and creates nothing. RunRoutine likewise runs a sticky: global agent's routine in that session; a sticky: user or sticky: slack agent cannot have routines, so it never meets one. A sticky: slack agent answers only in Slack: ListAgents and CreateSession leave it out of new sessions, while its Slack sessions still open and list it as their agent. A unique index allows one user chat per agent and login, and one global chat per agent. A concurrent first request waits for the other's insert and then finds that chat, so routine reports, due reminders and Web requests share one session rather than creating duplicates. ListSessions streams one conversation per response message in list order, each with the caller's attention on it: unread_at (empty once read), marked_unread (the mark raises no notification), parked, until (when its park ends), until_done (the park lasts until the session is idle after its work, with no time) and note (the notification text a timer wrote). Its viewing field names the location of the caller's focused tab, of any kind, such as /s/<id> or /routines. The HTTP adapter marks the call as the Web page's poll, with the gRPC metadata rocketclaw-web-poll, only for same-origin requests (the only other requests that reach it are links another site opens), and only such a call, before the listing, records the view and clears that location's mark unless hold is set and the mark is quiet. The mark is not a request field, so no caller can claim it through the request: /rpc_mcp never sets it, and its ListSessions only reads. Parks end on the server, not in this call: a loop in the web process wakes every person's parks that came due, and a closed tab whose park ended goes back where it was. The first message carries tab_revision, the caller's tab-state revision, which a woken closed tab raises so the page reloads its tabs. When viewing is set, it also carries navigate, the path on this server that an agent's rocketclaw_navigate_for_me asked to take the caller to, and the same statement that records the view clears it, so exactly one focused window gets it once; the page opens it as a click would. A path asked for more than 3 days earlier is dropped instead. The final message carries tabs, the caller's attention rows of locations that are not sessions, only those changed since since, or all of them; a row with only its path says the location has none any more. The Go HTTP adapter forwards these progressively through a finite SSE response, preserving full previews and gRPC's default 4 MiB per-message receive limit. Each envelope carries the authenticated owner and summary completeness; the final empty envelope marks upstream success and aggregate summary completeness, including for an empty list. An SSE complete event is sent only after successful gRPC EOF. HTTP iterator exhaustion is separate from that application terminal: a failure or wire cut can leave a visible prefix, which is not a completed list. Cancellation cancels the gRPC call, including pending reads, and releases database rows. ChangeTabs changes attention through attention: locations, an action (mark read, mark unread, park, park until done, unpark), and an RFC 3339 time for a park. Park until done parks a session's tab until the session is idle after its work: no turn running, no message queued, no Background Job to wake it and no active goal. A failed turn or an agent's question ends it sooner, and the park a question ended comes back once nothing is asked. It skips any other location. It refuses New session (/) and group: placeholders, and a session the caller may not open. The mute, unmute and mark unread fields and the reply's mutes are gone, and their field numbers are reserved. Identity returns the Go-mapped username separately from Protocol negotiation. ListAgents loads the current runtime definitions and supplies the agent picker, using the existing Slack channel policy for Slack Y. Each agent carries its sticky value and the caller's sticky_session, so the New session picker can open it. Session rows do not repeat the agent choices. /agent name persists selection and updates the live bridge without resetting history; private producer X cannot be selected. Removed choices are not re-added merely because they remain the current selection. A Slack session offers only sticky: slack agents; any other session whose agent is sticky offers only that agent, and the rest offer no sticky agent (sameKind), in ListAgents and to /agent; ForkSession refuses a sticky agent's session with FailedPrecondition.

ListConfig exposes only the retained ConfigView fields: workspace, overlays, channel agent choices, MCP server names with their facet names (never their tool patterns), logging level, auto-approver model, enabled flags, and providers, the configured provider names (always including openai) that the Config page's model pickers offer. The server never lists a provider's models. It never serializes credentials or database URLs. It also returns canEdit, true when the caller's username is in web.admins, and only then the behavior settings as two-space-indented JSON in behaviorJson, every outside MCP server as stored in mcpServerSettings (each env and headers value as text, or as awsArn and awsKey, never a secret's value), and mcpSecretPicker, true when mcp_secrets_arn_prefix is set. A person limited to spaces gets only tailscaleUser and the Slack channels with their agents; every other field stays empty and canEdit false. SaveBehaviorSettings(SaveBehaviorSettingsRequest) -> ListConfigResponse (POST /api/SaveBehaviorSettings, documentJson required) replaces the whole document and answers as ListConfig does. A non-admin, or an admin limited to spaces, gets PermissionDenied. Malformed JSON and every rejected save get InvalidArgument with the reason. A rejected save changes nothing: the stored document, live settings, runtime assets, External MCP agents, and routines all stay as they were. SaveMCPServer (server required, create true to add) adds or replaces one outside MCP server, and DeleteMCPServer (name required) removes one; both answer as ListConfig does. ListMCPSecrets returns the ARNs under mcp_secrets_arn_prefix, and ListMCPSecretKeys (arn required) one of those secrets' key names. ListMCPServerTools (server required, saved or not, its facets ignored) resolves the server's references, starts it or connects to its url through the same MCP client agents use, and returns its tools' names and descriptions sorted by name; it waits until the caller's deadline, or one minute without one, and is not marked NO_SIDE_EFFECTS, because a command server runs on the host. MatchMCPFacets takes tool names and facets and returns, per facet in request order, the tools it grants and, per pattern, the tools it matches or, for a - pattern, removes; it compiles the facets into permission rules with the harness's own facet compiler, so it matches exactly as agents do. All six refuse a non-admin, or an admin limited to spaces, with PermissionDenied, and every other failure with InvalidArgument: an unresolved reference, a taken or missing name, an agent that would stop loading, an ARN outside the prefix, or a server that would not start or list its tools (can't list <name>'s tools: ...). A refused save or delete changes nothing. ListSkills uses the existing rooted runtime-definition loader and returns loaded skill text and metadata; origin is the loader's relative definition location. With ListSkills.agent, it returns only skills allowed for that loaded agent, excluding denied and review-only permissions; an unavailable agent returns no skills. Omitting the filter returns the full skills-page catalog, or, for a person limited to spaces, only the skills at least one of their agents may use. The composer supplies its selected agent and lists commands before those skills. Choosing a skill inserts /name , or /skill name for a built-in name collision, without sending. Web-only outer /enqueue queues automatic later work, /stash holds work until explicit send, and /steer sends now or into the active turn. These commands override the requested delivery and strip only the outer command and surrounding prefix whitespace, preserving inner text, spacing, and nested commands. Explicit Prompt.delivery=STASH treats the entire payload as literal text instead, including all three commands. Bare /stop and /agent keep their built-in meanings. A /name that is not a command and not a skill the agent can load reaches the agent as plain text; /skill name reports the missing skill instead. Normal Send during a turn queues; Cmd/Ctrl+Enter steers. Skills are loaded when consumed.

ListRoutines uses the same started routine manager as scheduled execution. It exposes the routines in agent files, each named <agent> · <schedule> with run path agents/<agent>.md#<schedule>, and each schedule's next trigger within 24 hours, using persisted due times for recurring schedules rather than restarting their intervals on a read. The manager reads no cron/ folder; one left over is ignored. RunRoutine finds the selected routine through that manager by its <agent> · <schedule> name only, failing with no routine "<name>" for any other, runs its fresh private X, and returns the actual destination Y only after the existing runner's RunTurn and Sync finish successfully.

Backend entry reads expose generic source conversation provenance; RPC takes a run's path and time from its stored run facts, not from its ID. New runs get routine: and one-off-routine: IDs; runs from before the rename keep their cron: and one-off-cron: IDs and still list and open. The stored path label is used as-is, including previously stored underscores, without matching current definitions. Each run X is one row, whatever chats hold its output. Only X's own history and turns count; subagent and review sessions under X are not read. The row links to a recorded human Y that X reports to or that continues X, the greatest ID if several. Rows sort newest-first by the source run timestamp, with X as tie-breaker. Recorded private routine run conversations with saved entries or a running, failed, or stopped turn also supply run timestamps through the same metadata query, without reading replay content. Runs cannot revert, so no revert cutoff applies to them. When no human chat holds the run's output, Web's Open chat action uses CreateSession.source_conversation_id, which accepts a recorded routine run producer and creates or reuses web:<source ID>, which continues the run: it shows the run's messages under their own IDs before its own, without copying them, and adopts a run that reports to no chat. Creation is idempotent, including concurrent opens. This creates a writable Web conversation, without running the routine. It offers every loaded agent. Creation selects the agent the run recorded; when that agent is missing or turned off, nothing is created and the error names the agent. Reopening does not overwrite a conversation's selection. A scheduled run with a non-empty reply opens the same web:<source ID> chat on delivery, for the routine's agent; when that agent is missing or turned off by then, no chat is opened and the error is logged. Authenticated users can read routine run producer history through History; this does not grant prompt, queue, deletion, or other mutation access to producers. Web previews a run from that history. Missing source entries cannot supply history; no migration, backfill, or history rewrite is performed. Web lists runs by routine, including routines whose definition is gone. Runs of retired cron files stay listed under their raw path, such as cron/daily.md, and still open. History.source_conversation_id optionally restricts the authorized destination's history to one source run before replay decoding; it does not change access to other private source conversations.

Model test

TestModel sends one small request (16 output tokens) to a model named as provider/model#effort through the normal model resolver, and answers elapsed_ms when it works or error with the provider's own words, such as an unknown model. People limited to spaces cannot call it: it answers PermissionDenied "people limited to spaces cannot test models". Everyone else may, admin or not.

Attachments

UploadAttachment(stream Attachment) -> Attachment accepts one file per call. The first frame supplies conversation_id, name, and optional data; subsequent frames supply data. Each chunk is at most 256 KiB, below gRPC's default 4 MiB receive limit. Close the sending side to finish. The server writes the chunks to attachment storage as they arrive instead of collecting the file in memory (S3 buffers a file under 16 MiB, and a larger one's 8 MiB parts, up to about 64 MiB per upload), detects the MIME type from the first 512 bytes, and records the file once it is stored. When the stream fails, the client cancels, or recording fails, the stored file is deleted, or queued for deletion when the delete fails; only a database that cannot be reached during that cleanup leaves it behind. The response supplies the immutable ID, basename, detected MIME type, and original byte count. Pass IDs in Prompt.attachment_ids for either steer or queue. Images retain the existing model-side normalization; all uploads are also materialized through os.OpenRoot(cfg.Workspace) at .rocketclaw/uploads/<conversation>/<id>/<basename>, for every agent. Other files are available to model tools at those paths. The original text, principal, attachment references, and image input travel through existing durable queue content. Prompt text includes attachment:<id> and the file's absolute path so replay retains a file reference without embedding its bytes in transcript RPCs. References to artifacts/uploads/<id>/<basename> written by earlier releases are still recognized and stripped.

DownloadAttachment(Attachment) -> stream Attachment requires the visible conversation ID in conversation_id and the attachment ID in id. It authorizes against that conversation's current history or queued references on every call, including uploads referenced by its selected staged user boundary for composer restoration—not arbitrary uploads or other references in the hidden suffix— then returns exact original bytes in 256 KiB chunks. Merely knowing an ID is not authorization. Private routine run producers and recorded private external MCP sessions are denied, as are callers without a tailnet login. Deleting history revokes its references. Queued references remain valid until removed or consumed.

History and ListQueue carry repeated attachments metadata. The protobuf JSON shape (using protojson) is:

{"id":"opaque-id","name":"image.png","mimeType":"image/png","size":"1520338","conversationId":"producer-id"}

data is absent from transcript/queue metadata. conversationId there identifies the stored producer, which can differ from the visible conversation for an entry of a hidden run it shows. The HTTP proxy must use the currently viewed conversation for download authorization, never substitute this producer field. Standard Go encoding/json uses the generated snake_case tags and a numeric size; the HTTP adapter uses protojson instead. Upload raw bytes to POST /api/UploadAttachment?conversationId=…&name=…. Download through GET /api/DownloadAttachment?conversationId=…&id=…; download=1 forces a download. Both paths stream chunks and cancel gRPC on disconnect.

New tool outputs persist original bytes in the configured filesystem directory or S3 bucket before returning immutable IDs in successful tool replay. PostgreSQL stores ownership, file metadata, and byte counts only; migration 001_baseline.sql creates that metadata table. The default directory is <workspace>/.rocketclaw/attachments. See the root README for the attachments configuration. Originals are never resized in storage. Unreferenced blobs remain stored but cannot be downloaded; garbage collection is not part of this transport.

Start

History summary backfill

Existing histories gain durable session-list summaries in the background when the RocketClaw runtime starts. Backfill does not gate readiness. It commits progress incrementally, so a later runtime start resumes histories that still lack a summary. It does not create conversation records or expose orphaned histories. Normal history writes maintain the summary in the same transaction as the history. New conversation records initialize their summary in the creation transaction, including when they attach existing orphan history. An empty summary is complete; a missing summary is not. Empty histories retain blank previews and display timestamps. Session-list enumeration checks for stored entries and reads stored summaries without decoding replay, including while legacy summaries are still missing. Empty histories are omitted until an entry is stored.

If backfill fails, the runtime logs backfill session summaries with the error and stops that backfill attempt; it does not retry automatically within the same run. Investigate the logged error before restarting to resume. Shutdown cancels and joins the backfill before releasing the runtime lock or closing the store.

Run the Web transport

Session-list Slack labels use stored channel facts. Known channels are refreshed once when the server starts; rate limits can delay that refresh, and failed lookups retain the last known facts. Session-list requests do not wait for Slack. Stored facts do not grant permission: action authorization still uses live checks.

Build the browser assets before compiling Go. Frontend source lives in internal/rocketclaw/web/; the build writes compiled assets to internal/rocketclaw/internal/web/dist/, which Go embeds in the binary. go generate ./internal/rocketclaw/internal/web builds them, and make test runs it first. Bun 1.4.4 or newer is needed for builds and tests, but the deployed binary needs no Bun or Next.js process.

From the repository root:

export TMPDIR="$PWD/.tmp"
go generate ./internal/rocketclaw/internal/web
go run ./cmd/rocketclaw

The Web is served only by a tailscale.com/tsnet node, which web.tsnet in rocketclaw.json configures and which serves the handler over HTTPS on port 443 of its tailnet name; see Identity boundary. The HTTP adapter connects to gRPC entirely in memory inside the same process. No Web environment variables or filesystem sockets are needed.

The normal RocketClaw command still starts its existing Slack and routine runtime. The isolated transport tests below do not start Slack or touch runtime configuration.

Open /s/<base64url-conversation-id> in the Web UI to read the conversation. Thinking and tool traces appear inline within each turn as the browser's Timeline detail setting shapes them (Compact by default: one closed summary row); replies always remain visible. For example, obtain the URL component with:

bun -e 'console.log(Buffer.from(process.argv[1]).toString("base64url"))' 'slack-thread:C1:1.1'

The DeleteSession RPC deletes a Web chat or Slack thread for everyone as retention cleanup does: its row, history, private MCP session, the runs that report into it or that it continues, and everyone's tabs, Shared rows and Top Shelf rows of it. Anyone who can see the chat may call it; it refuses shadow sessions and a chat with a running turn, queued or stashed work, a Background Job, or a scheduled message.

Identity boundary

TranscriptEvent carries additive agent, model, optional reasoning_effort, and origin fields. HTTP/SSE uses their protobuf JSON camelCase names. Absent reasoning is unknown; a present empty string means provider default. History resolves replay attribution ranges before the entry snapshot. Join carries no transcript content or execution attribution; clients read these through History. Saved copy locators survive source-row retention without exposing source or destination IDs in the transcript.

RocketClaw accepts browser connections only on its tsnet node. NewHTTPHandler refuses with 403 every browser request from another site, reads included, by the rule Go's CrossOriginProtection applies to mutations: Sec-Fetch-Site is same-origin or none, or, without it, Origin is absent or this host. same-site counts as another site, since RocketClaw is one origin. The rule spares only navigations (Sec-Fetch-Mode: navigate) that are not mutations, so links, bookmarks and typed addresses open from anywhere, and every GET under /pages-raw/, because a hosted page runs in an opaque origin and the browser sends even its own files' requests as cross-site; any site can load those files as subresources. A hosted page's own calls to the API are refused. Requests without these headers, such as non-browser clients, pass. Tailnet identity never grants cross-origin authority.

The tailnet handler adds two headers to every answer but the OpenCode MCP bridge's. Content-Security-Policy: frame-ancestors 'self', followed by each trusted_rocketclaws origin, lets only RocketClaw and the pages it trusts frame it, hosted pages included; navigations into frames from anywhere else are still admitted but not shown. A hosted page's own origin is opaque and never matches 'self', so it cannot frame its own files. No X-Frame-Options is sent: it cannot list origins, and every browser that reads frame-ancestors ignores it. Cross-Origin-Resource-Policy: same-origin keeps another site's no-cors loads from reading an answer, which covers browsers that send no Sec-Fetch-Site, such as Safari before 16.4, where an <img> of an attachment sends no Origin either and so passes the rule above. CORS requests, such as a trusted page's fetch and crossorigin images, are not subject to it. Files under /pages-raw/ answer cross-origin instead, so a hosted page, from its opaque origin, still loads them. Handlers that set their own Content-Security-Policy add it beside this one.

Identity comes only from the node's WhoIs of the connection. The handler ignores X-Forwarded-For, X-Real-IP, Tailscale-User-*, and client-supplied principal headers.

Each opencode server's API is proxied at /oc/<name>/api/ on the Web's own listeners, for HTTP, the event stream, and the terminal WebSocket. The route admits exactly the browsers the Web admits, by calling Identity (by Tailscale user), and adds the server's password. It refuses any request, WebSocket upgrades included, whose Origin is another site, and sends OpenCode its own origin so OpenCode's terminal origin check still holds. Cookies cross in neither direction, OpenCode's sign-in challenge never reaches the browser, and every proxied response is sandboxed, so a file opened directly never runs as RocketClaw. Everyone the Web admits, except people limited to spaces (below), gets full control of every configured OpenCode server, including its shell. The proxy writes the admitted username into each prompt's message metadata as rocketclaw_username, replacing any value the client sent. The field only attributes turns for unread marks and notifications and must never gate access: anyone the Web admits can bypass the proxy through OpenCode's shell, and anyone with the server's password can call OpenCode directly, so either can forge it. Remote sessions are listed from a copy RocketClaw syncs every 5 seconds; once a day the server's full list removes copies of sessions it no longer has. When a sync sees a session's turn end, it also copies the text of its newest assistant message, which the Web's notification shows, and marks the session for each person whose stamped prompt that turn held and for the people who keep it, as a RocketClaw turn's end does. A session that starts asking marks the same people, with the senders of the prompts its running turn holds. A turn shorter than one sync is still found, because OpenCode moves the session's updated time when it accepts a prompt. Each copy keeps the session's selected agent and model, which ListSessions sends as agent and model for search. Prompt refuses their opencode: IDs. People tag remote sessions with any tag and RocketClaw sessions with tags their agent allows. Naming a remote session renames it on its server; a name RocketClaw stored before names synced with OpenCode moves to the server at the first sync the server accepts it. ListSessions sends each server's origin, never its configured URL or password. Remote forks use ForkSession, which records the new session before returning, just as CreateSession does. Their tabs can save without waiting for a sync.

NewHTTPHandler also serves the Web RPC to MCP clients at /rpc_mcp, a stateless streamable-HTTP MCP server. It sits behind the same tailnet sign-in and cross-site rule as /api, so an MCP client on an untagged tailnet device acts as its owner, with that person's full authority, exactly as the browser does. Nothing in it is written per method: when the handler starts, every Web RPC method with an /api/<Method> route, unary or streaming, becomes a tool named after it, built from the method's protobuf descriptor and called through the same code as the unary /api routes, so a method added to or changed in the Web RPC reaches /rpc_mcp with no MCP-specific edit. Methods served only on other paths (/stream, /typing, /listing) are not tools. A tool's arguments are the method's request in protobuf JSON, checked as /api checks them (absent arguments count as {}); a method that streams requests, such as UploadAttachment, takes them in order as {"messages": [...]}. Its result is the response in protobuf JSON, or a JSON array of every response when the method streams responses, such as ListSessions or DownloadAttachment; a failure is a tool error whose text carries the gRPC code and message. Each tool's description is its rpc's comment in web.proto, and its input schema is the request's whole protobuf shape: every field by its JSON name and type, nested messages as objects, repeated fields as arrays, maps as objects, enums as their value names, and 64-bit integers as a number or a string, as protobuf JSON accepts. Each field is described by its comment there, and a message that contains itself stops at the repeat. protoc keeps those comments and options in the embedded web.binpb, which go generate writes. Every rpc needs a comment, and comments name fields by their JSON names. A method marked option idempotency_level = NO_SIDE_EFFECTS is a read-only tool, which clients may call without asking; any other tool may change things. Reads and writes are separate methods, such as Tabs and ChangeTabs, so a read can carry the mark. A read may still cache, catch up with what already happened elsewhere, or tell the caller its result is ready: History stores a copy of a file a tool returned inline so the file's card can download it, and SearchSessions marks its tab unread when a search finishes. The server's instructions describe only this translation, never a single method. GET /rpc_mcp answers 405.

Each opencode server's MCP bridge is served at /opencode/<name>/mcp on the node, outside this proxy. It answers coding servers, not browsers: the tailnet handler lets that path alone through without a Tailscale user, and the bridge takes HTTP Basic opencode:<password> with the server's password. Each tool call acts on the RocketClaw copy of the session its _meta["ai.opencode/sessionID"] names, or of its nearest listed ancestor, and is refused when there is none. RocketClaw adds the bridge to OpenCode itself, as MCP server rocketclaw at the Web's tailnet origin, through OpenCode's experimental PUT /api/experimental/mcp/rocketclaw. An addition covers one folder until OpenCode restarts or closes it, so before relaying each prompt the relay asks OpenCode for the session's folder and adds the bridge there, and each sync adds it to every open folder that lacks it.

The web.tsnet node (see the root README for setup) wraps the Web handler in one that asks the node's LocalClient().WhoIs about the connection's remote address and refuses tagged or unknown callers with Unauthenticated (HTTP 401). It passes the login and display name to gRPC as -bin metadata keys, because names may be non-ASCII. principal and ListConfig read only those keys: a call without them is Unauthenticated. The node stores its state under os.UserConfigDir()/rocketclaw/tsnet-<hostname>, outside the workspace. rocketclaw ts login logs it in, with web.tsnet.auth_key or a printed login link; the server never prints a link or waits for one. rocketclaw run brings the node up right after it takes its run lock, before migrations and everything else, and exits with code 1 when it needs a login, has no HTTPS name or cannot listen on port 443; when the listener stops serving later, the server exits with code 255 to be started again. Tailscale's log upload is off. Never use tailscale funnel.

The web.tsnet listener also serves the RocketClaw pages its config trusts, so one page can operate several RocketClaws. A request whose Origin exactly matches an entry of trusted_rocketclaws is such a page; no other origin is, not even another page on the same tailnet, because the listener signs in the person on the device and a trusted page acts as them. For that page the handler answers the OPTIONS preflight with 204, echoing the requested method and headers, and sets Access-Control-Allow-Origin and Vary: Origin on every answer. It then rewrites Origin to its own origin and Sec-Fetch-Site to same-origin, so CrossOriginProtection, the ListSessions same-origin rule and the OpenCode relay's origin check treat the call as same-origin. So a trusted page's session list polls also wake that server's timers. The caller is still the person on the connection. Only a request that sends Origin is recognized as the trusted page's: a plain <img> sends none, so it counts as another site's and is refused, and the Web loads a remote's attachment images with crossorigin. The OpenCode relay drops OpenCode's own Access-Control-Allow-Origin, which would otherwise duplicate this one.

Local processes can still act as the owner. On an untagged host signed in to Tailscale as the owner, a connection from the host to the tsnet name arrives from the owner's device. On a tagged host, WhoIs rejects every local caller.

UserProfile.LoginName is the caller's identity. New prompts instead record UserProfile.DisplayName as their principal, with the login as the fallback for a missing or blank display name. Prompts also give their turn the principal as ROCKETCLAW_PRINCIPAL_NAME and the login as ROCKETCLAW_PRINCIPAL_EMAIL. Admission, conversation ownership, inbound routing, and Config's Tailscale user stay login-based. Identity.username remains the login; the separate Identity.principal is used only for new composer previews. TypeScript does not read RocketClaw configuration or perform Tailscale WhoIs. The Config page's tailscale_user is the caller's login. Protocol exposes only the schema hash and requires no browser identity.

Space limits

The config's permissions limit each login it lists to the spaces listed for it (see Space permissions for the config and what such a person sees). spaceLimit reads the caller's backend.SpaceLimit on each request. For a login permissions does not list, it is the zero value, which limits nothing and reads no database or agent files, so those people's replies are unchanged. A limit holds the person's space names and IDs and the agents whose space: names one of them. AllowsSession admits a top-level session born in one of those spaces, or with no Birth Space whose current agent is theirs, and never a remote OpenCode session.

The checks sit where requests already pass:

  • Listings: backend sidebarSessions drops rows outside the limit after reading them, so ListSessions and SearchSessions need no code of their own. SearchSessions offers only the principals of the chats it read for the caller.
  • One session: visibleConversation reads the top-level conversation by parent link (TopLevelSession) and checks its Birth Space, agent, and kind. Shadows reach it through readableConversation. History of a routine run trace checks the routine's space instead (routineInLimit), which is its agent's.
  • Agent choice: agentChoices and ListAgents drop agents outside the limit, which covers CreateSession, ForkSession, and /agent. sameSpace still offers every remaining choice when the current agent is outside the limit, so /agent can switch the session back.
  • Turns: turnFeedable refuses a prompt with content (/goal, steer, queue, stash), SteerQueueItem, PopQueueItem, EditQueueItem, and AnswerQuestion when the session's current agent is outside the limit. A steer prompt, SteerQueueItem, and AnswerQuestion join the turn running there, which keeps the agent it started with after a switch, so they are also refused while that turn's agent is outside the limit. Queued, stashed, released, and edited items wait for a turn of their own, so they are taken. /stop, /agent, and RemoveQueueItem need only a visible session.
  • Handlers outside those paths check for themselves: Tabs and ChangeTabs (only the person's spaces and Shared tabs, and creates missing listed spaces), GetPage and ListPages, ListRoutines and RunRoutine (the routine's space and its agent; RunRoutine refuses others with "this routine or its agent is outside your spaces"), ListSessions' first frame (no OpenCode servers, only their agents' tags), ListConfig (see above), ListSkills (only skills their agents may use), and Reload, because reloaded agent files can widen a limit.
  • TestModel refuses limited people outright (see Model test).

New refusals are PermissionDenied (HTTP 403) with a plain message. Pages keep NotFound. CreateSession, ForkSession, and /agent refuse an agent outside the limit with the codes they already use for an agent they do not offer. The turnFeedable check runs when the request arrives: if an unrestricted person switches the agent before a queued item starts, the item runs with the new agent.

Identity sets the optional limited field, true, only for a limited person; for everyone else it stays absent. The Web reads it to hide the space menu's New space, Rename space, and Delete space. OpenCode is closed to limited people because the relay gives full control of the server, shell included: the /oc/ relay refuses a limited identity with 403 before proxying, and the OpenCode branches of CreateSession and ForkSession refuse them.

Verify without a live Slack runtime

Use a dedicated test PostgreSQL database, never a production database. Each run creates an isolated schema via the existing test helper.

In a fresh workspace, build the web assets once with go generate ./internal/rocketclaw/internal/web. Then run go test with a test database of your own:

export ROCKETCLAW_TEST_DATABASE_URL='postgres://postgres:postgres@127.0.0.1:55435/rocketclaw_test?sslmode=disable'
go test -race -count=1 -run '^(TestWebRPC|TestSessionEntries)$' \
  ./cmd/rocketclaw ./internal/rocketclaw/frontend/rpc

The tests bind Unix sockets under TMPDIR, and a socket path must stay under 108 bytes on Linux, so keep TMPDIR short. See Frontend RPC Browser Tests Fail Without Their Setup for the full workspace setup, including the browser-test variables below.

TestSessionEntries starts real Unix gRPC and the Go HTTP adapter, uses Bun as its HTTP test client, and verifies PostgreSQL results. It checks spoofed forwarding headers, callers without a tailnet login, ordering, empty results, and preservation of unrelated entries and conversation/goal records. Bun must be installed and web dependencies must already be installed. The TypeScript integration test needs the URL and conversation ID that Go passes it with its isolated storage fixture, so it fails when run alone.

For real desktop/mobile transcript gestures, build Web first. The Linux container already provides Playwright and Chromium; on a Linux host, provide an installed Playwright module and Chromium executable:

(cd internal/rocketclaw/web && bun run build)
export ROCKETCLAW_PLAYWRIGHT_MODULE='/absolute/path/to/playwright-core/index.mjs'
export ROCKETCLAW_CHROMIUM='/absolute/path/to/chromium'
go test -count=1 -timeout=80s -v ./internal/rocketclaw/frontend/rpc

The browser check starts its own Next server on an ephemeral port and checks the default closed activity summary row and visible replies on desktop and at 390px width. It stops only that test process and saves r22-web-desktop.png and r22-web-mobile.png under the repository-local TMPDIR.

After changing the proto, run go generate ./internal/rocketclaw/frontend/rpc with protoc and protoc-gen-go on PATH. This regenerates messages and the schema hash; the network test also compares Go's hash with the TypeScript source.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConversationKind_name = map[int32]string{
		0: "WEB_CHAT",
		1: "SLACK_THREAD",
		2: "ROUTINE_RUN",
		3: "ONE_OFF_ROUTINE_RUN",
		4: "EXTERNAL_MCP_RUN",
		5: "SUBAGENT",
		6: "REVIEW",
		7: "SHADOW",
		8: "REMOTE_OPENCODE",
	}
	ConversationKind_value = map[string]int32{
		"WEB_CHAT":            0,
		"SLACK_THREAD":        1,
		"ROUTINE_RUN":         2,
		"ONE_OFF_ROUTINE_RUN": 3,
		"EXTERNAL_MCP_RUN":    4,
		"SUBAGENT":            5,
		"REVIEW":              6,
		"SHADOW":              7,
		"REMOTE_OPENCODE":     8,
	}
)

Enum value maps for ConversationKind.

View Source
var (
	RevertBoundary_name = map[int32]string{
		0: "BEFORE",
		1: "THROUGH",
	}
	RevertBoundary_value = map[string]int32{
		"BEFORE":  0,
		"THROUGH": 1,
	}
)

Enum value maps for RevertBoundary.

View Source
var (
	GoalEventKind_name = map[int32]string{
		0: "GOAL_EVENT_KIND_UNSPECIFIED",
		1: "GOAL_EVENT_KIND_UPDATE",
		2: "GOAL_EVENT_KIND_TURN",
		3: "GOAL_EVENT_KIND_STOP",
		4: "GOAL_EVENT_KIND_RESUME",
	}
	GoalEventKind_value = map[string]int32{
		"GOAL_EVENT_KIND_UNSPECIFIED": 0,
		"GOAL_EVENT_KIND_UPDATE":      1,
		"GOAL_EVENT_KIND_TURN":        2,
		"GOAL_EVENT_KIND_STOP":        3,
		"GOAL_EVENT_KIND_RESUME":      4,
	}
)

Enum value maps for GoalEventKind.

View Source
var (
	GoalCheckResult_name = map[int32]string{
		0: "GOAL_CHECK_RESULT_NONE",
		1: "GOAL_CHECK_RESULT_PASSED",
		2: "GOAL_CHECK_RESULT_FAILED",
	}
	GoalCheckResult_value = map[string]int32{
		"GOAL_CHECK_RESULT_NONE":   0,
		"GOAL_CHECK_RESULT_PASSED": 1,
		"GOAL_CHECK_RESULT_FAILED": 2,
	}
)

Enum value maps for GoalCheckResult.

View Source
var (
	PromptDelivery_name = map[int32]string{
		0: "STEER",
		1: "QUEUE",
		2: "STASH",
	}
	PromptDelivery_value = map[string]int32{
		"STEER": 0,
		"QUEUE": 1,
		"STASH": 2,
	}
)

Enum value maps for PromptDelivery.

View Source
var (
	AttentionAction_name = map[int32]string{
		0: "MARK_READ",
		1: "MARK_UNREAD",
		2: "PARK",
		3: "UNPARK",
		4: "PARK_UNTIL_DONE",
		5: "AUTO_PARK",
		6: "STOP_AUTO_PARK",
		7: "SENT",
		8: "FOLLOW",
		9: "UNFOLLOW",
	}
	AttentionAction_value = map[string]int32{
		"MARK_READ":       0,
		"MARK_UNREAD":     1,
		"PARK":            2,
		"UNPARK":          3,
		"PARK_UNTIL_DONE": 4,
		"AUTO_PARK":       5,
		"STOP_AUTO_PARK":  6,
		"SENT":            7,
		"FOLLOW":          8,
		"UNFOLLOW":        9,
	}
)

Enum value maps for AttentionAction.

Functions

func NewHTTPHandler

func NewHTTPHandler(connection *grpc.ClientConn, cfg *config.LockedConfig, serverName string) http.Handler

func NewTailnetHandler added in v0.1.30

func NewTailnetHandler(client tailnetWhoIs, trusted []string, next http.Handler) http.Handler

Types

type Agent

type Agent struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Model       string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	Reasoning   string `protobuf:"bytes,3,opt,name=reasoning,proto3" json:"reasoning,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Verbosity   string `protobuf:"bytes,5,opt,name=verbosity,proto3" json:"verbosity,omitempty"`
	Prompt      string `protobuf:"bytes,6,opt,name=prompt,proto3" json:"prompt,omitempty"`
	Permissions string `protobuf:"bytes,7,opt,name=permissions,proto3" json:"permissions,omitempty"`
	Origin      string `protobuf:"bytes,8,opt,name=origin,proto3" json:"origin,omitempty"`
	CustomShell string `protobuf:"bytes,9,opt,name=custom_shell,json=customShell,proto3" json:"custom_shell,omitempty"`
	// New sessions in another space do not offer this agent; empty offers it in every space.
	Space string `protobuf:"bytes,11,opt,name=space,proto3" json:"space,omitempty"`
	// user or global for an agent with one Web session per person or one in all, identity for one private to the caller,
	// or slack; empty when off.
	Sticky string `protobuf:"bytes,12,opt,name=sticky,proto3" json:"sticky,omitempty"`
	// A sticky agent's existing session, the caller's own for user, that a new session resumes; empty when none.
	StickySession string `protobuf:"bytes,13,opt,name=sticky_session,json=stickySession,proto3" json:"sticky_session,omitempty"`
	// contains filtered or unexported fields
}

func (*Agent) Descriptor deprecated

func (*Agent) Descriptor() ([]byte, []int)

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetCustomShell added in v0.1.30

func (x *Agent) GetCustomShell() string

func (*Agent) GetDescription

func (x *Agent) GetDescription() string

func (*Agent) GetModel

func (x *Agent) GetModel() string

func (*Agent) GetName

func (x *Agent) GetName() string

func (*Agent) GetOrigin

func (x *Agent) GetOrigin() string

func (*Agent) GetPermissions

func (x *Agent) GetPermissions() string

func (*Agent) GetPrompt

func (x *Agent) GetPrompt() string

func (*Agent) GetReasoning

func (x *Agent) GetReasoning() string

func (*Agent) GetSpace added in v0.1.50

func (x *Agent) GetSpace() string

func (*Agent) GetSticky added in v0.2.30

func (x *Agent) GetSticky() string

func (*Agent) GetStickySession added in v0.2.30

func (x *Agent) GetStickySession() string

func (*Agent) GetVerbosity

func (x *Agent) GetVerbosity() string

func (*Agent) ProtoMessage

func (*Agent) ProtoMessage()

func (*Agent) ProtoReflect

func (x *Agent) ProtoReflect() protoreflect.Message

func (*Agent) Reset

func (x *Agent) Reset()

func (*Agent) String

func (x *Agent) String() string

type AnswerQuestionRequest

type AnswerQuestionRequest struct {
	ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	// The PendingQuestion ID.
	AskId string `protobuf:"bytes,2,opt,name=ask_id,json=askId,proto3" json:"ask_id,omitempty"`
	// Values of the chosen options.
	Selected []string `protobuf:"bytes,3,rep,name=selected,proto3" json:"selected,omitempty"`
	Custom   string   `protobuf:"bytes,4,opt,name=custom,proto3" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

func (*AnswerQuestionRequest) Descriptor deprecated

func (*AnswerQuestionRequest) Descriptor() ([]byte, []int)

Deprecated: Use AnswerQuestionRequest.ProtoReflect.Descriptor instead.

func (*AnswerQuestionRequest) GetAskId

func (x *AnswerQuestionRequest) GetAskId() string

func (*AnswerQuestionRequest) GetConversationId added in v0.1.27

func (x *AnswerQuestionRequest) GetConversationId() string

func (*AnswerQuestionRequest) GetCustom added in v0.1.27

func (x *AnswerQuestionRequest) GetCustom() string

func (*AnswerQuestionRequest) GetSelected added in v0.1.27

func (x *AnswerQuestionRequest) GetSelected() []string

func (*AnswerQuestionRequest) ProtoMessage

func (*AnswerQuestionRequest) ProtoMessage()

func (*AnswerQuestionRequest) ProtoReflect

func (x *AnswerQuestionRequest) ProtoReflect() protoreflect.Message

func (*AnswerQuestionRequest) Reset

func (x *AnswerQuestionRequest) Reset()

func (*AnswerQuestionRequest) String

func (x *AnswerQuestionRequest) String() string

type AnswerQuestionResponse

type AnswerQuestionResponse struct {
	// contains filtered or unexported fields
}

func (*AnswerQuestionResponse) Descriptor deprecated

func (*AnswerQuestionResponse) Descriptor() ([]byte, []int)

Deprecated: Use AnswerQuestionResponse.ProtoReflect.Descriptor instead.

func (*AnswerQuestionResponse) ProtoMessage

func (*AnswerQuestionResponse) ProtoMessage()

func (*AnswerQuestionResponse) ProtoReflect

func (x *AnswerQuestionResponse) ProtoReflect() protoreflect.Message

func (*AnswerQuestionResponse) Reset

func (x *AnswerQuestionResponse) Reset()

func (*AnswerQuestionResponse) String

func (x *AnswerQuestionResponse) String() string

type Attachment

type Attachment struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	MimeType       string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	Size           int64  `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	Data           []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
	ConversationId string `protobuf:"bytes,7,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	// contains filtered or unexported fields
}

Attachment download frames carry at most 256 KiB. History carries metadata only.

func (*Attachment) Descriptor deprecated

func (*Attachment) Descriptor() ([]byte, []int)

Deprecated: Use Attachment.ProtoReflect.Descriptor instead.

func (*Attachment) GetConversationId

func (x *Attachment) GetConversationId() string

func (*Attachment) GetData

func (x *Attachment) GetData() []byte

func (*Attachment) GetId

func (x *Attachment) GetId() string

func (*Attachment) GetMimeType

func (x *Attachment) GetMimeType() string

func (*Attachment) GetName

func (x *Attachment) GetName() string

func (*Attachment) GetSize

func (x *Attachment) GetSize() int64

func (*Attachment) ProtoMessage

func (*Attachment) ProtoMessage()

func (*Attachment) ProtoReflect

func (x *Attachment) ProtoReflect() protoreflect.Message

func (*Attachment) Reset

func (x *Attachment) Reset()

func (*Attachment) String

func (x *Attachment) String() string

type AttentionAction added in v0.2.31

type AttentionAction int32

AttentionAction is what a person does to the attention of their tabs.

const (
	AttentionAction_MARK_READ AttentionAction = 0
	// A mark the person sets raises no notification.
	AttentionAction_MARK_UNREAD AttentionAction = 1
	// Park sets the tab aside until until, or until unparked when until is empty.
	AttentionAction_PARK   AttentionAction = 2
	AttentionAction_UNPARK AttentionAction = 3
	// Park until done sets a session's tab aside until the session is idle after its work, or a turn fails; other
	// locations are skipped.
	AttentionAction_PARK_UNTIL_DONE AttentionAction = 4
	// Auto-park makes each prompt the caller sends a session park its tab until it is done, and stop auto-park makes
	// none, over their choice for every session; other locations are skipped.
	AttentionAction_AUTO_PARK      AttentionAction = 5
	AttentionAction_STOP_AUTO_PARK AttentionAction = 6
	// Sent says the caller sent each session a prompt: those they auto-park park until they are done.
	AttentionAction_SENT AttentionAction = 7
	// Unfollow keeps the server from marking the tab unread for the caller and clears its mark; follow undoes it. Both
	// keep its park.
	AttentionAction_FOLLOW   AttentionAction = 8
	AttentionAction_UNFOLLOW AttentionAction = 9
)

func (AttentionAction) Descriptor added in v0.2.31

func (AttentionAction) Enum added in v0.2.31

func (x AttentionAction) Enum() *AttentionAction

func (AttentionAction) EnumDescriptor deprecated added in v0.2.31

func (AttentionAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use AttentionAction.Descriptor instead.

func (AttentionAction) Number added in v0.2.31

func (AttentionAction) String added in v0.2.31

func (x AttentionAction) String() string

func (AttentionAction) Type added in v0.2.31

type AttentionChange added in v0.2.31

type AttentionChange struct {

	// paths are tab locations, such as /s/<id> or /oc/<id> with the session ID in unpadded URL-safe base64.
	Paths    []string        `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	Action   AttentionAction `protobuf:"varint,2,opt,name=action,proto3,enum=rpc.AttentionAction" json:"action,omitempty"`
	Until    string          `protobuf:"bytes,3,opt,name=until,proto3" json:"until,omitempty"`
	Admitted int64           `protobuf:"varint,4,opt,name=admitted,proto3" json:"admitted,omitempty"`
	// contains filtered or unexported fields
}

AttentionChange does action to the caller's attention on the tab locations paths. until is an RFC 3339 time.

func (*AttentionChange) Descriptor deprecated added in v0.2.31

func (*AttentionChange) Descriptor() ([]byte, []int)

Deprecated: Use AttentionChange.ProtoReflect.Descriptor instead.

func (*AttentionChange) GetAction added in v0.2.31

func (x *AttentionChange) GetAction() AttentionAction

func (*AttentionChange) GetAdmitted added in v0.2.69

func (x *AttentionChange) GetAdmitted() int64

func (*AttentionChange) GetPaths added in v0.2.31

func (x *AttentionChange) GetPaths() []string

func (*AttentionChange) GetUntil added in v0.2.31

func (x *AttentionChange) GetUntil() string

func (*AttentionChange) ProtoMessage added in v0.2.31

func (*AttentionChange) ProtoMessage()

func (*AttentionChange) ProtoReflect added in v0.2.31

func (x *AttentionChange) ProtoReflect() protoreflect.Message

func (*AttentionChange) Reset added in v0.2.31

func (x *AttentionChange) Reset()

func (*AttentionChange) String added in v0.2.31

func (x *AttentionChange) String() string

type BackgroundJob added in v0.1.19

type BackgroundJob struct {
	JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// execute or task.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// running, completed, failed, stopped, or killed.
	State      string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	Label      string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
	ToolCallId string `protobuf:"bytes,5,opt,name=tool_call_id,json=toolCallId,proto3" json:"tool_call_id,omitempty"`
	// Child-session key of the subagent a task job runs.
	SubagentKey string `protobuf:"bytes,6,opt,name=subagent_key,json=subagentKey,proto3" json:"subagent_key,omitempty"`
	// user or agent, for a stopped job.
	StoppedBy string `protobuf:"bytes,7,opt,name=stopped_by,json=stoppedBy,proto3" json:"stopped_by,omitempty"`
	// The job of a hidden run whose destination is this conversation; its transcript is not here.
	Hidden bool `protobuf:"varint,8,opt,name=hidden,proto3" json:"hidden,omitempty"`
	// The job's Completion Note text, in TranscriptEvent.completion_notes only.
	Note string `protobuf:"bytes,9,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

A listed Background Job, or the job a Completion Note reports.

func (*BackgroundJob) Descriptor deprecated added in v0.1.19

func (*BackgroundJob) Descriptor() ([]byte, []int)

Deprecated: Use BackgroundJob.ProtoReflect.Descriptor instead.

func (*BackgroundJob) GetHidden added in v0.1.19

func (x *BackgroundJob) GetHidden() bool

func (*BackgroundJob) GetJobId added in v0.1.19

func (x *BackgroundJob) GetJobId() string

func (*BackgroundJob) GetKind added in v0.1.19

func (x *BackgroundJob) GetKind() string

func (*BackgroundJob) GetLabel added in v0.1.19

func (x *BackgroundJob) GetLabel() string

func (*BackgroundJob) GetNote added in v0.1.19

func (x *BackgroundJob) GetNote() string

func (*BackgroundJob) GetState added in v0.1.19

func (x *BackgroundJob) GetState() string

func (*BackgroundJob) GetStoppedBy added in v0.1.19

func (x *BackgroundJob) GetStoppedBy() string

func (*BackgroundJob) GetSubagentKey added in v0.1.19

func (x *BackgroundJob) GetSubagentKey() string

func (*BackgroundJob) GetToolCallId added in v0.1.19

func (x *BackgroundJob) GetToolCallId() string

func (*BackgroundJob) ProtoMessage added in v0.1.19

func (*BackgroundJob) ProtoMessage()

func (*BackgroundJob) ProtoReflect added in v0.1.19

func (x *BackgroundJob) ProtoReflect() protoreflect.Message

func (*BackgroundJob) Reset added in v0.1.19

func (x *BackgroundJob) Reset()

func (*BackgroundJob) String added in v0.1.19

func (x *BackgroundJob) String() string

type ChangeTabsRequest added in v0.2.78

type ChangeTabsRequest struct {
	State       *TabState  `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	CreateSpace string     `protobuf:"bytes,2,opt,name=create_space,json=createSpace,proto3" json:"create_space,omitempty"`
	RenameSpace *Space     `protobuf:"bytes,3,opt,name=rename_space,json=renameSpace,proto3" json:"rename_space,omitempty"`
	DeleteSpace string     `protobuf:"bytes,4,opt,name=delete_space,json=deleteSpace,proto3" json:"delete_space,omitempty"`
	Revision    int64      `protobuf:"varint,5,opt,name=revision,proto3" json:"revision,omitempty"`
	Share       *SharedTab `protobuf:"bytes,6,opt,name=share,proto3" json:"share,omitempty"`
	Unshare     *SharedTab `protobuf:"bytes,7,opt,name=unshare,proto3" json:"unshare,omitempty"`
	// edit_shared saves a Shared Search page's one page; a page no longer shared stays unshared.
	EditShared *SharedTab       `protobuf:"bytes,11,opt,name=edit_shared,json=editShared,proto3" json:"edit_shared,omitempty"`
	Attention  *AttentionChange `protobuf:"bytes,14,opt,name=attention,proto3" json:"attention,omitempty"`
	// auto_park sets whether the caller auto-parks every session they chose nothing for.
	AutoPark *bool `protobuf:"varint,15,opt,name=auto_park,json=autoPark,proto3,oneof" json:"auto_park,omitempty"`
	// layout replaces the caller's layout when set.
	Layout     *StripLayout `protobuf:"bytes,16,opt,name=layout,proto3" json:"layout,omitempty"`
	ListAdd    *ListTab     `protobuf:"bytes,17,opt,name=list_add,json=listAdd,proto3" json:"list_add,omitempty"`
	ListForget *ListTab     `protobuf:"bytes,18,opt,name=list_forget,json=listForget,proto3" json:"list_forget,omitempty"`
	ListOrder  []*ListTab   `protobuf:"bytes,19,rep,name=list_order,json=listOrder,proto3" json:"list_order,omitempty"`
	// contains filtered or unexported fields
}

ChangeTabsRequest saves the caller's tab state when set, else creates, renames, or deletes one space, adds one tab to or removes one from a space's Shared group, changes the caller's attention on tabs, replaces the caller's layout, or sets whether they auto-park every session. revision is the saved revision the state was made from.

func (*ChangeTabsRequest) Descriptor deprecated added in v0.2.78

func (*ChangeTabsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChangeTabsRequest.ProtoReflect.Descriptor instead.

func (*ChangeTabsRequest) GetAttention added in v0.2.78

func (x *ChangeTabsRequest) GetAttention() *AttentionChange

func (*ChangeTabsRequest) GetAutoPark added in v0.2.78

func (x *ChangeTabsRequest) GetAutoPark() bool

func (*ChangeTabsRequest) GetCreateSpace added in v0.2.78

func (x *ChangeTabsRequest) GetCreateSpace() string

func (*ChangeTabsRequest) GetDeleteSpace added in v0.2.78

func (x *ChangeTabsRequest) GetDeleteSpace() string

func (*ChangeTabsRequest) GetEditShared added in v0.2.78

func (x *ChangeTabsRequest) GetEditShared() *SharedTab

func (*ChangeTabsRequest) GetLayout added in v0.2.78

func (x *ChangeTabsRequest) GetLayout() *StripLayout

func (*ChangeTabsRequest) GetListAdd added in v0.2.78

func (x *ChangeTabsRequest) GetListAdd() *ListTab

func (*ChangeTabsRequest) GetListForget added in v0.2.78

func (x *ChangeTabsRequest) GetListForget() *ListTab

func (*ChangeTabsRequest) GetListOrder added in v0.2.78

func (x *ChangeTabsRequest) GetListOrder() []*ListTab

func (*ChangeTabsRequest) GetRenameSpace added in v0.2.78

func (x *ChangeTabsRequest) GetRenameSpace() *Space

func (*ChangeTabsRequest) GetRevision added in v0.2.78

func (x *ChangeTabsRequest) GetRevision() int64

func (*ChangeTabsRequest) GetShare added in v0.2.78

func (x *ChangeTabsRequest) GetShare() *SharedTab

func (*ChangeTabsRequest) GetState added in v0.2.78

func (x *ChangeTabsRequest) GetState() *TabState

func (*ChangeTabsRequest) GetUnshare added in v0.2.78

func (x *ChangeTabsRequest) GetUnshare() *SharedTab

func (*ChangeTabsRequest) ProtoMessage added in v0.2.78

func (*ChangeTabsRequest) ProtoMessage()

func (*ChangeTabsRequest) ProtoReflect added in v0.2.78

func (x *ChangeTabsRequest) ProtoReflect() protoreflect.Message

func (*ChangeTabsRequest) Reset added in v0.2.78

func (x *ChangeTabsRequest) Reset()

func (*ChangeTabsRequest) String added in v0.2.78

func (x *ChangeTabsRequest) String() string

type ChannelAgentChoices

type ChannelAgentChoices interface {
	ChannelAgentChoices(context.Context, string) ([]string, error)
	SidebarChannelAgentChoices(context.Context, string) (string, []string, error)
	SlackNames(context.Context, []string) map[string]string
	SlackTagsMatching(context.Context, string) []string
	SendSessionMention(ctx context.Context, userID, link string) error
	SlackMentionEmail(ctx context.Context, userID string) string
	RenameThreadSession(ctx context.Context, conversationID, name string)
}

type CodeModeCall added in v0.1.46

type CodeModeCall struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Arguments  string `protobuf:"bytes,2,opt,name=arguments,proto3" json:"arguments,omitempty"`
	Status     string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	Outcome    string `protobuf:"bytes,5,opt,name=outcome,proto3" json:"outcome,omitempty"`
	Reason     string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
	ReviewTurn string `protobuf:"bytes,7,opt,name=review_turn,json=reviewTurn,proto3" json:"review_turn,omitempty"`
	// The actual call's existing bounded output summary; absent from permission-review plans.
	Summary               string   `protobuf:"bytes,8,opt,name=summary,proto3" json:"summary,omitempty"`
	CreatedPullRequests   []string `protobuf:"bytes,9,rep,name=created_pull_requests,json=createdPullRequests,proto3" json:"created_pull_requests,omitempty"`
	MentionedPullRequests []string `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

One call an Execute script made. Arguments are clipped to 4 KiB. Status is running, ok, error, or denied, and empty when read from an older chat's review. Outcome (allow or deny), reason, and review_turn, the turn under which the script's review saves the approver's answer on this call, are set only when the automatic approver ran.

func (*CodeModeCall) Descriptor deprecated added in v0.1.46

func (*CodeModeCall) Descriptor() ([]byte, []int)

Deprecated: Use CodeModeCall.ProtoReflect.Descriptor instead.

func (*CodeModeCall) GetArguments added in v0.1.46

func (x *CodeModeCall) GetArguments() string

func (*CodeModeCall) GetCreatedPullRequests added in v0.2.46

func (x *CodeModeCall) GetCreatedPullRequests() []string

func (*CodeModeCall) GetMentionedPullRequests added in v0.2.46

func (x *CodeModeCall) GetMentionedPullRequests() []string

func (*CodeModeCall) GetName added in v0.1.46

func (x *CodeModeCall) GetName() string

func (*CodeModeCall) GetOutcome added in v0.1.46

func (x *CodeModeCall) GetOutcome() string

func (*CodeModeCall) GetReason added in v0.1.46

func (x *CodeModeCall) GetReason() string

func (*CodeModeCall) GetReviewTurn added in v0.1.47

func (x *CodeModeCall) GetReviewTurn() string

func (*CodeModeCall) GetStatus added in v0.1.46

func (x *CodeModeCall) GetStatus() string

func (*CodeModeCall) GetSummary added in v0.1.46

func (x *CodeModeCall) GetSummary() string

func (*CodeModeCall) ProtoMessage added in v0.1.46

func (*CodeModeCall) ProtoMessage()

func (*CodeModeCall) ProtoReflect added in v0.1.46

func (x *CodeModeCall) ProtoReflect() protoreflect.Message

func (*CodeModeCall) Reset added in v0.1.46

func (x *CodeModeCall) Reset()

func (*CodeModeCall) String added in v0.1.46

func (x *CodeModeCall) String() string

type ConfigChannel

type ConfigChannel struct {
	Channel string   `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	Agents  []string `protobuf:"bytes,2,rep,name=agents,proto3" json:"agents,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigChannel) Descriptor deprecated

func (*ConfigChannel) Descriptor() ([]byte, []int)

Deprecated: Use ConfigChannel.ProtoReflect.Descriptor instead.

func (*ConfigChannel) GetAgents

func (x *ConfigChannel) GetAgents() []string

func (*ConfigChannel) GetChannel

func (x *ConfigChannel) GetChannel() string

func (*ConfigChannel) ProtoMessage

func (*ConfigChannel) ProtoMessage()

func (*ConfigChannel) ProtoReflect

func (x *ConfigChannel) ProtoReflect() protoreflect.Message

func (*ConfigChannel) Reset

func (x *ConfigChannel) Reset()

func (*ConfigChannel) String

func (x *ConfigChannel) String() string

type ConfigMCPServer added in v0.2.51

type ConfigMCPServer struct {
	Server string   `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	Facets []string `protobuf:"bytes,2,rep,name=facets,proto3" json:"facets,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigMCPServer) Descriptor deprecated added in v0.2.51

func (*ConfigMCPServer) Descriptor() ([]byte, []int)

Deprecated: Use ConfigMCPServer.ProtoReflect.Descriptor instead.

func (*ConfigMCPServer) GetFacets added in v0.2.51

func (x *ConfigMCPServer) GetFacets() []string

func (*ConfigMCPServer) GetServer added in v0.2.51

func (x *ConfigMCPServer) GetServer() string

func (*ConfigMCPServer) ProtoMessage added in v0.2.51

func (*ConfigMCPServer) ProtoMessage()

func (*ConfigMCPServer) ProtoReflect added in v0.2.51

func (x *ConfigMCPServer) ProtoReflect() protoreflect.Message

func (*ConfigMCPServer) Reset added in v0.2.51

func (x *ConfigMCPServer) Reset()

func (*ConfigMCPServer) String added in v0.2.51

func (x *ConfigMCPServer) String() string

type ConfigView

type ConfigView struct {
	Workspace              string             `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	Overlays               []string           `protobuf:"bytes,2,rep,name=overlays,proto3" json:"overlays,omitempty"`
	SlackChannels          []*ConfigChannel   `protobuf:"bytes,4,rep,name=slack_channels,json=slackChannels,proto3" json:"slack_channels,omitempty"`
	McpServerFacets        []*ConfigMCPServer `protobuf:"bytes,15,rep,name=mcp_server_facets,json=mcpServerFacets,proto3" json:"mcp_server_facets,omitempty"`
	LoggingLevel           string             `protobuf:"bytes,6,opt,name=logging_level,json=loggingLevel,proto3" json:"logging_level,omitempty"`
	AutoApproverModel      string             `protobuf:"bytes,7,opt,name=auto_approver_model,json=autoApproverModel,proto3" json:"auto_approver_model,omitempty"`
	InstrumentationEnabled bool               `` /* 128-byte string literal not displayed */
	McpExternal            bool               `protobuf:"varint,9,opt,name=mcp_external,json=mcpExternal,proto3" json:"mcp_external,omitempty"`
	TailscaleUser          string             `protobuf:"bytes,11,opt,name=tailscale_user,json=tailscaleUser,proto3" json:"tailscale_user,omitempty"`
	// Configured provider names, the openai provider always included; the server never lists models.
	Providers    []string `protobuf:"bytes,12,rep,name=providers,proto3" json:"providers,omitempty"`
	BehaviorJson string   `protobuf:"bytes,13,opt,name=behavior_json,json=behaviorJson,proto3" json:"behavior_json,omitempty"`
	CanEdit      bool     `protobuf:"varint,14,opt,name=can_edit,json=canEdit,proto3" json:"can_edit,omitempty"`
	// Configured decision provider names, sorted.
	DecisionProviders []string `protobuf:"bytes,16,rep,name=decision_providers,json=decisionProviders,proto3" json:"decision_providers,omitempty"`
	// Every outside MCP server as stored, for administrators only: AWS secrets appear as awsArn and awsKey, never as their values.
	McpServerSettings []*MCPServerSetting `protobuf:"bytes,17,rep,name=mcp_server_settings,json=mcpServerSettings,proto3" json:"mcp_server_settings,omitempty"`
	// True for administrators when mcp_secrets_arn_prefix is set, so ListMCPSecrets and ListMCPSecretKeys can pick AWS secrets.
	McpSecretPicker bool `protobuf:"varint,18,opt,name=mcp_secret_picker,json=mcpSecretPicker,proto3" json:"mcp_secret_picker,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigView) Descriptor deprecated

func (*ConfigView) Descriptor() ([]byte, []int)

Deprecated: Use ConfigView.ProtoReflect.Descriptor instead.

func (*ConfigView) GetAutoApproverModel

func (x *ConfigView) GetAutoApproverModel() string

func (*ConfigView) GetBehaviorJson added in v0.2.41

func (x *ConfigView) GetBehaviorJson() string

func (*ConfigView) GetCanEdit added in v0.2.41

func (x *ConfigView) GetCanEdit() bool

func (*ConfigView) GetDecisionProviders added in v0.2.70

func (x *ConfigView) GetDecisionProviders() []string

func (*ConfigView) GetInstrumentationEnabled

func (x *ConfigView) GetInstrumentationEnabled() bool

func (*ConfigView) GetLoggingLevel

func (x *ConfigView) GetLoggingLevel() string

func (*ConfigView) GetMcpExternal

func (x *ConfigView) GetMcpExternal() bool

func (*ConfigView) GetMcpSecretPicker added in v0.2.85

func (x *ConfigView) GetMcpSecretPicker() bool

func (*ConfigView) GetMcpServerFacets added in v0.2.51

func (x *ConfigView) GetMcpServerFacets() []*ConfigMCPServer

func (*ConfigView) GetMcpServerSettings added in v0.2.85

func (x *ConfigView) GetMcpServerSettings() []*MCPServerSetting

func (*ConfigView) GetOverlays

func (x *ConfigView) GetOverlays() []string

func (*ConfigView) GetProviders added in v0.2.41

func (x *ConfigView) GetProviders() []string

func (*ConfigView) GetSlackChannels

func (x *ConfigView) GetSlackChannels() []*ConfigChannel

func (*ConfigView) GetTailscaleUser

func (x *ConfigView) GetTailscaleUser() string

func (*ConfigView) GetWorkspace

func (x *ConfigView) GetWorkspace() string

func (*ConfigView) ProtoMessage

func (*ConfigView) ProtoMessage()

func (*ConfigView) ProtoReflect

func (x *ConfigView) ProtoReflect() protoreflect.Message

func (*ConfigView) Reset

func (x *ConfigView) Reset()

func (*ConfigView) String

func (x *ConfigView) String() string

type ConversationChange added in v0.1.12

type ConversationChange struct {
	ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	Revision       string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

Wake-up hints only. History returns the revision actually read.

func (*ConversationChange) Descriptor deprecated added in v0.1.12

func (*ConversationChange) Descriptor() ([]byte, []int)

Deprecated: Use ConversationChange.ProtoReflect.Descriptor instead.

func (*ConversationChange) GetConversationId added in v0.1.12

func (x *ConversationChange) GetConversationId() string

func (*ConversationChange) GetRevision added in v0.1.12

func (x *ConversationChange) GetRevision() string

func (*ConversationChange) ProtoMessage added in v0.1.12

func (*ConversationChange) ProtoMessage()

func (*ConversationChange) ProtoReflect added in v0.1.12

func (x *ConversationChange) ProtoReflect() protoreflect.Message

func (*ConversationChange) Reset added in v0.1.12

func (x *ConversationChange) Reset()

func (*ConversationChange) String added in v0.1.12

func (x *ConversationChange) String() string

type ConversationKind added in v0.2.0

type ConversationKind int32

What a conversation is, as RocketClaw records it when it creates the conversation.

const (
	ConversationKind_WEB_CHAT            ConversationKind = 0
	ConversationKind_SLACK_THREAD        ConversationKind = 1
	ConversationKind_ROUTINE_RUN         ConversationKind = 2
	ConversationKind_ONE_OFF_ROUTINE_RUN ConversationKind = 3
	ConversationKind_EXTERNAL_MCP_RUN    ConversationKind = 4
	ConversationKind_SUBAGENT            ConversationKind = 5
	ConversationKind_REVIEW              ConversationKind = 6
	ConversationKind_SHADOW              ConversationKind = 7
	ConversationKind_REMOTE_OPENCODE     ConversationKind = 8
)

func (ConversationKind) Descriptor added in v0.2.0

func (ConversationKind) Enum added in v0.2.0

func (ConversationKind) EnumDescriptor deprecated added in v0.2.0

func (ConversationKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConversationKind.Descriptor instead.

func (ConversationKind) Number added in v0.2.0

func (ConversationKind) String added in v0.2.0

func (x ConversationKind) String() string

func (ConversationKind) Type added in v0.2.0

type CreateSessionRequest

type CreateSessionRequest struct {
	Name                 string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Agent                string `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"`
	SourceConversationId string `protobuf:"bytes,3,opt,name=source_conversation_id,json=sourceConversationId,proto3" json:"source_conversation_id,omitempty"`
	// Set together to create a remote OpenCode session in that folder.
	OpencodeServer string `protobuf:"bytes,4,opt,name=opencode_server,json=opencodeServer,proto3" json:"opencode_server,omitempty"`
	Directory      string `protobuf:"bytes,5,opt,name=directory,proto3" json:"directory,omitempty"`
	// The Web space the person is in; a session whose agent names no space is born there.
	SpaceId string `protobuf:"bytes,6,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSessionRequest) Descriptor deprecated

func (*CreateSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.

func (*CreateSessionRequest) GetAgent

func (x *CreateSessionRequest) GetAgent() string

func (*CreateSessionRequest) GetDirectory added in v0.1.47

func (x *CreateSessionRequest) GetDirectory() string

func (*CreateSessionRequest) GetName

func (x *CreateSessionRequest) GetName() string

func (*CreateSessionRequest) GetOpencodeServer added in v0.1.47

func (x *CreateSessionRequest) GetOpencodeServer() string

func (*CreateSessionRequest) GetSourceConversationId

func (x *CreateSessionRequest) GetSourceConversationId() string

func (*CreateSessionRequest) GetSpaceId added in v0.1.53

func (x *CreateSessionRequest) GetSpaceId() string

func (*CreateSessionRequest) ProtoMessage

func (*CreateSessionRequest) ProtoMessage()

func (*CreateSessionRequest) ProtoReflect

func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message

func (*CreateSessionRequest) Reset

func (x *CreateSessionRequest) Reset()

func (*CreateSessionRequest) String

func (x *CreateSessionRequest) String() string

type CreateSessionResponse

type CreateSessionResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Set when the agent is sticky and id is its existing session, resumed instead of created.
	Resumed bool `protobuf:"varint,2,opt,name=resumed,proto3" json:"resumed,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSessionResponse) Descriptor deprecated

func (*CreateSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateSessionResponse.ProtoReflect.Descriptor instead.

func (*CreateSessionResponse) GetId

func (x *CreateSessionResponse) GetId() string

func (*CreateSessionResponse) GetResumed added in v0.2.30

func (x *CreateSessionResponse) GetResumed() bool

func (*CreateSessionResponse) ProtoMessage

func (*CreateSessionResponse) ProtoMessage()

func (*CreateSessionResponse) ProtoReflect

func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message

func (*CreateSessionResponse) Reset

func (x *CreateSessionResponse) Reset()

func (*CreateSessionResponse) String

func (x *CreateSessionResponse) String() string

type DeleteBranchRequest added in v0.2.63

type DeleteBranchRequest struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	DryRun    bool   `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBranchRequest) Descriptor deprecated added in v0.2.63

func (*DeleteBranchRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBranchRequest.ProtoReflect.Descriptor instead.

func (*DeleteBranchRequest) GetDryRun added in v0.2.63

func (x *DeleteBranchRequest) GetDryRun() bool

func (*DeleteBranchRequest) GetId added in v0.2.63

func (x *DeleteBranchRequest) GetId() string

func (*DeleteBranchRequest) GetMessageId added in v0.2.63

func (x *DeleteBranchRequest) GetMessageId() string

func (*DeleteBranchRequest) ProtoMessage added in v0.2.63

func (*DeleteBranchRequest) ProtoMessage()

func (*DeleteBranchRequest) ProtoReflect added in v0.2.63

func (x *DeleteBranchRequest) ProtoReflect() protoreflect.Message

func (*DeleteBranchRequest) Reset added in v0.2.63

func (x *DeleteBranchRequest) Reset()

func (*DeleteBranchRequest) String added in v0.2.63

func (x *DeleteBranchRequest) String() string

type DeleteBranchResponse added in v0.2.63

type DeleteBranchResponse struct {
	Messages         int32 `protobuf:"varint,1,opt,name=messages,proto3" json:"messages,omitempty"`
	NestedBranches   int32 `protobuf:"varint,2,opt,name=nested_branches,json=nestedBranches,proto3" json:"nested_branches,omitempty"`
	SubagentSessions int32 `protobuf:"varint,3,opt,name=subagent_sessions,json=subagentSessions,proto3" json:"subagent_sessions,omitempty"`
	QueuedMessages   int32 `protobuf:"varint,4,opt,name=queued_messages,json=queuedMessages,proto3" json:"queued_messages,omitempty"`
	Current          bool  `protobuf:"varint,5,opt,name=current,proto3" json:"current,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBranchResponse) Descriptor deprecated added in v0.2.63

func (*DeleteBranchResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBranchResponse.ProtoReflect.Descriptor instead.

func (*DeleteBranchResponse) GetCurrent added in v0.2.63

func (x *DeleteBranchResponse) GetCurrent() bool

func (*DeleteBranchResponse) GetMessages added in v0.2.63

func (x *DeleteBranchResponse) GetMessages() int32

func (*DeleteBranchResponse) GetNestedBranches added in v0.2.63

func (x *DeleteBranchResponse) GetNestedBranches() int32

func (*DeleteBranchResponse) GetQueuedMessages added in v0.2.63

func (x *DeleteBranchResponse) GetQueuedMessages() int32

func (*DeleteBranchResponse) GetSubagentSessions added in v0.2.63

func (x *DeleteBranchResponse) GetSubagentSessions() int32

func (*DeleteBranchResponse) ProtoMessage added in v0.2.63

func (*DeleteBranchResponse) ProtoMessage()

func (*DeleteBranchResponse) ProtoReflect added in v0.2.63

func (x *DeleteBranchResponse) ProtoReflect() protoreflect.Message

func (*DeleteBranchResponse) Reset added in v0.2.63

func (x *DeleteBranchResponse) Reset()

func (*DeleteBranchResponse) String added in v0.2.63

func (x *DeleteBranchResponse) String() string

type DeleteMCPServerRequest added in v0.2.85

type DeleteMCPServerRequest struct {

	// Name of the server to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteMCPServerRequest) Descriptor deprecated added in v0.2.85

func (*DeleteMCPServerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteMCPServerRequest.ProtoReflect.Descriptor instead.

func (*DeleteMCPServerRequest) GetName added in v0.2.85

func (x *DeleteMCPServerRequest) GetName() string

func (*DeleteMCPServerRequest) ProtoMessage added in v0.2.85

func (*DeleteMCPServerRequest) ProtoMessage()

func (*DeleteMCPServerRequest) ProtoReflect added in v0.2.85

func (x *DeleteMCPServerRequest) ProtoReflect() protoreflect.Message

func (*DeleteMCPServerRequest) Reset added in v0.2.85

func (x *DeleteMCPServerRequest) Reset()

func (*DeleteMCPServerRequest) String added in v0.2.85

func (x *DeleteMCPServerRequest) String() string

type DeleteSessionRequest added in v0.2.44

type DeleteSessionRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSessionRequest) Descriptor deprecated added in v0.2.44

func (*DeleteSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSessionRequest.ProtoReflect.Descriptor instead.

func (*DeleteSessionRequest) GetId added in v0.2.44

func (x *DeleteSessionRequest) GetId() string

func (*DeleteSessionRequest) ProtoMessage added in v0.2.44

func (*DeleteSessionRequest) ProtoMessage()

func (*DeleteSessionRequest) ProtoReflect added in v0.2.44

func (x *DeleteSessionRequest) ProtoReflect() protoreflect.Message

func (*DeleteSessionRequest) Reset added in v0.2.44

func (x *DeleteSessionRequest) Reset()

func (*DeleteSessionRequest) String added in v0.2.44

func (x *DeleteSessionRequest) String() string

type DeleteSessionResponse added in v0.2.44

type DeleteSessionResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteSessionResponse) Descriptor deprecated added in v0.2.44

func (*DeleteSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSessionResponse.ProtoReflect.Descriptor instead.

func (*DeleteSessionResponse) ProtoMessage added in v0.2.44

func (*DeleteSessionResponse) ProtoMessage()

func (*DeleteSessionResponse) ProtoReflect added in v0.2.44

func (x *DeleteSessionResponse) ProtoReflect() protoreflect.Message

func (*DeleteSessionResponse) Reset added in v0.2.44

func (x *DeleteSessionResponse) Reset()

func (*DeleteSessionResponse) String added in v0.2.44

func (x *DeleteSessionResponse) String() string

type FindPullRequestsRequest added in v0.2.61

type FindPullRequestsRequest struct {
	Runs []*ShellRun `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
	// contains filtered or unexported fields
}

func (*FindPullRequestsRequest) Descriptor deprecated added in v0.2.61

func (*FindPullRequestsRequest) Descriptor() ([]byte, []int)

Deprecated: Use FindPullRequestsRequest.ProtoReflect.Descriptor instead.

func (*FindPullRequestsRequest) GetRuns added in v0.2.61

func (x *FindPullRequestsRequest) GetRuns() []*ShellRun

func (*FindPullRequestsRequest) ProtoMessage added in v0.2.61

func (*FindPullRequestsRequest) ProtoMessage()

func (*FindPullRequestsRequest) ProtoReflect added in v0.2.61

func (x *FindPullRequestsRequest) ProtoReflect() protoreflect.Message

func (*FindPullRequestsRequest) Reset added in v0.2.61

func (x *FindPullRequestsRequest) Reset()

func (*FindPullRequestsRequest) String added in v0.2.61

func (x *FindPullRequestsRequest) String() string

type FindPullRequestsResponse added in v0.2.61

type FindPullRequestsResponse struct {
	Created   []string `protobuf:"bytes,1,rep,name=created,proto3" json:"created,omitempty"`
	Mentioned []string `protobuf:"bytes,2,rep,name=mentioned,proto3" json:"mentioned,omitempty"`
	// contains filtered or unexported fields
}

func (*FindPullRequestsResponse) Descriptor deprecated added in v0.2.61

func (*FindPullRequestsResponse) Descriptor() ([]byte, []int)

Deprecated: Use FindPullRequestsResponse.ProtoReflect.Descriptor instead.

func (*FindPullRequestsResponse) GetCreated added in v0.2.61

func (x *FindPullRequestsResponse) GetCreated() []string

func (*FindPullRequestsResponse) GetMentioned added in v0.2.61

func (x *FindPullRequestsResponse) GetMentioned() []string

func (*FindPullRequestsResponse) ProtoMessage added in v0.2.61

func (*FindPullRequestsResponse) ProtoMessage()

func (*FindPullRequestsResponse) ProtoReflect added in v0.2.61

func (x *FindPullRequestsResponse) ProtoReflect() protoreflect.Message

func (*FindPullRequestsResponse) Reset added in v0.2.61

func (x *FindPullRequestsResponse) Reset()

func (*FindPullRequestsResponse) String added in v0.2.61

func (x *FindPullRequestsResponse) String() string

type ForkSessionRequest added in v0.1.3

type ForkSessionRequest struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Before string `protobuf:"bytes,2,opt,name=before,proto3" json:"before,omitempty"`
	// contains filtered or unexported fields
}

func (*ForkSessionRequest) Descriptor deprecated added in v0.1.3

func (*ForkSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use ForkSessionRequest.ProtoReflect.Descriptor instead.

func (*ForkSessionRequest) GetBefore added in v0.1.3

func (x *ForkSessionRequest) GetBefore() string

func (*ForkSessionRequest) GetId added in v0.1.3

func (x *ForkSessionRequest) GetId() string

func (*ForkSessionRequest) ProtoMessage added in v0.1.3

func (*ForkSessionRequest) ProtoMessage()

func (*ForkSessionRequest) ProtoReflect added in v0.1.3

func (x *ForkSessionRequest) ProtoReflect() protoreflect.Message

func (*ForkSessionRequest) Reset added in v0.1.3

func (x *ForkSessionRequest) Reset()

func (*ForkSessionRequest) String added in v0.1.3

func (x *ForkSessionRequest) String() string

type ForkSessionResponse added in v0.1.3

type ForkSessionResponse struct {
	Id     string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Prompt *TranscriptEvent `protobuf:"bytes,2,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// contains filtered or unexported fields
}

func (*ForkSessionResponse) Descriptor deprecated added in v0.1.3

func (*ForkSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use ForkSessionResponse.ProtoReflect.Descriptor instead.

func (*ForkSessionResponse) GetId added in v0.1.3

func (x *ForkSessionResponse) GetId() string

func (*ForkSessionResponse) GetPrompt added in v0.1.3

func (x *ForkSessionResponse) GetPrompt() *TranscriptEvent

func (*ForkSessionResponse) ProtoMessage added in v0.1.3

func (*ForkSessionResponse) ProtoMessage()

func (*ForkSessionResponse) ProtoReflect added in v0.1.3

func (x *ForkSessionResponse) ProtoReflect() protoreflect.Message

func (*ForkSessionResponse) Reset added in v0.1.3

func (x *ForkSessionResponse) Reset()

func (*ForkSessionResponse) String added in v0.1.3

func (x *ForkSessionResponse) String() string

type GetGoalRequest added in v0.2.79

type GetGoalRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGoalRequest) Descriptor deprecated added in v0.2.79

func (*GetGoalRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGoalRequest.ProtoReflect.Descriptor instead.

func (*GetGoalRequest) GetId added in v0.2.79

func (x *GetGoalRequest) GetId() string

func (*GetGoalRequest) ProtoMessage added in v0.2.79

func (*GetGoalRequest) ProtoMessage()

func (*GetGoalRequest) ProtoReflect added in v0.2.79

func (x *GetGoalRequest) ProtoReflect() protoreflect.Message

func (*GetGoalRequest) Reset added in v0.2.79

func (x *GetGoalRequest) Reset()

func (*GetGoalRequest) String added in v0.2.79

func (x *GetGoalRequest) String() string

type GetGoalResponse added in v0.2.79

type GetGoalResponse struct {
	Goal *Goal `protobuf:"bytes,1,opt,name=goal,proto3" json:"goal,omitempty"`
	// Oldest first, since the goal started.
	Events []*GoalEvent `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGoalResponse) Descriptor deprecated added in v0.2.79

func (*GetGoalResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetGoalResponse.ProtoReflect.Descriptor instead.

func (*GetGoalResponse) GetEvents added in v0.2.79

func (x *GetGoalResponse) GetEvents() []*GoalEvent

func (*GetGoalResponse) GetGoal added in v0.2.79

func (x *GetGoalResponse) GetGoal() *Goal

func (*GetGoalResponse) ProtoMessage added in v0.2.79

func (*GetGoalResponse) ProtoMessage()

func (*GetGoalResponse) ProtoReflect added in v0.2.79

func (x *GetGoalResponse) ProtoReflect() protoreflect.Message

func (*GetGoalResponse) Reset added in v0.2.79

func (x *GetGoalResponse) Reset()

func (*GetGoalResponse) String added in v0.2.79

func (x *GetGoalResponse) String() string

type Goal added in v0.2.79

type Goal struct {
	Objective string `protobuf:"bytes,1,opt,name=objective,proto3" json:"objective,omitempty"`
	// active, complete, blocked, stopped or budget_exhausted (out of turns).
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// 0 means no turn limit.
	MaxTurns int32 `protobuf:"varint,3,opt,name=max_turns,json=maxTurns,proto3" json:"max_turns,omitempty"`
	// Goal turns used since the goal started or was last resumed.
	TurnsUsed int32 `protobuf:"varint,4,opt,name=turns_used,json=turnsUsed,proto3" json:"turns_used,omitempty"`
	// The bash command that must exit 0 before the goal ends as complete or blocked, empty for none.
	Check string `protobuf:"bytes,5,opt,name=check,proto3" json:"check,omitempty"`
	// The agent cannot end the goal as blocked.
	Force         bool   `protobuf:"varint,6,opt,name=force,proto3" json:"force,omitempty"`
	PrincipalName string `protobuf:"bytes,7,opt,name=principal_name,json=principalName,proto3" json:"principal_name,omitempty"`
	// RFC3339Nano.
	CreatedAt string `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt string `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// The latest note the agent or a stop recorded.
	Note string `protobuf:"bytes,10,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

A chat's goal as its Goal panel shows it. Absent when the chat never had a goal.

func (*Goal) Descriptor deprecated added in v0.2.79

func (*Goal) Descriptor() ([]byte, []int)

Deprecated: Use Goal.ProtoReflect.Descriptor instead.

func (*Goal) GetCheck added in v0.2.79

func (x *Goal) GetCheck() string

func (*Goal) GetCreatedAt added in v0.2.79

func (x *Goal) GetCreatedAt() string

func (*Goal) GetForce added in v0.2.79

func (x *Goal) GetForce() bool

func (*Goal) GetMaxTurns added in v0.2.79

func (x *Goal) GetMaxTurns() int32

func (*Goal) GetNote added in v0.2.79

func (x *Goal) GetNote() string

func (*Goal) GetObjective added in v0.2.79

func (x *Goal) GetObjective() string

func (*Goal) GetPrincipalName added in v0.2.79

func (x *Goal) GetPrincipalName() string

func (*Goal) GetStatus added in v0.2.79

func (x *Goal) GetStatus() string

func (*Goal) GetTurnsUsed added in v0.2.79

func (x *Goal) GetTurnsUsed() int32

func (*Goal) GetUpdatedAt added in v0.2.79

func (x *Goal) GetUpdatedAt() string

func (*Goal) ProtoMessage added in v0.2.79

func (*Goal) ProtoMessage()

func (*Goal) ProtoReflect added in v0.2.79

func (x *Goal) ProtoReflect() protoreflect.Message

func (*Goal) Reset added in v0.2.79

func (x *Goal) Reset()

func (*Goal) String added in v0.2.79

func (x *Goal) String() string

type GoalCheckResult added in v0.2.79

type GoalCheckResult int32
const (
	GoalCheckResult_GOAL_CHECK_RESULT_NONE   GoalCheckResult = 0
	GoalCheckResult_GOAL_CHECK_RESULT_PASSED GoalCheckResult = 1
	// The check exited non-zero or could not run, so the goal stayed active.
	GoalCheckResult_GOAL_CHECK_RESULT_FAILED GoalCheckResult = 2
)

func (GoalCheckResult) Descriptor added in v0.2.79

func (GoalCheckResult) Enum added in v0.2.79

func (x GoalCheckResult) Enum() *GoalCheckResult

func (GoalCheckResult) EnumDescriptor deprecated added in v0.2.79

func (GoalCheckResult) EnumDescriptor() ([]byte, []int)

Deprecated: Use GoalCheckResult.Descriptor instead.

func (GoalCheckResult) Number added in v0.2.79

func (GoalCheckResult) String added in v0.2.79

func (x GoalCheckResult) String() string

func (GoalCheckResult) Type added in v0.2.79

type GoalEvent added in v0.2.79

type GoalEvent struct {
	Id   int64         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Kind GoalEventKind `protobuf:"varint,2,opt,name=kind,proto3,enum=rpc.GoalEventKind" json:"kind,omitempty"`
	// The goal turn the event belongs to, counted from 1 since the goal started or was last resumed.
	Turn int32 `protobuf:"varint,3,opt,name=turn,proto3" json:"turn,omitempty"`
	// update: the status the agent asked for (progress, complete or blocked). turn: the goal's status after the turn.
	Status string          `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	Note   string          `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"`
	Check  GoalCheckResult `protobuf:"varint,6,opt,name=check,proto3,enum=rpc.GoalCheckResult" json:"check,omitempty"`
	// The end of a failed check's output, or why it could not run.
	CheckOutput string `protobuf:"bytes,7,opt,name=check_output,json=checkOutput,proto3" json:"check_output,omitempty"`
	// turn: the transcript entry the turn saved, for a `?message=` link; empty when it saved none.
	MessageId string `protobuf:"bytes,8,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// resume: who resumed the goal.
	Principal string `protobuf:"bytes,9,opt,name=principal,proto3" json:"principal,omitempty"`
	// RFC3339Nano.
	At string `protobuf:"bytes,10,opt,name=at,proto3" json:"at,omitempty"`
	// contains filtered or unexported fields
}

func (*GoalEvent) Descriptor deprecated added in v0.2.79

func (*GoalEvent) Descriptor() ([]byte, []int)

Deprecated: Use GoalEvent.ProtoReflect.Descriptor instead.

func (*GoalEvent) GetAt added in v0.2.79

func (x *GoalEvent) GetAt() string

func (*GoalEvent) GetCheck added in v0.2.79

func (x *GoalEvent) GetCheck() GoalCheckResult

func (*GoalEvent) GetCheckOutput added in v0.2.79

func (x *GoalEvent) GetCheckOutput() string

func (*GoalEvent) GetId added in v0.2.79

func (x *GoalEvent) GetId() int64

func (*GoalEvent) GetKind added in v0.2.79

func (x *GoalEvent) GetKind() GoalEventKind

func (*GoalEvent) GetMessageId added in v0.2.79

func (x *GoalEvent) GetMessageId() string

func (*GoalEvent) GetNote added in v0.2.79

func (x *GoalEvent) GetNote() string

func (*GoalEvent) GetPrincipal added in v0.2.79

func (x *GoalEvent) GetPrincipal() string

func (*GoalEvent) GetStatus added in v0.2.79

func (x *GoalEvent) GetStatus() string

func (*GoalEvent) GetTurn added in v0.2.79

func (x *GoalEvent) GetTurn() int32

func (*GoalEvent) ProtoMessage added in v0.2.79

func (*GoalEvent) ProtoMessage()

func (*GoalEvent) ProtoReflect added in v0.2.79

func (x *GoalEvent) ProtoReflect() protoreflect.Message

func (*GoalEvent) Reset added in v0.2.79

func (x *GoalEvent) Reset()

func (*GoalEvent) String added in v0.2.79

func (x *GoalEvent) String() string

type GoalEventKind added in v0.2.79

type GoalEventKind int32
const (
	GoalEventKind_GOAL_EVENT_KIND_UNSPECIFIED GoalEventKind = 0
	// The agent called rocketclaw_update_goal.
	GoalEventKind_GOAL_EVENT_KIND_UPDATE GoalEventKind = 1
	// A goal turn ended.
	GoalEventKind_GOAL_EVENT_KIND_TURN GoalEventKind = 2
	// A person or the server stopped the goal.
	GoalEventKind_GOAL_EVENT_KIND_STOP GoalEventKind = 3
	// A person resumed the goal; turn numbers start again at 1.
	GoalEventKind_GOAL_EVENT_KIND_RESUME GoalEventKind = 4
)

func (GoalEventKind) Descriptor added in v0.2.79

func (GoalEventKind) Enum added in v0.2.79

func (x GoalEventKind) Enum() *GoalEventKind

func (GoalEventKind) EnumDescriptor deprecated added in v0.2.79

func (GoalEventKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use GoalEventKind.Descriptor instead.

func (GoalEventKind) Number added in v0.2.79

func (GoalEventKind) String added in v0.2.79

func (x GoalEventKind) String() string

func (GoalEventKind) Type added in v0.2.79

type HistoryRequest

type HistoryRequest struct {
	Id                   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SourceConversationId string `protobuf:"bytes,2,opt,name=source_conversation_id,json=sourceConversationId,proto3" json:"source_conversation_id,omitempty"`
	// Opaque inventory returned by the last applied History response.
	Revision string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
	// Positive limit returns only the newest limit saved entries plus running
	// turns, and follows only those entries in revision.
	Limit int32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// Positive before reads a settled page of entries older than this saved-entry
	// ID: the newest limit of them, or all from saved-entry ID from onward.
	Before int64 `protobuf:"varint,6,opt,name=before,proto3" json:"before,omitempty"`
	From   int64 `protobuf:"varint,7,opt,name=from,proto3" json:"from,omitempty"`
	// contains filtered or unexported fields
}

func (*HistoryRequest) Descriptor deprecated

func (*HistoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use HistoryRequest.ProtoReflect.Descriptor instead.

func (*HistoryRequest) GetBefore added in v0.1.12

func (x *HistoryRequest) GetBefore() int64

func (*HistoryRequest) GetFrom added in v0.1.12

func (x *HistoryRequest) GetFrom() int64

func (*HistoryRequest) GetId

func (x *HistoryRequest) GetId() string

func (*HistoryRequest) GetLimit added in v0.1.12

func (x *HistoryRequest) GetLimit() int32

func (*HistoryRequest) GetRevision added in v0.1.12

func (x *HistoryRequest) GetRevision() string

func (*HistoryRequest) GetSourceConversationId

func (x *HistoryRequest) GetSourceConversationId() string

func (*HistoryRequest) ProtoMessage

func (*HistoryRequest) ProtoMessage()

func (*HistoryRequest) ProtoReflect

func (x *HistoryRequest) ProtoReflect() protoreflect.Message

func (*HistoryRequest) Reset

func (x *HistoryRequest) Reset()

func (*HistoryRequest) String

func (x *HistoryRequest) String() string

type HistoryResponse

type HistoryResponse struct {
	Messages []*TranscriptEvent `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// JSON object describing the chat's origin. Empty means no origin.
	Origin       string   `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
	Delegations  []string `protobuf:"bytes,3,rep,name=delegations,proto3" json:"delegations,omitempty"`
	Revision     string   `protobuf:"bytes,10,opt,name=revision,proto3" json:"revision,omitempty"`
	Reset_       bool     `protobuf:"varint,4,opt,name=reset,proto3" json:"reset,omitempty"`
	ReplacedKeys []string `protobuf:"bytes,5,rep,name=replaced_keys,json=replacedKeys,proto3" json:"replaced_keys,omitempty"`
	RemovedKeys  []string `protobuf:"bytes,6,rep,name=removed_keys,json=removedKeys,proto3" json:"removed_keys,omitempty"`
	EntryKeys    []string `protobuf:"bytes,7,rep,name=entry_keys,json=entryKeys,proto3" json:"entry_keys,omitempty"`
	Running      bool     `protobuf:"varint,8,opt,name=running,proto3" json:"running,omitempty"`
	Terminal     string   `protobuf:"bytes,9,opt,name=terminal,proto3" json:"terminal,omitempty"`
	// Saved-entry ID where these entries begin; zero means the beginning.
	Start int64 `protobuf:"varint,11,opt,name=start,proto3" json:"start,omitempty"`
	// Older saved entries exist before start.
	More            bool   `protobuf:"varint,12,opt,name=more,proto3" json:"more,omitempty"`
	RevertEligible  bool   `protobuf:"varint,13,opt,name=revert_eligible,json=revertEligible,proto3" json:"revert_eligible,omitempty"`
	RevertMessageId string `protobuf:"bytes,14,opt,name=revert_message_id,json=revertMessageId,proto3" json:"revert_message_id,omitempty"`
	CanUndo         bool   `protobuf:"varint,15,opt,name=can_undo,json=canUndo,proto3" json:"can_undo,omitempty"`
	// Message ID of the newest message undo must keep: one from a routine run, External MCP, or Slack.
	// Empty when undo may reach the first message.
	RevertFloor string `protobuf:"bytes,21,opt,name=revert_floor,json=revertFloor,proto3" json:"revert_floor,omitempty"`
	// An allowed agent's execute or task call runs attached, so MoveToBackground has work to move.
	Movable bool `protobuf:"varint,16,opt,name=movable,proto3" json:"movable,omitempty"`
	// Background Jobs running or holding an undelivered Completion Note, including those of hidden
	// Routine and External MCP runs whose destination is this conversation.
	BackgroundJobs []*BackgroundJob `protobuf:"bytes,17,rep,name=background_jobs,json=backgroundJobs,proto3" json:"background_jobs,omitempty"`
	// Unanswered ask_user_question calls of this conversation's Web turns, in question ID order.
	PendingQuestions []*PendingQuestion `protobuf:"bytes,18,rep,name=pending_questions,json=pendingQuestions,proto3" json:"pending_questions,omitempty"`
	// Page-scoped turn correlations, including shadows without transcript output.
	Shadows          []*ShadowBinding  `protobuf:"bytes,19,rep,name=shadows,proto3" json:"shadows,omitempty"`
	ReviewRationales map[string]string `` /* 184-byte string literal not displayed */
	// The conversations this one nests under, from its top-level conversation down, then itself.
	Lineage []*LineageLevel `protobuf:"bytes,22,rep,name=lineage,proto3" json:"lineage,omitempty"`
	// contains filtered or unexported fields
}

func (*HistoryResponse) Descriptor deprecated

func (*HistoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use HistoryResponse.ProtoReflect.Descriptor instead.

func (*HistoryResponse) GetBackgroundJobs added in v0.1.19

func (x *HistoryResponse) GetBackgroundJobs() []*BackgroundJob

func (*HistoryResponse) GetCanUndo added in v0.1.17

func (x *HistoryResponse) GetCanUndo() bool

func (*HistoryResponse) GetDelegations added in v0.1.11

func (x *HistoryResponse) GetDelegations() []string

func (*HistoryResponse) GetEntryKeys added in v0.1.12

func (x *HistoryResponse) GetEntryKeys() []string

func (*HistoryResponse) GetLineage added in v0.2.0

func (x *HistoryResponse) GetLineage() []*LineageLevel

func (*HistoryResponse) GetMessages

func (x *HistoryResponse) GetMessages() []*TranscriptEvent

func (*HistoryResponse) GetMore added in v0.1.12

func (x *HistoryResponse) GetMore() bool

func (*HistoryResponse) GetMovable added in v0.1.19

func (x *HistoryResponse) GetMovable() bool

func (*HistoryResponse) GetOrigin

func (x *HistoryResponse) GetOrigin() string

func (*HistoryResponse) GetPendingQuestions added in v0.1.27

func (x *HistoryResponse) GetPendingQuestions() []*PendingQuestion

func (*HistoryResponse) GetRemovedKeys added in v0.1.12

func (x *HistoryResponse) GetRemovedKeys() []string

func (*HistoryResponse) GetReplacedKeys added in v0.1.12

func (x *HistoryResponse) GetReplacedKeys() []string

func (*HistoryResponse) GetReset_ added in v0.1.12

func (x *HistoryResponse) GetReset_() bool

func (*HistoryResponse) GetRevertEligible added in v0.1.17

func (x *HistoryResponse) GetRevertEligible() bool

func (*HistoryResponse) GetRevertFloor added in v0.2.0

func (x *HistoryResponse) GetRevertFloor() string

func (*HistoryResponse) GetRevertMessageId added in v0.1.17

func (x *HistoryResponse) GetRevertMessageId() string

func (*HistoryResponse) GetReviewRationales added in v0.1.40

func (x *HistoryResponse) GetReviewRationales() map[string]string

func (*HistoryResponse) GetRevision added in v0.1.12

func (x *HistoryResponse) GetRevision() string

func (*HistoryResponse) GetRunning added in v0.1.12

func (x *HistoryResponse) GetRunning() bool

func (*HistoryResponse) GetShadows added in v0.1.33

func (x *HistoryResponse) GetShadows() []*ShadowBinding

func (*HistoryResponse) GetStart added in v0.1.12

func (x *HistoryResponse) GetStart() int64

func (*HistoryResponse) GetTerminal added in v0.1.12

func (x *HistoryResponse) GetTerminal() string

func (*HistoryResponse) ProtoMessage

func (*HistoryResponse) ProtoMessage()

func (*HistoryResponse) ProtoReflect

func (x *HistoryResponse) ProtoReflect() protoreflect.Message

func (*HistoryResponse) Reset

func (x *HistoryResponse) Reset()

func (*HistoryResponse) String

func (x *HistoryResponse) String() string

type IdentityRequest

type IdentityRequest struct {
	// contains filtered or unexported fields
}

func (*IdentityRequest) Descriptor deprecated

func (*IdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use IdentityRequest.ProtoReflect.Descriptor instead.

func (*IdentityRequest) ProtoMessage

func (*IdentityRequest) ProtoMessage()

func (*IdentityRequest) ProtoReflect

func (x *IdentityRequest) ProtoReflect() protoreflect.Message

func (*IdentityRequest) Reset

func (x *IdentityRequest) Reset()

func (*IdentityRequest) String

func (x *IdentityRequest) String() string

type IdentityResponse

type IdentityResponse struct {
	Username     string  `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Principal    string  `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
	SandboxError string  `protobuf:"bytes,3,opt,name=sandbox_error,json=sandboxError,proto3" json:"sandbox_error,omitempty"`
	Limited      *bool   `protobuf:"varint,4,opt,name=limited,proto3,oneof" json:"limited,omitempty"`
	SlackWarning *string `protobuf:"bytes,5,opt,name=slack_warning,json=slackWarning,proto3,oneof" json:"slack_warning,omitempty"`
	// contains filtered or unexported fields
}

sandbox_error is why emulated shells cannot run, empty when they can or no agent uses one. limited is set, true, only for a person the config's permissions limit to their spaces.

func (*IdentityResponse) Descriptor deprecated

func (*IdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use IdentityResponse.ProtoReflect.Descriptor instead.

func (*IdentityResponse) GetLimited added in v0.2.26

func (x *IdentityResponse) GetLimited() bool

func (*IdentityResponse) GetPrincipal added in v0.1.12

func (x *IdentityResponse) GetPrincipal() string

func (*IdentityResponse) GetSandboxError added in v0.2.24

func (x *IdentityResponse) GetSandboxError() string

func (*IdentityResponse) GetSlackWarning added in v0.2.48

func (x *IdentityResponse) GetSlackWarning() string

func (*IdentityResponse) GetUsername

func (x *IdentityResponse) GetUsername() string

func (*IdentityResponse) ProtoMessage

func (*IdentityResponse) ProtoMessage()

func (*IdentityResponse) ProtoReflect

func (x *IdentityResponse) ProtoReflect() protoreflect.Message

func (*IdentityResponse) Reset

func (x *IdentityResponse) Reset()

func (*IdentityResponse) String

func (x *IdentityResponse) String() string

type JoinRequest

type JoinRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*JoinRequest) Descriptor deprecated

func (*JoinRequest) Descriptor() ([]byte, []int)

Deprecated: Use JoinRequest.ProtoReflect.Descriptor instead.

func (*JoinRequest) GetId

func (x *JoinRequest) GetId() string

func (*JoinRequest) ProtoMessage

func (*JoinRequest) ProtoMessage()

func (*JoinRequest) ProtoReflect

func (x *JoinRequest) ProtoReflect() protoreflect.Message

func (*JoinRequest) Reset

func (x *JoinRequest) Reset()

func (*JoinRequest) String

func (x *JoinRequest) String() string

type LineageLevel added in v0.2.0

type LineageLevel struct {
	Id    string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Kind  ConversationKind `protobuf:"varint,2,opt,name=kind,proto3,enum=rpc.ConversationKind" json:"kind,omitempty"`
	Agent string           `protobuf:"bytes,3,opt,name=agent,proto3" json:"agent,omitempty"`
	// contains filtered or unexported fields
}

func (*LineageLevel) Descriptor deprecated added in v0.2.0

func (*LineageLevel) Descriptor() ([]byte, []int)

Deprecated: Use LineageLevel.ProtoReflect.Descriptor instead.

func (*LineageLevel) GetAgent added in v0.2.0

func (x *LineageLevel) GetAgent() string

func (*LineageLevel) GetId added in v0.2.0

func (x *LineageLevel) GetId() string

func (*LineageLevel) GetKind added in v0.2.0

func (x *LineageLevel) GetKind() ConversationKind

func (*LineageLevel) ProtoMessage added in v0.2.0

func (*LineageLevel) ProtoMessage()

func (*LineageLevel) ProtoReflect added in v0.2.0

func (x *LineageLevel) ProtoReflect() protoreflect.Message

func (*LineageLevel) Reset added in v0.2.0

func (x *LineageLevel) Reset()

func (*LineageLevel) String added in v0.2.0

func (x *LineageLevel) String() string

type ListAgentsRequest

type ListAgentsRequest struct {
	ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentsRequest) Descriptor deprecated

func (*ListAgentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAgentsRequest.ProtoReflect.Descriptor instead.

func (*ListAgentsRequest) GetConversationId

func (x *ListAgentsRequest) GetConversationId() string

func (*ListAgentsRequest) ProtoMessage

func (*ListAgentsRequest) ProtoMessage()

func (*ListAgentsRequest) ProtoReflect

func (x *ListAgentsRequest) ProtoReflect() protoreflect.Message

func (*ListAgentsRequest) Reset

func (x *ListAgentsRequest) Reset()

func (*ListAgentsRequest) String

func (x *ListAgentsRequest) String() string

type ListAgentsResponse

type ListAgentsResponse struct {
	Agents       []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
	CurrentAgent string   `protobuf:"bytes,2,opt,name=current_agent,json=currentAgent,proto3" json:"current_agent,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentsResponse) Descriptor deprecated

func (*ListAgentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAgentsResponse.ProtoReflect.Descriptor instead.

func (*ListAgentsResponse) GetAgents

func (x *ListAgentsResponse) GetAgents() []*Agent

func (*ListAgentsResponse) GetCurrentAgent

func (x *ListAgentsResponse) GetCurrentAgent() string

func (*ListAgentsResponse) ProtoMessage

func (*ListAgentsResponse) ProtoMessage()

func (*ListAgentsResponse) ProtoReflect

func (x *ListAgentsResponse) ProtoReflect() protoreflect.Message

func (*ListAgentsResponse) Reset

func (x *ListAgentsResponse) Reset()

func (*ListAgentsResponse) String

func (x *ListAgentsResponse) String() string

type ListConfigRequest

type ListConfigRequest struct {
	// contains filtered or unexported fields
}

func (*ListConfigRequest) Descriptor deprecated

func (*ListConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListConfigRequest.ProtoReflect.Descriptor instead.

func (*ListConfigRequest) ProtoMessage

func (*ListConfigRequest) ProtoMessage()

func (*ListConfigRequest) ProtoReflect

func (x *ListConfigRequest) ProtoReflect() protoreflect.Message

func (*ListConfigRequest) Reset

func (x *ListConfigRequest) Reset()

func (*ListConfigRequest) String

func (x *ListConfigRequest) String() string

type ListConfigResponse

type ListConfigResponse struct {
	Config *ConfigView `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConfigResponse) Descriptor deprecated

func (*ListConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListConfigResponse.ProtoReflect.Descriptor instead.

func (*ListConfigResponse) GetConfig

func (x *ListConfigResponse) GetConfig() *ConfigView

func (*ListConfigResponse) ProtoMessage

func (*ListConfigResponse) ProtoMessage()

func (*ListConfigResponse) ProtoReflect

func (x *ListConfigResponse) ProtoReflect() protoreflect.Message

func (*ListConfigResponse) Reset

func (x *ListConfigResponse) Reset()

func (*ListConfigResponse) String

func (x *ListConfigResponse) String() string

type ListMCPSecretKeysRequest added in v0.2.85

type ListMCPSecretKeysRequest struct {

	// ARN of a secret under mcp_secrets_arn_prefix.
	Arn string `protobuf:"bytes,1,opt,name=arn,proto3" json:"arn,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMCPSecretKeysRequest) Descriptor deprecated added in v0.2.85

func (*ListMCPSecretKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListMCPSecretKeysRequest.ProtoReflect.Descriptor instead.

func (*ListMCPSecretKeysRequest) GetArn added in v0.2.85

func (x *ListMCPSecretKeysRequest) GetArn() string

func (*ListMCPSecretKeysRequest) ProtoMessage added in v0.2.85

func (*ListMCPSecretKeysRequest) ProtoMessage()

func (*ListMCPSecretKeysRequest) ProtoReflect added in v0.2.85

func (x *ListMCPSecretKeysRequest) ProtoReflect() protoreflect.Message

func (*ListMCPSecretKeysRequest) Reset added in v0.2.85

func (x *ListMCPSecretKeysRequest) Reset()

func (*ListMCPSecretKeysRequest) String added in v0.2.85

func (x *ListMCPSecretKeysRequest) String() string

type ListMCPSecretKeysResponse added in v0.2.85

type ListMCPSecretKeysResponse struct {

	// The secret's key names, sorted; never its values.
	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMCPSecretKeysResponse) Descriptor deprecated added in v0.2.85

func (*ListMCPSecretKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListMCPSecretKeysResponse.ProtoReflect.Descriptor instead.

func (*ListMCPSecretKeysResponse) GetKeys added in v0.2.85

func (x *ListMCPSecretKeysResponse) GetKeys() []string

func (*ListMCPSecretKeysResponse) ProtoMessage added in v0.2.85

func (*ListMCPSecretKeysResponse) ProtoMessage()

func (*ListMCPSecretKeysResponse) ProtoReflect added in v0.2.85

func (*ListMCPSecretKeysResponse) Reset added in v0.2.85

func (x *ListMCPSecretKeysResponse) Reset()

func (*ListMCPSecretKeysResponse) String added in v0.2.85

func (x *ListMCPSecretKeysResponse) String() string

type ListMCPSecretsRequest added in v0.2.85

type ListMCPSecretsRequest struct {
	// contains filtered or unexported fields
}

func (*ListMCPSecretsRequest) Descriptor deprecated added in v0.2.85

func (*ListMCPSecretsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListMCPSecretsRequest.ProtoReflect.Descriptor instead.

func (*ListMCPSecretsRequest) ProtoMessage added in v0.2.85

func (*ListMCPSecretsRequest) ProtoMessage()

func (*ListMCPSecretsRequest) ProtoReflect added in v0.2.85

func (x *ListMCPSecretsRequest) ProtoReflect() protoreflect.Message

func (*ListMCPSecretsRequest) Reset added in v0.2.85

func (x *ListMCPSecretsRequest) Reset()

func (*ListMCPSecretsRequest) String added in v0.2.85

func (x *ListMCPSecretsRequest) String() string

type ListMCPSecretsResponse added in v0.2.85

type ListMCPSecretsResponse struct {

	// ARNs of the AWS Secrets Manager secrets under mcp_secrets_arn_prefix, sorted.
	Arns []string `protobuf:"bytes,1,rep,name=arns,proto3" json:"arns,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMCPSecretsResponse) Descriptor deprecated added in v0.2.85

func (*ListMCPSecretsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListMCPSecretsResponse.ProtoReflect.Descriptor instead.

func (*ListMCPSecretsResponse) GetArns added in v0.2.85

func (x *ListMCPSecretsResponse) GetArns() []string

func (*ListMCPSecretsResponse) ProtoMessage added in v0.2.85

func (*ListMCPSecretsResponse) ProtoMessage()

func (*ListMCPSecretsResponse) ProtoReflect added in v0.2.85

func (x *ListMCPSecretsResponse) ProtoReflect() protoreflect.Message

func (*ListMCPSecretsResponse) Reset added in v0.2.85

func (x *ListMCPSecretsResponse) Reset()

func (*ListMCPSecretsResponse) String added in v0.2.85

func (x *ListMCPSecretsResponse) String() string

type ListMCPServerToolsRequest added in v0.2.85

type ListMCPServerToolsRequest struct {

	// The server to start or connect to, as SaveMCPServer takes it, saved or not. Its facets are ignored.
	Server *MCPServerSetting `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMCPServerToolsRequest) Descriptor deprecated added in v0.2.85

func (*ListMCPServerToolsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListMCPServerToolsRequest.ProtoReflect.Descriptor instead.

func (*ListMCPServerToolsRequest) GetServer added in v0.2.85

func (*ListMCPServerToolsRequest) ProtoMessage added in v0.2.85

func (*ListMCPServerToolsRequest) ProtoMessage()

func (*ListMCPServerToolsRequest) ProtoReflect added in v0.2.85

func (*ListMCPServerToolsRequest) Reset added in v0.2.85

func (x *ListMCPServerToolsRequest) Reset()

func (*ListMCPServerToolsRequest) String added in v0.2.85

func (x *ListMCPServerToolsRequest) String() string

type ListMCPServerToolsResponse added in v0.2.85

type ListMCPServerToolsResponse struct {

	// The server's tools, sorted by name.
	Tools []*MCPServerTool `protobuf:"bytes,1,rep,name=tools,proto3" json:"tools,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMCPServerToolsResponse) Descriptor deprecated added in v0.2.85

func (*ListMCPServerToolsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListMCPServerToolsResponse.ProtoReflect.Descriptor instead.

func (*ListMCPServerToolsResponse) GetTools added in v0.2.85

func (x *ListMCPServerToolsResponse) GetTools() []*MCPServerTool

func (*ListMCPServerToolsResponse) ProtoMessage added in v0.2.85

func (*ListMCPServerToolsResponse) ProtoMessage()

func (*ListMCPServerToolsResponse) ProtoReflect added in v0.2.85

func (*ListMCPServerToolsResponse) Reset added in v0.2.85

func (x *ListMCPServerToolsResponse) Reset()

func (*ListMCPServerToolsResponse) String added in v0.2.85

func (x *ListMCPServerToolsResponse) String() string

type ListPagesRequest added in v0.1.52

type ListPagesRequest struct {
	Path  string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Space string `protobuf:"bytes,3,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPagesRequest) Descriptor deprecated added in v0.1.52

func (*ListPagesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPagesRequest.ProtoReflect.Descriptor instead.

func (*ListPagesRequest) GetPath added in v0.2.59

func (x *ListPagesRequest) GetPath() string

func (*ListPagesRequest) GetSpace added in v0.2.66

func (x *ListPagesRequest) GetSpace() string

func (*ListPagesRequest) ProtoMessage added in v0.1.52

func (*ListPagesRequest) ProtoMessage()

func (*ListPagesRequest) ProtoReflect added in v0.1.52

func (x *ListPagesRequest) ProtoReflect() protoreflect.Message

func (*ListPagesRequest) Reset added in v0.1.52

func (x *ListPagesRequest) Reset()

func (*ListPagesRequest) String added in v0.1.52

func (x *ListPagesRequest) String() string

type ListPagesResponse added in v0.1.52

type ListPagesResponse struct {
	Pages []*PageEntry `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPagesResponse) Descriptor deprecated added in v0.1.52

func (*ListPagesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPagesResponse.ProtoReflect.Descriptor instead.

func (*ListPagesResponse) GetPages added in v0.1.52

func (x *ListPagesResponse) GetPages() []*PageEntry

func (*ListPagesResponse) ProtoMessage added in v0.1.52

func (*ListPagesResponse) ProtoMessage()

func (*ListPagesResponse) ProtoReflect added in v0.1.52

func (x *ListPagesResponse) ProtoReflect() protoreflect.Message

func (*ListPagesResponse) Reset added in v0.1.52

func (x *ListPagesResponse) Reset()

func (*ListPagesResponse) String added in v0.1.52

func (x *ListPagesResponse) String() string

type ListQueueRequest

type ListQueueRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListQueueRequest) Descriptor deprecated

func (*ListQueueRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListQueueRequest.ProtoReflect.Descriptor instead.

func (*ListQueueRequest) GetId

func (x *ListQueueRequest) GetId() string

func (*ListQueueRequest) ProtoMessage

func (*ListQueueRequest) ProtoMessage()

func (*ListQueueRequest) ProtoReflect

func (x *ListQueueRequest) ProtoReflect() protoreflect.Message

func (*ListQueueRequest) Reset

func (x *ListQueueRequest) Reset()

func (*ListQueueRequest) String

func (x *ListQueueRequest) String() string

type ListQueueResponse

type ListQueueResponse struct {
	Items []*QueueItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListQueueResponse) Descriptor deprecated

func (*ListQueueResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListQueueResponse.ProtoReflect.Descriptor instead.

func (*ListQueueResponse) GetItems

func (x *ListQueueResponse) GetItems() []*QueueItem

func (*ListQueueResponse) ProtoMessage

func (*ListQueueResponse) ProtoMessage()

func (*ListQueueResponse) ProtoReflect

func (x *ListQueueResponse) ProtoReflect() protoreflect.Message

func (*ListQueueResponse) Reset

func (x *ListQueueResponse) Reset()

func (*ListQueueResponse) String

func (x *ListQueueResponse) String() string

type ListRoutinesRequest added in v0.2.77

type ListRoutinesRequest struct {
	// contains filtered or unexported fields
}

func (*ListRoutinesRequest) Descriptor deprecated added in v0.2.77

func (*ListRoutinesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRoutinesRequest.ProtoReflect.Descriptor instead.

func (*ListRoutinesRequest) ProtoMessage added in v0.2.77

func (*ListRoutinesRequest) ProtoMessage()

func (*ListRoutinesRequest) ProtoReflect added in v0.2.77

func (x *ListRoutinesRequest) ProtoReflect() protoreflect.Message

func (*ListRoutinesRequest) Reset added in v0.2.77

func (x *ListRoutinesRequest) Reset()

func (*ListRoutinesRequest) String added in v0.2.77

func (x *ListRoutinesRequest) String() string

type ListRoutinesResponse added in v0.2.77

type ListRoutinesResponse struct {
	Jobs []*Routine `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRoutinesResponse) Descriptor deprecated added in v0.2.77

func (*ListRoutinesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRoutinesResponse.ProtoReflect.Descriptor instead.

func (*ListRoutinesResponse) GetJobs added in v0.2.77

func (x *ListRoutinesResponse) GetJobs() []*Routine

func (*ListRoutinesResponse) ProtoMessage added in v0.2.77

func (*ListRoutinesResponse) ProtoMessage()

func (*ListRoutinesResponse) ProtoReflect added in v0.2.77

func (x *ListRoutinesResponse) ProtoReflect() protoreflect.Message

func (*ListRoutinesResponse) Reset added in v0.2.77

func (x *ListRoutinesResponse) Reset()

func (*ListRoutinesResponse) String added in v0.2.77

func (x *ListRoutinesResponse) String() string

type ListSessionsRequest

type ListSessionsRequest struct {

	// The location of the caller's active tab while its window has focus, else empty. Only the Web page's own poll
	// records it as viewed and clears that location's unread mark; for any other caller it changes nothing.
	Viewing string `protobuf:"bytes,1,opt,name=viewing,proto3" json:"viewing,omitempty"`
	// The version of the last complete listing the caller holds. When the server still knows it, the
	// listing sends only the rows that changed since; otherwise it sends every row.
	Since string `protobuf:"bytes,2,opt,name=since,proto3" json:"since,omitempty"`
	// The caller marked the viewing tab unread while it was in view: the view counts without clearing the mark.
	Hold bool `protobuf:"varint,3,opt,name=hold,proto3" json:"hold,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSessionsRequest) Descriptor deprecated

func (*ListSessionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.

func (*ListSessionsRequest) GetHold added in v0.2.26

func (x *ListSessionsRequest) GetHold() bool

func (*ListSessionsRequest) GetSince added in v0.2.6

func (x *ListSessionsRequest) GetSince() string

func (*ListSessionsRequest) GetViewing added in v0.2.2

func (x *ListSessionsRequest) GetViewing() string

func (*ListSessionsRequest) ProtoMessage

func (*ListSessionsRequest) ProtoMessage()

func (*ListSessionsRequest) ProtoReflect

func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message

func (*ListSessionsRequest) Reset

func (x *ListSessionsRequest) Reset()

func (*ListSessionsRequest) String

func (x *ListSessionsRequest) String() string

type ListSessionsResponse

type ListSessionsResponse struct {
	Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// The first message carries the owner, the remote servers, and per agent the tags people may set
	// on its sessions, so a page need not wait for the rows. Remote OpenCode sessions take any tag.
	Owner           string            `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	UpstreamSuccess bool              `protobuf:"varint,3,opt,name=upstream_success,json=upstreamSuccess,proto3" json:"upstream_success,omitempty"` // Marks the completion message.
	OpencodeServers map[string]string ``                                                                                                            // Server name to its origin, for links to its sessions.
	/* 180-byte string literal not displayed */
	AgentTags map[string]*TagChoices `` /* 162-byte string literal not displayed */
	// The completion carries this listing's version, for the next request's since. When since names a
	// listing the server still holds, it is echoed: only rows changed since were sent, and removed names
	// the sessions gone since. Otherwise since is empty and every row was sent.
	Version string   `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	Removed []string `protobuf:"bytes,9,rep,name=removed,proto3" json:"removed,omitempty"`
	Since   string   `protobuf:"bytes,10,opt,name=since,proto3" json:"since,omitempty"`
	// The completion carries the caller's attention rows of tab locations that are not sessions, those changed since
	// since, or every one.
	Tabs []*TabAttention `protobuf:"bytes,11,rep,name=tabs,proto3" json:"tabs,omitempty"`
	// The first message carries the caller's tab-state revision, which a timer that brings a closed tab back raises.
	TabRevision int64  `protobuf:"varint,12,opt,name=tab_revision,json=tabRevision,proto3" json:"tab_revision,omitempty"`
	Navigate    string `protobuf:"bytes,13,opt,name=navigate,proto3" json:"navigate,omitempty"`
	// contains filtered or unexported fields
}

A listing streams its first message, then one message per sent row, then the completion.

func (*ListSessionsResponse) Descriptor deprecated

func (*ListSessionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.

func (*ListSessionsResponse) GetAgentTags added in v0.1.47

func (x *ListSessionsResponse) GetAgentTags() map[string]*TagChoices

func (*ListSessionsResponse) GetNavigate added in v0.2.61

func (x *ListSessionsResponse) GetNavigate() string

func (*ListSessionsResponse) GetOpencodeServers added in v0.1.47

func (x *ListSessionsResponse) GetOpencodeServers() map[string]string

func (*ListSessionsResponse) GetOwner

func (x *ListSessionsResponse) GetOwner() string

func (*ListSessionsResponse) GetRemoved added in v0.2.21

func (x *ListSessionsResponse) GetRemoved() []string

func (*ListSessionsResponse) GetSessions

func (x *ListSessionsResponse) GetSessions() []*Session

func (*ListSessionsResponse) GetSince added in v0.2.21

func (x *ListSessionsResponse) GetSince() string

func (*ListSessionsResponse) GetTabRevision added in v0.2.31

func (x *ListSessionsResponse) GetTabRevision() int64

func (*ListSessionsResponse) GetTabs added in v0.2.31

func (x *ListSessionsResponse) GetTabs() []*TabAttention

func (*ListSessionsResponse) GetUpstreamSuccess

func (x *ListSessionsResponse) GetUpstreamSuccess() bool

func (*ListSessionsResponse) GetVersion added in v0.2.6

func (x *ListSessionsResponse) GetVersion() string

func (*ListSessionsResponse) ProtoMessage

func (*ListSessionsResponse) ProtoMessage()

func (*ListSessionsResponse) ProtoReflect

func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message

func (*ListSessionsResponse) Reset

func (x *ListSessionsResponse) Reset()

func (*ListSessionsResponse) String

func (x *ListSessionsResponse) String() string

type ListSkillsRequest

type ListSkillsRequest struct {
	Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSkillsRequest) Descriptor deprecated

func (*ListSkillsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSkillsRequest.ProtoReflect.Descriptor instead.

func (*ListSkillsRequest) GetAgent

func (x *ListSkillsRequest) GetAgent() string

func (*ListSkillsRequest) ProtoMessage

func (*ListSkillsRequest) ProtoMessage()

func (*ListSkillsRequest) ProtoReflect

func (x *ListSkillsRequest) ProtoReflect() protoreflect.Message

func (*ListSkillsRequest) Reset

func (x *ListSkillsRequest) Reset()

func (*ListSkillsRequest) String

func (x *ListSkillsRequest) String() string

type ListSkillsResponse

type ListSkillsResponse struct {
	Skills []*Skill `protobuf:"bytes,1,rep,name=skills,proto3" json:"skills,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSkillsResponse) Descriptor deprecated

func (*ListSkillsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSkillsResponse.ProtoReflect.Descriptor instead.

func (*ListSkillsResponse) GetSkills

func (x *ListSkillsResponse) GetSkills() []*Skill

func (*ListSkillsResponse) ProtoMessage

func (*ListSkillsResponse) ProtoMessage()

func (*ListSkillsResponse) ProtoReflect

func (x *ListSkillsResponse) ProtoReflect() protoreflect.Message

func (*ListSkillsResponse) Reset

func (x *ListSkillsResponse) Reset()

func (*ListSkillsResponse) String

func (x *ListSkillsResponse) String() string

type ListTab added in v0.2.74

type ListTab struct {
	List   string `protobuf:"bytes,1,opt,name=list,proto3" json:"list,omitempty"`
	Server string `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
	// path is the tab's location, such as /s/<id> or /oc/<id> with the session ID in unpadded URL-safe base64.
	Path  string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Space string `protobuf:"bytes,4,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTab) Descriptor deprecated added in v0.2.74

func (*ListTab) Descriptor() ([]byte, []int)

Deprecated: Use ListTab.ProtoReflect.Descriptor instead.

func (*ListTab) GetList added in v0.2.74

func (x *ListTab) GetList() string

func (*ListTab) GetPath added in v0.2.74

func (x *ListTab) GetPath() string

func (*ListTab) GetServer added in v0.2.74

func (x *ListTab) GetServer() string

func (*ListTab) GetSpace added in v0.2.74

func (x *ListTab) GetSpace() string

func (*ListTab) ProtoMessage added in v0.2.74

func (*ListTab) ProtoMessage()

func (*ListTab) ProtoReflect added in v0.2.74

func (x *ListTab) ProtoReflect() protoreflect.Message

func (*ListTab) Reset added in v0.2.74

func (x *ListTab) Reset()

func (*ListTab) String added in v0.2.74

func (x *ListTab) String() string

type ListingChanged added in v0.2.69

type ListingChanged struct {
	// contains filtered or unexported fields
}

func (*ListingChanged) Descriptor deprecated added in v0.2.69

func (*ListingChanged) Descriptor() ([]byte, []int)

Deprecated: Use ListingChanged.ProtoReflect.Descriptor instead.

func (*ListingChanged) ProtoMessage added in v0.2.69

func (*ListingChanged) ProtoMessage()

func (*ListingChanged) ProtoReflect added in v0.2.69

func (x *ListingChanged) ProtoReflect() protoreflect.Message

func (*ListingChanged) Reset added in v0.2.69

func (x *ListingChanged) Reset()

func (*ListingChanged) String added in v0.2.69

func (x *ListingChanged) String() string

type MCPFacetMatch added in v0.2.85

type MCPFacetMatch struct {

	// Facet name, as given.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The tools an agent granted this facet may call, in the order of the request's tools.
	Tools []string `protobuf:"bytes,2,rep,name=tools,proto3" json:"tools,omitempty"`
	// Each of the facet's patterns with the tools it matches or removes, in the facet's order.
	Patterns []*MCPPatternMatch `protobuf:"bytes,3,rep,name=patterns,proto3" json:"patterns,omitempty"`
	// contains filtered or unexported fields
}

func (*MCPFacetMatch) Descriptor deprecated added in v0.2.85

func (*MCPFacetMatch) Descriptor() ([]byte, []int)

Deprecated: Use MCPFacetMatch.ProtoReflect.Descriptor instead.

func (*MCPFacetMatch) GetName added in v0.2.85

func (x *MCPFacetMatch) GetName() string

func (*MCPFacetMatch) GetPatterns added in v0.2.85

func (x *MCPFacetMatch) GetPatterns() []*MCPPatternMatch

func (*MCPFacetMatch) GetTools added in v0.2.85

func (x *MCPFacetMatch) GetTools() []string

func (*MCPFacetMatch) ProtoMessage added in v0.2.85

func (*MCPFacetMatch) ProtoMessage()

func (*MCPFacetMatch) ProtoReflect added in v0.2.85

func (x *MCPFacetMatch) ProtoReflect() protoreflect.Message

func (*MCPFacetMatch) Reset added in v0.2.85

func (x *MCPFacetMatch) Reset()

func (*MCPFacetMatch) String added in v0.2.85

func (x *MCPFacetMatch) String() string

type MCPPatternMatch added in v0.2.85

type MCPPatternMatch struct {

	// One of the facet's patterns, as given.
	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	// For a pattern without "-", the tools it matches; for a "-" pattern, the tools it removes from what the facet's other patterns match. In the order of the request's tools.
	Tools []string `protobuf:"bytes,2,rep,name=tools,proto3" json:"tools,omitempty"`
	// contains filtered or unexported fields
}

func (*MCPPatternMatch) Descriptor deprecated added in v0.2.85

func (*MCPPatternMatch) Descriptor() ([]byte, []int)

Deprecated: Use MCPPatternMatch.ProtoReflect.Descriptor instead.

func (*MCPPatternMatch) GetPattern added in v0.2.85

func (x *MCPPatternMatch) GetPattern() string

func (*MCPPatternMatch) GetTools added in v0.2.85

func (x *MCPPatternMatch) GetTools() []string

func (*MCPPatternMatch) ProtoMessage added in v0.2.85

func (*MCPPatternMatch) ProtoMessage()

func (*MCPPatternMatch) ProtoReflect added in v0.2.85

func (x *MCPPatternMatch) ProtoReflect() protoreflect.Message

func (*MCPPatternMatch) Reset added in v0.2.85

func (x *MCPPatternMatch) Reset()

func (*MCPPatternMatch) String added in v0.2.85

func (x *MCPPatternMatch) String() string

type MCPServerFacet added in v0.2.85

type MCPServerFacet struct {

	// Facet name, which agents grant: letters, digits, "_" and "-".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Tool-name patterns: "*" matches any text, "?" one character, and a leading "-" removes the tools it matches.
	Patterns []string `protobuf:"bytes,2,rep,name=patterns,proto3" json:"patterns,omitempty"`
	// contains filtered or unexported fields
}

func (*MCPServerFacet) Descriptor deprecated added in v0.2.85

func (*MCPServerFacet) Descriptor() ([]byte, []int)

Deprecated: Use MCPServerFacet.ProtoReflect.Descriptor instead.

func (*MCPServerFacet) GetName added in v0.2.85

func (x *MCPServerFacet) GetName() string

func (*MCPServerFacet) GetPatterns added in v0.2.85

func (x *MCPServerFacet) GetPatterns() []string

func (*MCPServerFacet) ProtoMessage added in v0.2.85

func (*MCPServerFacet) ProtoMessage()

func (*MCPServerFacet) ProtoReflect added in v0.2.85

func (x *MCPServerFacet) ProtoReflect() protoreflect.Message

func (*MCPServerFacet) Reset added in v0.2.85

func (x *MCPServerFacet) Reset()

func (*MCPServerFacet) String added in v0.2.85

func (x *MCPServerFacet) String() string

type MCPServerSetting added in v0.2.85

type MCPServerSetting struct {

	// Server name: letters, digits, "_" and "-".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Program a local server runs on the RocketClaw host. Set exactly one of command and url.
	Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	// Arguments for command, in order.
	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// Working directory for command.
	Cwd string `protobuf:"bytes,4,opt,name=cwd,proto3" json:"cwd,omitempty"`
	// Environment variables for command, by name.
	Env map[string]*MCPServerValue `` /* 133-byte string literal not displayed */
	// http or https URL of a remote server. Set exactly one of command and url.
	Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
	// HTTP headers sent to url, by name.
	Headers map[string]*MCPServerValue `` /* 141-byte string literal not displayed */
	// The server's facets; a tool in no facet is reachable by no agent.
	Facets []*MCPServerFacet `protobuf:"bytes,8,rep,name=facets,proto3" json:"facets,omitempty"`
	// contains filtered or unexported fields
}

func (*MCPServerSetting) Descriptor deprecated added in v0.2.85

func (*MCPServerSetting) Descriptor() ([]byte, []int)

Deprecated: Use MCPServerSetting.ProtoReflect.Descriptor instead.

func (*MCPServerSetting) GetArgs added in v0.2.85

func (x *MCPServerSetting) GetArgs() []string

func (*MCPServerSetting) GetCommand added in v0.2.85

func (x *MCPServerSetting) GetCommand() string

func (*MCPServerSetting) GetCwd added in v0.2.85

func (x *MCPServerSetting) GetCwd() string

func (*MCPServerSetting) GetEnv added in v0.2.85

func (x *MCPServerSetting) GetEnv() map[string]*MCPServerValue

func (*MCPServerSetting) GetFacets added in v0.2.85

func (x *MCPServerSetting) GetFacets() []*MCPServerFacet

func (*MCPServerSetting) GetHeaders added in v0.2.85

func (x *MCPServerSetting) GetHeaders() map[string]*MCPServerValue

func (*MCPServerSetting) GetName added in v0.2.85

func (x *MCPServerSetting) GetName() string

func (*MCPServerSetting) GetUrl added in v0.2.85

func (x *MCPServerSetting) GetUrl() string

func (*MCPServerSetting) ProtoMessage added in v0.2.85

func (*MCPServerSetting) ProtoMessage()

func (*MCPServerSetting) ProtoReflect added in v0.2.85

func (x *MCPServerSetting) ProtoReflect() protoreflect.Message

func (*MCPServerSetting) Reset added in v0.2.85

func (x *MCPServerSetting) Reset()

func (*MCPServerSetting) String added in v0.2.85

func (x *MCPServerSetting) String() string

type MCPServerTool added in v0.2.85

type MCPServerTool struct {

	// Tool name, which facet patterns match.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The server's description of the tool.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*MCPServerTool) Descriptor deprecated added in v0.2.85

func (*MCPServerTool) Descriptor() ([]byte, []int)

Deprecated: Use MCPServerTool.ProtoReflect.Descriptor instead.

func (*MCPServerTool) GetDescription added in v0.2.85

func (x *MCPServerTool) GetDescription() string

func (*MCPServerTool) GetName added in v0.2.85

func (x *MCPServerTool) GetName() string

func (*MCPServerTool) ProtoMessage added in v0.2.85

func (*MCPServerTool) ProtoMessage()

func (*MCPServerTool) ProtoReflect added in v0.2.85

func (x *MCPServerTool) ProtoReflect() protoreflect.Message

func (*MCPServerTool) Reset added in v0.2.85

func (x *MCPServerTool) Reset()

func (*MCPServerTool) String added in v0.2.85

func (x *MCPServerTool) String() string

type MCPServerValue added in v0.2.85

type MCPServerValue struct {

	// The value as plain text, stored and shown as typed. Leave empty when awsArn and awsKey are set.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// ARN of the AWS Secrets Manager JSON secret that holds the value. Set together with awsKey, and leave text empty.
	AwsArn string `protobuf:"bytes,2,opt,name=aws_arn,json=awsArn,proto3" json:"aws_arn,omitempty"`
	// Key in that JSON secret whose string is the value. Set together with awsArn, and leave text empty.
	AwsKey string `protobuf:"bytes,3,opt,name=aws_key,json=awsKey,proto3" json:"aws_key,omitempty"`
	// contains filtered or unexported fields
}

func (*MCPServerValue) Descriptor deprecated added in v0.2.85

func (*MCPServerValue) Descriptor() ([]byte, []int)

Deprecated: Use MCPServerValue.ProtoReflect.Descriptor instead.

func (*MCPServerValue) GetAwsArn added in v0.2.85

func (x *MCPServerValue) GetAwsArn() string

func (*MCPServerValue) GetAwsKey added in v0.2.85

func (x *MCPServerValue) GetAwsKey() string

func (*MCPServerValue) GetText added in v0.2.85

func (x *MCPServerValue) GetText() string

func (*MCPServerValue) ProtoMessage added in v0.2.85

func (*MCPServerValue) ProtoMessage()

func (*MCPServerValue) ProtoReflect added in v0.2.85

func (x *MCPServerValue) ProtoReflect() protoreflect.Message

func (*MCPServerValue) Reset added in v0.2.85

func (x *MCPServerValue) Reset()

func (*MCPServerValue) String added in v0.2.85

func (x *MCPServerValue) String() string

type MatchMCPFacetsRequest added in v0.2.85

type MatchMCPFacetsRequest struct {

	// Tool names to match, such as the names ListMCPServerTools returns.
	Tools []string `protobuf:"bytes,1,rep,name=tools,proto3" json:"tools,omitempty"`
	// Facets to match them against, as in MCPServerSetting's facets.
	Facets []*MCPServerFacet `protobuf:"bytes,2,rep,name=facets,proto3" json:"facets,omitempty"`
	// contains filtered or unexported fields
}

func (*MatchMCPFacetsRequest) Descriptor deprecated added in v0.2.85

func (*MatchMCPFacetsRequest) Descriptor() ([]byte, []int)

Deprecated: Use MatchMCPFacetsRequest.ProtoReflect.Descriptor instead.

func (*MatchMCPFacetsRequest) GetFacets added in v0.2.85

func (x *MatchMCPFacetsRequest) GetFacets() []*MCPServerFacet

func (*MatchMCPFacetsRequest) GetTools added in v0.2.85

func (x *MatchMCPFacetsRequest) GetTools() []string

func (*MatchMCPFacetsRequest) ProtoMessage added in v0.2.85

func (*MatchMCPFacetsRequest) ProtoMessage()

func (*MatchMCPFacetsRequest) ProtoReflect added in v0.2.85

func (x *MatchMCPFacetsRequest) ProtoReflect() protoreflect.Message

func (*MatchMCPFacetsRequest) Reset added in v0.2.85

func (x *MatchMCPFacetsRequest) Reset()

func (*MatchMCPFacetsRequest) String added in v0.2.85

func (x *MatchMCPFacetsRequest) String() string

type MatchMCPFacetsResponse added in v0.2.85

type MatchMCPFacetsResponse struct {

	// One entry per requested facet, in the request's order.
	Facets []*MCPFacetMatch `protobuf:"bytes,1,rep,name=facets,proto3" json:"facets,omitempty"`
	// contains filtered or unexported fields
}

func (*MatchMCPFacetsResponse) Descriptor deprecated added in v0.2.85

func (*MatchMCPFacetsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MatchMCPFacetsResponse.ProtoReflect.Descriptor instead.

func (*MatchMCPFacetsResponse) GetFacets added in v0.2.85

func (x *MatchMCPFacetsResponse) GetFacets() []*MCPFacetMatch

func (*MatchMCPFacetsResponse) ProtoMessage added in v0.2.85

func (*MatchMCPFacetsResponse) ProtoMessage()

func (*MatchMCPFacetsResponse) ProtoReflect added in v0.2.85

func (x *MatchMCPFacetsResponse) ProtoReflect() protoreflect.Message

func (*MatchMCPFacetsResponse) Reset added in v0.2.85

func (x *MatchMCPFacetsResponse) Reset()

func (*MatchMCPFacetsResponse) String added in v0.2.85

func (x *MatchMCPFacetsResponse) String() string

type MessageMatch added in v0.1.3

type MessageMatch struct {
	ConversationId string           `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	Message        *TranscriptEvent `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageMatch) Descriptor deprecated added in v0.1.3

func (*MessageMatch) Descriptor() ([]byte, []int)

Deprecated: Use MessageMatch.ProtoReflect.Descriptor instead.

func (*MessageMatch) GetConversationId added in v0.1.3

func (x *MessageMatch) GetConversationId() string

func (*MessageMatch) GetMessage added in v0.1.3

func (x *MessageMatch) GetMessage() *TranscriptEvent

func (*MessageMatch) ProtoMessage added in v0.1.3

func (*MessageMatch) ProtoMessage()

func (*MessageMatch) ProtoReflect added in v0.1.3

func (x *MessageMatch) ProtoReflect() protoreflect.Message

func (*MessageMatch) Reset added in v0.1.3

func (x *MessageMatch) Reset()

func (*MessageMatch) String added in v0.1.3

func (x *MessageMatch) String() string

type MessageTreeNode added in v0.2.63

type MessageTreeNode struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ParentId  string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Role      string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	Text      string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
	Outside   bool   `protobuf:"varint,5,opt,name=outside,proto3" json:"outside,omitempty"`
	Pickable  bool   `protobuf:"varint,6,opt,name=pickable,proto3" json:"pickable,omitempty"`
	Through   bool   `protobuf:"varint,7,opt,name=through,proto3" json:"through,omitempty"`
	OnPath    bool   `protobuf:"varint,8,opt,name=on_path,json=onPath,proto3" json:"on_path,omitempty"`
	Current   bool   `protobuf:"varint,9,opt,name=current,proto3" json:"current,omitempty"`
	BranchId  string `protobuf:"bytes,10,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"`
	Deletable bool   `protobuf:"varint,11,opt,name=deletable,proto3" json:"deletable,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTreeNode) Descriptor deprecated added in v0.2.63

func (*MessageTreeNode) Descriptor() ([]byte, []int)

Deprecated: Use MessageTreeNode.ProtoReflect.Descriptor instead.

func (*MessageTreeNode) GetBranchId added in v0.2.63

func (x *MessageTreeNode) GetBranchId() string

func (*MessageTreeNode) GetCurrent added in v0.2.63

func (x *MessageTreeNode) GetCurrent() bool

func (*MessageTreeNode) GetDeletable added in v0.2.63

func (x *MessageTreeNode) GetDeletable() bool

func (*MessageTreeNode) GetId added in v0.2.63

func (x *MessageTreeNode) GetId() string

func (*MessageTreeNode) GetOnPath added in v0.2.63

func (x *MessageTreeNode) GetOnPath() bool

func (*MessageTreeNode) GetOutside added in v0.2.63

func (x *MessageTreeNode) GetOutside() bool

func (*MessageTreeNode) GetParentId added in v0.2.63

func (x *MessageTreeNode) GetParentId() string

func (*MessageTreeNode) GetPickable added in v0.2.63

func (x *MessageTreeNode) GetPickable() bool

func (*MessageTreeNode) GetRole added in v0.2.63

func (x *MessageTreeNode) GetRole() string

func (*MessageTreeNode) GetText added in v0.2.63

func (x *MessageTreeNode) GetText() string

func (*MessageTreeNode) GetThrough added in v0.2.63

func (x *MessageTreeNode) GetThrough() bool

func (*MessageTreeNode) ProtoMessage added in v0.2.63

func (*MessageTreeNode) ProtoMessage()

func (*MessageTreeNode) ProtoReflect added in v0.2.63

func (x *MessageTreeNode) ProtoReflect() protoreflect.Message

func (*MessageTreeNode) Reset added in v0.2.63

func (x *MessageTreeNode) Reset()

func (*MessageTreeNode) String added in v0.2.63

func (x *MessageTreeNode) String() string

type MessageTreeRequest added in v0.2.63

type MessageTreeRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTreeRequest) Descriptor deprecated added in v0.2.63

func (*MessageTreeRequest) Descriptor() ([]byte, []int)

Deprecated: Use MessageTreeRequest.ProtoReflect.Descriptor instead.

func (*MessageTreeRequest) GetId added in v0.2.63

func (x *MessageTreeRequest) GetId() string

func (*MessageTreeRequest) ProtoMessage added in v0.2.63

func (*MessageTreeRequest) ProtoMessage()

func (*MessageTreeRequest) ProtoReflect added in v0.2.63

func (x *MessageTreeRequest) ProtoReflect() protoreflect.Message

func (*MessageTreeRequest) Reset added in v0.2.63

func (x *MessageTreeRequest) Reset()

func (*MessageTreeRequest) String added in v0.2.63

func (x *MessageTreeRequest) String() string

type MessageTreeResponse added in v0.2.63

type MessageTreeResponse struct {
	Nodes []*MessageTreeNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTreeResponse) Descriptor deprecated added in v0.2.63

func (*MessageTreeResponse) Descriptor() ([]byte, []int)

Deprecated: Use MessageTreeResponse.ProtoReflect.Descriptor instead.

func (*MessageTreeResponse) GetNodes added in v0.2.63

func (x *MessageTreeResponse) GetNodes() []*MessageTreeNode

func (*MessageTreeResponse) ProtoMessage added in v0.2.63

func (*MessageTreeResponse) ProtoMessage()

func (*MessageTreeResponse) ProtoReflect added in v0.2.63

func (x *MessageTreeResponse) ProtoReflect() protoreflect.Message

func (*MessageTreeResponse) Reset added in v0.2.63

func (x *MessageTreeResponse) Reset()

func (*MessageTreeResponse) String added in v0.2.63

func (x *MessageTreeResponse) String() string

type MoveToBackgroundRequest added in v0.1.19

type MoveToBackgroundRequest struct {
	ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveToBackgroundRequest) Descriptor deprecated added in v0.1.19

func (*MoveToBackgroundRequest) Descriptor() ([]byte, []int)

Deprecated: Use MoveToBackgroundRequest.ProtoReflect.Descriptor instead.

func (*MoveToBackgroundRequest) GetConversationId added in v0.1.19

func (x *MoveToBackgroundRequest) GetConversationId() string

func (*MoveToBackgroundRequest) ProtoMessage added in v0.1.19

func (*MoveToBackgroundRequest) ProtoMessage()

func (*MoveToBackgroundRequest) ProtoReflect added in v0.1.19

func (x *MoveToBackgroundRequest) ProtoReflect() protoreflect.Message

func (*MoveToBackgroundRequest) Reset added in v0.1.19

func (x *MoveToBackgroundRequest) Reset()

func (*MoveToBackgroundRequest) String added in v0.1.19

func (x *MoveToBackgroundRequest) String() string

type MoveToBackgroundResponse added in v0.1.19

type MoveToBackgroundResponse struct {
	Moved bool `protobuf:"varint,1,opt,name=moved,proto3" json:"moved,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveToBackgroundResponse) Descriptor deprecated added in v0.1.19

func (*MoveToBackgroundResponse) Descriptor() ([]byte, []int)

Deprecated: Use MoveToBackgroundResponse.ProtoReflect.Descriptor instead.

func (*MoveToBackgroundResponse) GetMoved added in v0.1.19

func (x *MoveToBackgroundResponse) GetMoved() bool

func (*MoveToBackgroundResponse) ProtoMessage added in v0.1.19

func (*MoveToBackgroundResponse) ProtoMessage()

func (*MoveToBackgroundResponse) ProtoReflect added in v0.1.19

func (x *MoveToBackgroundResponse) ProtoReflect() protoreflect.Message

func (*MoveToBackgroundResponse) Reset added in v0.1.19

func (x *MoveToBackgroundResponse) Reset()

func (*MoveToBackgroundResponse) String added in v0.1.19

func (x *MoveToBackgroundResponse) String() string

type Page added in v0.1.52

type Page struct {
	Space       string `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"`
	ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	Body        []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*Page) Descriptor deprecated added in v0.1.52

func (*Page) Descriptor() ([]byte, []int)

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetBody added in v0.1.52

func (x *Page) GetBody() []byte

func (*Page) GetContentType added in v0.1.52

func (x *Page) GetContentType() string

func (*Page) GetSpace added in v0.1.52

func (x *Page) GetSpace() string

func (*Page) ProtoMessage added in v0.1.52

func (*Page) ProtoMessage()

func (*Page) ProtoReflect added in v0.1.52

func (x *Page) ProtoReflect() protoreflect.Message

func (*Page) Reset added in v0.1.52

func (x *Page) Reset()

func (*Page) String added in v0.1.52

func (x *Page) String() string

type PageEntry added in v0.1.52

type PageEntry struct {
	Space     string  `protobuf:"bytes,2,opt,name=space,proto3" json:"space,omitempty"`
	Path      string  `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	UpdatedAt *string `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*PageEntry) Descriptor deprecated added in v0.1.52

func (*PageEntry) Descriptor() ([]byte, []int)

Deprecated: Use PageEntry.ProtoReflect.Descriptor instead.

func (*PageEntry) GetPath added in v0.1.52

func (x *PageEntry) GetPath() string

func (*PageEntry) GetSpace added in v0.1.52

func (x *PageEntry) GetSpace() string

func (*PageEntry) GetUpdatedAt added in v0.2.59

func (x *PageEntry) GetUpdatedAt() string

func (*PageEntry) ProtoMessage added in v0.1.52

func (*PageEntry) ProtoMessage()

func (*PageEntry) ProtoReflect added in v0.1.52

func (x *PageEntry) ProtoReflect() protoreflect.Message

func (*PageEntry) Reset added in v0.1.52

func (x *PageEntry) Reset()

func (*PageEntry) String added in v0.1.52

func (x *PageEntry) String() string

type PageRequest added in v0.1.52

type PageRequest struct {
	Path  string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Data  bool   `protobuf:"varint,3,opt,name=data,proto3" json:"data,omitempty"`
	Space string `protobuf:"bytes,4,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

An empty path or one ending in / names index.html.

func (*PageRequest) Descriptor deprecated added in v0.1.52

func (*PageRequest) Descriptor() ([]byte, []int)

Deprecated: Use PageRequest.ProtoReflect.Descriptor instead.

func (*PageRequest) GetData added in v0.1.52

func (x *PageRequest) GetData() bool

func (*PageRequest) GetPath added in v0.1.52

func (x *PageRequest) GetPath() string

func (*PageRequest) GetSpace added in v0.2.66

func (x *PageRequest) GetSpace() string

func (*PageRequest) ProtoMessage added in v0.1.52

func (*PageRequest) ProtoMessage()

func (*PageRequest) ProtoReflect added in v0.1.52

func (x *PageRequest) ProtoReflect() protoreflect.Message

func (*PageRequest) Reset added in v0.1.52

func (x *PageRequest) Reset()

func (*PageRequest) String added in v0.1.52

func (x *PageRequest) String() string

type PendingQuestion added in v0.1.27

type PendingQuestion struct {
	Id       string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Question string            `protobuf:"bytes,2,opt,name=question,proto3" json:"question,omitempty"`
	Details  string            `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
	Options  []*QuestionOption `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
	// Several options may be selected.
	Multiple bool `protobuf:"varint,5,opt,name=multiple,proto3" json:"multiple,omitempty"`
	// contains filtered or unexported fields
}

An ask_user_question call a Web turn waits on; AnswerQuestion answers it by ID.

func (*PendingQuestion) Descriptor deprecated added in v0.1.27

func (*PendingQuestion) Descriptor() ([]byte, []int)

Deprecated: Use PendingQuestion.ProtoReflect.Descriptor instead.

func (*PendingQuestion) GetDetails added in v0.1.27

func (x *PendingQuestion) GetDetails() string

func (*PendingQuestion) GetId added in v0.1.27

func (x *PendingQuestion) GetId() string

func (*PendingQuestion) GetMultiple added in v0.1.27

func (x *PendingQuestion) GetMultiple() bool

func (*PendingQuestion) GetOptions added in v0.1.27

func (x *PendingQuestion) GetOptions() []*QuestionOption

func (*PendingQuestion) GetQuestion added in v0.1.27

func (x *PendingQuestion) GetQuestion() string

func (*PendingQuestion) ProtoMessage added in v0.1.27

func (*PendingQuestion) ProtoMessage()

func (*PendingQuestion) ProtoReflect added in v0.1.27

func (x *PendingQuestion) ProtoReflect() protoreflect.Message

func (*PendingQuestion) Reset added in v0.1.27

func (x *PendingQuestion) Reset()

func (*PendingQuestion) String added in v0.1.27

func (x *PendingQuestion) String() string

type PromptDelivery

type PromptDelivery int32
const (
	PromptDelivery_STEER PromptDelivery = 0
	PromptDelivery_QUEUE PromptDelivery = 1
	PromptDelivery_STASH PromptDelivery = 2
)

func (PromptDelivery) Descriptor

func (PromptDelivery) Enum

func (x PromptDelivery) Enum() *PromptDelivery

func (PromptDelivery) EnumDescriptor deprecated

func (PromptDelivery) EnumDescriptor() ([]byte, []int)

Deprecated: Use PromptDelivery.Descriptor instead.

func (PromptDelivery) Number

func (PromptDelivery) String

func (x PromptDelivery) String() string

func (PromptDelivery) Type

type PromptRequest

type PromptRequest struct {

	// The chat's id.
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// STEER (the default) sends now, into the running turn or as the next turn; QUEUE runs it as a
	// later turn; STASH holds it until someone sends it.
	Delivery PromptDelivery `protobuf:"varint,3,opt,name=delivery,proto3,enum=rpc.PromptDelivery" json:"delivery,omitempty"`
	// Ids UploadAttachment returned.
	AttachmentIds []string `protobuf:"bytes,4,rep,name=attachment_ids,json=attachmentIds,proto3" json:"attachment_ids,omitempty"`
	// A unique id for this message; resend the same one when retrying.
	MessageId string `protobuf:"bytes,5,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// Ids of the teammates the message tags, who get a link-only notification.
	MentionIds []string `protobuf:"bytes,6,rep,name=mention_ids,json=mentionIds,proto3" json:"mention_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptRequest) Descriptor deprecated

func (*PromptRequest) Descriptor() ([]byte, []int)

Deprecated: Use PromptRequest.ProtoReflect.Descriptor instead.

func (*PromptRequest) GetAttachmentIds

func (x *PromptRequest) GetAttachmentIds() []string

func (*PromptRequest) GetDelivery

func (x *PromptRequest) GetDelivery() PromptDelivery

func (*PromptRequest) GetId

func (x *PromptRequest) GetId() string

func (*PromptRequest) GetMentionIds added in v0.2.72

func (x *PromptRequest) GetMentionIds() []string

func (*PromptRequest) GetMessageId

func (x *PromptRequest) GetMessageId() string

func (*PromptRequest) GetText

func (x *PromptRequest) GetText() string

func (*PromptRequest) ProtoMessage

func (*PromptRequest) ProtoMessage()

func (*PromptRequest) ProtoReflect

func (x *PromptRequest) ProtoReflect() protoreflect.Message

func (*PromptRequest) Reset

func (x *PromptRequest) Reset()

func (*PromptRequest) String

func (x *PromptRequest) String() string

type PromptResponse

type PromptResponse struct {
	PrivateText    string  `protobuf:"bytes,1,opt,name=private_text,json=privateText,proto3" json:"private_text,omitempty"`
	MentionWarning *string `protobuf:"bytes,2,opt,name=mention_warning,json=mentionWarning,proto3,oneof" json:"mention_warning,omitempty"`
	// contains filtered or unexported fields
}

func (*PromptResponse) Descriptor deprecated

func (*PromptResponse) Descriptor() ([]byte, []int)

Deprecated: Use PromptResponse.ProtoReflect.Descriptor instead.

func (*PromptResponse) GetMentionWarning added in v0.2.72

func (x *PromptResponse) GetMentionWarning() string

func (*PromptResponse) GetPrivateText

func (x *PromptResponse) GetPrivateText() string

func (*PromptResponse) ProtoMessage

func (*PromptResponse) ProtoMessage()

func (*PromptResponse) ProtoReflect

func (x *PromptResponse) ProtoReflect() protoreflect.Message

func (*PromptResponse) Reset

func (x *PromptResponse) Reset()

func (*PromptResponse) String

func (x *PromptResponse) String() string

type ProtocolRequest

type ProtocolRequest struct {
	// contains filtered or unexported fields
}

func (*ProtocolRequest) Descriptor deprecated

func (*ProtocolRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProtocolRequest.ProtoReflect.Descriptor instead.

func (*ProtocolRequest) ProtoMessage

func (*ProtocolRequest) ProtoMessage()

func (*ProtocolRequest) ProtoReflect

func (x *ProtocolRequest) ProtoReflect() protoreflect.Message

func (*ProtocolRequest) Reset

func (x *ProtocolRequest) Reset()

func (*ProtocolRequest) String

func (x *ProtocolRequest) String() string

type ProtocolResponse

type ProtocolResponse struct {
	ProtoSha256 string `protobuf:"bytes,1,opt,name=proto_sha256,json=protoSha256,proto3" json:"proto_sha256,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolResponse) Descriptor deprecated

func (*ProtocolResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProtocolResponse.ProtoReflect.Descriptor instead.

func (*ProtocolResponse) GetProtoSha256

func (x *ProtocolResponse) GetProtoSha256() string

func (*ProtocolResponse) ProtoMessage

func (*ProtocolResponse) ProtoMessage()

func (*ProtocolResponse) ProtoReflect

func (x *ProtocolResponse) ProtoReflect() protoreflect.Message

func (*ProtocolResponse) Reset

func (x *ProtocolResponse) Reset()

func (*ProtocolResponse) String

func (x *ProtocolResponse) String() string

type QuestionOption added in v0.1.27

type QuestionOption struct {
	Label       string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	Value       string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*QuestionOption) Descriptor deprecated added in v0.1.27

func (*QuestionOption) Descriptor() ([]byte, []int)

Deprecated: Use QuestionOption.ProtoReflect.Descriptor instead.

func (*QuestionOption) GetDescription added in v0.1.27

func (x *QuestionOption) GetDescription() string

func (*QuestionOption) GetLabel added in v0.1.27

func (x *QuestionOption) GetLabel() string

func (*QuestionOption) GetValue added in v0.1.27

func (x *QuestionOption) GetValue() string

func (*QuestionOption) ProtoMessage added in v0.1.27

func (*QuestionOption) ProtoMessage()

func (*QuestionOption) ProtoReflect added in v0.1.27

func (x *QuestionOption) ProtoReflect() protoreflect.Message

func (*QuestionOption) Reset added in v0.1.27

func (x *QuestionOption) Reset()

func (*QuestionOption) String added in v0.1.27

func (x *QuestionOption) String() string

type QueueItem

type QueueItem struct {
	Id          string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Text        string         `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Attachments []*Attachment  `protobuf:"bytes,3,rep,name=attachments,proto3" json:"attachments,omitempty"`
	Delivery    PromptDelivery `protobuf:"varint,4,opt,name=delivery,proto3,enum=rpc.PromptDelivery" json:"delivery,omitempty"`
	Principal   string         `protobuf:"bytes,5,opt,name=principal,proto3" json:"principal,omitempty"`
	EditText    *string        `protobuf:"bytes,6,opt,name=edit_text,json=editText,proto3,oneof" json:"edit_text,omitempty"`
	// contains filtered or unexported fields
}

func (*QueueItem) Descriptor deprecated

func (*QueueItem) Descriptor() ([]byte, []int)

Deprecated: Use QueueItem.ProtoReflect.Descriptor instead.

func (*QueueItem) GetAttachments

func (x *QueueItem) GetAttachments() []*Attachment

func (*QueueItem) GetDelivery

func (x *QueueItem) GetDelivery() PromptDelivery

func (*QueueItem) GetEditText added in v0.1.63

func (x *QueueItem) GetEditText() string

func (*QueueItem) GetId

func (x *QueueItem) GetId() string

func (*QueueItem) GetPrincipal added in v0.1.12

func (x *QueueItem) GetPrincipal() string

func (*QueueItem) GetText

func (x *QueueItem) GetText() string

func (*QueueItem) ProtoMessage

func (*QueueItem) ProtoMessage()

func (*QueueItem) ProtoReflect

func (x *QueueItem) ProtoReflect() protoreflect.Message

func (*QueueItem) Reset

func (x *QueueItem) Reset()

func (*QueueItem) String

func (x *QueueItem) String() string

type QueueItemRequest

type QueueItemRequest struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	Text   string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*QueueItemRequest) Descriptor deprecated

func (*QueueItemRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueueItemRequest.ProtoReflect.Descriptor instead.

func (*QueueItemRequest) GetId

func (x *QueueItemRequest) GetId() string

func (*QueueItemRequest) GetItemId

func (x *QueueItemRequest) GetItemId() string

func (*QueueItemRequest) GetText added in v0.1.63

func (x *QueueItemRequest) GetText() string

func (*QueueItemRequest) ProtoMessage

func (*QueueItemRequest) ProtoMessage()

func (*QueueItemRequest) ProtoReflect

func (x *QueueItemRequest) ProtoReflect() protoreflect.Message

func (*QueueItemRequest) Reset

func (x *QueueItemRequest) Reset()

func (*QueueItemRequest) String

func (x *QueueItemRequest) String() string

type QueueItemResponse

type QueueItemResponse struct {
	// contains filtered or unexported fields
}

func (*QueueItemResponse) Descriptor deprecated

func (*QueueItemResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueueItemResponse.ProtoReflect.Descriptor instead.

func (*QueueItemResponse) ProtoMessage

func (*QueueItemResponse) ProtoMessage()

func (*QueueItemResponse) ProtoReflect

func (x *QueueItemResponse) ProtoReflect() protoreflect.Message

func (*QueueItemResponse) Reset

func (x *QueueItemResponse) Reset()

func (*QueueItemResponse) String

func (x *QueueItemResponse) String() string

type ReloadRequest added in v0.1.37

type ReloadRequest struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*ReloadRequest) Descriptor deprecated added in v0.1.37

func (*ReloadRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReloadRequest.ProtoReflect.Descriptor instead.

func (*ReloadRequest) GetReason added in v0.1.37

func (x *ReloadRequest) GetReason() string

func (*ReloadRequest) ProtoMessage added in v0.1.37

func (*ReloadRequest) ProtoMessage()

func (*ReloadRequest) ProtoReflect added in v0.1.37

func (x *ReloadRequest) ProtoReflect() protoreflect.Message

func (*ReloadRequest) Reset added in v0.1.37

func (x *ReloadRequest) Reset()

func (*ReloadRequest) String added in v0.1.37

func (x *ReloadRequest) String() string

type ReloadResponse added in v0.1.37

type ReloadResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ReloadResponse) Descriptor deprecated added in v0.1.37

func (*ReloadResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReloadResponse.ProtoReflect.Descriptor instead.

func (*ReloadResponse) GetMessage added in v0.1.37

func (x *ReloadResponse) GetMessage() string

func (*ReloadResponse) ProtoMessage added in v0.1.37

func (*ReloadResponse) ProtoMessage()

func (*ReloadResponse) ProtoReflect added in v0.1.37

func (x *ReloadResponse) ProtoReflect() protoreflect.Message

func (*ReloadResponse) Reset added in v0.1.37

func (x *ReloadResponse) Reset()

func (*ReloadResponse) String added in v0.1.37

func (x *ReloadResponse) String() string

type ReorderQueueRequest

type ReorderQueueRequest struct {
	Id      string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ItemIds []string `protobuf:"bytes,2,rep,name=item_ids,json=itemIds,proto3" json:"item_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ReorderQueueRequest) Descriptor deprecated

func (*ReorderQueueRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReorderQueueRequest.ProtoReflect.Descriptor instead.

func (*ReorderQueueRequest) GetId

func (x *ReorderQueueRequest) GetId() string

func (*ReorderQueueRequest) GetItemIds

func (x *ReorderQueueRequest) GetItemIds() []string

func (*ReorderQueueRequest) ProtoMessage

func (*ReorderQueueRequest) ProtoMessage()

func (*ReorderQueueRequest) ProtoReflect

func (x *ReorderQueueRequest) ProtoReflect() protoreflect.Message

func (*ReorderQueueRequest) Reset

func (x *ReorderQueueRequest) Reset()

func (*ReorderQueueRequest) String

func (x *ReorderQueueRequest) String() string

type ReportTypingRequest added in v0.2.37

type ReportTypingRequest struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Typing bool   `protobuf:"varint,2,opt,name=typing,proto3" json:"typing,omitempty"`
	Tab    string `protobuf:"bytes,3,opt,name=tab,proto3" json:"tab,omitempty"`
	Seq    uint32 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

The caller started or stopped typing in conversation id. The draft's text never travels. tab names the browser tab reporting and seq numbers its reports from 1: the server drops a report numbered no higher than one it took from that tab, so a report that arrives late never undoes a later one.

func (*ReportTypingRequest) Descriptor deprecated added in v0.2.37

func (*ReportTypingRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReportTypingRequest.ProtoReflect.Descriptor instead.

func (*ReportTypingRequest) GetId added in v0.2.37

func (x *ReportTypingRequest) GetId() string

func (*ReportTypingRequest) GetSeq added in v0.2.37

func (x *ReportTypingRequest) GetSeq() uint32

func (*ReportTypingRequest) GetTab added in v0.2.37

func (x *ReportTypingRequest) GetTab() string

func (*ReportTypingRequest) GetTyping added in v0.2.37

func (x *ReportTypingRequest) GetTyping() bool

func (*ReportTypingRequest) ProtoMessage added in v0.2.37

func (*ReportTypingRequest) ProtoMessage()

func (*ReportTypingRequest) ProtoReflect added in v0.2.37

func (x *ReportTypingRequest) ProtoReflect() protoreflect.Message

func (*ReportTypingRequest) Reset added in v0.2.37

func (x *ReportTypingRequest) Reset()

func (*ReportTypingRequest) String added in v0.2.37

func (x *ReportTypingRequest) String() string

type ReportTypingResponse added in v0.2.37

type ReportTypingResponse struct {
	// contains filtered or unexported fields
}

func (*ReportTypingResponse) Descriptor deprecated added in v0.2.37

func (*ReportTypingResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReportTypingResponse.ProtoReflect.Descriptor instead.

func (*ReportTypingResponse) ProtoMessage added in v0.2.37

func (*ReportTypingResponse) ProtoMessage()

func (*ReportTypingResponse) ProtoReflect added in v0.2.37

func (x *ReportTypingResponse) ProtoReflect() protoreflect.Message

func (*ReportTypingResponse) Reset added in v0.2.37

func (x *ReportTypingResponse) Reset()

func (*ReportTypingResponse) String added in v0.2.37

func (x *ReportTypingResponse) String() string

type RevertBoundary added in v0.2.63

type RevertBoundary int32
const (
	RevertBoundary_BEFORE  RevertBoundary = 0
	RevertBoundary_THROUGH RevertBoundary = 1
)

func (RevertBoundary) Descriptor added in v0.2.63

func (RevertBoundary) Enum added in v0.2.63

func (x RevertBoundary) Enum() *RevertBoundary

func (RevertBoundary) EnumDescriptor deprecated added in v0.2.63

func (RevertBoundary) EnumDescriptor() ([]byte, []int)

Deprecated: Use RevertBoundary.Descriptor instead.

func (RevertBoundary) Number added in v0.2.63

func (RevertBoundary) String added in v0.2.63

func (x RevertBoundary) String() string

func (RevertBoundary) Type added in v0.2.63

type Routine added in v0.2.77

type Routine struct {
	Stem     string   `protobuf:"bytes,1,opt,name=stem,proto3" json:"stem,omitempty"`
	Status   string   `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	LastRun  string   `protobuf:"bytes,3,opt,name=last_run,json=lastRun,proto3" json:"last_run,omitempty"`
	NextRun  string   `protobuf:"bytes,4,opt,name=next_run,json=nextRun,proto3" json:"next_run,omitempty"`
	Schedule string   `protobuf:"bytes,5,opt,name=schedule,proto3" json:"schedule,omitempty"`
	Body     string   `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
	Agent    string   `protobuf:"bytes,7,opt,name=agent,proto3" json:"agent,omitempty"`
	Upcoming []string `protobuf:"bytes,9,rep,name=upcoming,proto3" json:"upcoming,omitempty"`
	Origin   string   `protobuf:"bytes,10,opt,name=origin,proto3" json:"origin,omitempty"`
	// The job's space, else its agent's; empty shows the job in every space.
	Space string `protobuf:"bytes,11,opt,name=space,proto3" json:"space,omitempty"`
	// contains filtered or unexported fields
}

func (*Routine) Descriptor deprecated added in v0.2.77

func (*Routine) Descriptor() ([]byte, []int)

Deprecated: Use Routine.ProtoReflect.Descriptor instead.

func (*Routine) GetAgent added in v0.2.77

func (x *Routine) GetAgent() string

func (*Routine) GetBody added in v0.2.77

func (x *Routine) GetBody() string

func (*Routine) GetLastRun added in v0.2.77

func (x *Routine) GetLastRun() string

func (*Routine) GetNextRun added in v0.2.77

func (x *Routine) GetNextRun() string

func (*Routine) GetOrigin added in v0.2.77

func (x *Routine) GetOrigin() string

func (*Routine) GetSchedule added in v0.2.77

func (x *Routine) GetSchedule() string

func (*Routine) GetSpace added in v0.2.77

func (x *Routine) GetSpace() string

func (*Routine) GetStatus added in v0.2.77

func (x *Routine) GetStatus() string

func (*Routine) GetStem added in v0.2.77

func (x *Routine) GetStem() string

func (*Routine) GetUpcoming added in v0.2.77

func (x *Routine) GetUpcoming() []string

func (*Routine) ProtoMessage added in v0.2.77

func (*Routine) ProtoMessage()

func (*Routine) ProtoReflect added in v0.2.77

func (x *Routine) ProtoReflect() protoreflect.Message

func (*Routine) Reset added in v0.2.77

func (x *Routine) Reset()

func (*Routine) String added in v0.2.77

func (x *Routine) String() string

type Routines added in v0.2.77

type Routines interface {
	Jobs() ([]routinefrontend.Job, error)
	LoadOneOffRoutine(string) (protocol.OneOffRoutine, error)
	RunOneOffRoutine(context.Context, *protocol.OneOffRoutine) (protocol.RoutineRunResult, error)
}

type RunRoutineRequest added in v0.2.77

type RunRoutineRequest struct {
	Stem string `protobuf:"bytes,1,opt,name=stem,proto3" json:"stem,omitempty"`
	// contains filtered or unexported fields
}

func (*RunRoutineRequest) Descriptor deprecated added in v0.2.77

func (*RunRoutineRequest) Descriptor() ([]byte, []int)

Deprecated: Use RunRoutineRequest.ProtoReflect.Descriptor instead.

func (*RunRoutineRequest) GetStem added in v0.2.77

func (x *RunRoutineRequest) GetStem() string

func (*RunRoutineRequest) ProtoMessage added in v0.2.77

func (*RunRoutineRequest) ProtoMessage()

func (*RunRoutineRequest) ProtoReflect added in v0.2.77

func (x *RunRoutineRequest) ProtoReflect() protoreflect.Message

func (*RunRoutineRequest) Reset added in v0.2.77

func (x *RunRoutineRequest) Reset()

func (*RunRoutineRequest) String added in v0.2.77

func (x *RunRoutineRequest) String() string

type RunRoutineResponse added in v0.2.77

type RunRoutineResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RunRoutineResponse) Descriptor deprecated added in v0.2.77

func (*RunRoutineResponse) Descriptor() ([]byte, []int)

Deprecated: Use RunRoutineResponse.ProtoReflect.Descriptor instead.

func (*RunRoutineResponse) GetId added in v0.2.77

func (x *RunRoutineResponse) GetId() string

func (*RunRoutineResponse) ProtoMessage added in v0.2.77

func (*RunRoutineResponse) ProtoMessage()

func (*RunRoutineResponse) ProtoReflect added in v0.2.77

func (x *RunRoutineResponse) ProtoReflect() protoreflect.Message

func (*RunRoutineResponse) Reset added in v0.2.77

func (x *RunRoutineResponse) Reset()

func (*RunRoutineResponse) String added in v0.2.77

func (x *RunRoutineResponse) String() string

type SaveBehaviorSettingsRequest added in v0.2.41

type SaveBehaviorSettingsRequest struct {
	DocumentJson string `protobuf:"bytes,1,opt,name=document_json,json=documentJson,proto3" json:"document_json,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveBehaviorSettingsRequest) Descriptor deprecated added in v0.2.41

func (*SaveBehaviorSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveBehaviorSettingsRequest.ProtoReflect.Descriptor instead.

func (*SaveBehaviorSettingsRequest) GetDocumentJson added in v0.2.41

func (x *SaveBehaviorSettingsRequest) GetDocumentJson() string

func (*SaveBehaviorSettingsRequest) ProtoMessage added in v0.2.41

func (*SaveBehaviorSettingsRequest) ProtoMessage()

func (*SaveBehaviorSettingsRequest) ProtoReflect added in v0.2.41

func (*SaveBehaviorSettingsRequest) Reset added in v0.2.41

func (x *SaveBehaviorSettingsRequest) Reset()

func (*SaveBehaviorSettingsRequest) String added in v0.2.41

func (x *SaveBehaviorSettingsRequest) String() string

type SaveMCPServerRequest added in v0.2.85

type SaveMCPServerRequest struct {

	// The whole server, replacing any stored server of the same name.
	Server *MCPServerSetting `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	// True to add a new server, refused when the name is taken; false to edit an existing one, refused when it is missing.
	Create bool `protobuf:"varint,2,opt,name=create,proto3" json:"create,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveMCPServerRequest) Descriptor deprecated added in v0.2.85

func (*SaveMCPServerRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveMCPServerRequest.ProtoReflect.Descriptor instead.

func (*SaveMCPServerRequest) GetCreate added in v0.2.85

func (x *SaveMCPServerRequest) GetCreate() bool

func (*SaveMCPServerRequest) GetServer added in v0.2.85

func (x *SaveMCPServerRequest) GetServer() *MCPServerSetting

func (*SaveMCPServerRequest) ProtoMessage added in v0.2.85

func (*SaveMCPServerRequest) ProtoMessage()

func (*SaveMCPServerRequest) ProtoReflect added in v0.2.85

func (x *SaveMCPServerRequest) ProtoReflect() protoreflect.Message

func (*SaveMCPServerRequest) Reset added in v0.2.85

func (x *SaveMCPServerRequest) Reset()

func (*SaveMCPServerRequest) String added in v0.2.85

func (x *SaveMCPServerRequest) String() string

type SavedSearch added in v0.2.14

type SavedSearch struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

SavedSearch is one search on a Search page: its id, the name the person gave it, and its query.

func (*SavedSearch) Descriptor deprecated added in v0.2.14

func (*SavedSearch) Descriptor() ([]byte, []int)

Deprecated: Use SavedSearch.ProtoReflect.Descriptor instead.

func (*SavedSearch) GetId added in v0.2.14

func (x *SavedSearch) GetId() string

func (*SavedSearch) GetName added in v0.2.14

func (x *SavedSearch) GetName() string

func (*SavedSearch) GetQuery added in v0.2.14

func (x *SavedSearch) GetQuery() string

func (*SavedSearch) ProtoMessage added in v0.2.14

func (*SavedSearch) ProtoMessage()

func (*SavedSearch) ProtoReflect added in v0.2.14

func (x *SavedSearch) ProtoReflect() protoreflect.Message

func (*SavedSearch) Reset added in v0.2.14

func (x *SavedSearch) Reset()

func (*SavedSearch) String added in v0.2.14

func (x *SavedSearch) String() string

type SearchPage added in v0.2.14

type SearchPage struct {
	Name     string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Searches []*SavedSearch `protobuf:"bytes,2,rep,name=searches,proto3" json:"searches,omitempty"`
	Active   string         `protobuf:"bytes,3,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

SearchPage is a Search tab's name and its searches, active naming the shown one by id.

func (*SearchPage) Descriptor deprecated added in v0.2.14

func (*SearchPage) Descriptor() ([]byte, []int)

Deprecated: Use SearchPage.ProtoReflect.Descriptor instead.

func (*SearchPage) GetActive added in v0.2.14

func (x *SearchPage) GetActive() string

func (*SearchPage) GetName added in v0.2.14

func (x *SearchPage) GetName() string

func (*SearchPage) GetSearches added in v0.2.14

func (x *SearchPage) GetSearches() []*SavedSearch

func (*SearchPage) ProtoMessage added in v0.2.14

func (*SearchPage) ProtoMessage()

func (*SearchPage) ProtoReflect added in v0.2.14

func (x *SearchPage) ProtoReflect() protoreflect.Message

func (*SearchPage) Reset added in v0.2.14

func (x *SearchPage) Reset()

func (*SearchPage) String added in v0.2.14

func (x *SearchPage) String() string

type SearchSessionsRequest added in v0.1.27

type SearchSessionsRequest struct {
	Query    string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Messages bool   `protobuf:"varint,2,opt,name=messages,proto3" json:"messages,omitempty"`
	Filters  bool   `protobuf:"varint,3,opt,name=filters,proto3" json:"filters,omitempty"`
	Tab      string `protobuf:"bytes,4,opt,name=tab,proto3" json:"tab,omitempty"`
	SearchId string `protobuf:"bytes,5,opt,name=search_id,json=searchId,proto3" json:"search_id,omitempty"`
	Entered  bool   `protobuf:"varint,6,opt,name=entered,proto3" json:"entered,omitempty"`
	Fresh    bool   `protobuf:"varint,7,opt,name=fresh,proto3" json:"fresh,omitempty"`
	// contains filtered or unexported fields
}

filters applies only the filters, leaving free text to the caller, and wins over messages. A Search page names its tab and search_id, and its search runs on the server past the request: the same query joins that run or takes its finished answer, once; another query replaces it. entered says the person entered the query, so the run marks the tab when it finishes. fresh says the caller's session list changed since it last asked: the same query starts over, and a run still going that the person entered hands that on.

func (*SearchSessionsRequest) Descriptor deprecated added in v0.1.27

func (*SearchSessionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchSessionsRequest.ProtoReflect.Descriptor instead.

func (*SearchSessionsRequest) GetEntered added in v0.2.31

func (x *SearchSessionsRequest) GetEntered() bool

func (*SearchSessionsRequest) GetFilters added in v0.1.62

func (x *SearchSessionsRequest) GetFilters() bool

func (*SearchSessionsRequest) GetFresh added in v0.2.31

func (x *SearchSessionsRequest) GetFresh() bool

func (*SearchSessionsRequest) GetMessages added in v0.1.27

func (x *SearchSessionsRequest) GetMessages() bool

func (*SearchSessionsRequest) GetQuery added in v0.1.27

func (x *SearchSessionsRequest) GetQuery() string

func (*SearchSessionsRequest) GetSearchId added in v0.2.31

func (x *SearchSessionsRequest) GetSearchId() string

func (*SearchSessionsRequest) GetTab added in v0.2.31

func (x *SearchSessionsRequest) GetTab() string

func (*SearchSessionsRequest) ProtoMessage added in v0.1.27

func (*SearchSessionsRequest) ProtoMessage()

func (*SearchSessionsRequest) ProtoReflect added in v0.1.27

func (x *SearchSessionsRequest) ProtoReflect() protoreflect.Message

func (*SearchSessionsRequest) Reset added in v0.1.27

func (x *SearchSessionsRequest) Reset()

func (*SearchSessionsRequest) String added in v0.1.27

func (x *SearchSessionsRequest) String() string

type SearchSessionsResponse added in v0.1.27

type SearchSessionsResponse struct {
	Terms []*SearchTerm `protobuf:"bytes,1,rep,name=terms,proto3" json:"terms,omitempty"`
	// The query without its terms; needle is text lowercased.
	Text       string          `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Needle     string          `protobuf:"bytes,3,opt,name=needle,proto3" json:"needle,omitempty"`
	Matches    []*SessionMatch `protobuf:"bytes,4,rep,name=matches,proto3" json:"matches,omitempty"`
	Messages   []*MessageMatch `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"`
	MentionIds []string        `protobuf:"bytes,6,rep,name=mention_ids,json=mentionIds,proto3" json:"mention_ids,omitempty"`
	Principals []string        `protobuf:"bytes,9,rep,name=principals,proto3" json:"principals,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchSessionsResponse) Descriptor deprecated added in v0.1.27

func (*SearchSessionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchSessionsResponse.ProtoReflect.Descriptor instead.

func (*SearchSessionsResponse) GetMatches added in v0.1.27

func (x *SearchSessionsResponse) GetMatches() []*SessionMatch

func (*SearchSessionsResponse) GetMentionIds added in v0.1.27

func (x *SearchSessionsResponse) GetMentionIds() []string

func (*SearchSessionsResponse) GetMessages added in v0.1.27

func (x *SearchSessionsResponse) GetMessages() []*MessageMatch

func (*SearchSessionsResponse) GetNeedle added in v0.1.27

func (x *SearchSessionsResponse) GetNeedle() string

func (*SearchSessionsResponse) GetPrincipals added in v0.1.40

func (x *SearchSessionsResponse) GetPrincipals() []string

func (*SearchSessionsResponse) GetTerms added in v0.1.27

func (x *SearchSessionsResponse) GetTerms() []*SearchTerm

func (*SearchSessionsResponse) GetText added in v0.1.27

func (x *SearchSessionsResponse) GetText() string

func (*SearchSessionsResponse) ProtoMessage added in v0.1.27

func (*SearchSessionsResponse) ProtoMessage()

func (*SearchSessionsResponse) ProtoReflect added in v0.1.27

func (x *SearchSessionsResponse) ProtoReflect() protoreflect.Message

func (*SearchSessionsResponse) Reset added in v0.1.27

func (x *SearchSessionsResponse) Reset()

func (*SearchSessionsResponse) String added in v0.1.27

func (x *SearchSessionsResponse) String() string

type SearchTerm added in v0.1.27

type SearchTerm struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Text  string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Start int32  `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	End   int32  `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

A filter term; start and end are UTF-16 code-unit offsets in the submitted query.

func (*SearchTerm) Descriptor deprecated added in v0.1.27

func (*SearchTerm) Descriptor() ([]byte, []int)

Deprecated: Use SearchTerm.ProtoReflect.Descriptor instead.

func (*SearchTerm) GetEnd added in v0.1.27

func (x *SearchTerm) GetEnd() int32

func (*SearchTerm) GetKey added in v0.1.27

func (x *SearchTerm) GetKey() string

func (*SearchTerm) GetStart added in v0.1.27

func (x *SearchTerm) GetStart() int32

func (*SearchTerm) GetText added in v0.1.27

func (x *SearchTerm) GetText() string

func (*SearchTerm) ProtoMessage added in v0.1.27

func (*SearchTerm) ProtoMessage()

func (*SearchTerm) ProtoReflect added in v0.1.27

func (x *SearchTerm) ProtoReflect() protoreflect.Message

func (*SearchTerm) Reset added in v0.1.27

func (x *SearchTerm) Reset()

func (*SearchTerm) String added in v0.1.27

func (x *SearchTerm) String() string

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(core frontend.Backend, sessions *backend.SessionService, cfg *config.LockedConfig, channels ChannelAgentChoices, routines Routines) *Server

func (*Server) DeleteSession added in v0.2.44

func (s *Server) DeleteSession(ctx context.Context, request *DeleteSessionRequest) (*DeleteSessionResponse, error)

func (*Server) Register

func (s *Server) Register(registrar grpc.ServiceRegistrar)

func (*Server) StopSearches added in v0.2.31

func (s *Server) StopSearches()

type Session

type Session struct {
	Id         string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title      string   `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Preview    string   `protobuf:"bytes,3,opt,name=preview,proto3" json:"preview,omitempty"`
	UpdatedAt  string   `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Agent      string   `protobuf:"bytes,5,opt,name=agent,proto3" json:"agent,omitempty"`
	Running    bool     `protobuf:"varint,8,opt,name=running,proto3" json:"running,omitempty"`
	Name       string   `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
	ForkedFrom string   `protobuf:"bytes,13,opt,name=forked_from,json=forkedFrom,proto3" json:"forked_from,omitempty"`
	Tags       []string `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"`
	// The chat's recorded origin is a routine run, even after human follow-ups.
	Routine     bool   `protobuf:"varint,15,opt,name=routine,proto3" json:"routine,omitempty"`
	RoutineName string `protobuf:"bytes,16,opt,name=routine_name,json=routineName,proto3" json:"routine_name,omitempty"`
	// A remote OpenCode session names its configured server and folder; offline while it is unreachable.
	Server    string `protobuf:"bytes,17,opt,name=server,proto3" json:"server,omitempty"`
	Directory string `protobuf:"bytes,18,opt,name=directory,proto3" json:"directory,omitempty"`
	Offline   bool   `protobuf:"varint,19,opt,name=offline,proto3" json:"offline,omitempty"`
	// The Web space the session was born in, empty for none.
	SpaceId string `protobuf:"bytes,20,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	// A remote OpenCode session's newest assistant text, read when its last seen turn ended.
	Reply string `protobuf:"bytes,21,opt,name=reply,proto3" json:"reply,omitempty"`
	// Work that can wake the session after its turn runs: a running Background Job, or a remote
	// OpenCode session's running child session or shell command.
	Background bool `protobuf:"varint,22,opt,name=background,proto3" json:"background,omitempty"`
	// A remote OpenCode session's selected model, "<provider>/<model>"; agent is its selected agent.
	Model string           `protobuf:"bytes,23,opt,name=model,proto3" json:"model,omitempty"`
	Kind  ConversationKind `protobuf:"varint,24,opt,name=kind,proto3,enum=rpc.ConversationKind" json:"kind,omitempty"`
	// A remote OpenCode session's own ID on its server.
	RemoteSessionId string `protobuf:"bytes,25,opt,name=remote_session_id,json=remoteSessionId,proto3" json:"remote_session_id,omitempty"`
	// What the session is called when it has no name or preview.
	Label string `protobuf:"bytes,26,opt,name=label,proto3" json:"label,omitempty"`
	// When something new started waiting for the caller, RFC3339Nano; empty once read.
	UnreadAt string `protobuf:"bytes,27,opt,name=unread_at,json=unreadAt,proto3" json:"unread_at,omitempty"`
	// The session waits on a person: a running turn's unanswered question, or a remote OpenCode
	// session's pending form or permission request, its own or a child session's.
	Asking bool `protobuf:"varint,28,opt,name=asking,proto3" json:"asking,omitempty"`
	// When the session's work, its runs reporting to it included, entered its current state, RFC3339Nano.
	StateSince string `protobuf:"bytes,30,opt,name=state_since,json=stateSince,proto3" json:"state_since,omitempty"`
	// The caller's mark raises no notification: they set it themselves, or it was written while the tab was parked
	// or was there when they parked it.
	MarkedUnread bool `protobuf:"varint,33,opt,name=marked_unread,json=markedUnread,proto3" json:"marked_unread,omitempty"`
	// The caller parked its tab.
	Parked bool `protobuf:"varint,34,opt,name=parked,proto3" json:"parked,omitempty"`
	// When its park ends, RFC3339Nano; empty for none.
	Until string `protobuf:"bytes,35,opt,name=until,proto3" json:"until,omitempty"`
	// With a mark, the notification text a timer wrote: "Park ended"; else empty.
	Note string `protobuf:"bytes,36,opt,name=note,proto3" json:"note,omitempty"`
	// The caller parked its tab until the session is idle after its work, which has no time.
	UntilDone bool `protobuf:"varint,37,opt,name=until_done,json=untilDone,proto3" json:"until_done,omitempty"`
	// A prompt the caller sends parks its tab until it is done: by their choice for the session, else for every session.
	AutoPark bool `protobuf:"varint,38,opt,name=auto_park,json=autoPark,proto3" json:"auto_park,omitempty"`
	// The caller unfollowed its tab: the server marks it unread for them only when they mark it themselves.
	Unfollowed bool `protobuf:"varint,41,opt,name=unfollowed,proto3" json:"unfollowed,omitempty"`
	// A remote OpenCode session waits on an active automation timer that will wake it, its own or a child session's.
	Automation bool `protobuf:"varint,42,opt,name=automation,proto3" json:"automation,omitempty"`
	// A goal is active in the session, between its turns too, until it ends or someone stops it.
	Goal bool `protobuf:"varint,43,opt,name=goal,proto3" json:"goal,omitempty"`
	// contains filtered or unexported fields
}

func (*Session) Descriptor deprecated

func (*Session) Descriptor() ([]byte, []int)

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetAgent

func (x *Session) GetAgent() string

func (*Session) GetAsking added in v0.2.18

func (x *Session) GetAsking() bool

func (*Session) GetAutoPark added in v0.2.31

func (x *Session) GetAutoPark() bool

func (*Session) GetAutomation added in v0.2.67

func (x *Session) GetAutomation() bool

func (*Session) GetBackground added in v0.1.61

func (x *Session) GetBackground() bool

func (*Session) GetDirectory added in v0.1.47

func (x *Session) GetDirectory() string

func (*Session) GetForkedFrom added in v0.1.3

func (x *Session) GetForkedFrom() string

func (*Session) GetGoal added in v0.2.79

func (x *Session) GetGoal() bool

func (*Session) GetId

func (x *Session) GetId() string

func (*Session) GetKind added in v0.2.0

func (x *Session) GetKind() ConversationKind

func (*Session) GetLabel added in v0.2.0

func (x *Session) GetLabel() string

func (*Session) GetMarkedUnread added in v0.2.26

func (x *Session) GetMarkedUnread() bool

func (*Session) GetModel added in v0.1.61

func (x *Session) GetModel() string

func (*Session) GetName

func (x *Session) GetName() string

func (*Session) GetNote added in v0.2.31

func (x *Session) GetNote() string

func (*Session) GetOffline added in v0.1.47

func (x *Session) GetOffline() bool

func (*Session) GetParked added in v0.2.31

func (x *Session) GetParked() bool

func (*Session) GetPreview

func (x *Session) GetPreview() string

func (*Session) GetRemoteSessionId added in v0.2.0

func (x *Session) GetRemoteSessionId() string

func (*Session) GetReply added in v0.1.56

func (x *Session) GetReply() string

func (*Session) GetRoutine added in v0.2.77

func (x *Session) GetRoutine() bool

func (*Session) GetRoutineName added in v0.2.77

func (x *Session) GetRoutineName() string

func (*Session) GetRunning

func (x *Session) GetRunning() bool

func (*Session) GetServer added in v0.1.47

func (x *Session) GetServer() string

func (*Session) GetSpaceId added in v0.1.53

func (x *Session) GetSpaceId() string

func (*Session) GetStateSince added in v0.2.19

func (x *Session) GetStateSince() string

func (*Session) GetTags added in v0.1.12

func (x *Session) GetTags() []string

func (*Session) GetTitle

func (x *Session) GetTitle() string

func (*Session) GetUnfollowed added in v0.2.50

func (x *Session) GetUnfollowed() bool

func (*Session) GetUnreadAt added in v0.2.2

func (x *Session) GetUnreadAt() string

func (*Session) GetUntil added in v0.2.31

func (x *Session) GetUntil() string

func (*Session) GetUntilDone added in v0.2.31

func (x *Session) GetUntilDone() bool

func (*Session) GetUpdatedAt

func (x *Session) GetUpdatedAt() string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

func (x *Session) ProtoReflect() protoreflect.Message

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

type SessionMatch added in v0.1.27

type SessionMatch struct {
	ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	Field          string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`
	Text           string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

A found chat and the field (Name, Room, Agent, Session, Origin or Preview) whose text holds the needle; an empty field means only message text did.

func (*SessionMatch) Descriptor deprecated added in v0.1.27

func (*SessionMatch) Descriptor() ([]byte, []int)

Deprecated: Use SessionMatch.ProtoReflect.Descriptor instead.

func (*SessionMatch) GetConversationId added in v0.1.27

func (x *SessionMatch) GetConversationId() string

func (*SessionMatch) GetField added in v0.1.27

func (x *SessionMatch) GetField() string

func (*SessionMatch) GetText added in v0.1.27

func (x *SessionMatch) GetText() string

func (*SessionMatch) ProtoMessage added in v0.1.27

func (*SessionMatch) ProtoMessage()

func (*SessionMatch) ProtoReflect added in v0.1.27

func (x *SessionMatch) ProtoReflect() protoreflect.Message

func (*SessionMatch) Reset added in v0.1.27

func (x *SessionMatch) Reset()

func (*SessionMatch) String added in v0.1.27

func (x *SessionMatch) String() string

type ShadowBinding added in v0.1.33

type ShadowBinding struct {
	ParentConversationId string        `protobuf:"bytes,1,opt,name=parent_conversation_id,json=parentConversationId,proto3" json:"parent_conversation_id,omitempty"`
	ParentAgent          string        `protobuf:"bytes,2,opt,name=parent_agent,json=parentAgent,proto3" json:"parent_agent,omitempty"`
	ShadowAgent          string        `protobuf:"bytes,3,opt,name=shadow_agent,json=shadowAgent,proto3" json:"shadow_agent,omitempty"`
	ChildConversationId  string        `protobuf:"bytes,4,opt,name=child_conversation_id,json=childConversationId,proto3" json:"child_conversation_id,omitempty"`
	Turns                []*ShadowTurn `protobuf:"bytes,5,rep,name=turns,proto3" json:"turns,omitempty"`
	// contains filtered or unexported fields
}

func (*ShadowBinding) Descriptor deprecated added in v0.1.33

func (*ShadowBinding) Descriptor() ([]byte, []int)

Deprecated: Use ShadowBinding.ProtoReflect.Descriptor instead.

func (*ShadowBinding) GetChildConversationId added in v0.1.33

func (x *ShadowBinding) GetChildConversationId() string

func (*ShadowBinding) GetParentAgent added in v0.1.33

func (x *ShadowBinding) GetParentAgent() string

func (*ShadowBinding) GetParentConversationId added in v0.1.33

func (x *ShadowBinding) GetParentConversationId() string

func (*ShadowBinding) GetShadowAgent added in v0.1.33

func (x *ShadowBinding) GetShadowAgent() string

func (*ShadowBinding) GetTurns added in v0.1.33

func (x *ShadowBinding) GetTurns() []*ShadowTurn

func (*ShadowBinding) ProtoMessage added in v0.1.33

func (*ShadowBinding) ProtoMessage()

func (*ShadowBinding) ProtoReflect added in v0.1.33

func (x *ShadowBinding) ProtoReflect() protoreflect.Message

func (*ShadowBinding) Reset added in v0.1.33

func (x *ShadowBinding) Reset()

func (*ShadowBinding) String added in v0.1.33

func (x *ShadowBinding) String() string

type ShadowTurn added in v0.1.33

type ShadowTurn struct {
	ParentSourceConversationId string `` /* 143-byte string literal not displayed */
	ParentTurnId               string `protobuf:"bytes,2,opt,name=parent_turn_id,json=parentTurnId,proto3" json:"parent_turn_id,omitempty"`
	ChildTurnId                string `protobuf:"bytes,3,opt,name=child_turn_id,json=childTurnId,proto3" json:"child_turn_id,omitempty"`
	Order                      int64  `protobuf:"varint,4,opt,name=order,proto3" json:"order,omitempty"`
	Running                    bool   `protobuf:"varint,5,opt,name=running,proto3" json:"running,omitempty"`
	// Same terminal values as HistoryResponse; empty child ID and terminal means waiting.
	Terminal string `protobuf:"bytes,6,opt,name=terminal,proto3" json:"terminal,omitempty"`
	// Changes on child transcript updates, even when the parent transcript does not.
	Revision string `protobuf:"bytes,7,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*ShadowTurn) Descriptor deprecated added in v0.1.33

func (*ShadowTurn) Descriptor() ([]byte, []int)

Deprecated: Use ShadowTurn.ProtoReflect.Descriptor instead.

func (*ShadowTurn) GetChildTurnId added in v0.1.33

func (x *ShadowTurn) GetChildTurnId() string

func (*ShadowTurn) GetOrder added in v0.1.33

func (x *ShadowTurn) GetOrder() int64

func (*ShadowTurn) GetParentSourceConversationId added in v0.1.33

func (x *ShadowTurn) GetParentSourceConversationId() string

func (*ShadowTurn) GetParentTurnId added in v0.1.33

func (x *ShadowTurn) GetParentTurnId() string

func (*ShadowTurn) GetRevision added in v0.1.33

func (x *ShadowTurn) GetRevision() string

func (*ShadowTurn) GetRunning added in v0.1.33

func (x *ShadowTurn) GetRunning() bool

func (*ShadowTurn) GetTerminal added in v0.1.33

func (x *ShadowTurn) GetTerminal() string

func (*ShadowTurn) ProtoMessage added in v0.1.33

func (*ShadowTurn) ProtoMessage()

func (*ShadowTurn) ProtoReflect added in v0.1.33

func (x *ShadowTurn) ProtoReflect() protoreflect.Message

func (*ShadowTurn) Reset added in v0.1.33

func (x *ShadowTurn) Reset()

func (*ShadowTurn) String added in v0.1.33

func (x *ShadowTurn) String() string

type SharedTab added in v0.2.9

type SharedTab struct {
	Space string `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"`
	// path is the tab's location, such as /s/<id> or /oc/<id> with the session ID in unpadded URL-safe base64.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// A Search tab's one page, which everyone in the space sees and edits.
	Search *SearchPage `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"`
	// base is, in edit_shared, the page the edit was made from; an edit of a page that changed since is refused as stale.
	Base *SearchPage `protobuf:"bytes,4,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

SharedTab is one tab in a space's Shared group, which every Web user sees: its space id and location, and for a Search tab its one page.

func (*SharedTab) Descriptor deprecated added in v0.2.9

func (*SharedTab) Descriptor() ([]byte, []int)

Deprecated: Use SharedTab.ProtoReflect.Descriptor instead.

func (*SharedTab) GetBase added in v0.2.14

func (x *SharedTab) GetBase() *SearchPage

func (*SharedTab) GetPath added in v0.2.9

func (x *SharedTab) GetPath() string

func (*SharedTab) GetSearch added in v0.2.14

func (x *SharedTab) GetSearch() *SearchPage

func (*SharedTab) GetSpace added in v0.2.9

func (x *SharedTab) GetSpace() string

func (*SharedTab) ProtoMessage added in v0.2.9

func (*SharedTab) ProtoMessage()

func (*SharedTab) ProtoReflect added in v0.2.9

func (x *SharedTab) ProtoReflect() protoreflect.Message

func (*SharedTab) Reset added in v0.2.9

func (x *SharedTab) Reset()

func (*SharedTab) String added in v0.2.9

func (x *SharedTab) String() string

type ShellRun added in v0.2.61

type ShellRun struct {
	Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	Output  string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*ShellRun) Descriptor deprecated added in v0.2.61

func (*ShellRun) Descriptor() ([]byte, []int)

Deprecated: Use ShellRun.ProtoReflect.Descriptor instead.

func (*ShellRun) GetCommand added in v0.2.61

func (x *ShellRun) GetCommand() string

func (*ShellRun) GetOutput added in v0.2.61

func (x *ShellRun) GetOutput() string

func (*ShellRun) ProtoMessage added in v0.2.61

func (*ShellRun) ProtoMessage()

func (*ShellRun) ProtoReflect added in v0.2.61

func (x *ShellRun) ProtoReflect() protoreflect.Message

func (*ShellRun) Reset added in v0.2.61

func (x *ShellRun) Reset()

func (*ShellRun) String added in v0.2.61

func (x *ShellRun) String() string

type Skill

type Skill struct {
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description   string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	License       string `protobuf:"bytes,3,opt,name=license,proto3" json:"license,omitempty"`
	Compatibility string `protobuf:"bytes,4,opt,name=compatibility,proto3" json:"compatibility,omitempty"`
	Content       string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
	Origin        string `protobuf:"bytes,6,opt,name=origin,proto3" json:"origin,omitempty"`
	// contains filtered or unexported fields
}

func (*Skill) Descriptor deprecated

func (*Skill) Descriptor() ([]byte, []int)

Deprecated: Use Skill.ProtoReflect.Descriptor instead.

func (*Skill) GetCompatibility

func (x *Skill) GetCompatibility() string

func (*Skill) GetContent

func (x *Skill) GetContent() string

func (*Skill) GetDescription

func (x *Skill) GetDescription() string

func (*Skill) GetLicense

func (x *Skill) GetLicense() string

func (*Skill) GetName

func (x *Skill) GetName() string

func (*Skill) GetOrigin

func (x *Skill) GetOrigin() string

func (*Skill) ProtoMessage

func (*Skill) ProtoMessage()

func (*Skill) ProtoReflect

func (x *Skill) ProtoReflect() protoreflect.Message

func (*Skill) Reset

func (x *Skill) Reset()

func (*Skill) String

func (x *Skill) String() string

type SlackNamesRequest added in v0.1.17

type SlackNamesRequest struct {
	Ids   []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	Query *string  `protobuf:"bytes,2,opt,name=query,proto3,oneof" json:"query,omitempty"`
	// contains filtered or unexported fields
}

SlackNamesRequest asks for display names of Slack IDs.

func (*SlackNamesRequest) Descriptor deprecated added in v0.1.17

func (*SlackNamesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SlackNamesRequest.ProtoReflect.Descriptor instead.

func (*SlackNamesRequest) GetIds added in v0.1.17

func (x *SlackNamesRequest) GetIds() []string

func (*SlackNamesRequest) GetQuery added in v0.2.72

func (x *SlackNamesRequest) GetQuery() string

func (*SlackNamesRequest) ProtoMessage added in v0.1.17

func (*SlackNamesRequest) ProtoMessage()

func (*SlackNamesRequest) ProtoReflect added in v0.1.17

func (x *SlackNamesRequest) ProtoReflect() protoreflect.Message

func (*SlackNamesRequest) Reset added in v0.1.17

func (x *SlackNamesRequest) Reset()

func (*SlackNamesRequest) String added in v0.1.17

func (x *SlackNamesRequest) String() string

type SlackNamesResponse added in v0.1.17

type SlackNamesResponse struct {
	Names map[string]string `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

SlackNamesResponse maps IDs to bare display strings without a leading @ or #. The web prepends those sigils. Unresolved IDs are omitted.

func (*SlackNamesResponse) Descriptor deprecated added in v0.1.17

func (*SlackNamesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SlackNamesResponse.ProtoReflect.Descriptor instead.

func (*SlackNamesResponse) GetNames added in v0.1.17

func (x *SlackNamesResponse) GetNames() map[string]string

func (*SlackNamesResponse) ProtoMessage added in v0.1.17

func (*SlackNamesResponse) ProtoMessage()

func (*SlackNamesResponse) ProtoReflect added in v0.1.17

func (x *SlackNamesResponse) ProtoReflect() protoreflect.Message

func (*SlackNamesResponse) Reset added in v0.1.17

func (x *SlackNamesResponse) Reset()

func (*SlackNamesResponse) String added in v0.1.17

func (x *SlackNamesResponse) String() string

type Space added in v0.1.53

type Space struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A Web space every person shares.

func (*Space) Descriptor deprecated added in v0.1.53

func (*Space) Descriptor() ([]byte, []int)

Deprecated: Use Space.ProtoReflect.Descriptor instead.

func (*Space) GetId added in v0.1.53

func (x *Space) GetId() string

func (*Space) GetName added in v0.1.53

func (x *Space) GetName() string

func (*Space) ProtoMessage added in v0.1.53

func (*Space) ProtoMessage()

func (*Space) ProtoReflect added in v0.1.53

func (x *Space) ProtoReflect() protoreflect.Message

func (*Space) Reset added in v0.1.53

func (x *Space) Reset()

func (*Space) String added in v0.1.53

func (x *Space) String() string

type StageRevertRequest added in v0.1.17

type StageRevertRequest struct {
	Id        string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MessageId string         `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	Boundary  RevertBoundary `protobuf:"varint,3,opt,name=boundary,proto3,enum=rpc.RevertBoundary" json:"boundary,omitempty"`
	// contains filtered or unexported fields
}

func (*StageRevertRequest) Descriptor deprecated added in v0.1.17

func (*StageRevertRequest) Descriptor() ([]byte, []int)

Deprecated: Use StageRevertRequest.ProtoReflect.Descriptor instead.

func (*StageRevertRequest) GetBoundary added in v0.2.63

func (x *StageRevertRequest) GetBoundary() RevertBoundary

func (*StageRevertRequest) GetId added in v0.1.17

func (x *StageRevertRequest) GetId() string

func (*StageRevertRequest) GetMessageId added in v0.1.17

func (x *StageRevertRequest) GetMessageId() string

func (*StageRevertRequest) ProtoMessage added in v0.1.17

func (*StageRevertRequest) ProtoMessage()

func (*StageRevertRequest) ProtoReflect added in v0.1.17

func (x *StageRevertRequest) ProtoReflect() protoreflect.Message

func (*StageRevertRequest) Reset added in v0.1.17

func (x *StageRevertRequest) Reset()

func (*StageRevertRequest) String added in v0.1.17

func (x *StageRevertRequest) String() string

type StageRevertResponse added in v0.1.17

type StageRevertResponse struct {
	RevertMessageId string           `protobuf:"bytes,1,opt,name=revert_message_id,json=revertMessageId,proto3" json:"revert_message_id,omitempty"`
	Prompt          *TranscriptEvent `protobuf:"bytes,2,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// contains filtered or unexported fields
}

func (*StageRevertResponse) Descriptor deprecated added in v0.1.17

func (*StageRevertResponse) Descriptor() ([]byte, []int)

Deprecated: Use StageRevertResponse.ProtoReflect.Descriptor instead.

func (*StageRevertResponse) GetPrompt added in v0.1.17

func (x *StageRevertResponse) GetPrompt() *TranscriptEvent

func (*StageRevertResponse) GetRevertMessageId added in v0.1.17

func (x *StageRevertResponse) GetRevertMessageId() string

func (*StageRevertResponse) ProtoMessage added in v0.1.17

func (*StageRevertResponse) ProtoMessage()

func (*StageRevertResponse) ProtoReflect added in v0.1.17

func (x *StageRevertResponse) ProtoReflect() protoreflect.Message

func (*StageRevertResponse) Reset added in v0.1.17

func (x *StageRevertResponse) Reset()

func (*StageRevertResponse) String added in v0.1.17

func (x *StageRevertResponse) String() string

type StopBackgroundJobRequest added in v0.1.19

type StopBackgroundJobRequest struct {
	ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
	JobId          string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopBackgroundJobRequest) Descriptor deprecated added in v0.1.19

func (*StopBackgroundJobRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopBackgroundJobRequest.ProtoReflect.Descriptor instead.

func (*StopBackgroundJobRequest) GetConversationId added in v0.1.19

func (x *StopBackgroundJobRequest) GetConversationId() string

func (*StopBackgroundJobRequest) GetJobId added in v0.1.19

func (x *StopBackgroundJobRequest) GetJobId() string

func (*StopBackgroundJobRequest) ProtoMessage added in v0.1.19

func (*StopBackgroundJobRequest) ProtoMessage()

func (*StopBackgroundJobRequest) ProtoReflect added in v0.1.19

func (x *StopBackgroundJobRequest) ProtoReflect() protoreflect.Message

func (*StopBackgroundJobRequest) Reset added in v0.1.19

func (x *StopBackgroundJobRequest) Reset()

func (*StopBackgroundJobRequest) String added in v0.1.19

func (x *StopBackgroundJobRequest) String() string

type StopBackgroundJobResponse added in v0.1.19

type StopBackgroundJobResponse struct {

	// False when the job had already finished.
	Stopped bool `protobuf:"varint,1,opt,name=stopped,proto3" json:"stopped,omitempty"`
	// contains filtered or unexported fields
}

func (*StopBackgroundJobResponse) Descriptor deprecated added in v0.1.19

func (*StopBackgroundJobResponse) Descriptor() ([]byte, []int)

Deprecated: Use StopBackgroundJobResponse.ProtoReflect.Descriptor instead.

func (*StopBackgroundJobResponse) GetStopped added in v0.1.19

func (x *StopBackgroundJobResponse) GetStopped() bool

func (*StopBackgroundJobResponse) ProtoMessage added in v0.1.19

func (*StopBackgroundJobResponse) ProtoMessage()

func (*StopBackgroundJobResponse) ProtoReflect added in v0.1.19

func (*StopBackgroundJobResponse) Reset added in v0.1.19

func (x *StopBackgroundJobResponse) Reset()

func (*StopBackgroundJobResponse) String added in v0.1.19

func (x *StopBackgroundJobResponse) String() string

type StripLayout added in v0.2.44

type StripLayout struct {
	Folded map[string]bool `` /* 140-byte string literal not displayed */
	Order  []string        `protobuf:"bytes,2,rep,name=order,proto3" json:"order,omitempty"`
	// contains filtered or unexported fields
}

StripLayout is how one person lays out their tab strip on every RocketClaw: whether each of its cards and Parked branches is folded, by its key, and the order of its cards, by their keys.

func (*StripLayout) Descriptor deprecated added in v0.2.44

func (*StripLayout) Descriptor() ([]byte, []int)

Deprecated: Use StripLayout.ProtoReflect.Descriptor instead.

func (*StripLayout) GetFolded added in v0.2.44

func (x *StripLayout) GetFolded() map[string]bool

func (*StripLayout) GetOrder added in v0.2.44

func (x *StripLayout) GetOrder() []string

func (*StripLayout) ProtoMessage added in v0.2.44

func (*StripLayout) ProtoMessage()

func (*StripLayout) ProtoReflect added in v0.2.44

func (x *StripLayout) ProtoReflect() protoreflect.Message

func (*StripLayout) Reset added in v0.2.44

func (x *StripLayout) Reset()

func (*StripLayout) String added in v0.2.44

func (x *StripLayout) String() string

type SummarizeBranchRequest added in v0.2.63

type SummarizeBranchRequest struct {
	Id           string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BranchId     string `protobuf:"bytes,2,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"`
	Instructions string `protobuf:"bytes,3,opt,name=instructions,proto3" json:"instructions,omitempty"`
	// contains filtered or unexported fields
}

func (*SummarizeBranchRequest) Descriptor deprecated added in v0.2.63

func (*SummarizeBranchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SummarizeBranchRequest.ProtoReflect.Descriptor instead.

func (*SummarizeBranchRequest) GetBranchId added in v0.2.63

func (x *SummarizeBranchRequest) GetBranchId() string

func (*SummarizeBranchRequest) GetId added in v0.2.63

func (x *SummarizeBranchRequest) GetId() string

func (*SummarizeBranchRequest) GetInstructions added in v0.2.63

func (x *SummarizeBranchRequest) GetInstructions() string

func (*SummarizeBranchRequest) ProtoMessage added in v0.2.63

func (*SummarizeBranchRequest) ProtoMessage()

func (*SummarizeBranchRequest) ProtoReflect added in v0.2.63

func (x *SummarizeBranchRequest) ProtoReflect() protoreflect.Message

func (*SummarizeBranchRequest) Reset added in v0.2.63

func (x *SummarizeBranchRequest) Reset()

func (*SummarizeBranchRequest) String added in v0.2.63

func (x *SummarizeBranchRequest) String() string

type SummarizeBranchResponse added in v0.2.63

type SummarizeBranchResponse struct {
	Appended bool `protobuf:"varint,1,opt,name=appended,proto3" json:"appended,omitempty"`
	// contains filtered or unexported fields
}

func (*SummarizeBranchResponse) Descriptor deprecated added in v0.2.63

func (*SummarizeBranchResponse) Descriptor() ([]byte, []int)

Deprecated: Use SummarizeBranchResponse.ProtoReflect.Descriptor instead.

func (*SummarizeBranchResponse) GetAppended added in v0.2.63

func (x *SummarizeBranchResponse) GetAppended() bool

func (*SummarizeBranchResponse) ProtoMessage added in v0.2.63

func (*SummarizeBranchResponse) ProtoMessage()

func (*SummarizeBranchResponse) ProtoReflect added in v0.2.63

func (x *SummarizeBranchResponse) ProtoReflect() protoreflect.Message

func (*SummarizeBranchResponse) Reset added in v0.2.63

func (x *SummarizeBranchResponse) Reset()

func (*SummarizeBranchResponse) String added in v0.2.63

func (x *SummarizeBranchResponse) String() string

type Tab added in v0.1.53

type Tab struct {

	// path is the tab's location, such as /s/<id> or /oc/<id> with the session ID in unpadded URL-safe base64.
	Path   string      `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Group  string      `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"`
	Space  string      `protobuf:"bytes,5,opt,name=space,proto3" json:"space,omitempty"`
	Search *SearchPage `protobuf:"bytes,6,opt,name=search,proto3" json:"search,omitempty"`
	// contains filtered or unexported fields
}

One of a person's Web tabs: its location, group, and space ids, and a Search page's content.

func (*Tab) Descriptor deprecated added in v0.1.53

func (*Tab) Descriptor() ([]byte, []int)

Deprecated: Use Tab.ProtoReflect.Descriptor instead.

func (*Tab) GetGroup added in v0.1.53

func (x *Tab) GetGroup() string

func (*Tab) GetPath added in v0.1.53

func (x *Tab) GetPath() string

func (*Tab) GetSearch added in v0.2.14

func (x *Tab) GetSearch() *SearchPage

func (*Tab) GetSpace added in v0.1.53

func (x *Tab) GetSpace() string

func (*Tab) ProtoMessage added in v0.1.53

func (*Tab) ProtoMessage()

func (*Tab) ProtoReflect added in v0.1.53

func (x *Tab) ProtoReflect() protoreflect.Message

func (*Tab) Reset added in v0.1.53

func (x *Tab) Reset()

func (*Tab) String added in v0.1.53

func (x *Tab) String() string

type TabAttention added in v0.2.31

type TabAttention struct {
	Path     string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	UnreadAt string `protobuf:"bytes,2,opt,name=unread_at,json=unreadAt,proto3" json:"unread_at,omitempty"`
	Quiet    bool   `protobuf:"varint,3,opt,name=quiet,proto3" json:"quiet,omitempty"`
	Parked   bool   `protobuf:"varint,4,opt,name=parked,proto3" json:"parked,omitempty"`
	Until    string `protobuf:"bytes,5,opt,name=until,proto3" json:"until,omitempty"`
	// With a mark, the notification text the server wrote.
	Note string `protobuf:"bytes,6,opt,name=note,proto3" json:"note,omitempty"`
	// The caller unfollowed it: the server marks it unread for them only when they mark it themselves.
	Unfollowed bool `protobuf:"varint,7,opt,name=unfollowed,proto3" json:"unfollowed,omitempty"`
	// contains filtered or unexported fields
}

TabAttention is the caller's attention on a tab location that is not a session, as a Session row carries a session's. A row with only its path says the location no longer has one.

func (*TabAttention) Descriptor deprecated added in v0.2.31

func (*TabAttention) Descriptor() ([]byte, []int)

Deprecated: Use TabAttention.ProtoReflect.Descriptor instead.

func (*TabAttention) GetNote added in v0.2.31

func (x *TabAttention) GetNote() string

func (*TabAttention) GetParked added in v0.2.31

func (x *TabAttention) GetParked() bool

func (*TabAttention) GetPath added in v0.2.31

func (x *TabAttention) GetPath() string

func (*TabAttention) GetQuiet added in v0.2.31

func (x *TabAttention) GetQuiet() bool

func (*TabAttention) GetUnfollowed added in v0.2.50

func (x *TabAttention) GetUnfollowed() bool

func (*TabAttention) GetUnreadAt added in v0.2.31

func (x *TabAttention) GetUnreadAt() string

func (*TabAttention) GetUntil added in v0.2.31

func (x *TabAttention) GetUntil() string

func (*TabAttention) ProtoMessage added in v0.2.31

func (*TabAttention) ProtoMessage()

func (*TabAttention) ProtoReflect added in v0.2.31

func (x *TabAttention) ProtoReflect() protoreflect.Message

func (*TabAttention) Reset added in v0.2.31

func (x *TabAttention) Reset()

func (*TabAttention) String added in v0.2.31

func (x *TabAttention) String() string

type TabGroup added in v0.1.53

type TabGroup struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Color     string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
	Collapsed bool   `protobuf:"varint,4,opt,name=collapsed,proto3" json:"collapsed,omitempty"`
	// contains filtered or unexported fields
}

func (*TabGroup) Descriptor deprecated added in v0.1.53

func (*TabGroup) Descriptor() ([]byte, []int)

Deprecated: Use TabGroup.ProtoReflect.Descriptor instead.

func (*TabGroup) GetCollapsed added in v0.1.53

func (x *TabGroup) GetCollapsed() bool

func (*TabGroup) GetColor added in v0.1.53

func (x *TabGroup) GetColor() string

func (*TabGroup) GetId added in v0.1.53

func (x *TabGroup) GetId() string

func (*TabGroup) GetName added in v0.1.53

func (x *TabGroup) GetName() string

func (*TabGroup) ProtoMessage added in v0.1.53

func (*TabGroup) ProtoMessage()

func (*TabGroup) ProtoReflect added in v0.1.53

func (x *TabGroup) ProtoReflect() protoreflect.Message

func (*TabGroup) Reset added in v0.1.53

func (x *TabGroup) Reset()

func (*TabGroup) String added in v0.1.53

func (x *TabGroup) String() string

type TabState added in v0.1.53

type TabState struct {
	Tabs        []*Tab            `protobuf:"bytes,1,rep,name=tabs,proto3" json:"tabs,omitempty"`
	Groups      []*TabGroup       `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
	Space       string            `protobuf:"bytes,3,opt,name=space,proto3" json:"space,omitempty"`
	Last        map[string]string `` /* 135-byte string literal not displayed */
	SharedOrder []string          `protobuf:"bytes,6,rep,name=shared_order,json=sharedOrder,proto3" json:"shared_order,omitempty"`
	// contains filtered or unexported fields
}

TabState is one person's Web tabs and groups, the space they are in, the last tab of each space by space id, and the person's own order of Shared tabs by location.

func (*TabState) Descriptor deprecated added in v0.1.53

func (*TabState) Descriptor() ([]byte, []int)

Deprecated: Use TabState.ProtoReflect.Descriptor instead.

func (*TabState) GetGroups added in v0.1.53

func (x *TabState) GetGroups() []*TabGroup

func (*TabState) GetLast added in v0.1.53

func (x *TabState) GetLast() map[string]string

func (*TabState) GetSharedOrder added in v0.2.17

func (x *TabState) GetSharedOrder() []string

func (*TabState) GetSpace added in v0.1.53

func (x *TabState) GetSpace() string

func (*TabState) GetTabs added in v0.1.53

func (x *TabState) GetTabs() []*Tab

func (*TabState) ProtoMessage added in v0.1.53

func (*TabState) ProtoMessage()

func (*TabState) ProtoReflect added in v0.1.53

func (x *TabState) ProtoReflect() protoreflect.Message

func (*TabState) Reset added in v0.1.53

func (x *TabState) Reset()

func (*TabState) String added in v0.1.53

func (x *TabState) String() string

type TabsRequest added in v0.1.53

type TabsRequest struct {
	// contains filtered or unexported fields
}

TabsRequest asks for the caller's tabs. The fields a change takes are in ChangeTabsRequest.

func (*TabsRequest) Descriptor deprecated added in v0.1.53

func (*TabsRequest) Descriptor() ([]byte, []int)

Deprecated: Use TabsRequest.ProtoReflect.Descriptor instead.

func (*TabsRequest) ProtoMessage added in v0.1.53

func (*TabsRequest) ProtoMessage()

func (*TabsRequest) ProtoReflect added in v0.1.53

func (x *TabsRequest) ProtoReflect() protoreflect.Message

func (*TabsRequest) Reset added in v0.1.53

func (x *TabsRequest) Reset()

func (*TabsRequest) String added in v0.1.53

func (x *TabsRequest) String() string

type TabsResponse added in v0.1.53

type TabsResponse struct {
	Spaces   []*Space     `protobuf:"bytes,1,rep,name=spaces,proto3" json:"spaces,omitempty"`
	State    *TabState    `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Revision int64        `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"`
	Stale    bool         `protobuf:"varint,4,opt,name=stale,proto3" json:"stale,omitempty"`
	Shared   []*SharedTab `protobuf:"bytes,5,rep,name=shared,proto3" json:"shared,omitempty"`
	// unshared is the Search page a Search tab taken out of Shared held.
	Unshared *SearchPage `protobuf:"bytes,7,opt,name=unshared,proto3" json:"unshared,omitempty"`
	// closed is the caller's last 50 closed tabs, newest first, each with the space it was in and a Search tab's page.
	Closed []*Tab `protobuf:"bytes,9,rep,name=closed,proto3" json:"closed,omitempty"`
	// auto_park is whether the caller auto-parks every session they chose nothing for.
	AutoPark bool         `protobuf:"varint,10,opt,name=auto_park,json=autoPark,proto3" json:"auto_park,omitempty"`
	Layout   *StripLayout `protobuf:"bytes,11,opt,name=layout,proto3" json:"layout,omitempty"`
	Lists    []*ListTab   `protobuf:"bytes,12,rep,name=lists,proto3" json:"lists,omitempty"`
	// contains filtered or unexported fields
}

TabsResponse is every space, oldest first, and the caller's saved tab state and its revision. stale reports a refused save: the state was made from an older revision than the one saved, or a Shared Search page edit made from a page that has since changed. shared is every space's Shared tabs, oldest added first. layout is the caller's layout.

func (*TabsResponse) Descriptor deprecated added in v0.1.53

func (*TabsResponse) Descriptor() ([]byte, []int)

Deprecated: Use TabsResponse.ProtoReflect.Descriptor instead.

func (*TabsResponse) GetAutoPark added in v0.2.31

func (x *TabsResponse) GetAutoPark() bool

func (*TabsResponse) GetClosed added in v0.2.25

func (x *TabsResponse) GetClosed() []*Tab

func (*TabsResponse) GetLayout added in v0.2.44

func (x *TabsResponse) GetLayout() *StripLayout

func (*TabsResponse) GetLists added in v0.2.74

func (x *TabsResponse) GetLists() []*ListTab

func (*TabsResponse) GetRevision added in v0.1.53

func (x *TabsResponse) GetRevision() int64

func (*TabsResponse) GetShared added in v0.2.9

func (x *TabsResponse) GetShared() []*SharedTab

func (*TabsResponse) GetSpaces added in v0.1.53

func (x *TabsResponse) GetSpaces() []*Space

func (*TabsResponse) GetStale added in v0.1.53

func (x *TabsResponse) GetStale() bool

func (*TabsResponse) GetState added in v0.1.53

func (x *TabsResponse) GetState() *TabState

func (*TabsResponse) GetUnshared added in v0.2.14

func (x *TabsResponse) GetUnshared() *SearchPage

func (*TabsResponse) ProtoMessage added in v0.1.53

func (*TabsResponse) ProtoMessage()

func (*TabsResponse) ProtoReflect added in v0.1.53

func (x *TabsResponse) ProtoReflect() protoreflect.Message

func (*TabsResponse) Reset added in v0.1.53

func (x *TabsResponse) Reset()

func (*TabsResponse) String added in v0.1.53

func (x *TabsResponse) String() string

type TagChoices added in v0.1.47

type TagChoices struct {
	Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*TagChoices) Descriptor deprecated added in v0.1.47

func (*TagChoices) Descriptor() ([]byte, []int)

Deprecated: Use TagChoices.ProtoReflect.Descriptor instead.

func (*TagChoices) GetTags added in v0.1.47

func (x *TagChoices) GetTags() []string

func (*TagChoices) ProtoMessage added in v0.1.47

func (*TagChoices) ProtoMessage()

func (*TagChoices) ProtoReflect added in v0.1.47

func (x *TagChoices) ProtoReflect() protoreflect.Message

func (*TagChoices) Reset added in v0.1.47

func (x *TagChoices) Reset()

func (*TagChoices) String added in v0.1.47

func (x *TagChoices) String() string

type TestModelRequest added in v0.2.41

type TestModelRequest struct {
	Model    string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	Decision bool   `protobuf:"varint,2,opt,name=decision,proto3" json:"decision,omitempty"`
	// contains filtered or unexported fields
}

TestModelRequest names the model to try, as "provider/model#effort", or as "provider/model" for a decision model, which is tried with one title check.

func (*TestModelRequest) Descriptor deprecated added in v0.2.41

func (*TestModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use TestModelRequest.ProtoReflect.Descriptor instead.

func (*TestModelRequest) GetDecision added in v0.2.70

func (x *TestModelRequest) GetDecision() bool

func (*TestModelRequest) GetModel added in v0.2.41

func (x *TestModelRequest) GetModel() string

func (*TestModelRequest) ProtoMessage added in v0.2.41

func (*TestModelRequest) ProtoMessage()

func (*TestModelRequest) ProtoReflect added in v0.2.41

func (x *TestModelRequest) ProtoReflect() protoreflect.Message

func (*TestModelRequest) Reset added in v0.2.41

func (x *TestModelRequest) Reset()

func (*TestModelRequest) String added in v0.2.41

func (x *TestModelRequest) String() string

type TestModelResponse added in v0.2.41

type TestModelResponse struct {
	Error     string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	ElapsedMs int64  `protobuf:"varint,2,opt,name=elapsed_ms,json=elapsedMs,proto3" json:"elapsed_ms,omitempty"`
	// contains filtered or unexported fields
}

TestModelResponse holds the provider's error text, empty when the model works, and how long the request took.

func (*TestModelResponse) Descriptor deprecated added in v0.2.41

func (*TestModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use TestModelResponse.ProtoReflect.Descriptor instead.

func (*TestModelResponse) GetElapsedMs added in v0.2.41

func (x *TestModelResponse) GetElapsedMs() int64

func (*TestModelResponse) GetError added in v0.2.41

func (x *TestModelResponse) GetError() string

func (*TestModelResponse) ProtoMessage added in v0.2.41

func (*TestModelResponse) ProtoMessage()

func (*TestModelResponse) ProtoReflect added in v0.2.41

func (x *TestModelResponse) ProtoReflect() protoreflect.Message

func (*TestModelResponse) Reset added in v0.2.41

func (x *TestModelResponse) Reset()

func (*TestModelResponse) String added in v0.2.41

func (x *TestModelResponse) String() string

type TranscriptEvent

type TranscriptEvent struct {
	Text            string        `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Role            string        `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	Complete        bool          `protobuf:"varint,4,opt,name=complete,proto3" json:"complete,omitempty"`
	TurnId          string        `protobuf:"bytes,5,opt,name=turn_id,json=turnId,proto3" json:"turn_id,omitempty"`
	ToolCallId      string        `protobuf:"bytes,6,opt,name=tool_call_id,json=toolCallId,proto3" json:"tool_call_id,omitempty"`
	ToolName        string        `protobuf:"bytes,7,opt,name=tool_name,json=toolName,proto3" json:"tool_name,omitempty"`
	Attachments     []*Attachment `protobuf:"bytes,8,rep,name=attachments,proto3" json:"attachments,omitempty"`
	MessageId       string        `protobuf:"bytes,9,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	Agent           string        `protobuf:"bytes,10,opt,name=agent,proto3" json:"agent,omitempty"`
	Model           string        `protobuf:"bytes,11,opt,name=model,proto3" json:"model,omitempty"`
	ReasoningEffort *string       `protobuf:"bytes,12,opt,name=reasoning_effort,json=reasoningEffort,proto3,oneof" json:"reasoning_effort,omitempty"`
	Origin          string        `protobuf:"bytes,13,opt,name=origin,proto3" json:"origin,omitempty"`
	Header          string        `protobuf:"bytes,14,opt,name=header,proto3" json:"header,omitempty"`
	EntryKey        string        `protobuf:"bytes,15,opt,name=entry_key,json=entryKey,proto3" json:"entry_key,omitempty"`
	ItemId          string        `protobuf:"bytes,16,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	InputId         string        `protobuf:"bytes,17,opt,name=input_id,json=inputId,proto3" json:"input_id,omitempty"`
	// Fixed public lifecycle label; independent of the parent turn's running state.
	State     string `protobuf:"bytes,18,opt,name=state,proto3" json:"state,omitempty"`
	ParentId  string `protobuf:"bytes,19,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Principal string `protobuf:"bytes,20,opt,name=principal,proto3" json:"principal,omitempty"`
	// Completion Notes this system input delivers, in order, from their stored jobs.
	CompletionNotes []*BackgroundJob `protobuf:"bytes,21,rep,name=completion_notes,json=completionNotes,proto3" json:"completion_notes,omitempty"`
	// Delegation History a task call's row opens: the subagent it started or continued.
	Delegation string `protobuf:"bytes,22,opt,name=delegation,proto3" json:"delegation,omitempty"`
	// Delegation History a reviewed call's row opens: its automatic permission review.
	Review string `protobuf:"bytes,23,opt,name=review,proto3" json:"review,omitempty"`
	// On an Execute call's first event: the calls its script made, in start order. Chats saved
	// before calls were recorded list only the calls the automatic approver checked.
	CodeModeCalls []*CodeModeCall `protobuf:"bytes,24,rep,name=code_mode_calls,json=codeModeCalls,proto3" json:"code_mode_calls,omitempty"`
	// On an Execute call's first event: the automatic approver's reason for its whole script.
	ScriptReason string `protobuf:"bytes,25,opt,name=script_reason,json=scriptReason,proto3" json:"script_reason,omitempty"`
	// Turn under which review saves the approver's answer on this call itself, such as on an
	// Execute call's whole script. Reviews saved before turns were named have another turn.
	ReviewTurn string `protobuf:"bytes,26,opt,name=review_turn,json=reviewTurn,proto3" json:"review_turn,omitempty"`
	// The automatic approver's outcome (allow or deny) for script_reason.
	ScriptOutcome string `protobuf:"bytes,27,opt,name=script_outcome,json=scriptOutcome,proto3" json:"script_outcome,omitempty"`
	// contains filtered or unexported fields
}

func (*TranscriptEvent) Descriptor deprecated

func (*TranscriptEvent) Descriptor() ([]byte, []int)

Deprecated: Use TranscriptEvent.ProtoReflect.Descriptor instead.

func (*TranscriptEvent) GetAgent added in v0.1.3

func (x *TranscriptEvent) GetAgent() string

func (*TranscriptEvent) GetAttachments

func (x *TranscriptEvent) GetAttachments() []*Attachment

func (*TranscriptEvent) GetCodeModeCalls added in v0.1.46

func (x *TranscriptEvent) GetCodeModeCalls() []*CodeModeCall

func (*TranscriptEvent) GetComplete

func (x *TranscriptEvent) GetComplete() bool

func (*TranscriptEvent) GetCompletionNotes added in v0.1.19

func (x *TranscriptEvent) GetCompletionNotes() []*BackgroundJob

func (*TranscriptEvent) GetDelegation added in v0.1.19

func (x *TranscriptEvent) GetDelegation() string

func (*TranscriptEvent) GetEntryKey added in v0.1.12

func (x *TranscriptEvent) GetEntryKey() string

func (*TranscriptEvent) GetHeader added in v0.1.10

func (x *TranscriptEvent) GetHeader() string

func (*TranscriptEvent) GetInputId added in v0.1.12

func (x *TranscriptEvent) GetInputId() string

func (*TranscriptEvent) GetItemId added in v0.1.12

func (x *TranscriptEvent) GetItemId() string

func (*TranscriptEvent) GetMessageId

func (x *TranscriptEvent) GetMessageId() string

func (*TranscriptEvent) GetModel added in v0.1.3

func (x *TranscriptEvent) GetModel() string

func (*TranscriptEvent) GetOrigin added in v0.1.3

func (x *TranscriptEvent) GetOrigin() string

func (*TranscriptEvent) GetParentId added in v0.1.12

func (x *TranscriptEvent) GetParentId() string

func (*TranscriptEvent) GetPrincipal added in v0.1.12

func (x *TranscriptEvent) GetPrincipal() string

func (*TranscriptEvent) GetReasoningEffort added in v0.1.3

func (x *TranscriptEvent) GetReasoningEffort() string

func (*TranscriptEvent) GetReview added in v0.1.19

func (x *TranscriptEvent) GetReview() string

func (*TranscriptEvent) GetReviewTurn added in v0.1.47

func (x *TranscriptEvent) GetReviewTurn() string

func (*TranscriptEvent) GetRole

func (x *TranscriptEvent) GetRole() string

func (*TranscriptEvent) GetScriptOutcome added in v0.1.52

func (x *TranscriptEvent) GetScriptOutcome() string

func (*TranscriptEvent) GetScriptReason added in v0.1.46

func (x *TranscriptEvent) GetScriptReason() string

func (*TranscriptEvent) GetState added in v0.1.12

func (x *TranscriptEvent) GetState() string

func (*TranscriptEvent) GetText

func (x *TranscriptEvent) GetText() string

func (*TranscriptEvent) GetToolCallId

func (x *TranscriptEvent) GetToolCallId() string

func (*TranscriptEvent) GetToolName

func (x *TranscriptEvent) GetToolName() string

func (*TranscriptEvent) GetTurnId

func (x *TranscriptEvent) GetTurnId() string

func (*TranscriptEvent) ProtoMessage

func (*TranscriptEvent) ProtoMessage()

func (*TranscriptEvent) ProtoReflect

func (x *TranscriptEvent) ProtoReflect() protoreflect.Message

func (*TranscriptEvent) Reset

func (x *TranscriptEvent) Reset()

func (*TranscriptEvent) String

func (x *TranscriptEvent) String() string

type TypingEvent added in v0.2.37

type TypingEvent struct {
	Principal string `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
	Typing    bool   `protobuf:"varint,2,opt,name=typing,proto3" json:"typing,omitempty"`
	// contains filtered or unexported fields
}

Another person started or stopped typing in the watched conversation. principal is their display name, or their login when it is blank, as on their prompts. A watch opens with an empty event.

func (*TypingEvent) Descriptor deprecated added in v0.2.37

func (*TypingEvent) Descriptor() ([]byte, []int)

Deprecated: Use TypingEvent.ProtoReflect.Descriptor instead.

func (*TypingEvent) GetPrincipal added in v0.2.37

func (x *TypingEvent) GetPrincipal() string

func (*TypingEvent) GetTyping added in v0.2.37

func (x *TypingEvent) GetTyping() bool

func (*TypingEvent) ProtoMessage added in v0.2.37

func (*TypingEvent) ProtoMessage()

func (*TypingEvent) ProtoReflect added in v0.2.37

func (x *TypingEvent) ProtoReflect() protoreflect.Message

func (*TypingEvent) Reset added in v0.2.37

func (x *TypingEvent) Reset()

func (*TypingEvent) String added in v0.2.37

func (x *TypingEvent) String() string

type UpdateSessionRequest

type UpdateSessionRequest struct {
	Id   string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Toggles a tag a person chose: any tag on a remote OpenCode session, or one its agent allows.
	Tag *string `protobuf:"bytes,6,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSessionRequest) Descriptor deprecated

func (*UpdateSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSessionRequest.ProtoReflect.Descriptor instead.

func (*UpdateSessionRequest) GetId

func (x *UpdateSessionRequest) GetId() string

func (*UpdateSessionRequest) GetName

func (x *UpdateSessionRequest) GetName() string

func (*UpdateSessionRequest) GetTag added in v0.1.47

func (x *UpdateSessionRequest) GetTag() string

func (*UpdateSessionRequest) ProtoMessage

func (*UpdateSessionRequest) ProtoMessage()

func (*UpdateSessionRequest) ProtoReflect

func (x *UpdateSessionRequest) ProtoReflect() protoreflect.Message

func (*UpdateSessionRequest) Reset

func (x *UpdateSessionRequest) Reset()

func (*UpdateSessionRequest) String

func (x *UpdateSessionRequest) String() string

type UpdateSessionResponse

type UpdateSessionResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateSessionResponse) Descriptor deprecated

func (*UpdateSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSessionResponse.ProtoReflect.Descriptor instead.

func (*UpdateSessionResponse) ProtoMessage

func (*UpdateSessionResponse) ProtoMessage()

func (*UpdateSessionResponse) ProtoReflect

func (x *UpdateSessionResponse) ProtoReflect() protoreflect.Message

func (*UpdateSessionResponse) Reset

func (x *UpdateSessionResponse) Reset()

func (*UpdateSessionResponse) String

func (x *UpdateSessionResponse) String() string

type WatchListingRequest added in v0.2.69

type WatchListingRequest struct {
	// contains filtered or unexported fields
}

func (*WatchListingRequest) Descriptor deprecated added in v0.2.69

func (*WatchListingRequest) Descriptor() ([]byte, []int)

Deprecated: Use WatchListingRequest.ProtoReflect.Descriptor instead.

func (*WatchListingRequest) ProtoMessage added in v0.2.69

func (*WatchListingRequest) ProtoMessage()

func (*WatchListingRequest) ProtoReflect added in v0.2.69

func (x *WatchListingRequest) ProtoReflect() protoreflect.Message

func (*WatchListingRequest) Reset added in v0.2.69

func (x *WatchListingRequest) Reset()

func (*WatchListingRequest) String added in v0.2.69

func (x *WatchListingRequest) String() string

type WatchTypingRequest added in v0.2.37

type WatchTypingRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchTypingRequest) Descriptor deprecated added in v0.2.37

func (*WatchTypingRequest) Descriptor() ([]byte, []int)

Deprecated: Use WatchTypingRequest.ProtoReflect.Descriptor instead.

func (*WatchTypingRequest) GetId added in v0.2.37

func (x *WatchTypingRequest) GetId() string

func (*WatchTypingRequest) ProtoMessage added in v0.2.37

func (*WatchTypingRequest) ProtoMessage()

func (*WatchTypingRequest) ProtoReflect added in v0.2.37

func (x *WatchTypingRequest) ProtoReflect() protoreflect.Message

func (*WatchTypingRequest) Reset added in v0.2.37

func (x *WatchTypingRequest) Reset()

func (*WatchTypingRequest) String added in v0.2.37

func (x *WatchTypingRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL