mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-28 19:11:03 +08:00
fix(kilo-docs): configure xAI endpoint link exclusions
This commit is contained in:
@@ -29,6 +29,10 @@ exclude = [
|
||||
'^https?://ai-gateway\.vercel\.sh/v1/?$',
|
||||
'^https?://api\.voyageai\.com/v1/embeddings/?$',
|
||||
'^https?://generativelanguage\.googleapis\.com/v1beta/openai/?$',
|
||||
# xAI API and OAuth endpoints require request parameters or non-GET methods.
|
||||
'^https?://api\.x\.ai/v1/?$',
|
||||
'^https?://auth\.x\.ai/?$',
|
||||
'^https?://auth\.x\.ai/oauth2/(authorize|device/code|token)/?$',
|
||||
'https://opencode.ai/pages/config',
|
||||
'^localhost:3000/',
|
||||
'https://tbench.ai/',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Source Code Links
|
||||
|
||||
<!-- Auto-generated by script/extract-source-links.ts — DO NOT EDIT -->
|
||||
<!-- 87 unique URLs extracted from extension and CLI source -->
|
||||
<!-- 92 unique URLs extracted from extension and CLI source -->
|
||||
|
||||
- <https://accounts.x.ai>
|
||||
<!-- packages/opencode/src/plugin/xai.ts -->
|
||||
@@ -10,6 +10,8 @@
|
||||
<!-- packages/opencode/src/provider/models.ts -->
|
||||
- <https://api.kilo.ai>
|
||||
<!-- packages/opencode/src/cli/cmd/github.ts -->
|
||||
- <https://api.x.ai/v1>
|
||||
<!-- packages/opencode/src/plugin/xai.ts -->
|
||||
- <https://app.kilo.ai>
|
||||
<!-- packages/opencode/src/kilocode/kilo-commands.tsx -->
|
||||
- <https://app.kilo.ai/claw>
|
||||
@@ -26,6 +28,14 @@
|
||||
<!-- packages/kilo-vscode/webview-ui/src/components/profile/ProfileView.tsx -->
|
||||
- <https://app.kilo.ai/usage>
|
||||
<!-- packages/opencode/src/kilocode/components/dialog-kilo-profile.tsx -->
|
||||
- <https://auth.x.ai>
|
||||
<!-- packages/opencode/src/plugin/xai.ts -->
|
||||
- <https://auth.x.ai/oauth2/authorize>
|
||||
<!-- packages/opencode/src/plugin/xai.ts -->
|
||||
- <https://auth.x.ai/oauth2/device/code>
|
||||
<!-- packages/opencode/src/plugin/xai.ts -->
|
||||
- <https://auth.x.ai/oauth2/token>
|
||||
<!-- packages/opencode/src/plugin/xai.ts -->
|
||||
- <https://blog.kilo.ai/p/new-kilo-for-vs-code-is-live>
|
||||
<!-- packages/kilo-vscode/webview-ui/src/components/migration/MigrationWizard.tsx -->
|
||||
- <https://chatgpt.com/explore/plus>
|
||||
|
||||
@@ -51,9 +51,7 @@ const EXCLUDE_PATTERNS = [
|
||||
/^https?:\/\/[^/]+\.openai\.azure\.com\/openai/, // kilocode_change
|
||||
/^https?:\/\/api\.cloudflare\.com/,
|
||||
/^https?:\/\/api\.releases\.hashicorp\.com/,
|
||||
/^https?:\/\/api\.x\.ai(?:\/|$)/,
|
||||
/^https?:\/\/auth\.openai\.com/,
|
||||
/^https?:\/\/auth\.x\.ai(?:\/|$)/,
|
||||
/^https?:\/\/chatgpt\.com\/backend-api/,
|
||||
/^https?:\/\/mcp\.exa\.ai/,
|
||||
/^https?:\/\/registry\.npmjs\.org/,
|
||||
|
||||
Reference in New Issue
Block a user