-
Notifications
You must be signed in to change notification settings - Fork 198
Copy prompt v2 #2512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Copy prompt v2 #2512
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
2cbe782
Revert "Revert "copy prompt""
atharvadeosthale b4f98f4
progress
atharvadeosthale a33243c
updates
atharvadeosthale 8787d8b
tracking
atharvadeosthale 1adc92f
Update src/routes/(console)/project-[region]-[project]/overview/platf…
atharvadeosthale a67689f
fix accidental hardcoding
atharvadeosthale e4cf187
update packages
atharvadeosthale 93accb9
final tweaks to prompt to perfect the agent behaviour
atharvadeosthale b620823
address comments
atharvadeosthale 0c3d29a
merge conflicts
atharvadeosthale 32bf16b
merge conflicts
atharvadeosthale 04a1b2e
Update src/routes/(console)/project-[region]-[project]/overview/platf…
atharvadeosthale 83d1310
Merge branch 'main' into 'revert-2491-revert-2477-copy-prompt'.
ItzNotABug 9555ef5
Merge remote-tracking branch 'origin/revert-2491-revert-2477-copy-pro…
ItzNotABug 9423fc9
ci: empty commit
ItzNotABug 8a708ce
Merge branch 'main' into revert-2491-revert-2477-copy-prompt
atharvadeosthale 8b25d4f
fetch latest releases from github api
atharvadeosthale c7fb232
add android version fetching
atharvadeosthale 6930968
use appwrite endpoint for versions
atharvadeosthale d174af8
use the split button
atharvadeosthale File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
7 changes: 7 additions & 0 deletions
7
src/routes/(console)/project-[region]-[project]/overview/components/CursorIconLarge.svelte
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| <script lang="ts"> | ||
| import { app } from '$lib/stores/app'; | ||
| import Light from '../assets/cursor-ai.svg'; | ||
| import Dark from '../assets/dark/cursor-ai.svg'; | ||
| </script> | ||
|
|
||
| <img src={$app.themeInUse === 'dark' ? Dark : Light} width="20" height="20" alt="Cursor" /> |
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Verify the Flutter package installation syntax and API availability.
Two concerns:
Line 50: The syntax
appwrite:${version}may not be valid for Flutter'spub addcommand. Flutter typically usespackage_name versionformat without a colon.Line 64: Verify that the Appwrite Flutter SDK client has a
ping()method.Run the following script to check the Flutter pub add syntax:
Also, please search the web to verify:
flutter pub addwith specific versionsping()method🏁 Script executed:
Length of output: 0
🌐 Web query:
💡 Result:
You include the version after a colon. Examples:
Add a package with a caret (compatible) constraint:
flutter pub add package_name:^1.2.3. [1]
Add an exact version:
flutter pub add package_name:1.2.3. [2]
To add as a dev dependency use --dev (e.g. flutter pub add --dev package_name:^1.2.3). [1][2]
Sources: [1] Flutter docs — Using packages. [2] dart/pub hosted example (Cloudsmith documentation).
🌐 Web query:
💡 Result:
Short answer: No — the Appwrite Flutter/Dart client doesn't expose a single Client.ping() method. Use the Health service (e.g., Health.getXXX or GET /v1/health) or call the desired endpoint (e.g., /v1/health) via the SDK instead. [1][2]
Sources:
Replace
client.ping()with a valid Appwrite Flutter SDK health check call.The Flutter pub add syntax at line 50 is correct. However, line 64 has a critical issue: the Appwrite Flutter SDK client does not expose a
ping()method. The Appwrite Flutter/Dart client should use the Health service instead.Replace the ping example with a Health service call, such as calling the
/v1/healthendpoint via the SDK's Health service.🤖 Prompt for AI Agents