Skip to content

v0.1.1

Latest

Choose a tag to compare

@khj809 khj809 released this 09 Nov 04:26
· 114 commits to main since this release
1a6b2c7

🙌 New contributors

✨ New features

Google Docs writes

Two Docs operations write: documents.create and documents.batchUpdate. (#1114, #1134, #1198, #1214, #1219)

  • documents.create makes a blank Doc at the caller's My Drive root, owned by the caller, and keeps only the title it states.
  • documents.batchUpdate applies these requests:
    • text: insertText, deleteContentRange and replaceAllText, with real's case and accent folding and searchByRegex read as java.util.regex;
    • styles and lists: updateTextStyle, updateParagraphStyle, createParagraphBullets and deleteParagraphBullets;
    • named ranges;
    • tables: insertTable, insertTableRow/Column and deleteTableRow/Column;
    • tabs, headers, footers, footnotes and page breaks.
  • Requests run in order, and either all of them are kept or none. Refusals come in real's wording and order, and each write moves the Doc's revisionId. A request kind not yet served gets a 400 that names it.
  • A written Doc reads back everywhere: through documents.get, Drive's files.export and full-text search, and Drive's modifiedTime and version.
  • examples/using-official-sdk/gdrive.py creates a Doc, writes it pinned to the revision it read, and reads it back.

Google Sheets writes

Nine Sheets operations write: values.update, values:batchUpdate, values.append, values.clear, values:batchClear, values:batchUpdateByDataFilter, values:batchClearByDataFilter, spreadsheets.create and sheets.copyTo. (#1039)

  • A cell is stored typed and formatted as real stores it. USER_ENTERED reads numbers, percents, currencies, dates and times, booleans, errors and formulas as the Sheets UI reads typing, with the numberFormat it infers, and a formatted value is rendered as real displays it.
  • Only a spreadsheet's owner may write it; a reader's write is real's 403. Like every served write, it lands in the per-server overlay and never in the corpus.
  • Reads serve formatted values, userEnteredFormat, error cells and dateTimeRenderOption, a created spreadsheet keeps its locale and timeZone in the spellings real accepts, and sheet titles collide as real compares them.
  • The tools backlot mcp --source gdrive derives take each write's body fields as arguments, and examples/using-mcp-with-agents/gdrive.py ends by writing its finding into a spreadsheet it creates.

⚠️ Breaking changes

  • A corpus imported by 0.1.0 or earlier has to be re-imported. The Docs body and Sheets tables are new, so backlot serve refuses an older database and names the missing gdrive_spreadsheets or gdrive_doc_bodies table. Run backlot import again; a record needs no change. (#1039, #1052)
  • The backlot mcp tools for msteams, gmail and gdrive rename their $-prefixed arguments, so that the Anthropic API accepts them. A client that passed $filter, $select, $top or $.xgafv by name now passes filter, select, top or xgafv. (#1143)
  • backlot diff exits 1 when the baseline acknowledges a divergence the vendor no longer has, as it does for a new finding. A scheduled run reports the stale entry on the source's issue. (#1033)

🔧 Fixes

Each closes a measured divergence from the vendor's real API. Those that change what a source answers are marked in bold.

Slack

  • conversations.history and conversations.replies page from the ts the cursor names. (#1144)
  • A reply carries its thread root's parent_user_id in chat.postMessage, chat.update, reactions.get and reactions.list. (#1168, #1189, #1192)
  • A reply posted with reply_broadcast is listed in conversations.history as a thread_broadcast carrying its root, and a message posted through the API carries its app profile in every response that returns it. (#1151, #1228)
  • conversations.history serves a limit up to 1000 as sent, and treats one past 1000 as if none was sent. (#1200)
  • A method's name after two slashes or a backslash is served as that method, and a bearer token sent after two spaces is refused with invalid_auth. (#1023, #1008)
  • The eleven slackbot.skills methods, admin.conversations.kick, and the Enterprise-only admin.users.deactivate and admin.users.access.pause/resume are recorded gaps. (#1140, #1252, #1120)

Google

  • Gmail search reads -word, NOT word and -(…) as excluding the messages that hold the word, along with a NOT with no term after it, a dash touching an operator, a quoted operator and a no-break space. (#967, #1024)
  • A Drive fields mask trims top levels and object fields as real does: about.get distinguishes the fields it requires, and permissions answer real's always-on fields. With no mask, a file read answers its four default keys. (#1006, #1070)
  • Drive answers a file's keys, and a listing's own, in real's order, and a native file's size and quotaBytesUsed are never under 1024. (#1097, #1037)
  • A read sent as a POST with X-HTTP-Method-Override: GET is answered as the GET on Drive, Gmail, Docs and Sheets. (#975)
  • A credential sent in the query authenticates with spaces, tabs or newlines around it, and is refused with any other control byte, as on real. (#1224)
  • A corpus may state a Doc's structure: paragraphs and their named styles, styled and linked runs, list items, tables, footnotes, page breaks, a header and a footer, or tabs nested up to three levels. A record that states only content imports unchanged, and the importer and --dry-run refuse anything a real Doc cannot hold. docs/corpus.md has the rules and a worked example. (#1052, #1198, #1214, #1219)
  • documents.get serves real's structure. Every element carries UTF-16 startIndex/endIndex. Paragraph and text styles come in real's member order, with headingIds, lists, tables and named ranges, and headers, footers and footnotes are keyed by id. Document defaults are those of a Doc documents.create makes, and includeTabsContent serves the tab tree. (#1052, #1198, #1214, #1219)
  • documents.get answers a reader as real answers one, with no revisionId and with PREVIEW_WITHOUT_SUGGESTIONS. It reads suggestionsViewMode and commentsViewMode, and trims the answer to a fields mask. (#1055)
  • Drive's files.export renders a Doc's text/plain and Markdown from its body as real renders them: headings, marks, links, list markers, tables and real's escapes. Full-text search reads every tab, header, footer, footnote and table cell. (#1160, #1198, #1219)

Notion

  • A JSON answer carries a weak ETag, and a GET or HEAD sent If-None-Match: * draws real's 304. (#1085)
  • A request with an Origin gets real's CORS headers, and a preflight gets its 204. (#1081)
  • Pages, blocks and data sources answer timestamps to the minute, a database in its version's form, and a comment's times to the minute in millisecond form. (#1098, #1129)
  • A path is routed as sent, so an escape in a segment is decoded only into the value the route reads there. The root redirects to the marketing site. (#1238, #1163)
  • An invalid-token error carries the measured refusal reason, and an answer past the body reader carries the headers real's application sets. (#961, #747)
  • PATCH /v1/agents/{id} is an acknowledged gap beside the other agents operations. (#1215)

Atlassian

  • Confluence's CQL search reads a query as real's parser does.
    • It evaluates a query as a boolean expression, and a negated clause leaves out the rows it names. (#1096, #1083, #1278)
    • It filters on id, ancestor, parent, created, lastmodified, creator, contributor and title, and reads space.key as real reads it. (#1053, #1248, #1146)
    • Functions, backslash escapes, reserved words, unquoted decimals and numeric prefixes are read or refused as real does, and a query nested 1000 parentheses deep is served. (#1239, #1240, #1241, #1280, #1265, #1255)
    • An unclosed group, a function real does not have, a negative function argument and a recentlyViewedContent count that is not a whole number are refused with real's error, at the place real reports it. (#1281)
    • It writes cqlQuery back as it parsed it, a character past U+FFFF as two \u escapes, and refuses a query it cannot parse. (#1007, #977)
  • A Confluence content read expands exactly what expand names, and a bare read expands space, history and version. (#1222)
  • Every Confluence 200 writes a character past U+FFFF as its two surrogate escapes, a body's storage writes the characters HTML 4 names as entities, and a charset Java cannot name on a Spring operation gets an empty 500. (#1165, #1017, #1164)
  • A Confluence child listing refuses a page that would end past 2147483647. (#1242)
  • Integer query parameters read hexadecimal and zero-padded values as Spring does, and refuse U+0085. (#1226)
  • Jira's project/search keeps a project only when query, keys, typeKey and categoryId all match it. (#968)

GitHub

  • Credentials are read as real reads them: a Basic value shaped like a token that does not resolve is Bad credentials, as is a 40-hex Basic token or a token prefix in another case (counted in the Basic window), and an Authorization real cannot parse gets a code_search window at limit 0 and real's 403 once it is spent. (#1005, #1038, #1112)
  • GET /rate_limit opens none of the windows it reports, and with no Authorization it reports search as a window nothing has counted in. (#1121, #1201)
  • X-GitHub-Api-Version and Accept are read as real reads them: whitespace is trimmed, the value is read as UTF-8, a diff takes precedence over a patch, and a heavier global wildcard selects JSON. (#1022, #1069, #1105)
  • A path without a slash that matches a slashed route is a 404, not a 307, a %00 in a name a route reads gets real's empty 400, and the /agents routes read no API version and ask for a credential on any path. (#1015, #1272, #1153)
  • The Copilot code review, team-customization and automation-revision operations, the Dependabot runner settings, and the agent-merge, issue-artifact and advisory-comment operations are recorded gaps, refused as real refuses them. (#1273, #1236, #1262, #1119)

HubSpot

  • Every answer carries real's correlation id and charset, an error body its correlationId, and the 401 real's message and header. (#1190)
  • A keyed create, batch write, merge or v4 association write is refused for its types' scopes. (#1068)
  • Each unserved operation checks the Accept ahead of the credential, with nosniff under /crm/v4/associations/. (#1235)
  • A search filter's string value matches with accents folded away, and batch/read refuses more than 100 distinct ids. (#972, #969)

Linear

  • searchIssues finds an issue as real does: by its number, as KEYN and KEY N, or by an identifier opening the term. It reads a run of numbers one space apart, and splits two words that a punctuation mark joins. (#971, #1266, #1279)
  • Each answer carries the headers Linear sends, and the JSON ends in a newline as Apollo Server writes it. A request error is Apollo Server's, and introspection, the 401 and an unknown id are Linear's. (#1061, #1027)
  • A root field's refused argument is answered ahead of every resolver's error and ahead of an earlier by-id root's not-found. (#1063, #1258)
  • A body sent as br, utf-7 or utf-7-imap is decoded, and a $__proto__ variable is read as graphql-js holds it. (#1108, #1234)
  • DocumentFilter takes personalUser, and IntegrationService carries gitlabPersonal. (#1277, #1082)
  • Roots and fields Linear added are recorded gaps, among them Query.jiraProject, six Document access fields and DocumentFilter.parentDocument, and Query.agentSessionSshAddress, which Linear removed, leaves the baseline. (#1012, #1036, #1141, #1216, #1237, #1253, #1263)

Linear and Fireflies

  • Each path is answered by the layer that routes it at the vendor, and each method, content type and Accept likewise. (#1058, #1027)
  • A lone surrogate in a string argument is read as U+FFFD, and in a Linear search term it gets Linear's search-backend error. (#1101)
  • A whole number in a Float field is written with no fraction. (#1175)

Fireflies

  • Each answer carries the headers Fireflies sends, and a key's per-minute and per-day limits are spent and refused as Fireflies spends them. (#1062)
  • A transcript's id and a user's user_id are ULIDs. (#1103)
  • user and transcript given an id that names nothing answer real's errors beside the null, and a channel id no channel has is Channel not found. (#1084, #1122)
  • Query.transcript_import is a recorded gap. (#1276)

Server

  • A request that a vendor's edge refuses before its API sees it is refused in the same way. backlot serve and backlot.serve() run on backlot.protocol, a uvicorn HTTP protocol that reads the request head ahead of the parser. (#995, #1147, #1149, #1158, #1167, #1183, #1210, #1106)
    • A head that is too long gets the front door's own bound and status: GitHub's three 414s, Slack's 431, Google's HTTP/1.0 413, CloudFront's 414 for Jira, Cloudflare's for Notion, HubSpot, Linear and Fireflies, S3's 400 and Graph's 414.
    • A request line or header the parser refuses gets the vendor's answer instead of uvicorn's 400. This covers a NUL or control byte, a blank or identity Transfer-Encoding, a raw byte, printable character or %00 in the target, a newline at the end of a path, extra spaces after the method, a bracketed Host that holds no IPv6 address, a body on a Google GET or HEAD, a HubSpot header Cloudflare blocks, and a repeated conditional header behind Cloudflare.

backlot mcp

  • Every tool argument has a name the Anthropic Messages API accepts, and each call still sends the vendor's name on the wire: $select becomes select and $.xgafv becomes xgafv. Before this, the Anthropic API refused any request carrying a gdrive, gmail or msteams tool. (#1143)
  • initialize reports Backlot's version in serverInfo.version, where it reported FastMCP's. (#1073)

Telemetry

  • Backlot's own traffic is no longer counted: the servers backlot diff starts send nothing, the schema backlot mcp reads at startup is marked internal, and a GraphQL read of only introspection fields counts as extra. (#1031)

CLI

  • The counts backlot status prints read correctly whatever the count is. (#1156)

Integrations and examples

  • The mirage extra requires mirage-ai 0.0.8 on Python 3.12 and later, so every examples/using-mirage/ script run with --fuse mounts, reads and exits 0. Python 3.11 keeps 0.0.7. (#1227)
  • The official-SDK Notion script lists data sources, so it exits 0 under Notion-Version: 2025-09-03. (#1174)

Fidelity tooling

  • Every fragment @linear/sdk generates on a type Backlot serves is checked against the schema, in CI and on the fidelity schedule, and Jira table drift reaches the scheduled issue. (#1109, #1166)

Tooling, packaging and CI

  • A published release builds the plugin branch that the Claude Code and Codex marketplaces install from. Both manifests carry the release's version, and the branch holds the skill, its icons, the plugin README, LICENSE and NOTICE.md. The Codex listing is marked Desktop only, both listings gain support and documentation links, and the READMEs list npx skills add brekkylab/backlot --skill backlot. (#1093, #1090)
  • brotli, regex and, on Windows, tzdata join the core dependencies. They decode Linear's br bodies, read a Docs regular expression, and supply the time zones of a Sheets date. (#1108, #1134, #1039)
  • The suite distributes tests with --dist worksteal, runs each measured table as one test and builds each repeated corpus once. A pull request that changes a script a test names runs on Windows, and the HubSpot Cloudflare page keeps its LF endings under core.autocrlf=true. (#1003, #1172, #1257)
  • @linear/sdk 100 in the Linear example. fastapi 0.162.0, pydantic 2.14.2, pydantic-settings 2.16.2, fastmcp 4.1.4, msgraph-sdk 1.65.0, slack-sdk 3.46.0, openai 3.41.0, pandas 3.1.0, pytest 9.2.0, ruff 0.17.3, and the actions group. (#1064, #1066, #1065, #1203, #1205, #1204)

Full changelog: v0.1.0...v0.1.1