docs: add Cursor Cloud specific development instructions to AGENTS.md#72
Draft
andykais-claude wants to merge 2 commits into
Draft
docs: add Cursor Cloud specific development instructions to AGENTS.md#72andykais-claude wants to merge 2 commits into
andykais-claude wants to merge 2 commits into
Conversation
Co-authored-by: andykais-claude <andykais-claude@users.noreply.github.com>
…v commands Co-authored-by: andykais-claude <andykais-claude@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sets up the Cursor Cloud development environment and documents key findings about a Deno canary regression that breaks web package builds.
Changes
## Cursor Cloud specific instructionssection toAGENTS.mdwith:Investigation: Deno Canary Bare Specifier Regression
Root cause identified: When vite evaluates
vite.config.ts,@sveltejs/kit'simport_peer('svelte/compiler')loadsnode_modules/svelte/src/compiler/index.js. That file'simport { walk } from 'zimmerframe'is resolved as a relative path (./zimmerframe) instead of using Node module resolution on Deno canary (2.7.14+d6212d4, TypeScript 6.0.3).What was tested:
nodeModulesDir: "manual"+npm install→ Same failure (issue is in Deno's module loader, not node_modules layout)nodeModulesDir: "auto"+npm installoverlay → Same failurenodeModulesDir: "none"→ Different failure (lifecycle scripts can't run)--configLoader native/--configLoader runner→ Same failuredeno eval/deno runof the same import chain → Works fineConclusion: The issue is a Deno canary regression in how bare specifiers are resolved during vite's module evaluation. Neither changing
nodeModulesDirnor using npm alongside deno install fixes it. Deno stable 2.7.14 works correctly.Environment Verification
deno task --cwd packages/core lintdeno task --cwd packages/core testdeno task --cwd packages/web build:localdeno task --cwd packages/web devdeno task --cwd packages/cli testBuild output log:
web_build_local_output.log
To show artifacts inline, enable in settings.