goose/documentation
Filip Kujawa f971a6f167
Some checks are pending
Cargo Deny / deny (push) Waiting to run
Unused Dependencies / machete (push) Waiting to run
feat(core): build the compaction request as a cache prefix of the conversation
Record the last routed request's header (system prompt, tools) per
session in a bounded in-process registry, then build the summarization
request as that request plus the compaction instruction as the final
user message, with the prompt cache enabled and the session's thinking
config inherited. This replaces the standalone summarizer shape for
session compaction; a session with no recorded header summarizes the
same way with an empty header. The unused compaction.md template leaves
the template registry and docs; a stale user override warns toward
compaction_prefix.md and compaction_summary.md.

When the summarizer overflows, tool-response contents are elided
middle-out in progressively larger fractions, keeping every tool
request/response pair intact. A response that is not a summary (a tool
call, or no text) gets one corrective retry on the same cached prefix,
with rejected tool calls paired to stub results and a re-instruction;
a second rejection fails compaction with an error that carries the
billed usage of each rejected attempt, which every loop records per
attempt so cost is kept and the context gauge is not inflated.

Toolshim sessions convert tool traffic to text at send time (so elision
still sees native tool responses) and interpret the summarizer's
response like any session response, so a textual shim-protocol tool
call is rejected and corrected instead of accepted as the summary.
2026-08-20 16:40:04 -07:00
..
.goose/memory Prompt Library (#1906) 2025-03-31 07:29:37 -04:00
automation Remove CLI project support (#10838) 2026-08-03 14:11:42 +00:00
blog docs: clarify macOS sandbox feature was removed in post-v1.25.0 cleanup (#10900) 2026-08-03 15:30:58 +00:00
docs feat(core): build the compaction request as a cache prefix of the conversation 2026-08-20 16:40:04 -07:00
plugins [docs] Add OSS Skills Marketplace (#6752) 2026-01-28 22:46:18 -05:00
scripts docs: remove retired site resources (#10817) 2026-07-30 13:40:37 +00:00
src fix (UI): Fix Form/JSON toggle buttons invisible in dark mode on Deeplink Generator (#11077) 2026-08-10 09:37:53 +00:00
static docs: update Discord invite (#10863) 2026-07-31 22:49:19 +00:00
.gitignore [docs] Add OSS Skills Marketplace (#6752) 2026-01-28 22:46:18 -05:00
.goosehints Add .goosehints file to enforce lowercase branding in documentation (#4870) 2025-09-28 23:53:56 -04:00
.npmrc feat: V1.0 (#734) 2025-01-24 13:04:43 -08:00
AGENTS.md adding brand guidelines to AGENTS.md (#4887) 2025-10-08 15:27:19 -04:00
CLAUDE.md agents: add CLAUDE.mds to mirror AGENTS.mds (#9029) 2026-05-05 18:53:52 +00:00
docusaurus.config.ts docs: update Discord invite (#10863) 2026-07-31 22:49:19 +00:00
package-lock.json chore(deps-dev): bump js-yaml from 4.3.0 to 4.3.1 in /documentation (#11052) 2026-08-08 16:49:32 +02:00
package.json chore(deps-dev): bump js-yaml from 4.3.0 to 4.3.1 in /documentation (#11052) 2026-08-08 16:49:32 +02:00
postcss.config.js Docs: Revamp extensions site (#1260) 2025-03-24 14:56:40 +01:00
README.md docs: clarify directory in /documentation readme (#6541) 2026-01-16 08:58:34 -08:00
sidebars.ts feat: V1.0 (#734) 2025-01-24 13:04:43 -08:00
tailwind.config.js Docs: Add Goose Recipes Cookbook Page (#2998) 2025-06-20 16:46:27 -04:00
tsconfig.json Prompt Library (#1906) 2025-03-31 07:29:37 -04:00

Website

This website is built using Docusaurus, a modern static website generator.

Run all commands from the documentation/ directory.

Installation

$ npm i

Local Development

$ npm run start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true npm run deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> npm run deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.