@quantiya/codevibe-claude-plugin 2.0.18 → 2.0.19

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.
@@ -3051,6 +3051,7 @@ var queries = {
3051
3051
  sessionKeyGen
3052
3052
  writerAttestationEligible
3053
3053
  creatorSigningKeySha256
3054
+ sessionGenerationId
3054
3055
  }
3055
3056
  }
3056
3057
  `
@@ -4986,8 +4987,12 @@ var AppSyncClient = class _AppSyncClient {
4986
4987
  let preparedInput = {
4987
4988
  ...input,
4988
4989
  metadata: input.metadata ? JSON.stringify(input.metadata) : void 0
4989
- }, response = await this.graphqlRequest(mutations.createSession, { input: preparedInput });
4990
- return logger.info("[AppSyncClient] Session created", { sessionId: response.data.createSession.sessionId }), response.data.createSession;
4990
+ }, session = (await this.graphqlRequest(mutations.createSession, { input: preparedInput })).data.createSession;
4991
+ return logger.info("[AppSyncClient] Session created", {
4992
+ sessionId: session.sessionId,
4993
+ sessionGenerationId: session.sessionGenerationId ?? null,
4994
+ writerAttestationEligible: session.writerAttestationEligible === !0
4995
+ }), session;
4991
4996
  }
4992
4997
  /**
4993
4998
  * Blind-hold one canonical ContextItem. The mutation is idempotent only for
@@ -57683,7 +57688,7 @@ async function runOrchestrationShell(args) {
57683
57688
  }), !0;
57684
57689
  }, catchUpDurableGateTimeline = async (isReconnect) => {
57685
57690
  if (typeof args.appsyncClient.listSupervisionEvents != "function") return;
57686
- let nextToken, seenTokens = /* @__PURE__ */ new Set(), newestFirstEvents = [];
57691
+ let nextToken, seenTokens = /* @__PURE__ */ new Set(), newestFirstEvents = [], pageCount = 0;
57687
57692
  do {
57688
57693
  let page = await args.appsyncClient.listSupervisionEvents({
57689
57694
  sessionId: args.session.sessionId,
@@ -57692,7 +57697,12 @@ async function runOrchestrationShell(args) {
57692
57697
  ...nextToken ? { nextToken } : {},
57693
57698
  limit: 100
57694
57699
  });
57695
- if (newestFirstEvents.push(...page.items), page.nextToken && seenTokens.has(page.nextToken))
57700
+ if (pageCount += 1, pageCount === 1 && logger.info("[orchestration-shell] durable supervision catch-up first page accepted", {
57701
+ sessionId: args.session.sessionId,
57702
+ sessionGenerationId: args.session.sessionGenerationId ?? null,
57703
+ isReconnect,
57704
+ itemCount: page.items.length
57705
+ }), newestFirstEvents.push(...page.items), page.nextToken && seenTokens.has(page.nextToken))
57696
57706
  throw new Error("listSupervisionEvents repeated a pagination token");
57697
57707
  page.nextToken && seenTokens.add(page.nextToken), nextToken = page.nextToken ?? void 0;
57698
57708
  } while (nextToken);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe-core",
3
- "version": "2.0.15",
3
+ "version": "2.0.16",
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",
@@ -332,7 +332,7 @@ endif
332
332
 
333
333
  quiet_cmd_regen_makefile = ACTION Regenerating $@
334
334
  cmd_regen_makefile = cd $(srcdir); /opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/hendryyeh/Library/Caches/node-gyp/24.4.0" "-Dnode_gyp_dir=/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/Users/hendryyeh/Library/Caches/node-gyp/24.4.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/Users/hendryyeh/Workspace/CodeVibe/codevibe-claude-plugin/node_modules/fs-ext" "-Dnode_engine=v8" "--depth=." "-Goutput_dir=." "--generator-output=build" -I/Users/hendryyeh/Workspace/CodeVibe/codevibe-claude-plugin/node_modules/fs-ext/build/config.gypi -I/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/Users/hendryyeh/Library/Caches/node-gyp/24.4.0/include/node/common.gypi "--toplevel-dir=." binding.gyp
335
- Makefile: $(srcdir)/build/config.gypi $(srcdir)/../../../../../../../opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/../../../../../Library/Caches/node-gyp/24.4.0/include/node/common.gypi $(srcdir)/binding.gyp
335
+ Makefile: $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../../../../opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/../../../../../Library/Caches/node-gyp/24.4.0/include/node/common.gypi
336
336
  $(call do_cmd,regen_makefile)
337
337
 
338
338
  # "all" is a concatenation of the "all" targets from all the included
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe-claude-plugin",
3
- "version": "2.0.18",
3
+ "version": "2.0.19",
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": {
@@ -47,7 +47,7 @@
47
47
  "node": ">=22.0.0"
48
48
  },
49
49
  "dependencies": {
50
- "@quantiya/codevibe-core": "2.0.15",
50
+ "@quantiya/codevibe-core": "2.0.16",
51
51
  "@quantiya/quorum-core": "^1.0.1",
52
52
  "dotenv": "^16.6.1",
53
53
  "express": "^5.1.0",