From ebea483394ad040290a68a31d3f64dff4c81c72b Mon Sep 17 00:00:00 2001 From: Han Ryoo Date: Tue, 10 Nov 2026 09:51:57 -0800 Subject: [PATCH 1/3] feat: add an Antigravity plugin for the Freight Right connector Antigravity loads the same five skills and the production MCP server. Gemini CLI keeps working from gemini-context.md, and the quote-requests description is quoted so its metadata survives YAML parsing. SM-1652 Co-authored-by: Cursor --- .antigravity-plugin/plugin.json | 37 +++++++++++ AGENTS.md => .cursor/rules/repository.mdc | 13 ++-- CHANGELOG.md | 11 ++++ CONTRIBUTING.md | 20 ++++-- README.md | 34 +++++++--- assets/antigravity-logo.png | Bin 0 -> 18855 bytes GEMINI.md => gemini-context.md | 0 gemini-extension.json | 2 +- mcp_config.json | 8 +++ .../skills/quote-requests/SKILL.md | 2 +- rules/AGENTS.md | 10 +++ scripts/selftest.mjs | 4 ++ scripts/set-version.mjs | 3 +- scripts/validate.mjs | 61 ++++++++++++++++-- skills/quote-requests/SKILL.md | 2 +- 15 files changed, 177 insertions(+), 30 deletions(-) create mode 100644 .antigravity-plugin/plugin.json rename AGENTS.md => .cursor/rules/repository.mdc (68%) create mode 100644 assets/antigravity-logo.png rename GEMINI.md => gemini-context.md (100%) create mode 100644 mcp_config.json create mode 100644 rules/AGENTS.md diff --git a/.antigravity-plugin/plugin.json b/.antigravity-plugin/plugin.json new file mode 100644 index 0000000..095780f --- /dev/null +++ b/.antigravity-plugin/plugin.json @@ -0,0 +1,37 @@ +{ + "$schema": "https://antigravity.google/schemas/v1/plugin.json", + "name": "freightright", + "displayName": "Freight Right", + "version": "0.2.2", + "description": "Freight rates, quote requests, and shipment tracking with billing, customs, documents and a feed of what changed, from your Freight Right account, with skills that keep billing and bookings right.", + "logo": "assets/antigravity-logo.png", + "suggestedPrompts": [ + "What shipments are arriving this week?", + "What would one 40-foot container from Shanghai to Los Angeles cost?", + "Find a shipment by its container or reference number." + ], + "author": { + "name": "Freight Right", + "email": "support@freightright.com", + "url": "https://www.freightright.com" + }, + "homepage": "https://developers.freightright.com/setup/antigravity/", + "repository": "https://github.com/freight-right/agent-plugins", + "license": "MIT", + "keywords": [ + "freight", + "freight rates", + "shipping", + "logistics", + "ltl", + "ocean freight", + "fcl", + "lcl", + "air freight", + "freight quote", + "shipment tracking", + "container tracking", + "supply chain", + "ecommerce shipping" + ] +} diff --git a/AGENTS.md b/.cursor/rules/repository.mdc similarity index 68% rename from AGENTS.md rename to .cursor/rules/repository.mdc index 6938168..f8a7fe8 100644 --- a/AGENTS.md +++ b/.cursor/rules/repository.mdc @@ -1,16 +1,21 @@ +--- +description: Safety, source of truth, validation, and release rules for this repository +alwaysApply: true +--- + # Notes for agents working in this repository ## Safety - This repository is public. It must never contain credentials, customer data, internal ticket identifiers, or a hostname belonging to a development or staging environment. -- `plugins/freightright/.mcp.json` and the root `gemini-extension.json` must carry exactly - `https://mcp.freightright.com/mcp`. The validator pins this string. To test against development, copy the plugin - elsewhere and change the copy. +- `plugins/freightright/.mcp.json`, the root `mcp_config.json`, and the root `gemini-extension.json` + must carry exactly `https://mcp.freightright.com/mcp`. The validator pins this string. To test against + development, copy the plugin elsewhere and change the copy. ## Source of truth -- The connector — `freight-right/fr-mcp` — defines the tools. `contract/tools.json` is a snapshot of it and is the +- The connector, `freight-right/fr-mcp`, defines the tools. `contract/tools.json` is a snapshot of it and is the only thing this repository checks skills against. Refresh it with `scripts/export_contract.py`; never hand-edit it. - Enum values, limits and precision belong to `freightright://reference/codes`, not to a skill. diff --git a/CHANGELOG.md b/CHANGELOG.md index b4f35e0..90e4f03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,17 @@ All notable changes to this plugin are documented here. The format follows ## [Unreleased] +### Added + +- An Antigravity plugin: `.antigravity-plugin/plugin.json`, `mcp_config.json` for + `https://mcp.freightright.com/mcp`, and `rules/AGENTS.md`. It loads the five skills in `skills/`. + Gemini CLI's context file is `gemini-context.md`, so Antigravity does not treat it as an unloaded rule. + +### Fixed + +- The `quote-requests` skill description is quoted. An unquoted colon made YAML parsers drop the skill's name and + description. + ## [0.2.2] — 2026-11-10 ### Fixed diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4ec9061..62a4617 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,8 +5,12 @@ ``` .claude-plugin/marketplace.json the marketplace Claude Code reads gemini-extension.json the Gemini CLI extension gallery manifest (repository root) -GEMINI.md connector facts Gemini CLI loads with the extension -skills/ a copy of plugins/freightright/skills: Gemini CLI reads skills//SKILL.md +gemini-context.md connector facts Gemini CLI loads with the extension +.antigravity-plugin/plugin.json the Antigravity plugin manifest +mcp_config.json the Antigravity MCP server (`serverUrl`, OAuth in the client) +rules/AGENTS.md connector facts Antigravity loads with the plugin +.cursor/rules/repository.mdc notes for agents working in this repository +skills/ a copy of plugins/freightright/skills: Gemini CLI and Antigravity read skills//SKILL.md from the extension root and breaks a symlink there when it installs a release. Edit the plugin's skills, then `npm run sync-skills`; the validator fails on drift contract/tools.json a snapshot of the connector's real tool surface, with the fr-mcp revision @@ -17,7 +21,7 @@ plugins/freightright/ assets/ anything the INSTALLED plugin references skills//SKILL.md one skill per user intent evals/ cases, graders and mocks -assets/ images for this README only; they are not part of an install +assets/ README images, plus assets/antigravity-logo.png for the Antigravity manifest assets/github/ imagery GitHub itself shows; neither can be set through the API ``` @@ -35,6 +39,7 @@ prefer installing that way. | Copilot CLI | `.github/plugin/marketplace.json` | root `plugin.json` | | Cursor | `.cursor-plugin/marketplace.json` | `.cursor-plugin/plugin.json` | | Gemini CLI | GitHub topic `gemini-cli-extension` after merge | root `gemini-extension.json` | +| Antigravity | `agy plugin install` of this repository | root `mcp_config.json`, `.antigravity-plugin/plugin.json` | | Grok | none — it scans `plugins/*/` | root `plugin.json` (the portable manifest) | | Muse Code | `.agents/plugins/marketplace.json` or `.claude-plugin/marketplace.json`, whichever it finds first | root `plugin.json` (the portable manifest) | @@ -77,8 +82,9 @@ requiring the same field placement. Adding a client means adding a row to `MARKE Two rules that are easy to get wrong: - Only `plugin.json` belongs inside `.claude-plugin/`. Everything else sits at the plugin root. -- An asset referenced by an installed manifest must live under `plugins/freightright/assets/`. Repository-root - assets render on GitHub but are absent from an installed plugin's cached directory. +- An asset referenced by an installed Claude, Codex, Cursor, or Copilot manifest must live under + `plugins/freightright/assets/`. Repository-root assets render on GitHub but are absent from those clients' cached + plugin directory. Antigravity installs the repository root, so its logo is `assets/antigravity-logo.png`. ### GitHub imagery @@ -159,11 +165,11 @@ release; see `plugins/freightright/evals/README.md`. python scripts/export_contract.py --fr-mcp ../fr-mcp ``` If a tool was added, removed or renamed, update the skills and the mocks, and say so in the changelog. -2. Bump the version. Nine files state it, in several shapes, so there is one command and no hand-editing: +2. Bump the version. Ten files state it, in several shapes, so there is one command and no hand-editing: ```sh npm run set-version -- 0.2.0 ``` - The validator checks all nine agree. A bump makes an update *detectable*; it does not update anyone + The validator checks all ten agree. A bump makes an update *detectable*; it does not update anyone automatically — each client has its own update action. 3. Run the eval suite on a pinned model with three trials, and record the model and commit — the gate refuses to run without both. diff --git a/README.md b/README.md index ca69290..5da9e3c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@

