Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
6887e57
chore: update package.json with packageManager field and dependency c…
ravibits Apr 23, 2026
c82ee41
build(deps): update pnpm to 10.33.1 and bump patch versions
ravibits Apr 23, 2026
e62bca2
upgrade to astro 6 and latest starlight plugins
ravibits Apr 23, 2026
354141b
Fix Astro 6 build errors: image imports and anchor link slugs
ravibits Apr 23, 2026
e19b4c7
new lock
saif-at-scalekit Apr 24, 2026
ba4000e
build: reduce build time and improve CI quality
ravibits Apr 24, 2026
73dca98
fix: vite-plugin-static-copy patch and build configuration
ravibits Apr 24, 2026
5b18a30
ci: fix format-check crash on Tabs.astro and bump Node to 24
ravibits Apr 24, 2026
b0b5b98
ci: remove astro check gate until pre-existing type errors are resolved
ravibits Apr 24, 2026
0db6f9f
ci: run agent-markdown audit without --strict flag
ravibits Apr 24, 2026
e492a1b
feat(llms): improve agent content discovery for AgentKit and all prod…
ravibits Apr 24, 2026
d5b0d9d
fix(llms): exclude draft and sidebar-hidden pages from all llm outputs
ravibits Apr 24, 2026
be72c46
chore(llms): add LLM judge prompt for comparing llms.txt versions
ravibits Apr 24, 2026
459f263
docs(agentkit): add MCP provider support to bring-your-own-connector
AkshayParihar33 Apr 22, 2026
f0ff774
node example update
AkshayParihar33 Apr 22, 2026
b2b8d62
docs(agentkit): restructure bring-your-own-connector section
AkshayParihar33 Apr 22, 2026
82b02f0
updated the number of connectors to 100+
ravibits Apr 22, 2026
19a4fa8
docs(agentkit): update scoped tools examples with connection names an…
AkshayParihar33 Apr 22, 2026
7ad0524
rabbit comment
AkshayParihar33 Apr 22, 2026
4e48b60
docs(agentkit): update link format to open in new tab
AkshayParihar33 Apr 22, 2026
839aa01
rename byoc pages to match their titles
AkshayParihar33 Apr 22, 2026
ace6666
add box_file_download, box_file_representations_get, box_file_upload …
Pranesh-Raghu Apr 22, 2026
ca68510
remove box_file_download and box_file_upload tool docs — use proxy in…
Pranesh-Raghu Apr 22, 2026
5f49561
fix(box): add box_file_representations_get to box.ts data source
Pranesh-Raghu Apr 23, 2026
1495fa5
deleting stale files so that it doesn't confuse llm.txt
ravibits Apr 24, 2026
a73c513
fix(llms): replace dead agentkit/frameworks/ URLs with agentkit/examp…
ravibits Apr 24, 2026
52667ca
chore: remove unused generate-search-index script
saif-at-scalekit Apr 27, 2026
075d586
chore: update d2 svg version string
saif-at-scalekit Apr 27, 2026
19fccd6
Merge branch 'main' into preview/package-json-cleanup
saif-at-scalekit Apr 27, 2026
f8d2770
chore: remove ci.yml (moving to separate PR)
saif-at-scalekit Apr 27, 2026
13647cf
chore: remove preview URL logging from pre-push hook
saif-at-scalekit Apr 27, 2026
5505909
fix(agentkit): correct broken framework links to examples paths
saif-at-scalekit Apr 27, 2026
cca6802
chore: update remaining d2 svg version strings
saif-at-scalekit Apr 27, 2026
ee63aba
feat: add OAuth/OIDC discovery redirects to well-known endpoints
saif-at-scalekit Apr 27, 2026
143f414
chore: merge main and resolve conflicts
saif-at-scalekit Apr 27, 2026
6cea69f
fix: address CodeRabbit review feedback on PR #628
saif-at-scalekit Apr 27, 2026
d34dfd0
fix the lockfile issues
saif-at-scalekit Apr 27, 2026
f7e88ed
fix(llms-judge-prompt): update stale framework routing URLs and descr…
saif-at-scalekit Apr 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ docs/superpowers/
venv/
.venv/
examples/*
project-docs/BUILD_AUDIT.md
project-docs/BUILD_COMPARISON.md
5 changes: 4 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,7 @@ archives/
*.mdx

# Component overrides with custom formatting
src/components/overrides/Banner.astro
src/components/overrides/Banner.astro

# Conditional inline <script> inside JSX — prettier-plugin-astro cannot parse this pattern
src/components/ui/Tabs.astro
2 changes: 1 addition & 1 deletion .simple-git-hooks.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"pre-commit": "pnpm pretty-quick --staged",
"pre-push": "if [ -n \"$(git status --porcelain)\" ]; then echo \"❌ Error: You have uncommitted changes. Please commit or stash them before pushing.\"; git status --short; exit 1; fi && echo \"Running build before push...\" && pnpm run generate-search-index && pnpm run build && node scripts/log-preview-url.js"
"pre-push": "if [ -n \"$(git status --porcelain)\" ]; then echo \"❌ Error: You have uncommitted changes. Please commit or stash them before pushing.\"; git status --short; exit 1; fi"
}
10 changes: 4 additions & 6 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ import { injectAgentHeader } from './src/integrations/inject-agent-header.ts'

// https://astro.build/config
export default defineConfig({
// Switched from 'server' to default (static) to drastically reduce build memory.
// Astro 6's Vite Environments API creates separate build contexts per output mode;
// 'server' mode processes all 300+ pages through a heavy SSR pipeline.
// The few SSR pages (auth, health, admin) already have `prerender = false`.
// SSR mode: the Netlify adapter prerendering per-page via `prerender` exports.
// Pages without `prerender = false` are statically generated at build time.
// Memory-intensive builds: see vite.build settings below.
output: 'server',
site: 'https://docs.scalekit.com',
server: {
Expand Down Expand Up @@ -411,8 +410,7 @@ export default defineConfig({
// Disable gzip size reporting to save memory on large builds
reportCompressedSize: false,
rollupOptions: {
// Limit parallel file I/O to reduce memory spikes during bundling
maxParallelFileOps: 2,
maxParallelFileOps: 8,
output: {
manualChunks(id) {
if (id.includes('@scalar')) return 'scalar'
Expand Down
577 changes: 577 additions & 0 deletions llms-judge-prompt.txt

Large diffs are not rendered by default.

14 changes: 11 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

[functions]
directory = "netlify/functions"
# Bundles Functions 1.x with esbuild. The SSR function (Functions 2.0) is
# bundled separately by the Netlify adapter and is not affected by this setting.
node_bundler = "esbuild"
# Ensure Functions 2.0 format is used
included_files = ["netlify/functions/**"]

# Local dev: same as `pnpm run start` — `NETLIFY_DEV=1 astro dev` on port 4321.
# Declare `command` + `targetPort` so Netlify Dev matches astro.config server settings.
Expand All @@ -21,7 +21,15 @@
path = "/*"
function = "track-agents"

# LLM-friendly files: fresh but cacheable (1 hour)
# Astro emits content-hashed filenames for all JS/CSS bundles — safe to cache permanently.
# The hash changes whenever content changes, so immutable is correct here.
[[headers]]
for = "/_astro/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"

# LLM index files — 1h fresh, 24h stale. All four rules below are intentionally identical;
# Netlify TOML requires a separate [[headers]] block per path pattern.
[[headers]]
for = "/llms.txt"
[headers.values]
Expand Down
66 changes: 34 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,101 +2,103 @@
"name": "scalekit-docs",
"type": "module",
"version": "2.0.0",
"packageManager": "pnpm@10.33.1",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"scripts": {
"dev": "netlify dev:exec pnpm run start",
"start": "cross-env NETLIFY_DEV=1 astro dev",
"build": "astro build && node scripts/generate-llms-index.js && node scripts/agent-markdown-audit.js",
"build": "astro build && node scripts/generate-llms-index.js",
"agent-markdown:audit": "node scripts/agent-markdown-audit.js",
"agent-markdown:audit:strict": "node scripts/agent-markdown-audit.js --strict",
Comment thread
saif-at-scalekit marked this conversation as resolved.
"preview": "astro preview",
"astro": "astro",
"upgrade": "pnpm dlx @astrojs/upgrade",
"install:d2": "bash scripts/install-d2.sh",
"generate-search-index": "node scripts/search-index-apis.js",
"postinstall": "node scripts/setup-git-hooks.js",
"format:check": "prettier --check '**/*.{md,mdx,js,ts,astro,css,vue}'",
"format": "prettier --write '**/*.{md,mdx,js,ts,astro,css,vue}'",
"reorder-swagger": "node scripts/reorder-swagger.js public/api/scalekit.scalar.json",
"sync-agent-connectors": "node scripts/sync-agent-connectors.js"
},
"dependencies": {
"@astrojs/mdx": "^4.3.14",
"@astrojs/netlify": "^6.6.5",
"@astrojs/react": "^5.0.3",
"@astrojs/starlight": "^0.37.7",
"@astrojs/mdx": "^5.0.4",
"@astrojs/netlify": "^7.0.8",
"@astrojs/react": "^5.0.4",
"@astrojs/starlight": "^0.38.3",
"@astrojs/starlight-docsearch": "file:vendor/docsearch",
"@astrojs/starlight-tailwind": "^4.0.2",
"@astrojs/vue": "^5.1.4",
"@astrojs/starlight-tailwind": "^5.0.0",
"@astrojs/vue": "^6.0.1",
"@expressive-code/plugin-collapsible-sections": "^0.41.7",
"@expressive-code/plugin-line-numbers": "^0.41.7",
"@fontsource-variable/atkinson-hyperlegible-next": "^5.2.6",
"@fontsource-variable/inter": "^5.2.8",
"@fontsource-variable/outfit": "^5.2.8",
"@fontsource/jetbrains-mono": "^5.2.8",
"@hideoo/starlight-plugins-docs-components": "^0.4.2",
"@iconify/json": "^2.2.463",
"@scalar/api-reference": "^1.52.3",
"@scalar/astro": "^0.2.8",
"@tailwindcss/vite": "^4.2.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@iconify/json": "^2.2.465",
"@scalar/api-reference": "^1.52.5",
"@scalar/astro": "^0.2.9",
"@tailwindcss/vite": "^4.2.4",
"@usesapient/agent-tracker": "^0.1.1",
"accessible-astro-components": "^5.2.0",
"astro": "^5.18.1",
"astro-d2": "^0.9.0",
"astro": "^6.1.9",
"astro-d2": "^0.10.0",
"astro-loader-github-releases": "^2.1.1",
"astro-og-canvas": "^0.10.1",
"canvaskit-wasm": "0.40.0",
"jose": "^6.2.2",
"pnpm": "^10.33.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"sharp": "^0.34.5",
"starlight-blog": "^0.25.3",
"starlight-image-zoom": "^0.13.2",
"starlight-links-validator": "^0.19.2",
"starlight-llms-txt": "^0.7.0",
"starlight-blog": "^0.26.1",
"starlight-image-zoom": "^0.14.1",
"starlight-links-validator": "^0.23.0",
"starlight-llms-txt": "^0.8.1",
"starlight-package-managers": "^0.12.0",
"starlight-page-actions": "^0.5.0",
"starlight-page-actions": "^0.6.0",
"starlight-plugin-icons": "^1.1.6",
"starlight-showcases": "^0.3.2",
"starlight-sidebar-topics": "^0.6.2",
"starlight-sidebar-topics-dropdown": "^0.5.4",
"starlight-sidebar-topics": "^0.7.1",
"starlight-sidebar-topics-dropdown": "^0.6.0",
"starlight-theme-nova": "^0.11.9",
"starlight-videos": "^0.3.1",
"tailwindcss": "^4.2.2",
"starlight-videos": "^0.4.0",
"tailwindcss": "^4.2.4",
"unplugin-icons": "^23.0.1",
"vue": "^3.5.32"
"vue": "^3.5.33"
},
"devDependencies": {
"@scalar/openapi-to-markdown": "^0.4.16",
"@astrojs/check": "^0.9.8",
"@scalar/openapi-to-markdown": "^0.5.6",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-vue": "^6.0.6",
"cross-env": "^10.1.0",
"dotenv": "^17.4.2",
"husky": "^9.1.7",
"netlify-cli": "^25.0.1",
"netlify-cli": "^25.3.0",
"prettier": "^3.8.3",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"pretty-quick": "^4.2.2",
"remark-parse": "^11.0.0",
"remark-stringify": "^11.0.0",
"simple-git-hooks": "^2.13.1",
"typescript": "^6.0.3",
Comment thread
saif-at-scalekit marked this conversation as resolved.
"unified": "^11.0.5"
},
"pnpm": {
"onlyBuiltDependencies": [
"sharp",
"esbuild",
"@parcel/watcher",
"netlify-cli"
"netlify-cli",
"simple-git-hooks"
],
"overrides": {
"@astrojs/starlight-docsearch": "file:./vendor/docsearch",
"glob": "^11.0.0",
"mdast-util-to-hast": "^13.2.1"
},
"patchedDependencies": {
"vite-plugin-static-copy@3.4.0": "patches/vite-plugin-static-copy@3.4.0.patch"
"vite-plugin-static-copy@4.1.0": "patches/vite-plugin-static-copy@4.1.0.patch"
}
}
}
14 changes: 0 additions & 14 deletions patches/vite-plugin-static-copy@3.4.0.patch

This file was deleted.

22 changes: 22 additions & 0 deletions patches/vite-plugin-static-copy@4.1.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/dist/index.js b/dist/index.js
index 8703f1bd5f6438c61a80b9fc842722820bd9a49f..835dfa2cf82fae6eee47fb478108055d858856a3 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1063,13 +1063,14 @@ const buildPlugin = ({ targets, silent, hook, environment }) => {
},
buildEnd() {
- if (this.environment && this.environment.name !== environment) return;
+ if (this.environment && this.environment.name !== (environment ?? 'client')) return;
output = false;
},
async [hook]() {
- if (this.environment && this.environment.name !== environment) return;
+ if (this.environment && this.environment.name !== (environment ?? 'client')) return;
if (output) return;
output = true;
- const result = await copyAll(config.root, config.build.outDir, targets, silent);
+ const outDir = this.environment?.config?.build?.outDir ?? config.build.outDir;
+ const result = await copyAll(config.root, outDir, targets, silent);
if (!silent) outputCopyLog(config.logger, result);
}
};
Loading