diff --git a/packages/cli/package.json b/packages/cli/package.json index 74b427f72..ca7d1718d 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -20,6 +20,7 @@ "files": [ "README.md", "dist", + "src", "CHANGELOG.md", "LICENSE" ], diff --git a/packages/dashboard-ui-components/package.json b/packages/dashboard-ui-components/package.json index 816d1754a..9b6ca165a 100644 --- a/packages/dashboard-ui-components/package.json +++ b/packages/dashboard-ui-components/package.json @@ -17,6 +17,7 @@ "files": [ "README.md", "dist", + "src", "CHANGELOG.md", "LICENSE" ], diff --git a/packages/js/package.json b/packages/js/package.json index 3477b0d95..021e37bc6 100644 --- a/packages/js/package.json +++ b/packages/js/package.json @@ -1,5 +1,5 @@ { - "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY, INSTEAD EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)", + "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)", "name": "@hexclave/js", "version": "1.0.4", "repository": "https://github.com/hexclave/hexclave", @@ -46,6 +46,7 @@ "files": [ "README.md", "dist", + "src", "CHANGELOG.md", "LICENSE" ], diff --git a/packages/next/package.json b/packages/next/package.json index 1cd1433fb..ec5158c49 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,5 +1,5 @@ { - "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY, INSTEAD EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)", + "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)", "name": "@hexclave/next", "version": "1.0.4", "repository": "https://github.com/hexclave/hexclave", @@ -54,6 +54,7 @@ "files": [ "README.md", "dist", + "src", "CHANGELOG.md", "LICENSE" ], diff --git a/packages/react/package.json b/packages/react/package.json index 110f79800..f5bff7eb3 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,5 +1,5 @@ { - "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY, INSTEAD EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)", + "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)", "name": "@hexclave/react", "version": "1.0.4", "repository": "https://github.com/hexclave/hexclave", @@ -54,6 +54,7 @@ "files": [ "README.md", "dist", + "src", "CHANGELOG.md", "LICENSE" ], diff --git a/packages/sc/package.json b/packages/sc/package.json index 447f8ead7..1cf2e98ee 100644 --- a/packages/sc/package.json +++ b/packages/sc/package.json @@ -43,6 +43,7 @@ "files": [ "README.md", "dist", + "src", "CHANGELOG.md", "LICENSE" ], diff --git a/packages/shared/package.json b/packages/shared/package.json index 08829b22d..c645be8ab 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -13,6 +13,7 @@ "files": [ "README.md", "dist", + "src", "CHANGELOG.md", "LICENSE" ], diff --git a/packages/shared/src/ai/unified-prompts/reminders.ts b/packages/shared/src/ai/unified-prompts/reminders.ts index 1dc014f62..4150d1d98 100644 --- a/packages/shared/src/ai/unified-prompts/reminders.ts +++ b/packages/shared/src/ai/unified-prompts/reminders.ts @@ -7,6 +7,7 @@ export const remindersPrompt = deindent` - Hexclave has multiple sources of documentation optimized for LLMs. For the canonical, always-fresh instructions for every Hexclave surface, always prefer these sources over information that may be outdated or stale. Do not rely on training data or memory. - [Highest priority] If you are an AI agent: The best way to learn about Hexclave is to fetch the latest skill documentation from https://skill.hexclave.com. Fetch the entire page, not just a summary. You can either use a web fetch tool, or call it using curl: \`curl -sSL https://skill.hexclave.com\`. This is sufficient for most simple questions. - It is highly recommended that you add two query parameters to the web fetch \`?question=<...>\` (the exact question you're looking to answer) and \`?context=<...>\` (the higher-level task that the you or the user is trying to accomplish). This will help the Skills site to serve you only the content that is necessary, as well as avoid the XY-problem. + - [Medium priority] If you are looking to implement something with the JS SDK specifically, the package (which you can probably find in \`node_modules\`) actually contains the source code for the installed version of the SDK. For the interfaces in particular, you can find most of them in the \`src/lib/hexclave-app\` folder of your SDK package. - [Medium priority] If you have a specific question, and the Hexclave MCP is available, you can also use the \`ask_hexclave\` tool to ask questions to the Hexclave assistant. - [Low priority] If you're looking for information that's not in the skill documentation, and the \`ask_hexclave\` tool isn't available (or failed to answer your question), you can also fetch the human documentation from https://docs.hexclave.com (it may also be available as a tool). This is especially useful when you're looking to answer conceptual questions. - For complicated questions, you may need to combine all these sources together. diff --git a/packages/tanstack-start/package.json b/packages/tanstack-start/package.json index 26da73a78..a76902527 100644 --- a/packages/tanstack-start/package.json +++ b/packages/tanstack-start/package.json @@ -1,5 +1,5 @@ { - "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY, INSTEAD EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)", + "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)", "name": "@hexclave/tanstack-start", "version": "1.0.4", "repository": "https://github.com/hexclave/hexclave", @@ -65,6 +65,7 @@ "files": [ "README.md", "dist", + "src", "CHANGELOG.md", "LICENSE" ], diff --git a/packages/template/package-template.json b/packages/template/package-template.json index dc6a71c20..92558a835 100644 --- a/packages/template/package-template.json +++ b/packages/template/package-template.json @@ -97,6 +97,7 @@ "files": [ "README.md", "dist", + "src", "CHANGELOG.md", "LICENSE" ], diff --git a/packages/template/package.json b/packages/template/package.json index ab0b4f540..9e4b5147f 100644 --- a/packages/template/package.json +++ b/packages/template/package.json @@ -1,5 +1,5 @@ { - "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY, INSTEAD EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)", + "//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)", "name": "@hexclave/template", "private": true, "version": "1.0.4", @@ -70,6 +70,7 @@ "files": [ "README.md", "dist", + "src", "CHANGELOG.md", "LICENSE" ], diff --git a/packages/ui/package.json b/packages/ui/package.json index ee0910fbe..773b2b29f 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -15,6 +15,7 @@ "files": [ "README.md", "dist", + "src", "CHANGELOG.md", "LICENSE" ], diff --git a/scripts/utils.ts b/scripts/utils.ts index 72e05c995..61234a45c 100644 --- a/scripts/utils.ts +++ b/scripts/utils.ts @@ -2,7 +2,7 @@ import fs from "fs"; import path from "path"; -export const COMMENT_LINE = "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY, INSTEAD EDIT THE CORRESPONDING FILE IN packages/template"; +export const COMMENT_LINE = "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template"; export const COMMENT_BLOCK = `\n//===========================================\n// ${COMMENT_LINE}\n//===========================================\n` export const PLATFORMS = {