Freight rates, quote requests and shipment tracking from your Freight Right account.

-

Claude Code · Codex · GitHub Copilot CLI · Cursor · Gemini CLI · Grok · Muse Code

+

Claude Code · Codex · GitHub Copilot CLI · Cursor · Gemini CLI · Antigravity · Grok · Muse Code

License: MIT @@ -151,21 +151,32 @@ Cursor takes a full git URL rather than `owner/repo`, and indexes the default br **Gemini CLI** Gemini CLI installs the latest GitHub Release, not the default branch. It clones the repository only when the -repository has no release at all. The current release does not contain `gemini-extension.json`, so this command -fails with `configuration file not found` until a release tag includes the manifest: +repository has no release at all. Release `v0.2.2` and later include `gemini-extension.json`: ```sh gemini extensions install https://github.com/freight-right/agent-plugins ``` -After that release, run `/mcp auth freightright` and sign in with your Shipment Manager account. Gemini CLI -discovers the OAuth endpoints from the connector and registers a client dynamically. There is no client id or -secret in this repository. The extension's tool timeout is already set to 60 seconds. Later updates follow the -release tag. +Then run `/mcp auth freightright` and sign in with your Shipment Manager account. Gemini CLI discovers the OAuth +endpoints from the connector and registers a client dynamically. There is no client id or secret in this +repository. The extension's tool timeout is already set to 60 seconds. Later updates follow the release tag. Once the repository carries the `gemini-cli-extension` GitHub topic, the same extension appears in the [Gemini CLI extension gallery](https://geminicli.com/extensions). +**Antigravity** + +Antigravity 2.6.0 or later installs this repository as a plugin. It reads `.antigravity-plugin/plugin.json`, +`mcp_config.json`, `rules/AGENTS.md`, and the five skills in `skills/`. The connector URL is +`https://mcp.freightright.com/mcp`. Sign-in is OAuth in the client. There is no API key in this repository. + +```sh +agy plugin install https://github.com/freight-right/agent-plugins +``` + +When the Freight Right server connects, Antigravity opens a browser so you can sign in with your Shipment Manager +account. A price check asks carriers live, so the tool timeout is 120 seconds. + ### Supported clients | Client | Installs | Skills work | @@ -175,6 +186,7 @@ Once the repository carries the `gemini-cli-extension` GitHub topic, the same ex | Copilot CLI 1.0.87 | Verified | Verified | | Cursor 2.2.44 | Verified | Verified | | Gemini CLI 0.44.1 | Verified, from the latest GitHub Release | Verified | +| Antigravity desktop 2.31.0 and CLI 1.5.4 | Verified from a local path | Verified in the desktop app | | Grok 1.0.40 | Verified | Verified | | Muse Code 1.3.0 | Verified, behind `MUSE_EXPERIMENTAL_PLUGINS` | Verified | @@ -183,14 +195,16 @@ vendor's directory. Grok and Muse Code are the exceptions that prove the point: [Agent Plugins](https://agent-plugins.org) manifest — Muse Code reads the Codex or Claude Code catalog as well — so neither needs anything of its own. Muse Code installs the skills only: its plugin format cannot carry an authenticated MCP server yet, which is why its install ends in a settings entry and a sign-in. Gemini CLI reads the root -`gemini-extension.json` and `GEMINI.md`. Its `skills` directory is a copy of `plugins/freightright/skills` that the +`gemini-extension.json` and `gemini-context.md`. Its `skills` directory is a copy of `plugins/freightright/skills` that the validator keeps byte-identical, so it loads the same five skills; a symlink does not survive Gemini CLI's install -from a release. +from a release. Antigravity reads `.antigravity-plugin/plugin.json`, `mcp_config.json`, and `rules/AGENTS.md`, and +it loads those same five skills. The production connector the plugin ships, `https://mcp.freightright.com/mcp`, is live: Freight Right's scripted canary — a registered MCP client that signs in through the same OAuth flow these clients use — completes the sign-in against it as a Freight Right administrator, and Muse Code has completed one interactively against the development -connector through `muse mcp login`. An interactive sign-in from each client against production is still to be +connector through `muse mcp login`. Antigravity 2.31.0 completed an interactive sign-in against production and a +read-only shipment lookup. An interactive sign-in from each other client against production is still to be recorded here. Installing and using the skills is what the table reports. ## What the connector can do diff --git a/assets/antigravity-logo.png b/assets/antigravity-logo.png new file mode 100644 index 0000000000000000000000000000000000000000..a2d9ba24a75e79609fcdbc5342604c5c6c09b0fe GIT binary patch literal 18855 zcmeEt_g7O})a?nOi8K`pHP{hBkS;CZs$io@uR)Ox0@7O&;3^6V7CKS{>AfouiUpM3 zLlF{0Y6t-#38cPozwcjoW4s?;#^At!!`bVswf5R`&b{^v6C(owJ~2K300eH|x^W)> zIM_dO0KDAnZ@Z!6Q~(n6G9LSq$X-z^9B3(t*v@N$d-X>kRwq6wS-NT1y{z>BRH@|LgznlmANzA&aGg za6OuECQpbw?f0hdch#MfF4a4_AgCCqGy6wfzY;6?ryS-a71@!X@Pv_rxWJIhy%i!W z@NH#hKcQRW9O3sAFHwM#~ATAoQ_DXZ3zgetIsyZfS7+`(bH>zbq^$b zPW_%VrZDziNy9KVT*D9%1FN<_$5aE*xrijMWpSlfQy#Efj;oAtYWO(KwV4R#n;IR$ zquUtMV;;MdDb}yGM~k6#+mSg;<&)UMe^DJV08Y^TNs*|%jfkbi(+L+BmlQjT6PA`K z6BZ9#Z1yM?7Stgb>CWuiU{?WL7fwTSQ*Y4bDg9VHj)P*TaWYwvwDV0jkc>ulHx3CvGEQT(B8u-R=Ts;cr|x2s4KsOQ zt);8Q(dPYpa;S$-jW*ZG&pgL3YKg`|nT{`yhIC@w0|tKGVJX6^J?*N!?9^L)f72{{ z$}N1vS?KPv%x3cZ>Q}_7v#Uno9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RAth9jHqD;We2l63VJX9?9|ow!A1?pwvBYKz zQ9)kA?tqK;O=fqzb=kNzV;!q27emrbrEC1lWqFF{pS?T#v*omoUy57f^-P>E2Q^%q zy*PNus-2&$cc!h27GIw2=DQ^6{ZE^t`>(GFex|xD?j1jHS{d z|BM2k=>EOc&nxzR&z*2<>cp-oUuz113w?mK*I}t#1KEo!y>8px>Ug!-*_h)$i>JKG zy{Ic`-t+k{_W!#zzfN!N-Fy8n#22dRUC&nI+VXe7t(Q_eCubkCmRh!1`Q5_1pvnKa zS3Wx#|2a3EaoNFp_q%Uj+yC*~nL43I>vx*lcO7%MT>atpW`+W=jV3QXtp6i_?|S{Y zcZcS%&;I@>HrCi!UZLJ!C-Ba`9V?^neR*rU=Uw?fxd*p7816~3h5hj_JiBMz>C

    4K-o_ literal 0 HcmV?d00001 diff --git a/GEMINI.md b/gemini-context.md similarity index 100% rename from GEMINI.md rename to gemini-context.md diff --git a/gemini-extension.json b/gemini-extension.json index 15535b4..77b9085 100644 --- a/gemini-extension.json +++ b/gemini-extension.json @@ -9,5 +9,5 @@ "timeout": 60000 } }, - "contextFileName": "GEMINI.md" + "contextFileName": "gemini-context.md" } diff --git a/mcp_config.json b/mcp_config.json new file mode 100644 index 0000000..5830a12 --- /dev/null +++ b/mcp_config.json @@ -0,0 +1,8 @@ +{ + "mcpServers": { + "freightright": { + "serverUrl": "https://mcp.freightright.com/mcp", + "timeoutSeconds": 120 + } + } +} diff --git a/plugins/freightright/skills/quote-requests/SKILL.md b/plugins/freightright/skills/quote-requests/SKILL.md index 6e8b1c6..3ef3caa 100644 --- a/plugins/freightright/skills/quote-requests/SKILL.md +++ b/plugins/freightright/skills/quote-requests/SKILL.md @@ -1,6 +1,6 @@ --- name: quote-requests -description: Freight Right quote requests — ask Freight Right's pricing team for a price that instant rates cannot give: full truckload, Mexico trucking, hazardous or temperature-controlled cargo on a mode that refuses it, unusual cargo, a lane with no instant offers, a second opinion. Covers previewing, submitting and polling a request, who may book it, listing quotes and reading one by its number (a customer's own, or every organization's for a Freight Right administrator), a quote's public read-only link, an administrator sharing a quote and finishing a draft: its offers, the one chosen, sending it. Also use when a customer asks Freight Right's team something in their own words — a spot rate, a contract inquiry, booking help, a shipment problem, a correction, a PO discrepancy (what a container held against the purchase order) or a feature request — or follows up on or withdraws such a request. +description: "Freight Right quote requests — ask Freight Right's pricing team for a price that instant rates cannot give: full truckload, Mexico trucking, hazardous or temperature-controlled cargo on a mode that refuses it, unusual cargo, a lane with no instant offers, a second opinion. Covers previewing, submitting and polling a request, who may book it, listing quotes and reading one by its number (a customer's own, or every organization's for a Freight Right administrator), a quote's public read-only link, an administrator sharing a quote and finishing a draft: its offers, the one chosen, sending it. Also use when a customer asks Freight Right's team something in their own words — a spot rate, a contract inquiry, booking help, a shipment problem, a correction, a PO discrepancy (what a container held against the purchase order) or a feature request — or follows up on or withdraws such a request." --- # Freight Right: quote requests diff --git a/rules/AGENTS.md b/rules/AGENTS.md new file mode 100644 index 0000000..4ba9001 --- /dev/null +++ b/rules/AGENTS.md @@ -0,0 +1,10 @@ +# Freight Right + +This plugin connects Antigravity to the Freight Right MCP connector at +`https://mcp.freightright.com/mcp` over streamable HTTP. When the server connects, sign in +with a Shipment Manager account in the browser. There is no API key. + +A price check asks carriers live and can take up to a minute. The tool timeout is 120 seconds. + +The skills shipped with this plugin are the workflow. The connector documentation is at +. diff --git a/scripts/selftest.mjs b/scripts/selftest.mjs index cec2500..8b82c24 100644 --- a/scripts/selftest.mjs +++ b/scripts/selftest.mjs @@ -38,6 +38,10 @@ const VALIDATOR_CASES = [ json(d, 'plugins/freightright/.mcp.json', (v) => { v.mcpServers.freightright.url = 'https://dev-mcp.sm.freightright.com/mcp'; })], + ['an Antigravity connector URL that is not production', (d) => + json(d, 'mcp_config.json', (v) => { + v.mcpServers.freightright.serverUrl = 'https://dev-mcp.sm.freightright.com/mcp'; + })], ['a Gemini CLI connector URL that is not production', (d) => json(d, 'gemini-extension.json', (v) => { v.mcpServers.freightright.httpUrl = 'https://dev-mcp.sm.freightright.com/mcp'; diff --git a/scripts/set-version.mjs b/scripts/set-version.mjs index c5c095a..7427a28 100644 --- a/scripts/set-version.mjs +++ b/scripts/set-version.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// One version lives in nine files. Bumping them by hand is how a release goes out inconsistent, so this is the +// One version lives in ten files. Bumping them by hand is how a release goes out inconsistent, so this is the // only supported way to do it. // // npm run set-version -- 0.2.0 @@ -28,6 +28,7 @@ const TARGETS = [ ['.github/plugin/marketplace.json', (v) => { v.version = version; }], ['.cursor-plugin/marketplace.json', (v) => { v.metadata.version = version; }], ['gemini-extension.json', (v) => { v.version = version; }], + ['.antigravity-plugin/plugin.json', (v) => { v.version = version; }], ]; for (const [file, set] of TARGETS) { diff --git a/scripts/validate.mjs b/scripts/validate.mjs index 415c69d..db3667a 100644 --- a/scripts/validate.mjs +++ b/scripts/validate.mjs @@ -217,7 +217,7 @@ if (portableMcp) { } // ------------------------------------------------ Gemini CLI reads a root-level gallery manifest, not a plugin path -// The gallery crawler looks for `gemini-extension.json` at the repository root. It is a ninth place the version and +// The gallery crawler looks for `gemini-extension.json` at the repository root. It is one place the version and // the connector URL live, so pin the same facts the other clients already share: name, version, description, and // production `httpUrl` with dynamic OAuth discovery — no client id, secret or token. const gemini = need('gemini-extension.json'); @@ -227,10 +227,10 @@ if (gemini && portable) { fail('gemini-extension.json', `\`${field}\` differs from the portable manifest`); } } - if (gemini.contextFileName !== 'GEMINI.md') { - fail('gemini-extension.json', 'contextFileName must be GEMINI.md'); + if (gemini.contextFileName !== 'gemini-context.md') { + fail('gemini-extension.json', 'contextFileName must be gemini-context.md'); } - if (!existsSync(join(ROOT, 'GEMINI.md'))) fail('GEMINI.md', 'is missing'); + if (!existsSync(join(ROOT, 'gemini-context.md'))) fail('gemini-context.md', 'is missing'); // Gemini CLI loads skills//SKILL.md from the extension root. It installs from a GitHub Release by copying // the download, and rewrites a symlink to the temporary folder it then deletes, so a symlink here loads no skill. // The root skills/ is therefore a real copy of the plugin's skills, byte for byte (`npm run sync-skills`). @@ -271,9 +271,60 @@ if (gemini && portable) { } } +// ------------------------------------------------ Antigravity reads a root plugin with its own manifest directory +// Component files stay at the repository root. `.antigravity-plugin/plugin.json` is the manifest because this +// repository already publishes manifests for other clients. The connector URL is `serverUrl` (seconds for any +// timeout), never Gemini CLI's `httpUrl`. OAuth is discovered by the client, so no client id or secret ships here. +const antigravity = need('.antigravity-plugin/plugin.json'); +if (antigravity && portable) { + for (const field of ['name', 'version', 'description']) { + if (antigravity[field] !== portable[field]) { + fail('.antigravity-plugin/plugin.json', `\`${field}\` differs from the portable manifest`); + } + } + if (antigravity.displayName !== 'Freight Right') { + fail('.antigravity-plugin/plugin.json', 'displayName must be "Freight Right"'); + } + if (antigravity.homepage !== 'https://developers.freightright.com/setup/antigravity/') { + fail('.antigravity-plugin/plugin.json', 'homepage must be the Antigravity setup page'); + } + if (antigravity.repository !== 'https://github.com/freight-right/agent-plugins') { + fail('.antigravity-plugin/plugin.json', 'repository must be https://github.com/freight-right/agent-plugins'); + } + if (antigravity.author?.name !== 'Freight Right') { + fail('.antigravity-plugin/plugin.json', 'author.name must be "Freight Right"'); + } + const logo = antigravity.logo; + if (typeof logo !== 'string' || logo.includes('..') || !existsSync(join(ROOT, logo))) { + fail('.antigravity-plugin/plugin.json', 'logo must be a file inside the repository'); + } + if (!existsSync(join(ROOT, 'rules/AGENTS.md'))) { + fail('rules/AGENTS.md', 'is missing'); + } +} +const mcpConfig = need('mcp_config.json'); +const agyServer = mcpConfig?.mcpServers?.[SERVER_KEY]; +if (!agyServer) fail('mcp_config.json', `expected a server named "${SERVER_KEY}"`); +else { + if (agyServer.serverUrl !== CONNECTOR_URL) { + fail('mcp_config.json', `serverUrl must be exactly ${CONNECTOR_URL}`); + } + if ('httpUrl' in agyServer || 'url' in agyServer) { + fail('mcp_config.json', 'use serverUrl, not httpUrl or url'); + } + if (agyServer.timeoutSeconds != null && (!Number.isInteger(agyServer.timeoutSeconds) || agyServer.timeoutSeconds < 60)) { + fail('mcp_config.json', 'timeoutSeconds must be an integer number of seconds, at least 60'); + } + for (const secret of ['clientId', 'clientSecret', 'authorizationUrl', 'tokenUrl', 'issuer', 'headers', 'oauth']) { + if (agyServer[secret] != null) { + fail('mcp_config.json', `do not ship \`${secret}\`. Antigravity discovers OAuth in the client`); + } + } +} + // ---------------------------------------------------------------- nothing points at a non-production environment for (const path of files.filter((p) => !p.startsWith('.git/'))) { - if (['CONTRIBUTING.md', 'AGENTS.md', 'scripts/validate.mjs', 'scripts/selftest.mjs'].includes(path)) continue; + if (['CONTRIBUTING.md', '.cursor/rules/repository.mdc', 'scripts/validate.mjs', 'scripts/selftest.mjs'].includes(path)) continue; const text = read(path); // An environment prefix is a whole label: `dev-mcp.…` and `staging.…`, never `developers.freightright.com`. const stray = text.match(/https?:\/\/(?:[a-z0-9-]+\.)*(?:dev|staging|qa|uat)[-.][a-z0-9.-]+|https?:\/\/(?:localhost|127\.0\.0\.1)/i); diff --git a/skills/quote-requests/SKILL.md b/skills/quote-requests/SKILL.md index 6e8b1c6..3ef3caa 100644 --- a/skills/quote-requests/SKILL.md +++ b/skills/quote-requests/SKILL.md @@ -1,6 +1,6 @@ --- name: quote-requests -description: Freight Right quote requests — ask Freight Right's pricing team for a price that instant rates cannot give: full truckload, Mexico trucking, hazardous or temperature-controlled cargo on a mode that refuses it, unusual cargo, a lane with no instant offers, a second opinion. Covers previewing, submitting and polling a request, who may book it, listing quotes and reading one by its number (a customer's own, or every organization's for a Freight Right administrator), a quote's public read-only link, an administrator sharing a quote and finishing a draft: its offers, the one chosen, sending it. Also use when a customer asks Freight Right's team something in their own words — a spot rate, a contract inquiry, booking help, a shipment problem, a correction, a PO discrepancy (what a container held against the purchase order) or a feature request — or follows up on or withdraws such a request. +description: "Freight Right quote requests — ask Freight Right's pricing team for a price that instant rates cannot give: full truckload, Mexico trucking, hazardous or temperature-controlled cargo on a mode that refuses it, unusual cargo, a lane with no instant offers, a second opinion. Covers previewing, submitting and polling a request, who may book it, listing quotes and reading one by its number (a customer's own, or every organization's for a Freight Right administrator), a quote's public read-only link, an administrator sharing a quote and finishing a draft: its offers, the one chosen, sending it. Also use when a customer asks Freight Right's team something in their own words — a spot rate, a contract inquiry, booking help, a shipment problem, a correction, a PO discrepancy (what a container held against the purchase order) or a feature request — or follows up on or withdraws such a request." --- # Freight Right: quote requests From 80d54427aa86b696f1666b31763d7d110d487830 Mon Sep 17 00:00:00 2001 From: Han R Date: Tue, 10 Nov 2026 09:57:08 -0800 Subject: [PATCH 2/3] docs: record the verified Antigravity GitHub branch install --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5da9e3c..3d95cd5 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,8 @@ Antigravity 2.6.0 or later installs this repository as a plugin. It reads `.anti agy plugin install https://github.com/freight-right/agent-plugins ``` +To install a branch before it is the default, append `/tree/` to that URL. + When the Freight Right server connects, Antigravity opens a browser so you can sign in with your Shipment Manager account. A price check asks carriers live, so the tool timeout is 120 seconds. @@ -186,7 +188,7 @@ account. A price check asks carriers live, so the tool timeout is 120 seconds. | Copilot CLI 1.0.87 | Verified | Verified | | Cursor 2.2.44 | Verified | Verified | | Gemini CLI 0.44.1 | Verified, from the latest GitHub Release | Verified | -| Antigravity desktop 2.31.0 and CLI 1.5.4 | Verified from a local path | Verified in the desktop app | +| Antigravity desktop 2.31.0 and CLI 1.5.4 | Verified, from a local path and a GitHub branch | Verified in the desktop app | | Grok 1.0.40 | Verified | Verified | | Muse Code 1.3.0 | Verified, behind `MUSE_EXPERIMENTAL_PLUGINS` | Verified | From d34717daa3139d9c695336a330d50b1e27c0c310 Mon Sep 17 00:00:00 2001 From: Han Ryoo Date: Tue, 10 Nov 2026 11:14:17 -0800 Subject: [PATCH 3/3] fix: keep the repository notes at the root and drop the Antigravity timeout A positive timeoutSeconds replaces Antigravity's 180 second call default and 300 second connect default. The validator now rejects an unquoted colon in skill frontmatter. Co-authored-by: Cursor --- .cursor/rules/repository.mdc => AGENTS.md | 5 ----- CONTRIBUTING.md | 2 +- README.md | 2 +- mcp_config.json | 3 +-- rules/AGENTS.md | 2 +- scripts/selftest.mjs | 8 +++++++ scripts/validate.mjs | 27 ++++++++++++++++------- 7 files changed, 31 insertions(+), 18 deletions(-) rename .cursor/rules/repository.mdc => AGENTS.md (92%) diff --git a/.cursor/rules/repository.mdc b/AGENTS.md similarity index 92% rename from .cursor/rules/repository.mdc rename to AGENTS.md index f8a7fe8..427db27 100644 --- a/.cursor/rules/repository.mdc +++ b/AGENTS.md @@ -1,8 +1,3 @@ ---- -description: Safety, source of truth, validation, and release rules for this repository -alwaysApply: true ---- - # Notes for agents working in this repository ## Safety diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 62a4617..ded5003 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,8 +8,8 @@ gemini-extension.json the Gemini CLI extension gallery manifest (rep gemini-context.md connector facts Gemini CLI loads with the extension .antigravity-plugin/plugin.json the Antigravity plugin manifest mcp_config.json the Antigravity MCP server (`serverUrl`, OAuth in the client) +AGENTS.md notes for agents working in this repository rules/AGENTS.md connector facts Antigravity loads with the plugin -.cursor/rules/repository.mdc notes for agents working in this repository skills/ a copy of plugins/freightright/skills: Gemini CLI and Antigravity read skills//SKILL.md from the extension root and breaks a symlink there when it installs a release. Edit the plugin's skills, then `npm run sync-skills`; the validator fails on drift diff --git a/README.md b/README.md index 3d95cd5..38ef8db 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ agy plugin install https://github.com/freight-right/agent-plugins To install a branch before it is the default, append `/tree/` to that URL. When the Freight Right server connects, Antigravity opens a browser so you can sign in with your Shipment Manager -account. A price check asks carriers live, so the tool timeout is 120 seconds. +account. A price check asks carriers live and can take up to a minute. ### Supported clients diff --git a/mcp_config.json b/mcp_config.json index 5830a12..1b3c0c2 100644 --- a/mcp_config.json +++ b/mcp_config.json @@ -1,8 +1,7 @@ { "mcpServers": { "freightright": { - "serverUrl": "https://mcp.freightright.com/mcp", - "timeoutSeconds": 120 + "serverUrl": "https://mcp.freightright.com/mcp" } } } diff --git a/rules/AGENTS.md b/rules/AGENTS.md index 4ba9001..6c3bb29 100644 --- a/rules/AGENTS.md +++ b/rules/AGENTS.md @@ -4,7 +4,7 @@ This plugin connects Antigravity to the Freight Right MCP connector at `https://mcp.freightright.com/mcp` over streamable HTTP. When the server connects, sign in with a Shipment Manager account in the browser. There is no API key. -A price check asks carriers live and can take up to a minute. The tool timeout is 120 seconds. +A price check asks carriers live and can take up to a minute. The skills shipped with this plugin are the workflow. The connector documentation is at . diff --git a/scripts/selftest.mjs b/scripts/selftest.mjs index 8b82c24..21a5c43 100644 --- a/scripts/selftest.mjs +++ b/scripts/selftest.mjs @@ -34,6 +34,14 @@ const VALIDATOR_CASES = [ edit(d, SKILL, (s) => s.replace('name: instant-pricing', 'name: something-else'))], ['a skill carrying allowed-tools', (d) => edit(d, SKILL, (s) => s.replace('name: instant-pricing', 'name: instant-pricing\nallowed-tools: Bash'))], + ['a skill description with an unquoted colon', (d) => { + for (const file of [ + 'plugins/freightright/skills/quote-requests/SKILL.md', + 'skills/quote-requests/SKILL.md', + ]) { + edit(d, file, (s) => s.replace(/^description: "(.*)"$/m, 'description: $1')); + } + }], ['a connector URL that is not production', (d) => json(d, 'plugins/freightright/.mcp.json', (v) => { v.mcpServers.freightright.url = 'https://dev-mcp.sm.freightright.com/mcp'; diff --git a/scripts/validate.mjs b/scripts/validate.mjs index db3667a..d911bd8 100644 --- a/scripts/validate.mjs +++ b/scripts/validate.mjs @@ -312,8 +312,9 @@ else { if ('httpUrl' in agyServer || 'url' in agyServer) { fail('mcp_config.json', 'use serverUrl, not httpUrl or url'); } - if (agyServer.timeoutSeconds != null && (!Number.isInteger(agyServer.timeoutSeconds) || agyServer.timeoutSeconds < 60)) { - fail('mcp_config.json', 'timeoutSeconds must be an integer number of seconds, at least 60'); + // A positive timeoutSeconds replaces both Antigravity defaults: 180 seconds per call and 300 seconds to connect. + if (agyServer.timeoutSeconds != null) { + fail('mcp_config.json', 'do not set timeoutSeconds. It replaces the 180 second call default and the 300 second connect default'); } for (const secret of ['clientId', 'clientSecret', 'authorizationUrl', 'tokenUrl', 'issuer', 'headers', 'oauth']) { if (agyServer[secret] != null) { @@ -324,7 +325,7 @@ else { // ---------------------------------------------------------------- nothing points at a non-production environment for (const path of files.filter((p) => !p.startsWith('.git/'))) { - if (['CONTRIBUTING.md', '.cursor/rules/repository.mdc', 'scripts/validate.mjs', 'scripts/selftest.mjs'].includes(path)) continue; + if (['CONTRIBUTING.md', 'AGENTS.md', 'scripts/validate.mjs', 'scripts/selftest.mjs'].includes(path)) continue; const text = read(path); // An environment prefix is a whole label: `dev-mcp.…` and `staging.…`, never `developers.freightright.com`. const stray = text.match(/https?:\/\/(?:[a-z0-9-]+\.)*(?:dev|staging|qa|uat)[-.][a-z0-9.-]+|https?:\/\/(?:localhost|127\.0\.0\.1)/i); @@ -342,11 +343,17 @@ const frontmatter = (text) => { const end = text.indexOf('\n---', 3); if (end === -1) return null; const fields = new Map(); + const plainColons = []; for (const line of text.slice(4, end).split('\n')) { const match = /^([A-Za-z-]+):\s*(.*)$/.exec(line); - if (match) fields.set(match[1], match[2].trim()); - } - return fields; + if (!match) continue; + const value = match[2].trim(); + fields.set(match[1], value); + // A YAML parser treats an unquoted ": " as a nested mapping. Quoting the value is what keeps the field. + const quoted = (value.startsWith('"') && value.endsWith('"')) || (value.startsWith("'") && value.endsWith("'")); + if (!quoted && value.includes(': ')) plainColons.push(match[1]); + } + return { fields, plainColons }; }; const skillDir = `${PLUGIN}/skills`; @@ -360,11 +367,15 @@ for (const dir of skills) { continue; } const text = read(path); - const fields = frontmatter(text); - if (!fields) { + const parsed = frontmatter(text); + if (!parsed) { fail(path, 'must open with YAML frontmatter on line 1'); continue; } + const fields = parsed.fields; + for (const key of parsed.plainColons) { + fail(path, `\`${key}\` has an unquoted ": ", so a YAML parser rejects the frontmatter`); + } for (const key of fields.keys()) { if (!PORTABLE_FIELDS.has(key)) { fail(path, `\`${key}\` is outside the portable Agent Skills fields, so this file stops being portable`);