Commit Graph
70 Commits
Author SHA1 Message Date
TaesuandGitHub 1088b1c7c1 docs: move errors content to reference section (#7581) 2026-01-23 23:54:53 +00:00
85e6dcd5f8 chore: bump fumadocs (#7106)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-01-06 12:53:55 +08:00
3a76b6e43b docs: improve sidebar content filtering and simplify CodeBlockTabs ren… (#7109)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-01-04 02:03:44 +08:00
Bereket Engida c8110d8881 Revert "docs: bump fumadocs (#7101)"
This reverts commit 0fda455ce5.
2026-01-02 11:16:35 -08:00
Fuma NamaandGitHub 0fda455ce5 docs: bump fumadocs (#7101) 2026-01-02 10:44:34 -08:00
Aryan ChaurasiaandGitHub 4e63c40da9 docs: add Open in Cursor option (#6992) 2025-12-25 15:28:43 +08:00
Jonathan SaminesandGitHub 57ee11a26f chore(lint): enforce consistent import type style (#6044) 2025-11-17 21:11:39 +00:00
MaxwellGitHubcubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>Bereket Engida
f9964b01e4 feat: Improved API error page (#5272)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-11-04 23:12:38 +00:00
TaesuandGitHub 648fa010aa docs: refactor and improve llm-text logic to fix runtime error (#5641) 2025-10-28 17:19:40 +00:00
Alex YangandGitHub d11ddc15b1 docs: remove fs read (#5636) 2025-10-28 07:05:49 +00:00
TaesuandGitHub 8476b077e6 docs: imporve llms.txt (#5605) 2025-10-27 18:51:32 +00:00
Alex YangandGitHub 938c2a7c31 chore: lint enable organize import (#5556) 2025-10-24 19:05:09 +00:00
VagarthandGitHub da9077d1b5 fix(docs): enable code block copying in documentation page (#5525) 2025-10-23 18:37:02 +00:00
Usman SabuwalaandGitHub 5bc2604197 fix: rename sha to branch and made it canary by default (#5491) 2025-10-22 16:18:03 +00:00
HichemandGitHub f3a13eaf11 docs: add Copilot option to ViewOptions component (#5429) 2025-10-21 05:10:24 +00:00
Alex YangandGitHub 032159210e docs: use the correct SHA base on env vars (#5000) 2025-09-30 13:33:41 -07:00
KinfeMichael TarikuandAlex Yang e7b1c92434 docs: add ask ai feature (#4938) 2025-09-30 10:53:40 -07:00
Bereket EngidaandGitHub 7eefc93c59 docs: add ai tooling (#4859) 2025-09-23 22:21:16 +00:00
KinfeMichael TarikuandGitHub 11deccbd6a docs: codeblock style fix after fuma upgrade (#4456) 2025-09-05 09:11:17 -07:00
KinfeMichael TarikuandGitHub 7433ca5052 docs: fix resolve llms.txt missing wrapped component examples (#4384) 2025-09-03 08:19:44 -07:00
MaxwellandGitHub b89249a9ed docs(api-method): fixed syntax highlighting refreshing on tab change (#4309) 2025-08-29 22:35:44 -07:00
d20f9a763c chore: update to Fumadocs 15.7 (#4154)
Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
2025-08-22 19:00:45 -07:00
Alex YangandGitHub ff19661524 chore: bump fumadocs (#4144) 2025-08-21 20:30:06 -07:00
Bereket Engida 5fdc9dfb85 chore: remove unused import 2025-08-10 01:24:40 -07:00
Fraol LemechaGitHubKinfe123Bereket Engidacubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>Alex YangBereket Engida
2915e4c92d feat: add telemetry (#3822)
* feat: telemetry

Co-authored-by: Kinfe123 <kinfishtech@gmail.com>

* chore: remove changeset

* fix: do not generate project id unless telemetry is enabled

* fix: return `isInsiderContainerCached`

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* chore: remove unused utils file

* fix: properly cache generated project id

* feat: interpret empty env vars as false

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: use nullish coalescing to set fallback

* fix: should be `isInsideContainerCached`

* fix: unique icons + tooltip for telemetry component

* fix: import child process from node

* fix: remove quotes in description

Co-authored-by: Alex Yang <himself65@outlook.com>

* fix: address reviews

Co-authored-by: Alex Yang <himself65@outlook.com>

* chore: refactor

* refactor

* add tests

* cache pkg json

* add cli tracking

* add migrate

* chore fix xi

* skip tet

* update snapshot

* chore: fix typecheck

* Expand telemetry docs: list collected fields, clarify anonymous redaction via getTelemetryAuthConfig, and document CLI events and audit/opt‑out paths.

* docs

* doc cleanup

* fixes

* remove git first commit message

* update docs

---------

Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Alex Yang <himself65@outlook.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-10 01:11:56 -07:00
Alex YangandBereket Engida 3ee67fcca0 chore(demo): replace isLoading using useTransition (#3775)
* fix: use `useTransition` for isLoading

* fixup! fix: use `useTransition` for isLoading
2025-08-06 16:38:41 -07:00
MaxwellandGitHub 1ed38cd28b feat(docs): APIMethod, documents all server & client auth examples (#2577) 2025-07-17 16:20:10 -07:00
Bereket Engida 56bd676534 Merge branch 'main' into v1.3 2025-07-17 10:08:46 -07:00
Bereket Engida 07c52b252d refactor(docs): conditionally render LLM components and fix github broken links 2025-07-17 09:02:23 -07:00
RobiandGitHub 0c4583c015 docs: add LLM copy button and view options components (#3423)
* feat: add LLM copy button and view options components
- update routing for LLM text generation, adding .mdx to a route now generates its .md repsresentation
- add rewrite from /docs/:path*mdx to /llms.txt/:path so ai can traverse the llms.txt as routes

* chore: lint

* chore: cubic
2025-07-17 01:16:04 -07:00
cce6c2d74f docs(feat): added apple sign in JWT generation in docs (#2453)
* docs: Add guide for Sign In with Apple

* docs-feat: add apple JWT generator

* fix-lint: ran lint:fix to fix CI test

* chore: refactor to remove jose

* update docs

* chore: lock file

* fix test

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-07-07 17:21:10 -07:00
Fuma NamaandGitHub 00ad781427 docs: improve layout consistency (#1831)
* Fix sidebar tabs pre-rendering

* Improve sidebar consistency

* improve searchbar alignment

* improve animation
2025-03-15 19:54:27 +03:00
Bereket Engida ebcf8c907c docs: refine UI styling and remove loglib 2025-03-08 20:05:50 +03:00
Bereket EngidaandGitHub b5f638ca45 docs: upgrade to tailwind v4, react 19, fuma docs 15 (#1735) 2025-03-08 19:33:31 +03:00
MaxwellandGitHub 1d700f38f1 docs(fix): "edit on github" broken link (#1625)
The button now actually brings you to the correct page on GH to edit.
2025-03-02 10:25:34 +03:00
Bereket EngidaandGitHub 86cbf70684 docs: v1.2 release notes (#1602) 2025-03-01 02:22:32 +03:00
ec9edc357a feat: API Key plugin (#1515)
* feat: API-key plugin

* add: `deleteAllExpiredApiKeys` functionality

* fix: fetching sessions from headers

* update: types & create-api-key now checks for min & max expiresIn values

* tests: Started working on tests

* add: features

- added list functionality
- added min & max prefix length
- added min & max name length
- added metadata enable/disable option
- added `disableSessionForAPIKeys` option
- verify API key now checks for expiration & refills
- added regex to check prefix of api key

* fix: create-api-key's expiration using `/` instead of `*`

* update: schema `metadata` transforms invalid values as `null`

* fix: create-api-key metadata should go through transformation

* fix: missing metadata wouldn't have `'null'` as value

* update: error types

* fix: remove console.logs from verify

* fix: rate-limit not working

* fix: rate-limit plugin options types

* chore: remove logs

* update: removed `key` field from result apiKey type of the update-api-key endpoint

* fix: typo

* update: create & update if checks

- create now checks if custom expiration times are allowed
- update now allows name values & checks if name is within length range
- update now also checks for custom expiration times are allowed

* update(WIP): tests

* fix: added the missing error throw when there is no values to update

* fix: update-api-key checks expiresIn in days, not ms

- also updated create-api-key & update-api-key to have more detailed event logging

* fix: update api key's remaining count's min & max checks

- also added more detail to the events

* fix: update-api-key can now update refillInterval & refillAmount properly

* fix: metadata in update-api-key transforms between string & obj correctly

* add: all of the `update` tests

* update: get-api-key metadata is now obj instead of string

* add: listApiKeys functionality

* fix: get-session to use mock session based on header API keys

* update: tests to test against get-session, get-api-key, and list-api-key

* add: `start` field to show the first few characters of an API key

* fix: very silly mistake

* update: tests to validate `start` property

* update: create-api-key checks if properties are set from server & allows for custom rate-limit rules

- also updated tests to check against this

* update: verify-api-key to check if a row has the right user-id

- this also should speed up the DB process too. (I'm pretty sure)

* update: `delete-all-expired-api-keys` endpoint added & updated list-api-keys endpoint function name

* add: customAPIKeyValidator fn, and fixed verification `remaining` and `lastRefillAt` values updating DB incorrectly

* update: documentation

* add: rate-limiting enable/disable on a per-key level

* update: docs

* fix: correct expiration time units and improve error messages in API key handling

* fix: allow creating apiKeys by providing userId on the server

* fix: user userId instead of headers to differ server vs client calls on create api key

* wip

* fix: JSDoc comment

* fix: tests not passing due to invalid expiresIn value

Since the expiresIn got changed from `ms` to `sec`, this needed to be changed as well.

* wip

* fix(api-key): update tests and error messages for API key verification

* fix(api-key): update API key fixes

* refactor tests and remove events

* refactor(api-key): remove unused event handling and clean up type definitions

* add: minimum values to `create-api-key` numeric input options

* fix: remove `opts.events` in delete-api-key route

* refactor: all returning routes which can contain `key`

- more performant
- better typed
- cleaner code

:D

* update: added minimum values to update-api-key endpoint as well

* fix: removed `maximumRemaining` & `minimumRemaining` default values in `opts`

* docs: ready (unless I make minor adjustments later) 🫡

* fix(docs): links & invalid code examples

* fix: output transform of metadata to use ParseJSON

* fix: tests failing due to async metadata transform output

* fix: return types for verify-api-key endpoint

* fix: tests failing due to invalid expiresIn minimum value

* docs: reorder sidebar items for API Key

* wip

* docs(api-key): enhance documentation with permissions and usage details

- Updated API key documentation with comprehensive permissions explanation
- Added examples for setting default permissions, creating, verifying, and updating API keys with permissions
- Clarified API key creation, verification, and update processes
- Improved code examples and descriptions for better understanding

* chore: lint

* fix(docs): incorrect wording / explanation on refillInterval/refillAmount

* add(docs): missing permissions info in docs

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-28 17:11:03 +03:00
MaxwellandBereket Engida 9a0b86a7fe docs: first page shouldn't show nav button to go to prev page (#1442) 2025-02-17 08:23:41 +03:00
Bereket Engida c25e130a6d chore: lint 2025-02-01 12:45:39 +03:00
MaxwellandGitHub 16cd967aae docs: fix page navigation buttons don't work if the next/prev category's index [0] is a group (#1326) 2025-02-01 12:20:10 +03:00
Bereket Engida 503b7dbe75 chore: lint 2025-01-18 18:01:03 +03:00
MaxwellandGitHub a806c378be docs: fix navigation buttons not showing due to groups (#1243) 2025-01-18 17:52:58 +03:00
MaxwellandGitHub 273aceaa15 docs: add buttons to navigate to the next/prev docs page (#1233) 2025-01-18 16:21:58 +03:00
Bereket Engida 9f2e45b8c7 chore: cleanup 2025-01-06 14:30:39 +03:00
Bereket Engida 7e2f3bd0e1 docs: improve expo docs 2024-12-18 13:31:15 +03:00
TinsFoxandGitHub c6fbbb697c docs: add spacing at the bottom of the document (#930) 2024-12-18 13:02:09 +03:00
MultiniteandGitHub bf522217d7 docs: add FAQ page to docs (#875) 2024-12-14 21:30:42 +03:00
Bereket Engida 2ab953ec0d docs: add auto type table 2024-12-08 12:09:02 +03:00
Bereket Engida a8b6ff09ff docs: remove auto type table 2024-12-08 11:20:00 +03:00
MultiniteandGitHub 8daccfd10b docs(add): your first plugin guide (#806) 2024-12-08 11:00:56 +03:00