Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Binary file added docs-site/static/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-site/static/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-site/static/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-site/static/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-site/static/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs-site/static/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions docs-site/static/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions docs-site/static/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "kagent docs",
"short_name": "kagent",
"start_url": "/docs/",
"icons": [
{
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#942DE7",
"background_color": "#ffffff",
"display": "standalone"
}
10 changes: 10 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ const nextConfig = {
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
async redirects() {
return [
// Short install URL for the kagent CLI:
// curl -sL https://kagent.dev/install | bash
// Temporary (307) so clients never cache it and the target can move.
// `curl -L` follows it; the script itself picks the release to install.
{
source: '/install',
destination:
'https://raw.githubusercontent.com/kagent-dev/kagent/refs/heads/main/scripts/get-kagent',
permanent: false,
},
// Order matters: Next applies the first matching redirect. These two name
// a page that also moved section, so the catch-all below would send them
// to a 0.x path that does not exist (there is no 0.x/getting-started/
Expand Down
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const HowItWorks = () => {
Quick Start — tabbed terminal install block
============================================================ */
const INSTALL_TABS = [
{ label: 'One-liner', cmd: 'curl https://raw.githubusercontent.com/kagent-dev/kagent/refs/heads/main/scripts/get-kagent | bash' },
{ label: 'One-liner', cmd: 'curl -sL https://kagent.dev/install | bash && kagent install' },
{ label: 'Brew', cmd: 'brew install kagent' },
];

Expand Down
Loading