Skip to content

Feat/use appwrite cli#10

Merged
ZachHandley merged 2 commits into
devfrom
feat/use-appwrite-cli
May 13, 2026
Merged

Feat/use appwrite cli#10
ZachHandley merged 2 commits into
devfrom
feat/use-appwrite-cli

Conversation

@ZachHandley
Copy link
Copy Markdown
Owner

  • Thanks @Huck-dev love you
  • Adds appwrite-cli layer to appwrite-utils-cli to prevent stuff

ZachHandley and others added 2 commits May 13, 2026 14:41
- syncExtensionStubsFromOfficial helper + runSyncExtensionsFlow + --sync-extensions flag
  (auto-stub missing $ids in ext.extensions, preserve orphans, skip path-mode resources)
- Wire auto-sync prompt into InteractiveCLI.run() startup (silent no-op without sidecar)
- ConfigMergeService.mergeEnvironmentVariables accepts APPWRITE_PROJECT_ID
  (and keeps APPWRITE_PROJECT as legacy alias; _ID wins on conflict)
- ConfigManager.loadConfig calls mergeEnvironmentVariables after file load
  so env vars no longer dead-letter Stack B
- appwriteCliRunner: compute prefs.json path per-call (testability)
- Helpers package: bun test setup + 29 tests covering resolveCliCredentials,
  appwriteCliRunner auth bridge, configMergeService env parity, and sync stubs
@gitguardian
Copy link
Copy Markdown

gitguardian Bot commented May 13, 2026

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
32839446 Triggered Generic High Entropy Secret 9550729 packages/appwrite-utils/src/schemas/generated/AuthProvider.ts View secret
32839447 Triggered Generic High Entropy Secret 9550729 packages/appwrite-utils/src/schemas/generated/DevKey.ts View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@ZachHandley ZachHandley merged commit a0a963e into dev May 13, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants