Skip to content
Open
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
7 changes: 6 additions & 1 deletion src/routes/llms-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@ export const SPECIAL_PAGES = [

Browse integrations by category including AI, Deployments, Messaging, Auth, Payments, Logging, MCP, Databases, Search, Sites, and Storage.`
}
// Add more special pages here as needed
{
Comment on lines 15 to +16
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Syntax error: missing comma between array elements.

The static analysis correctly identifies a missing comma after the first object (line 15) and before the second object (line 16). This will cause a parse error.

🐛 Proposed fix
             'Browse integrations by category including AI, Deployments, Messaging, Auth, Payments, Logging, MCP, Databases, Search, Sites, and Storage.'
-    }
+    },
     {
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
}
// Add more special pages here as needed
{
},
{
🧰 Tools
🪛 Biome (2.4.7)

[error] 16-16: expected , but instead found {

(parse)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/routes/llms-config.ts` around lines 15 - 16, There is a syntax error in
the array literal of LLM configuration objects: the two adjacent object literals
are missing a separating comma. Fix it by inserting a comma after the closing
brace of the first object (i.e., between "}" and the following "{") in the LLMs
configuration array so the objects are valid array elements; you can also add a
trailing comma for consistency.

href: '/terminal',
title: 'Appwrite Terminal',
description:
'Interactive terminal-style overview of Appwrite — an open-source backend with auth, databases, storage, functions, realtime, messaging, and hosting. Includes product explanations, SDK examples, and developer easter eggs.'
}
Comment on lines +16 to +21
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Missing fullContent field required by llms-full.txt handler.

The context snippet from src/routes/llms-full.txt/+server.ts shows that it iterates over SPECIAL_PAGES and accesses page.fullContent to build markdown blocks. The new /terminal entry lacks this field, which will result in undefined being interpolated into the output.

🛠️ Proposed fix — add fullContent field
     {
         href: '/terminal',
         title: 'Appwrite Terminal',
         description:
-            'Interactive terminal-style overview of Appwrite — an open-source backend with auth, databases, storage, functions, realtime, messaging, and hosting. Includes product explanations, SDK examples, and developer easter eggs.'
+            'Interactive terminal-style overview of Appwrite — an open-source backend with auth, databases, storage, functions, realtime, messaging, and hosting. Includes product explanations, SDK examples, and developer easter eggs.',
+        fullContent: `Interactive terminal-style overview of Appwrite — an open-source backend with auth, databases, storage, functions, realtime, messaging, and hosting.
+
+Products: Auth (authentication with OAuth, magic links, MFA), Databases (document database with REST/GraphQL), Storage (file storage with transforms), Functions (serverless in multiple runtimes), Messaging (push, email, SMS), Realtime (WebSocket subscriptions), and Hosting (static/SSR deployment).
+
+Includes SDK code examples and links to documentation for each product.`
     }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
{
href: '/terminal',
title: 'Appwrite Terminal',
description:
'Interactive terminal-style overview of Appwrite — an open-source backend with auth, databases, storage, functions, realtime, messaging, and hosting. Includes product explanations, SDK examples, and developer easter eggs.'
}
{
href: '/terminal',
title: 'Appwrite Terminal',
description:
'Interactive terminal-style overview of Appwrite — an open-source backend with auth, databases, storage, functions, realtime, messaging, and hosting. Includes product explanations, SDK examples, and developer easter eggs.',
fullContent: `Interactive terminal-style overview of Appwrite an open-source backend with auth, databases, storage, functions, realtime, messaging, and hosting.
Products: Auth (authentication with OAuth, magic links, MFA), Databases (document database with REST/GraphQL), Storage (file storage with transforms), Functions (serverless in multiple runtimes), Messaging (push, email, SMS), Realtime (WebSocket subscriptions), and Hosting (static/SSR deployment).
Includes SDK code examples and links to documentation for each product.`
}
🧰 Tools
🪛 Biome (2.4.7)

[error] 16-16: expected , but instead found {

(parse)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/routes/llms-config.ts` around lines 16 - 21, The new page object for
'/terminal' in llms-config.ts is missing the required fullContent property used
by the llms-full.txt handler (it accesses SPECIAL_PAGES and page.fullContent);
add a fullContent string to the '/terminal' entry that contains the full
markdown/text block expected by the exporter (matching structure used by other
SPECIAL_PAGES entries) so page.fullContent is defined when llms-full.txt
iterates SPECIAL_PAGES.

] as const;
Loading
Loading