paperclip-github-plugin 0.10.0 → 0.10.2

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.
package/dist/worker.js CHANGED
@@ -16220,7 +16220,7 @@ var plugin = definePlugin({
16220
16220
  });
16221
16221
  ctx.actions.register("sync.runNow", async (input, actionContext) => {
16222
16222
  const record = normalizeActionRecord(input, actionContext);
16223
- const waitForCompletion = "waitForCompletion" in record ? Boolean(record.waitForCompletion) : false;
16223
+ const waitForCompletion = "waitForCompletion" in record ? Boolean(record.waitForCompletion) : true;
16224
16224
  const paperclipApiBaseUrl = "paperclipApiBaseUrl" in record ? record.paperclipApiBaseUrl : void 0;
16225
16225
  const companyId = "companyId" in record && typeof record.companyId === "string" ? record.companyId : void 0;
16226
16226
  const projectId = "projectId" in record && typeof record.projectId === "string" ? record.projectId : void 0;
@@ -16279,7 +16279,7 @@ var plugin = definePlugin({
16279
16279
  if (job.trigger === "schedule" && !shouldRunScheduledSync(reconciledSettings, job.scheduledAt)) {
16280
16280
  return;
16281
16281
  }
16282
- await startSync(ctx, trigger);
16282
+ await startSync(ctx, trigger, { awaitCompletion: true });
16283
16283
  return;
16284
16284
  }
16285
16285
  for (const target of scheduledTargets) {
@@ -16287,7 +16287,10 @@ var plugin = definePlugin({
16287
16287
  if (job.trigger === "schedule" && !shouldRunScheduledSync(scopedSettings, job.scheduledAt)) {
16288
16288
  continue;
16289
16289
  }
16290
- await startSync(ctx, trigger, target ? { target } : {});
16290
+ await startSync(ctx, trigger, {
16291
+ awaitCompletion: true,
16292
+ ...target ? { target } : {}
16293
+ });
16291
16294
  }
16292
16295
  });
16293
16296
  },
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "paperclip-github-plugin",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Paperclip plugin for synchronizing GitHub issues into Paperclip projects.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
- "packageManager": "pnpm@11.5.0",
7
+ "packageManager": "pnpm@11.5.2",
8
8
  "engines": {
9
9
  "node": ">=20"
10
10
  },
@@ -42,18 +42,18 @@
42
42
  "dependencies": {
43
43
  "@octokit/rest": "^22.0.1",
44
44
  "@paperclipai/plugin-sdk": "^2026.529.0",
45
- "react": "^19.2.6",
45
+ "react": "^19.2.7",
46
46
  "react-markdown": "^10.1.0",
47
47
  "rehype-raw": "^7.0.0",
48
48
  "rehype-sanitize": "^6.0.0",
49
49
  "remark-gfm": "^4.0.1"
50
50
  },
51
51
  "devDependencies": {
52
- "@types/node": "24.12.4",
53
- "@types/react": "19.2.15",
52
+ "@types/node": "24.13.1",
53
+ "@types/react": "19.2.17",
54
54
  "esbuild": "0.28.0",
55
55
  "playwright": "1.60.0",
56
- "tsx": "4.22.3",
56
+ "tsx": "4.22.4",
57
57
  "typescript": "6.0.3"
58
58
  }
59
59
  }