58 Commits
Author SHA1 Message Date
Josh Lambert b56e07e5b3 docs(kilo-docs): update legacy cleanup for latest main 2026-06-26 23:56:15 -04:00
kirillk 2ea9f0c24d fix(kilo-docs): copy JetBrains EAP URL without newline 2026-06-16 09:57:11 -04:00
Josh Lambert e6d06becab docs(kilo-docs): remove legacy IDE documentation 2026-06-14 23:12:26 -04:00
kirillk c23be8a170 docs(kilo-docs): address tab TOC review 2026-05-29 15:00:48 -04:00
kirillk 91bbeca691 docs(kilo-docs): improve JetBrains install anchors 2026-05-29 14:49:19 -04:00
Catriel Müller 2aa1b95074 refactor: resolve comments 2026-05-18 11:45:36 -03:00
arrrkady a19c91f83e Merge pull request #10214 from Kilo-Org/docs/update-mobile-apps
Update mobile apps documentation
2026-05-14 11:38:48 +02:00
John Fawcett 1acf0d7fed Merge remote-tracking branch 'origin/main' into convoy/wasteland-product-documentation/191b018d/head
# Conflicts:
#	.kilocode/package-lock.json
2026-05-13 12:18:29 -05:00
John Fawcett 691b228b9e fix(docs): hoist FitOnResize out of FlowDiagram render
Defining FitOnResize inside the parent render gave it a new component
identity on every parent render, forcing React to unmount/remount it
and tear down the ResizeObserver each time. Hoist it to module scope
and pass useReactFlow in as a prop. Also drop the unused instanceRef.
2026-05-13 12:07:16 -05:00
John Fawcett 25ae095944 docs(wasteland): polish diagrams and screenshots 2026-05-13 11:51:28 -05:00
kiloconnect[bot] e369798a38 docs(kilo-docs): tune mobile screenshot gallery sizing 2026-05-13 15:48:50 +00:00
kiloconnect[bot] c3acddd306 docs(kilo-docs): add image gallery tag 2026-05-13 15:34:28 +00:00
Catriel Müller 11297e4c5a fix: fix providers with wrong credentials 2026-05-08 13:32:35 -03:00
John Fawcett 297a0227bb feat(docs): add Wasteland Flow diagrams (#10030)
* feat(docs): add Wasteland Flow diagrams (federation, lifecycle, claim-to-stamp)

* fix(docs): add px units to flowDiagram height attributes

Reviewers flagged that unitless height values render as invalid CSS
because Markdoc supplies them as strings. Adding px suffix matches
all existing FlowDiagram usages in the codebase.
2026-05-07 15:48:26 +00:00
John Fawcett e74f4037d0 fix(kilo-docs): address PR review comments
- Move diagram caption outside the overflow:hidden container so it's
  no longer clipped by the fixed-height wrapper
- Recommend fine-grained PATs scoped to the connected repository
  instead of classic repo-scope tokens (quick-start.md + settings.md)
- Add callout noting agents act on the user's behalf, so limiting
  token scope is a best practice
2026-05-01 11:21:52 -05:00
John Fawcett 286fcdafd5 docs(kilo-docs): list all 21 mayor tools in the Mayor page
Replace the abbreviated 6-tool table with the complete list of all 21
gt_* tools grouped by category: Work Creation, Convoy Management,
Bead Management, Agent Management, and Town & UI.
2026-05-01 10:34:56 -05:00
John Fawcett 0b8606cf22 fix(kilo-docs): remove sourcePosition/targetPosition from edges (type error)
Edge objects in React Flow don't have sourcePosition/targetPosition —
those properties only exist on Node. Remove them from all edge
definitions in bead-lifecycle, adversarial-loop, and convoy-execution
diagrams. The smoothstep edge type handles routing based on the node
positions instead.
2026-04-30 16:59:28 -05:00
John Fawcett 6b24da72fb fix(kilo-docs): bead lifecycle diagram — use top-to-top edge routing
Main flow edges (open→in_progress→in_review→closed) now exit and enter
from the top of each node, arcing above. Failed/rejected transitions
exit from bottom of source to top of target, dropping below.
2026-04-30 16:52:26 -05:00
John Fawcett 56f4ce3669 fix(kilo-docs): fix diagram scroll stealing and edge routing
- Add preventScrolling={false} and panOnScroll={false} to ReactFlow
  so mouse wheel events pass through to the page instead of being
  captured by the diagram

- Set explicit sourcePosition/targetPosition on all nodes so edges
  connect from right→left for the main horizontal flow

- Use bottom→top routing for failure/rejection transitions so lines
  don't overlap nodes

- Reposition 'failed' node and adjust spacing for cleaner layout
2026-04-30 16:00:13 -05:00
John Fawcett 196a34d8bc docs(kilo-docs): add BrowserFrame component and place all screenshots
Add BrowserFrame component that wraps images in abstract browser chrome
(traffic light dots, optional URL bar, optional caption). Register as
Markdoc tag: {% browserFrame url="..." caption="..." %}...{% /browserFrame %}

Place all 12 provided screenshots across all Gastown pages:
- gt-new-town-onboarding.png → Quick Start
- gt-new-rig.png → Quick Start
- gt-town-overview.png → Quick Start, Overview, Concepts, Mayor
- gt-rig-page-convoy-in-progress.png → Quick Start, Overview, Sling Work
- gt-rig-page-staged-convoy.png → Overview
- gt-rig-page-staged-convoy-detail.png → Overview, Sling Work
- gt-rig-page-convoy-bead-in-review.png → Sling Work, Code Review
- gt-rig-page-convoy-review-bead-detail.png → Sling Work
- gt-beads-page.png → Overview, Sling Work
- gt-beads-page-detail.png → Sling Work
- gt-merge-queue-page.png → Code Review
- gt-merge-queue-page-review-detail.png → Code Review

Remove all TODO screenshot placeholders — every page now has visuals.
2026-04-30 15:09:14 -05:00
John Fawcett 6c48186f41 docs(kilo-docs): add React Flow diagram component and initial diagrams
Integrate @xyflow/react for interactive architecture diagrams:
- FlowDiagram component with lazy loading (dynamic import)
- Markdoc tag: {% flowDiagram name="..." height="..." /%}
- Three initial diagrams: bead-lifecycle, adversarial-loop, convoy-execution
- Diagrams registry pattern for easy addition of new diagrams
- Replace TODO placeholders in concepts and code-review pages

The diagrams visualize the bead lifecycle state machine, the
micro-adversarial write/review/revise loop, and convoy DAG execution.
2026-04-30 14:14:34 -05:00
kiloconnect[bot] 79ba90ec8e fix(kilo-docs): keep docsearch links on previews 2026-04-22 06:47:56 +00:00
Catriel Müller 61fa5e617d refactor: fix typechecks 2026-04-11 13:25:06 -03:00
Mark IJbema bf75b3e834 Merge pull request #7041 from shantoislamdev/fix-docs-theme-toggle-icons-15391880175080747059
Fix docs theme toggle icons
2026-04-09 11:31:55 +02:00
Alex Gold 7cabefbdac Merge branch 'main' into docs/add-setup-videos 2026-04-02 15:56:36 -04:00
Ligia Zanchet bd7f7f3c4e fix(kilo-docs): add VideoEmbed component and video markdoc tag 2026-04-02 21:33:36 +02:00
Mark IJbema 1d52a407e7 Merge pull request #8185 from Kilo-Org/docs/whats-new
docs: add What's New page and update announcement banner
2026-04-02 15:37:05 +02:00
Mark IJbemaandEmilie Lima Schario 45ca2885dc Update packages/kilo-docs/components/TopNav.tsx
Co-authored-by: Emilie Lima Schario <14057155+emilieschario@users.noreply.github.com>
2026-04-02 15:34:27 +02:00
Mark IJbema beb81dc8af docs: make What's New a subpage of VS Code Extension 2026-04-02 13:53:40 +02:00
Mark IJbema 452d642247 docs: celebratory tone for banner and What's New page
Rename FAQ to 'What's New in Kilo Code' with an enthusiastic intro
highlighting the CLI rebuild, link to the blog announcement, then
transition into the FAQ section for users adjusting to the new version.
2026-04-02 13:23:21 +02:00
Mark IJbema 68aeedeede docs: add New Version FAQ and update announcement banner 2026-04-02 13:18:31 +02:00
kiloconnect[bot] ab89b48264 docs: sync tab selection across all tab groups on the page 2026-04-02 10:13:20 +00:00
Josh Lambert 373bbf84f2 docs(kilo-docs): add platform tabs infrastructure and getting-started pages
Combines infrastructure (PR 1) and getting-started content (PR 2)
into a single reviewable PR.

Infrastructure:
- Platform type (legacy/new/all) in NavLink interface
- PageVersionSwitcher banner for legacy-only and new-only pages
- PlatformBadge component in SideNav with Legacy/New labels
- Tabs hydration fix (SSR-safe useState + useEffect)
- _app.tsx reads frontmatter.platform and renders banner

Getting Started pages with tab content:
- quickstart.md: Auth flow, kilo run --auto, config overview
- setup-authentication.md: Tabbed auth flows per platform
- settings/index.md: Config locations, precedence, export/import
- auto-approving-actions.md: Per-tool permission system

Platform markers:
- settings/auto-cleanup.md: platform: legacy (frontmatter + nav)
- settings/system-notifications.md: platform: legacy (frontmatter + nav)

Fixes from code validation and PR review:
- Remove false Variable Substitution section (does not exist)
- Replace misleading provider env config format
- Fix 'most tools prompt for approval' (default is mostly allow)
- Add warning about secrets in kilo.json for version control
- Fix experimental features tab referencing VSCode instead of Legacy
2026-03-25 02:16:14 -04:00
Josh Lambert 181e3a24f8 docs(kilo-docs): add platform tabs infrastructure
Add the foundation for platform-specific documentation:

- Platform type (legacy/new/all) in NavLink interface
- PageVersionSwitcher banner for legacy-only and new-only pages
- PlatformBadge component in SideNav with Legacy/New labels
- Tabs hydration fix (SSR-safe useState + useEffect)
- _app.tsx reads frontmatter.platform and renders banner

No content changes — frontmatter markers and nav tags will be
added in their respective section PRs.
2026-03-24 08:37:12 -04:00
shantoislamdev cee892d639 chore: Update MoonIcon to match standard crescent outline
Updated the MoonIcon SVG path within packages/kilo-docs/components/ThemeToggle.tsx to use a standard crescent shape, addressing user feedback that the old moon icon didn't look right. Modified the viewBox to 16x16 and strokeWidth to 1.5 to ensure the visual weight maps cleanly when rendered at 16x16 pixels alongside the sun and system icons natively without requiring custom scaling.
2026-03-14 07:04:02 +00:00
shantoislamdev f2d1c13ea4 refactor(docs): replace emoji theme toggle icons with consistent SVG icons
Replaced the inconsistent emoji icons (💻, 🌙, ☀️) in the `ThemeToggle` component of the `kilo-docs` package with custom SVG components (`SystemIcon`, `MoonIcon`, `SunIcon`) to ensure a consistent look and feel that matches other icons in the project. Adjusted the styling of the toggle button to apply `color` to the SVGs using `currentColor`.
2026-03-14 06:24:09 +00:00
Ligia Zanchet fe67b3e6d8 fix: correct KiloClaw nav active-state and add missing redirects
- Fix SideNav and TopNav KiloClaw href from /kiloclaw/overview to /kiloclaw
  so startsWith() active-state matching works for all /kiloclaw/* routes
- Add /docs/automate/kiloclaw/:path* -> /docs/kiloclaw/:path* redirect to
  prevent 404s on old URLs from bookmarks/search results
- Add /kiloclaw -> /kiloclaw/overview redirect so the section root doesn't 404
2026-03-10 10:18:51 +01:00
Ligia Zanchet ad81dd1dcd docs: promote KiloClaw to its own top-level docs section
Move KiloClaw docs from /automate/kiloclaw/* to /kiloclaw/* and add it
as a standalone nav entry in the top bar and side nav, adjacent to
Kilo Gateway. Adds permanent redirects for all old paths.
2026-03-09 17:39:40 +01:00
kilo-code-bot[bot]andkiloconnect[bot] 168685d988 docs: convert Copy page button into dropdown menu with Open markdown and Edit page options (#6763)
* docs: convert Copy page button to dropdown menu with Open markdown and Edit page options

* docs: fix button border highlight and add page footer with actions

- Fix split-button hover: highlight entire button group (both main button and chevron) when hovering any part of the group, using .page-actions:hover parent selector

- Add PageFooter component with horizontal layout showing Copy page, Open markdown, and Edit page actions at the bottom of every docs page

- Footer uses same API endpoints (raw-markdown, resolve-path) and GitHub URL construction as the dropdown button

* fix: remove flex class from article-content to fix PageFooter layout

The article-content div had Tailwind's 'flex' class which set display:flex
with default row direction. The 'column' class was not a valid Tailwind
utility (should be 'flex-col'), so the PageFooter rendered to the right
of page content instead of below it. Removing 'flex column' restores
block layout so children stack vertically.

---------

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-03-08 10:28:06 -07:00
kilo-code-bot[bot]andkiloconnect[bot] e5ded8a97a fix: docs banner respects dark/light mode theme (#6576)
Replace hardcoded dark-only colors in the announcement banner with
CSS custom variables (--bg-secondary, --text-color, --border-color,
--accent-color, --accent-hover) that automatically adapt to the
site's light and dark themes.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-03-03 14:39:33 -05:00
Josh Lambert e81eb4421c fix: initialize mermaid once and show fallback on render error 2026-02-27 12:14:15 -05:00
Josh Lambert bf22704755 Merge remote-tracking branch 'origin/main' into docs/refresh-architecture
# Conflicts:
#	bun.lock
2026-02-27 11:15:54 -05:00
Josh Lambert 47ab2269d4 Fix securityLevel 2026-02-27 02:43:18 -05:00
Josh Lambert f6b53dab9d Add mermaid support and refresh architecture pagte 2026-02-27 02:33:32 -05:00
Josh Lambert 42092312cf Fix scrolling on mobile 2026-02-27 01:09:36 -05:00
Josh Lambert 7b2ad4e65e Make a new tab 2026-02-27 01:02:57 -05:00
Mark IJbema 1121b78926 docs: update Kilo-Org/kilo references to Kilo-Org/kilocode
The repo was moved from github.com/Kilo-Org/kilo to
github.com/Kilo-Org/kilocode. Update all stale references in the docs.
2026-02-22 16:19:50 +01:00
kilo-maintainer[bot] 74b3afaacb chore: generate 2026-02-19 12:51:37 +00:00
Jean du Plessis 0a001daff3 fix: address additional code review findings
- raw-markdown.ts: Check path bounds before any filesystem probes to
  prevent leaking file existence info outside the pages directory
- TableOfContents.tsx: Fix SSR hydration mismatch by moving
  window.location.hash into useEffect + state instead of reading it
  during render
2026-02-18 21:50:37 +02:00
Jean du Plessis c49257dee9 fix: address code review findings in docs package
- raw-markdown.ts: Replace weak regex path sanitization with
  path.normalize (the path.resolve bounds check remains as primary guard)
- instrumentation-client.ts: Guard PostHog init against missing env var
  instead of using non-null assertion (prevents crash in local dev)
- CopyPageButton.tsx: Show error feedback instead of false success when
  copy fails
2026-02-18 21:43:24 +02:00