@quantiya/codevibe-antigravity-plugin 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/server.js +14 -0
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -2895,6 +2895,20 @@ var McpServer = class {
2895
2895
  }
2896
2896
  this.started = true;
2897
2897
  this.lifecycleGen++;
2898
+ await (0, import_codevibe_core4.registerDeviceEncryptionKey)(this.appSyncClient, logger);
2899
+ (0, import_codevibe_core4.startDeviceKeyWatcher)(this.appSyncClient, logger);
2900
+ try {
2901
+ const swept = await this.appSyncClient.sweepOrphanSessions({
2902
+ agentType: "ANTIGRAVITY"
2903
+ });
2904
+ if (swept > 0) {
2905
+ logger.info("Orphan sweep: marked stale Antigravity sessions INACTIVE", { swept });
2906
+ }
2907
+ } catch (error) {
2908
+ logger.warn("Orphan sweep failed, continuing startup", {
2909
+ error: error instanceof Error ? error.message : String(error)
2910
+ });
2911
+ }
2898
2912
  this.approvalDetector.start();
2899
2913
  this.addListener(this.approvalDetector, "pending-prompt", (state) => {
2900
2914
  void this.handlePendingPrompt(state).catch((err) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe-antigravity-plugin",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Control Antigravity CLI from your iPhone and Android — real-time sync, approve file edits, send prompts by voice. Part of CodeVibe.",
5
5
  "main": "dist/server.js",
6
6
  "bin": {