@remixhq/core 0.1.18 → 0.1.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.
package/dist/api.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { CoreConfig } from './config.js';
2
2
  import { T as TokenProvider } from './tokenProvider-BWTusyj4.js';
3
- import { T as TurnUsage } from './contracts-DnNP-K3V.js';
3
+ import { T as TurnUsage } from './contracts-DiVLvPTG.js';
4
4
  import 'zod';
5
5
 
6
6
  type HistoryImportProvider = "claude_code" | "cursor";
@@ -542,6 +542,11 @@ type ApiClient = {
542
542
  workspaceMetadata?: Record<string, unknown>;
543
543
  idempotencyKey?: string;
544
544
  }): Promise<Json>;
545
+ listChangeSteps(appId: string, params?: {
546
+ limit?: number;
547
+ offset?: number;
548
+ idempotencyKey?: string;
549
+ }): Promise<Json>;
545
550
  startChangeStepReplay(appId: string, payload: {
546
551
  prompt: string;
547
552
  assistantResponse?: string;
package/dist/api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-RCNOSZP6.js";
3
+ } from "./chunk-C2FOZ3O7.js";
4
4
  import "./chunk-7XJGOKEO.js";
5
5
  export {
6
6
  createApiClient
@@ -196,6 +196,14 @@ function createApiClient(config, opts) {
196
196
  method: "POST",
197
197
  body: JSON.stringify(payload)
198
198
  }),
199
+ listChangeSteps: (appId, params) => {
200
+ const qs = new URLSearchParams();
201
+ if (params?.limit !== void 0) qs.set("limit", String(params.limit));
202
+ if (params?.offset !== void 0) qs.set("offset", String(params.offset));
203
+ if (params?.idempotencyKey) qs.set("idempotencyKey", params.idempotencyKey);
204
+ const suffix = qs.toString() ? `?${qs.toString()}` : "";
205
+ return request(`/v1/apps/${encodeURIComponent(appId)}/change-steps${suffix}`, { method: "GET" });
206
+ },
199
207
  createCollabTurn: (appId, payload) => request(`/v1/apps/${encodeURIComponent(appId)}/collab-turns`, {
200
208
  method: "POST",
201
209
  body: JSON.stringify(payload)
package/dist/collab.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CollabApiClient, a as TurnUsagePayload, b as CollabFinalizeTurnResult, c as CollabRecordingPreflight, d as CollabApproveMode, e as CollabApproveResult, M as MergeRequestQueue, f as MergeRequest, I as InvitationScopeType, g as CollabMember, J as JsonObject, A as AppDeltaResponse, h as CollabStatus, i as MergeRequestReview } from './contracts-DnNP-K3V.js';
2
- export { j as AppHeadResponse, k as AppMember, l as AppMemberRole, m as AppReconcileResponse, n as CollabFinalizeTurnAutoSync, o as CollabFinalizeTurnMode, p as CollabPendingFinalizeState, q as CollabPendingFinalizeSummary, r as CollabRecordingPreflightStatus, s as CollabRepoStateKind, t as CollabStatusBlockedReason, u as CollabStatusRecommendedAction, v as CollabTurn, w as MembershipScopeType, x as MergeRequestStatus, y as ModelCall, O as OrganizationMember, z as OrganizationMemberRole, P as ProjectMember, B as ProjectMemberRole, R as ReconcilePreflightResponse, S as ServerToolUsage, D as SyncLocalResponse, E as SyncUpstreamResponse, T as TurnUsage, F as TurnUsageCaptureSource, G as TurnUsageConfidence, H as TurnUsagePreviousPatch } from './contracts-DnNP-K3V.js';
1
+ import { C as CollabApiClient, a as TurnUsagePayload, b as CollabFinalizeTurnResult, c as CollabRecordingPreflight, d as CollabApproveMode, e as CollabApproveResult, M as MergeRequestQueue, f as MergeRequest, I as InvitationScopeType, g as CollabMember, J as JsonObject, A as AppDeltaResponse, h as CollabStatus, i as MergeRequestReview } from './contracts-DiVLvPTG.js';
2
+ export { j as AppHeadResponse, k as AppMember, l as AppMemberRole, m as AppReconcileResponse, n as CollabFinalizeTurnAutoSync, o as CollabFinalizeTurnMode, p as CollabPendingFinalizeState, q as CollabPendingFinalizeSummary, r as CollabRecordingPreflightStatus, s as CollabRepoStateKind, t as CollabStatusBlockedReason, u as CollabStatusRecommendedAction, v as CollabTurn, w as MembershipScopeType, x as MergeRequestStatus, y as ModelCall, O as OrganizationMember, z as OrganizationMemberRole, P as ProjectMember, B as ProjectMemberRole, R as ReconcilePreflightResponse, S as ServerToolUsage, D as SyncLocalResponse, E as SyncUpstreamResponse, T as TurnUsage, F as TurnUsageCaptureSource, G as TurnUsageConfidence, H as TurnUsagePreviousPatch } from './contracts-DiVLvPTG.js';
3
3
  import { B as BranchBindingMode } from './binding-WiIRI2fl.js';
4
4
 
5
5
  declare function collabFinalizeTurn(params: {
@@ -447,6 +447,27 @@ declare function drainPendingFinalizeQueue(params: {
447
447
  api: CollabApiClient;
448
448
  }): Promise<CollabFinalizeTurnResult[]>;
449
449
 
450
+ type SnapshotFileMode = "file" | "executable" | "symlink";
451
+ type LocalSnapshotFile = {
452
+ path: string;
453
+ mode: SnapshotFileMode;
454
+ blobHash: string;
455
+ size: number;
456
+ };
457
+ type LocalSnapshotRecord = {
458
+ schemaVersion: 1;
459
+ id: string;
460
+ repoRoot: string;
461
+ repoFingerprint: string | null;
462
+ laneId: string | null;
463
+ branchName: string | null;
464
+ localCommitHash: string | null;
465
+ snapshotHash: string;
466
+ createdAt: string;
467
+ files: LocalSnapshotFile[];
468
+ };
469
+ declare function readLocalSnapshot(snapshotId: string | null | undefined): Promise<LocalSnapshotRecord | null>;
470
+
450
471
  type ProcessOutcome = {
451
472
  status: "completed";
452
473
  jobId: string;
@@ -576,4 +597,4 @@ declare function drainerLogPath(): string;
576
597
  declare function getDrainerLogPath(): string;
577
598
  declare function getDrainerPidPath(): string;
578
599
 
579
- export { AppDeltaResponse, type AsyncJob, type AsyncJobBase, type AsyncJobKind, type AsyncJobStatus, type AsyncJobSummary, type AwaitAsyncJobResult, CollabApiClient, CollabApproveMode, CollabApproveResult, CollabFinalizeTurnResult, type CollabInitQueuedResult, CollabMember, CollabRecordingPreflight, CollabStatus, type DrainerLogEvent, FINALIZE_JOB_LOCK_STALE_MS, FINALIZE_PREFLIGHT_FAILURE_CODES, type FinalizePreflightFailureCode, type InitJobPayload, InvitationScopeType, JsonObject, MergeRequest, MergeRequestQueue, MergeRequestReview, type PendingFinalizeJob, type ReAnchorJobPayload, TurnUsagePayload, awaitAsyncJob, cleanStaleFinalizeJobLocks, collabApprove, collabCheckout, collabFinalizeTurn, collabInit, collabInitProcess, collabInitSubmit, collabInvite, collabList, collabListMembers, collabListMergeRequests, collabReconcile, collabRecordingPreflight, collabReject, collabRemix, collabRequestMerge, collabStatus, collabSync, collabSyncUpstream, collabUpdateMemberRole, collabView, deleteAsyncJob, drainAsyncJobs, drainPendingFinalizeQueue, drainerLogPath, findFailedAsyncJob, findPendingAsyncJob, forgetPendingFinalizeJob, getDrainerLogPath, getDrainerPidPath, getMemberRolesForScope, isFinalizePreflightFailureCode, listAsyncJobs, listAsyncJobsForRepo, listPendingFinalizeJobs, processPendingFinalizeJob, pruneTerminalAsyncJobs, readAsyncJob, readPendingFinalizeJob, requeuePendingFinalizeJob, summarizeAsyncJobs, updatePendingFinalizeJob, validateMemberRole };
600
+ export { AppDeltaResponse, type AsyncJob, type AsyncJobBase, type AsyncJobKind, type AsyncJobStatus, type AsyncJobSummary, type AwaitAsyncJobResult, CollabApiClient, CollabApproveMode, CollabApproveResult, CollabFinalizeTurnResult, type CollabInitQueuedResult, CollabMember, CollabRecordingPreflight, CollabStatus, type DrainerLogEvent, FINALIZE_JOB_LOCK_STALE_MS, FINALIZE_PREFLIGHT_FAILURE_CODES, type FinalizePreflightFailureCode, type InitJobPayload, InvitationScopeType, JsonObject, type LocalSnapshotRecord, MergeRequest, MergeRequestQueue, MergeRequestReview, type PendingFinalizeJob, type ReAnchorJobPayload, TurnUsagePayload, awaitAsyncJob, cleanStaleFinalizeJobLocks, collabApprove, collabCheckout, collabFinalizeTurn, collabInit, collabInitProcess, collabInitSubmit, collabInvite, collabList, collabListMembers, collabListMergeRequests, collabReconcile, collabRecordingPreflight, collabReject, collabRemix, collabRequestMerge, collabStatus, collabSync, collabSyncUpstream, collabUpdateMemberRole, collabView, deleteAsyncJob, drainAsyncJobs, drainPendingFinalizeQueue, drainerLogPath, findFailedAsyncJob, findPendingAsyncJob, forgetPendingFinalizeJob, getDrainerLogPath, getDrainerPidPath, getMemberRolesForScope, isFinalizePreflightFailureCode, listAsyncJobs, listAsyncJobsForRepo, listPendingFinalizeJobs, processPendingFinalizeJob, pruneTerminalAsyncJobs, readAsyncJob, readLocalSnapshot, readPendingFinalizeJob, requeuePendingFinalizeJob, summarizeAsyncJobs, updatePendingFinalizeJob, validateMemberRole };
package/dist/collab.js CHANGED
@@ -1467,6 +1467,15 @@ function shouldRequireRemoteLaneForCurrentBranch(params) {
1467
1467
  if (params.currentBranch === defaultBranch) return false;
1468
1468
  return !params.binding.laneId || params.binding.currentAppId === params.binding.upstreamAppId;
1469
1469
  }
1470
+ function resolveLaneLookupProjectId(params) {
1471
+ const currentBranch = normalizeBranchName(params.currentBranch);
1472
+ const defaultBranch = normalizeBranchName(params.defaultBranch);
1473
+ const localProjectId = params.localBinding.projectId ?? null;
1474
+ if (currentBranch && currentBranch !== defaultBranch && localProjectId) {
1475
+ return localProjectId;
1476
+ }
1477
+ return params.explicitRootProjectId ?? (params.requireRemoteLane ? void 0 : localProjectId ?? params.fallbackProjectId ?? void 0);
1478
+ }
1470
1479
  async function persistResolvedLane(repoRoot, binding) {
1471
1480
  await writeCollabBinding(repoRoot, {
1472
1481
  projectId: binding.projectId,
@@ -1545,7 +1554,14 @@ async function resolveActiveLaneBindingUncached(params, state) {
1545
1554
  };
1546
1555
  }
1547
1556
  const laneResp2 = await params.api.resolveProjectLaneBinding({
1548
- projectId: state.explicitRootBinding?.projectId ?? (requireRemoteLane ? void 0 : localBinding.projectId ?? state.projectId ?? void 0),
1557
+ projectId: resolveLaneLookupProjectId({
1558
+ explicitRootProjectId: state.explicitRootBinding?.projectId,
1559
+ localBinding,
1560
+ currentBranch,
1561
+ defaultBranch: state.defaultBranch,
1562
+ requireRemoteLane,
1563
+ fallbackProjectId: state.projectId
1564
+ }),
1549
1565
  repoFingerprint: state.repoFingerprint ?? void 0,
1550
1566
  remoteUrl: state.remoteUrl ?? void 0,
1551
1567
  defaultBranch: state.defaultBranch ?? void 0,
@@ -2403,6 +2419,59 @@ function buildWorkspaceMetadata(params) {
2403
2419
  }
2404
2420
  return metadata;
2405
2421
  }
2422
+ async function findExistingChangeStepByIdempotency(params) {
2423
+ const idempotencyKey = params.idempotencyKey?.trim();
2424
+ if (!idempotencyKey) return null;
2425
+ const resp = await params.api.listChangeSteps(params.appId, { limit: 1, idempotencyKey });
2426
+ const responseObject = unwrapResponseObject(
2427
+ resp,
2428
+ "change step list"
2429
+ );
2430
+ const steps = Array.isArray(responseObject) ? responseObject : Array.isArray(responseObject.items) ? responseObject.items : [];
2431
+ return steps.find((step) => step.idempotencyKey === idempotencyKey) ?? null;
2432
+ }
2433
+ async function writeBaselineFromSucceededChangeStep(params) {
2434
+ const nextServerHeadHash = typeof params.changeStep.headCommitHash === "string" ? params.changeStep.headCommitHash.trim() : "";
2435
+ if (!nextServerHeadHash) {
2436
+ throw buildFinalizeCliError({
2437
+ message: "Backend returned a succeeded change step without a head commit hash.",
2438
+ exitCode: 1,
2439
+ hint: "This is a backend invariant violation; retry will not help. Run `remix collab status` before trying again.",
2440
+ disposition: "terminal",
2441
+ reason: "missing_head_commit_hash"
2442
+ });
2443
+ }
2444
+ let nextServerRevisionId = typeof params.changeStep.resultRevisionId === "string" ? params.changeStep.resultRevisionId.trim() : "";
2445
+ let nextServerTreeHash = null;
2446
+ if (!nextServerRevisionId) {
2447
+ const freshHeadResp = await params.api.getAppHead(params.job.currentAppId);
2448
+ const freshHead = unwrapResponseObject(freshHeadResp, "app head");
2449
+ if (freshHead.headCommitHash !== nextServerHeadHash || !freshHead.headRevisionId) {
2450
+ throw buildFinalizeCliError({
2451
+ message: "Backend returned a succeeded change step without a matching result revision.",
2452
+ exitCode: 1,
2453
+ hint: "The local baseline was not advanced because the post-step revision could not be verified. Restart the backend/CLI and retry after checking `remix collab status`.",
2454
+ disposition: "terminal",
2455
+ reason: "missing_result_revision_id"
2456
+ });
2457
+ }
2458
+ nextServerRevisionId = freshHead.headRevisionId;
2459
+ nextServerTreeHash = freshHead.treeHash ?? null;
2460
+ }
2461
+ await writeLocalBaseline({
2462
+ repoRoot: params.job.repoRoot,
2463
+ repoFingerprint: params.job.repoFingerprint,
2464
+ laneId: params.job.laneId,
2465
+ currentAppId: params.job.currentAppId,
2466
+ branchName: params.job.branchName,
2467
+ lastSnapshotId: params.snapshot.id,
2468
+ lastSnapshotHash: params.snapshot.snapshotHash,
2469
+ lastServerRevisionId: nextServerRevisionId,
2470
+ lastServerTreeHash: nextServerTreeHash,
2471
+ lastServerHeadHash: nextServerHeadHash,
2472
+ lastSeenLocalCommitHash: params.snapshot.localCommitHash
2473
+ });
2474
+ }
2406
2475
  async function harvestPreTurnEvents(repoRoot, fromCommit, toCommit) {
2407
2476
  if (!toCommit) return null;
2408
2477
  try {
@@ -2588,6 +2657,34 @@ async function processClaimedPendingFinalizeJobInner(params) {
2588
2657
  });
2589
2658
  }
2590
2659
  const replayNeeded = appHead.headCommitHash !== submissionBaseHeadHash || baselineDrifted;
2660
+ if (replayNeeded) {
2661
+ const existingChangeStep = await findExistingChangeStepByIdempotency({
2662
+ api: params.api,
2663
+ appId: job.currentAppId,
2664
+ idempotencyKey: job.idempotencyKey
2665
+ });
2666
+ if (existingChangeStep) {
2667
+ const changeStep2 = existingChangeStep.status === "succeeded" ? existingChangeStep : await pollChangeStep(params.api, job.currentAppId, existingChangeStep.id);
2668
+ invalidateAppHeadCache(job.currentAppId);
2669
+ invalidateAppDeltaCacheForApp(job.currentAppId);
2670
+ await writeBaselineFromSucceededChangeStep({ api: params.api, job, snapshot, changeStep: changeStep2 });
2671
+ await updatePendingFinalizeJob(job.id, {
2672
+ status: "completed",
2673
+ metadata: { changeStepId: String(changeStep2.id ?? "") }
2674
+ });
2675
+ return {
2676
+ mode: "changed_turn",
2677
+ idempotencyKey: job.idempotencyKey ?? "",
2678
+ queued: false,
2679
+ jobId: job.id,
2680
+ repoState,
2681
+ changeStep: changeStep2,
2682
+ collabTurn: null,
2683
+ autoSync: null,
2684
+ warnings: []
2685
+ };
2686
+ }
2687
+ }
2591
2688
  if (replayNeeded) {
2592
2689
  try {
2593
2690
  const replayResp = await params.api.startChangeStepReplay(job.currentAppId, {
@@ -2685,46 +2782,7 @@ async function processClaimedPendingFinalizeJobInner(params) {
2685
2782
  const changeStep = await pollChangeStep(params.api, job.currentAppId, String(createdStep.id));
2686
2783
  invalidateAppHeadCache(job.currentAppId);
2687
2784
  invalidateAppDeltaCacheForApp(job.currentAppId);
2688
- const nextServerHeadHash = typeof changeStep.headCommitHash === "string" ? changeStep.headCommitHash.trim() : "";
2689
- if (!nextServerHeadHash) {
2690
- throw buildFinalizeCliError({
2691
- message: "Backend returned a succeeded change step without a head commit hash.",
2692
- exitCode: 1,
2693
- hint: "This is a backend invariant violation; retry will not help. Run `remix collab status` before trying again.",
2694
- disposition: "terminal",
2695
- reason: "missing_head_commit_hash"
2696
- });
2697
- }
2698
- let nextServerRevisionId = typeof changeStep.resultRevisionId === "string" ? changeStep.resultRevisionId.trim() : "";
2699
- let nextServerTreeHash = null;
2700
- if (!nextServerRevisionId) {
2701
- const freshHeadResp = await params.api.getAppHead(job.currentAppId);
2702
- const freshHead = unwrapResponseObject(freshHeadResp, "app head");
2703
- if (freshHead.headCommitHash !== nextServerHeadHash || !freshHead.headRevisionId) {
2704
- throw buildFinalizeCliError({
2705
- message: "Backend returned a succeeded change step without a matching result revision.",
2706
- exitCode: 1,
2707
- hint: "The local baseline was not advanced because the post-step revision could not be verified. Restart the backend/CLI and retry after checking `remix collab status`.",
2708
- disposition: "terminal",
2709
- reason: "missing_result_revision_id"
2710
- });
2711
- }
2712
- nextServerRevisionId = freshHead.headRevisionId;
2713
- nextServerTreeHash = freshHead.treeHash ?? null;
2714
- }
2715
- await writeLocalBaseline({
2716
- repoRoot: job.repoRoot,
2717
- repoFingerprint: job.repoFingerprint,
2718
- laneId: job.laneId,
2719
- currentAppId: job.currentAppId,
2720
- branchName: job.branchName,
2721
- lastSnapshotId: snapshot.id,
2722
- lastSnapshotHash: snapshot.snapshotHash,
2723
- lastServerRevisionId: nextServerRevisionId,
2724
- lastServerTreeHash: nextServerTreeHash,
2725
- lastServerHeadHash: nextServerHeadHash,
2726
- lastSeenLocalCommitHash: snapshot.localCommitHash
2727
- });
2785
+ await writeBaselineFromSucceededChangeStep({ api: params.api, job, snapshot, changeStep });
2728
2786
  await updatePendingFinalizeJob(job.id, {
2729
2787
  status: "completed",
2730
2788
  metadata: { changeStepId: String(changeStep.id ?? "") }
@@ -4207,27 +4265,21 @@ async function trySeedEquivalentBranchBaseline(params) {
4207
4265
  branchName: params.branchName,
4208
4266
  persistBlobs: false
4209
4267
  });
4210
- if (inspection.snapshotHash !== defaultBaseline.lastSnapshotHash) {
4268
+ if (inspection.snapshotHash !== defaultBaseline.lastSnapshotHash && inspection.localCommitHash !== defaultBaseline.lastSeenLocalCommitHash) {
4211
4269
  return null;
4212
4270
  }
4213
- const snapshot = await captureLocalSnapshot({
4214
- repoRoot: params.repoRoot,
4215
- repoFingerprint: params.repoFingerprint,
4216
- laneId: params.laneId,
4217
- branchName: params.branchName
4218
- });
4219
4271
  await writeLocalBaseline({
4220
4272
  repoRoot: params.repoRoot,
4221
4273
  repoFingerprint: params.repoFingerprint,
4222
4274
  laneId: params.laneId,
4223
4275
  currentAppId: params.currentAppId,
4224
4276
  branchName: params.branchName,
4225
- lastSnapshotId: snapshot.id,
4226
- lastSnapshotHash: snapshot.snapshotHash,
4277
+ lastSnapshotId: defaultBaseline.lastSnapshotId,
4278
+ lastSnapshotHash: defaultBaseline.lastSnapshotHash,
4227
4279
  lastServerRevisionId: params.appHeadRevisionId,
4228
4280
  lastServerTreeHash: params.appTreeHash,
4229
4281
  lastServerHeadHash: params.appHeadHash,
4230
- lastSeenLocalCommitHash: snapshot.localCommitHash
4282
+ lastSeenLocalCommitHash: inspection.localCommitHash
4231
4283
  });
4232
4284
  return "seeded";
4233
4285
  }
@@ -4276,6 +4328,21 @@ async function resolveInitBaselineStatus(params) {
4276
4328
  });
4277
4329
  const delta = unwrapResponseObject(deltaResp, "app delta");
4278
4330
  if (delta.status === "up_to_date" || delta.status === "delta_ready") {
4331
+ const equivalentBaseline = await trySeedEquivalentBranchBaseline({
4332
+ repoRoot: params.repoRoot,
4333
+ repoFingerprint: params.repoFingerprint,
4334
+ laneId: params.laneId,
4335
+ currentAppId: params.currentAppId,
4336
+ upstreamAppId: params.upstreamAppId ?? null,
4337
+ branchName: params.branchName,
4338
+ defaultBranch: params.defaultBranch,
4339
+ appHeadHash: appHead.headCommitHash,
4340
+ appHeadRevisionId: appHead.headRevisionId ?? null,
4341
+ appTreeHash: appHead.treeHash ?? null
4342
+ });
4343
+ if (equivalentBaseline) {
4344
+ return equivalentBaseline;
4345
+ }
4279
4346
  return "requires_sync";
4280
4347
  }
4281
4348
  if (delta.status === "content_equivalent") {
@@ -6566,6 +6633,7 @@ export {
6566
6633
  processPendingFinalizeJob,
6567
6634
  pruneTerminalAsyncJobs,
6568
6635
  readAsyncJob,
6636
+ readLocalSnapshot,
6569
6637
  readPendingFinalizeJob,
6570
6638
  requeuePendingFinalizeJob,
6571
6639
  summarizeAsyncJobs,
@@ -536,6 +536,11 @@ type CollabApiClient = {
536
536
  workspaceMetadata?: Record<string, unknown>;
537
537
  idempotencyKey?: string;
538
538
  }): Promise<unknown>;
539
+ listChangeSteps(appId: string, params?: {
540
+ limit?: number;
541
+ offset?: number;
542
+ idempotencyKey?: string;
543
+ }): Promise<unknown>;
539
544
  startChangeStepReplay(appId: string, payload: {
540
545
  prompt: string;
541
546
  assistantResponse?: string;
package/dist/history.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { T as TurnUsage } from './contracts-DnNP-K3V.js';
1
+ import { T as TurnUsage } from './contracts-DiVLvPTG.js';
2
2
 
3
3
  type TranscriptEvent = Record<string, unknown>;
4
4
  type ReadTranscriptResult = {
package/dist/index.d.ts CHANGED
@@ -4,4 +4,4 @@ export { S as SessionStore, a as StoredSession, c as createStoredSessionTokenPro
4
4
  export { createLocalSessionStore, createSupabaseAuthHelpers } from './auth.js';
5
5
  export { AgentMemoryItem, AgentMemoryKind, AgentMemorySearchItem, AgentMemorySearchResponse, AgentMemorySummary, AgentMemoryTimelineResponse, ApiClient, AppContext, AppContextAccessPath, AppReconcileResponse, Bundle, BundlePlatform, BundleStatus, ChangeStepDiffResponse, InitiateBundleRequest, InvitationRecord, MergeRequest, MergeRequestReview, MergeRequestStatus, ReconcilePreflightResponse, SyncLocalResponse, SyncUpstreamResponse, createApiClient } from './api.js';
6
6
  import 'zod';
7
- import './contracts-DnNP-K3V.js';
7
+ import './contracts-DiVLvPTG.js';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-RCNOSZP6.js";
3
+ } from "./chunk-C2FOZ3O7.js";
4
4
  import {
5
5
  createLocalSessionStore,
6
6
  createStoredSessionTokenProvider,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remixhq/core",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Remix core library",
5
5
  "homepage": "https://github.com/RemixDotOne/remix-core",
6
6
  "license": "MIT",