@quantiya/codevibe-claude-plugin 2.0.70 → 2.0.71

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.
@@ -11572,6 +11572,8 @@ var AppSyncClient = class _AppSyncClient {
11572
11572
  throw [
11573
11573
  mutations.createEvent,
11574
11574
  mutations.updateEventStatus,
11575
+ mutations.createEventV2,
11576
+ mutations.updateEventV2,
11575
11577
  mutations.recordWorkspaceOutcomeV2,
11576
11578
  mutations.reportSecurityPostureV2,
11577
11579
  queries.listEvents,
@@ -11724,7 +11726,7 @@ var AppSyncClient = class _AppSyncClient {
11724
11726
  return !this.authenticated || this.currentUserId !== userId || this.tokens?.userId !== userId || value?.userId !== userId || value.state.environment !== this.environment || !Number.isSafeInteger(now) || value.state.observedAtEpochMs > now + SYNC_STATE_CLOCK_SKEW_MS || now >= value.state.validUntilEpochMs ? null : value.state;
11725
11727
  }
11726
11728
  /** Existing socket maintenance recovers idle status after its cloud cache
11727
- * expires. This is display-only; admissions never use the cached result. */
11729
+ * expires. Cached observations never grant cloud mutation authority. */
11728
11730
  async refreshCompanionSyncDisplayOnMaintenance(userId, signal) {
11729
11731
  this.assertSyncAccount(userId), _AppSyncClient.throwIfAborted(signal), !this.companionSyncStatusSnapshot(userId) && (await this.getCompanionSyncState(signal), this.assertSyncAccount(userId), _AppSyncClient.throwIfAborted(signal));
11730
11732
  }
@@ -11918,7 +11920,8 @@ var AppSyncClient = class _AppSyncClient {
11918
11920
  send: (action, input, signal) => (this.assertSyncAccount(userId), this.mutateDesktopSyncEvent(action, input, signal)),
11919
11921
  isQuotaDenial: (error) => error instanceof AppSyncGraphQLError && error.errorType === "SYNC_QUOTA_EXHAUSTED",
11920
11922
  omitNewPayload: async (signal) => {
11921
- let state = await this.getCompanionSyncState(signal);
11923
+ this.assertSyncAccount(userId), _AppSyncClient.throwIfAborted(signal);
11924
+ let observed = this.companionSyncStatusSnapshot(userId), state = observed?.mode === "SHADOW" ? observed : await this.getCompanionSyncState(signal);
11922
11925
  if (this.assertSyncAccount(userId), _AppSyncClient.throwIfAborted(signal), state.protocol !== "SYNC_V2") throw new SyncEventClientError("SYNC_PRODUCER_FROZEN");
11923
11926
  return state.usage?.syncState === "PAUSED";
11924
11927
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe-core",
3
- "version": "2.0.65",
3
+ "version": "2.0.66",
4
4
  "description": "Core library for CodeVibe plugins - shared keychain, crypto, AppSync, and auth functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe-claude-plugin",
3
- "version": "2.0.70",
3
+ "version": "2.0.71",
4
4
  "description": "Control Claude Code 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
  "codevibe": {
@@ -48,7 +48,7 @@
48
48
  "node": ">=22.0.0"
49
49
  },
50
50
  "dependencies": {
51
- "@quantiya/codevibe-core": "^2.0.65",
51
+ "@quantiya/codevibe-core": "^2.0.66",
52
52
  "@quantiya/quorum-core": "^1.0.1",
53
53
  "dotenv": "^16.6.1",
54
54
  "express": "^5.1.0",