@osfactory/har 0.50.0 → 0.50.1

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/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -32360,7 +32360,8 @@ async function syncRepoWithPortal(options, controlApiUrl) {
32360
32360
  );
32361
32361
  const { selected: newRuns } = selectSince(runs, runsSince, runTimestamp);
32362
32362
  let repoId;
32363
- await syncRunBatches(newRuns, repoPath, runsTarget, () => repoId, dryRun, async (batch, i) => {
32363
+ const deltaRepoId = () => stored?.repoId ?? repoId;
32364
+ await syncRunBatches(newRuns, repoPath, runsTarget, deltaRepoId, dryRun, async (batch, i) => {
32364
32365
  const body = i === 0 ? { ...syncBody, runs: batch } : { path: repoPath, runs: batch };
32365
32366
  const res = await postPortal(portal, "/api/sync", body, dryRun);
32366
32367
  if (i === 0 && typeof res?.repositoryId === "string") repoId = res.repositoryId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osfactory/har",
3
- "version": "0.50.0",
3
+ "version": "0.50.1",
4
4
  "description": "Open harness for reproducible multi-agent coding workflows",
5
5
  "keywords": [
6
6
  "har",