internal/

directory
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0

Directories

Path Synopsis
Package auth implements Google's documented OAuth flow for desktop applications: a loopback redirect on 127.0.0.1 with a random port and PKCE, then a refresh-token-backed token source for API calls.
Package auth implements Google's documented OAuth flow for desktop applications: a loopback redirect on 127.0.0.1 with a random port and PKCE, then a refresh-token-backed token source for API calls.
Package config loads and validates runtime configuration.
Package config loads and validates runtime configuration.
Package credentials stores and resolves the OAuth refresh token.
Package credentials stores and resolves the OAuth refresh token.
doc
Package doc holds the parsed document model.
Package doc holds the parsed document model.
doctest
Package doctest loads the synthetic document fixture for tests in several packages.
Package doctest loads the synthetic document fixture for tests in several packages.
Package gapi is a thin raw REST client for the Google Docs and Drive APIs.
Package gapi is a thin raw REST client for the Google Docs and Drive APIs.
Package gdocs defines the Docs API v1 wire types this server reads.
Package gdocs defines the Docs API v1 wire types this server reads.
Package markdown turns markdown written by the model into a neutral fragment: headings, paragraphs, list items, code lines and tables with styled inline runs.
Package markdown turns markdown written by the model into a neutral fragment: headings, paragraphs, list items, code lines and tables with styled inline runs.
Package plan compiles high-level edit operations into Docs API batchUpdate requests.
Package plan compiles high-level edit operations into Docs API batchUpdate requests.
Package redact keeps a real document and a real person out of the artifacts the drivers write.
Package redact keeps a real document and a real person out of the artifacts the drivers write.
Package render turns the document model into text for the model to read: markdown (default), plain text, and an outline.
Package render turns the document model into text for the model to read: markdown (default), plain text, and an outline.
Package server wires the MCP SDK to the tools and offers a schema dump through an in-memory client session.
Package server wires the MCP SDK to the tools and offers a schema dump through an in-memory client session.
Package service orchestrates reads: fetch a document, parse it, keep the handle memory, resolve a read scope, and render.
Package service orchestrates reads: fetch a document, parse it, keep the handle memory, resolve a read scope, and render.
Package tools registers the MCP tools.
Package tools registers the MCP tools.
Package userconfig stores non-secret, per-profile settings that survive between runs: where the OAuth client JSON lives, which account was logged in, and where the refresh token was stored.
Package userconfig stores non-secret, per-profile settings that survive between runs: where the OAuth client JSON lives, which account was logged in, and where the refresh token was stored.
Package version exposes the build-time version string.
Package version exposes the build-time version string.

Jump to

Keyboard shortcuts

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