@narumitw/pi-sync 0.60.0 → 0.60.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.
Files changed (206) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +11 -12
  3. package/dist/chunks/{chunk-7AC2RX4M.ts → chunk-277VHM2P.ts} +2 -2
  4. package/dist/chunks/chunk-277VHM2P.ts.map +7 -0
  5. package/dist/chunks/{chunk-4RNCZZY7.ts → chunk-3YXBG7BQ.ts} +14 -10
  6. package/dist/chunks/{chunk-4RNCZZY7.ts.map → chunk-3YXBG7BQ.ts.map} +2 -2
  7. package/dist/chunks/{chunk-UBE6XWOM.ts → chunk-6W2SNZ5P.ts} +2 -2
  8. package/dist/chunks/chunk-6W2SNZ5P.ts.map +7 -0
  9. package/dist/chunks/{chunk-UZUUUY7C.ts → chunk-B53FS4RW.ts} +4 -4
  10. package/dist/chunks/{chunk-MIXZVHFR.ts → chunk-E7UJHMNW.ts} +11 -42
  11. package/dist/chunks/chunk-E7UJHMNW.ts.map +7 -0
  12. package/dist/chunks/{chunk-JZKCOM62.ts → chunk-EMRFVLZM.ts} +2 -2
  13. package/dist/chunks/chunk-EMRFVLZM.ts.map +7 -0
  14. package/dist/chunks/{chunk-BWWTOQOW.ts → chunk-FOMZEZER.ts} +100 -53
  15. package/dist/chunks/chunk-FOMZEZER.ts.map +7 -0
  16. package/dist/chunks/{chunk-NPT2G4FU.ts → chunk-HEB6YT64.ts} +2 -2
  17. package/dist/chunks/chunk-HEB6YT64.ts.map +7 -0
  18. package/dist/chunks/{chunk-J5COV5TY.ts → chunk-HLCML3OW.ts} +2 -2
  19. package/dist/chunks/{chunk-J5COV5TY.ts.map → chunk-HLCML3OW.ts.map} +1 -1
  20. package/dist/chunks/{chunk-ZMNVNECV.ts → chunk-KPWZNMKM.ts} +2 -2
  21. package/dist/chunks/chunk-KPWZNMKM.ts.map +7 -0
  22. package/dist/chunks/{chunk-YWEYRRQI.ts → chunk-LAXTCSX4.ts} +11 -11
  23. package/dist/chunks/chunk-LAXTCSX4.ts.map +7 -0
  24. package/dist/chunks/{chunk-BGGKHHO4.ts → chunk-MCUZFUHY.ts} +7 -7
  25. package/dist/chunks/{chunk-M7RHV3H6.ts → chunk-OA4NZLSL.ts} +2 -2
  26. package/dist/chunks/chunk-OA4NZLSL.ts.map +7 -0
  27. package/dist/chunks/{chunk-CEMFCWIU.ts → chunk-RNIEVDTR.ts} +2 -2
  28. package/dist/chunks/chunk-RNIEVDTR.ts.map +7 -0
  29. package/dist/chunks/{chunk-PDBTD2K6.ts → chunk-S3R3W3KF.ts} +2 -2
  30. package/dist/chunks/chunk-S3R3W3KF.ts.map +7 -0
  31. package/dist/chunks/{chunk-CZNBKIM5.ts → chunk-SMVKMYLK.ts} +2 -2
  32. package/dist/chunks/chunk-SMVKMYLK.ts.map +7 -0
  33. package/dist/chunks/{chunk-JKBUYCPC.ts → chunk-V4AMI3VL.ts} +2 -2
  34. package/dist/chunks/chunk-V4AMI3VL.ts.map +7 -0
  35. package/dist/chunks/{chunk-VZCWYXRS.ts → chunk-WP2M67XZ.ts} +2 -2
  36. package/dist/chunks/chunk-WP2M67XZ.ts.map +7 -0
  37. package/dist/chunks/{chunk-HNKLBM3U.ts → chunk-ZIL6PW5L.ts} +2 -2
  38. package/dist/chunks/chunk-ZIL6PW5L.ts.map +7 -0
  39. package/dist/chunks/{command-handler-3O76V7Q5.ts → command-handler-RTBEFZUX.ts} +19 -19
  40. package/dist/chunks/{command-handler-3O76V7Q5.ts.map → command-handler-RTBEFZUX.ts.map} +2 -2
  41. package/dist/chunks/{conflict-review-XBSME2ER.ts → conflict-review-YXROU42F.ts} +4 -4
  42. package/dist/chunks/{continuous-record-ZHUXVO4E.ts → continuous-record-3XDXDOMV.ts} +2 -2
  43. package/dist/chunks/continuous-record-3XDXDOMV.ts.map +7 -0
  44. package/dist/chunks/continuous-storage-HLKCHF6Z.ts +27 -0
  45. package/dist/chunks/continuous-storage-HLKCHF6Z.ts.map +7 -0
  46. package/dist/chunks/{file-selection-S6CNNNQI.ts → file-selection-DD6X4J2K.ts} +6 -6
  47. package/dist/chunks/manager-result-dispatcher-4PEUHK7F.ts +18 -0
  48. package/dist/chunks/{manager-ui-SJOBTJLY.ts → manager-ui-TNAMQNEU.ts} +123 -64
  49. package/dist/chunks/manager-ui-TNAMQNEU.ts.map +7 -0
  50. package/dist/chunks/{remote-selection-ui-GZHPDQ4L.ts → remote-selection-ui-47H7V62F.ts} +8 -8
  51. package/dist/chunks/{setup-switch-M3BAFGJM.ts → setup-switch-SPZE7HIQ.ts} +8 -8
  52. package/dist/chunks/{setup-wizard-NFAWP4KF.ts → setup-wizard-5JYKAEIT.ts} +11 -11
  53. package/dist/chunks/{snapshot-D4SFDP5J.ts → snapshot-5HY3M2NL.ts} +2 -2
  54. package/dist/chunks/snapshot-5HY3M2NL.ts.map +7 -0
  55. package/dist/chunks/{snapshot-transaction-directory-TNKBQ3UQ.ts → snapshot-transaction-directory-OU2D7R7A.ts} +2 -2
  56. package/dist/chunks/snapshot-transaction-directory-OU2D7R7A.ts.map +7 -0
  57. package/dist/chunks/{state-directory-JZSZVVPX.ts → state-directory-XXHU73Z3.ts} +2 -2
  58. package/dist/chunks/{sync-inspection-BJ4KPPNO.ts → sync-inspection-5GQEB62G.ts} +5 -5
  59. package/dist/chunks/sync-inspection-5GQEB62G.ts.map +7 -0
  60. package/dist/chunks/{sync-operations-TLWER2TT.ts → sync-operations-65HDA67O.ts} +5 -5
  61. package/dist/chunks/{sync-operations-TLWER2TT.ts.map → sync-operations-65HDA67O.ts.map} +2 -2
  62. package/dist/chunks/{sync-state-FVCJJ7MY.ts → sync-state-2LMIXJ2C.ts} +2 -2
  63. package/dist/chunks/sync-state-2LMIXJ2C.ts.map +7 -0
  64. package/dist/index.ts +22 -22
  65. package/dist/index.ts.map +1 -1
  66. package/docs/daemon-migration.md +10 -6
  67. package/docs/tui-contract.md +12 -0
  68. package/package.json +2 -2
  69. package/skills/configure-pi-sync/references/configuration.md +8 -4
  70. package/src/backends/backend-factory.ts +2 -2
  71. package/src/backends/backend-identity.ts +2 -2
  72. package/src/backends/backend-types.ts +1 -1
  73. package/src/backends/git/git-backend.ts +2 -2
  74. package/src/backends/git/git-config.ts +2 -2
  75. package/src/backends/git/git-runner.ts +2 -2
  76. package/src/backends/git/git-storage.ts +2 -2
  77. package/src/backends/s3/s3-backend.ts +2 -2
  78. package/src/backends/s3/s3-client.ts +6 -2
  79. package/src/backends/s3/s3-conditions.ts +2 -2
  80. package/src/backends/snapshot-pointer.ts +2 -2
  81. package/src/backends/sync-backend.ts +2 -2
  82. package/src/backends/webdav/webdav-backend.ts +2 -2
  83. package/src/backends/webdav/webdav-client.ts +2 -2
  84. package/src/backends/webdav/webdav-config.ts +2 -2
  85. package/src/commands/command-execution.ts +1 -1
  86. package/src/commands/command.ts +1 -1
  87. package/src/daemon/apply-gate.ts +1 -1
  88. package/src/daemon/pi-client.ts +105 -54
  89. package/src/daemon/recovery.ts +1 -1
  90. package/src/paths.ts +2 -2
  91. package/src/settings/config-errors.ts +2 -2
  92. package/src/settings/config-file.ts +2 -2
  93. package/src/settings/config.ts +2 -2
  94. package/src/settings/settings-management.ts +2 -2
  95. package/src/settings/settings-store.ts +2 -2
  96. package/src/settings/settings-types.ts +1 -1
  97. package/src/settings/settings-validation.ts +2 -2
  98. package/src/snapshot/session-paths.ts +2 -2
  99. package/src/snapshot/snapshot-apply.ts +2 -2
  100. package/src/snapshot/snapshot-case-replacement.ts +2 -2
  101. package/src/snapshot/snapshot-codec.ts +2 -2
  102. package/src/snapshot/snapshot-exclude-safety.ts +2 -2
  103. package/src/snapshot/snapshot-mutation-queues.ts +2 -2
  104. package/src/snapshot/snapshot-paths.ts +2 -2
  105. package/src/snapshot/snapshot-root-transition.ts +2 -2
  106. package/src/snapshot/snapshot-transaction-directory.ts +2 -2
  107. package/src/snapshot/snapshot-transaction-plan.ts +2 -2
  108. package/src/snapshot/snapshot-transaction.ts +2 -2
  109. package/src/snapshot/snapshot-types.ts +1 -1
  110. package/src/snapshot/snapshot.ts +2 -2
  111. package/src/state/json-file.ts +2 -2
  112. package/src/state/lock-policy.ts +2 -2
  113. package/src/state/lock.ts +2 -2
  114. package/src/state/lockfile-fs.ts +2 -2
  115. package/src/state/merge-baseline-store.ts +2 -2
  116. package/src/state/mutation-directory-sync.ts +2 -2
  117. package/src/state/operation-availability.ts +2 -2
  118. package/src/state/state-directory.ts +2 -2
  119. package/src/state/state-types.ts +1 -1
  120. package/src/state/sync-state-store.ts +2 -2
  121. package/src/sync/agent-candidate.ts +2 -2
  122. package/src/sync/agent-plan.ts +2 -2
  123. package/src/sync/agent-policy.ts +2 -2
  124. package/src/sync/agent-refusal-retry.ts +2 -2
  125. package/src/sync/agent-request.ts +2 -2
  126. package/src/sync/agent-runner.ts +2 -2
  127. package/src/sync/agent-store.ts +2 -2
  128. package/src/sync/agent-sync.ts +2 -2
  129. package/src/sync/apply-review.ts +2 -2
  130. package/src/sync/conflict-artifact-ownership.ts +2 -2
  131. package/src/sync/conflict-artifacts.ts +2 -2
  132. package/src/sync/conflict-groups.ts +2 -2
  133. package/src/sync/conflict-preview.ts +2 -2
  134. package/src/sync/conflict-resolution.ts +2 -2
  135. package/src/sync/conflict-retention.ts +2 -2
  136. package/src/sync/content-conflicts.ts +2 -2
  137. package/src/sync/continuous-errors.ts +2 -2
  138. package/src/sync/continuous-lease.ts +2 -2
  139. package/src/sync/continuous-record.ts +2 -2
  140. package/src/sync/continuous-storage.ts +2 -2
  141. package/src/sync/continuous-sync.ts +2 -2
  142. package/src/sync/continuous-watch.ts +2 -2
  143. package/src/sync/exclude-policy.ts +2 -2
  144. package/src/sync/field-migration.ts +2 -2
  145. package/src/sync/file-merge-planner.ts +6 -2
  146. package/src/sync/json-document.ts +2 -2
  147. package/src/sync/local-field-policy.ts +2 -2
  148. package/src/sync/local-fields.ts +2 -2
  149. package/src/sync/merge-apply.ts +2 -2
  150. package/src/sync/merge-journal.ts +2 -2
  151. package/src/sync/merge-transfer-error.ts +2 -2
  152. package/src/sync/merged-sync.ts +2 -2
  153. package/src/sync/mutation-owner.ts +2 -2
  154. package/src/sync/package-merge.ts +2 -2
  155. package/src/sync/partial-progress.ts +2 -2
  156. package/src/sync/remote-snapshot.ts +2 -2
  157. package/src/sync/session-merge.ts +2 -2
  158. package/src/sync/settings-conflicts.ts +2 -2
  159. package/src/sync/settings-merge.ts +2 -2
  160. package/src/sync/signals.ts +2 -2
  161. package/src/sync/startup-timings.ts +2 -2
  162. package/src/sync/sync-decision.ts +2 -2
  163. package/src/sync/sync-error-guidance.ts +2 -2
  164. package/src/sync/sync-errors.ts +2 -2
  165. package/src/sync/sync-inspection.ts +2 -2
  166. package/src/sync/sync-local.ts +6 -2
  167. package/src/sync/sync-mutations.ts +2 -2
  168. package/src/sync/sync-operations.ts +1 -1
  169. package/src/sync/sync-policy.ts +2 -2
  170. package/src/sync/sync-queries.ts +2 -2
  171. package/src/sync/sync-state.ts +2 -2
  172. package/src/sync/text-merge.ts +2 -2
  173. package/src/ui/manager-state.ts +35 -23
  174. package/src/ui/manager-ui.ts +80 -36
  175. package/src/ui/sync-attention.ts +7 -49
  176. package/dist/chunks/chunk-7AC2RX4M.ts.map +0 -7
  177. package/dist/chunks/chunk-BWWTOQOW.ts.map +0 -7
  178. package/dist/chunks/chunk-CEMFCWIU.ts.map +0 -7
  179. package/dist/chunks/chunk-CZNBKIM5.ts.map +0 -7
  180. package/dist/chunks/chunk-HNKLBM3U.ts.map +0 -7
  181. package/dist/chunks/chunk-JKBUYCPC.ts.map +0 -7
  182. package/dist/chunks/chunk-JZKCOM62.ts.map +0 -7
  183. package/dist/chunks/chunk-M7RHV3H6.ts.map +0 -7
  184. package/dist/chunks/chunk-MIXZVHFR.ts.map +0 -7
  185. package/dist/chunks/chunk-NPT2G4FU.ts.map +0 -7
  186. package/dist/chunks/chunk-PDBTD2K6.ts.map +0 -7
  187. package/dist/chunks/chunk-UBE6XWOM.ts.map +0 -7
  188. package/dist/chunks/chunk-VZCWYXRS.ts.map +0 -7
  189. package/dist/chunks/chunk-YWEYRRQI.ts.map +0 -7
  190. package/dist/chunks/chunk-ZMNVNECV.ts.map +0 -7
  191. package/dist/chunks/continuous-record-ZHUXVO4E.ts.map +0 -7
  192. package/dist/chunks/manager-result-dispatcher-I2AMCCE7.ts +0 -18
  193. package/dist/chunks/manager-ui-SJOBTJLY.ts.map +0 -7
  194. package/dist/chunks/snapshot-D4SFDP5J.ts.map +0 -7
  195. package/dist/chunks/snapshot-transaction-directory-TNKBQ3UQ.ts.map +0 -7
  196. package/dist/chunks/sync-inspection-BJ4KPPNO.ts.map +0 -7
  197. package/dist/chunks/sync-state-FVCJJ7MY.ts.map +0 -7
  198. /package/dist/chunks/{chunk-UZUUUY7C.ts.map → chunk-B53FS4RW.ts.map} +0 -0
  199. /package/dist/chunks/{chunk-BGGKHHO4.ts.map → chunk-MCUZFUHY.ts.map} +0 -0
  200. /package/dist/chunks/{conflict-review-XBSME2ER.ts.map → conflict-review-YXROU42F.ts.map} +0 -0
  201. /package/dist/chunks/{file-selection-S6CNNNQI.ts.map → file-selection-DD6X4J2K.ts.map} +0 -0
  202. /package/dist/chunks/{manager-result-dispatcher-I2AMCCE7.ts.map → manager-result-dispatcher-4PEUHK7F.ts.map} +0 -0
  203. /package/dist/chunks/{remote-selection-ui-GZHPDQ4L.ts.map → remote-selection-ui-47H7V62F.ts.map} +0 -0
  204. /package/dist/chunks/{setup-switch-M3BAFGJM.ts.map → setup-switch-SPZE7HIQ.ts.map} +0 -0
  205. /package/dist/chunks/{setup-wizard-NFAWP4KF.ts.map → setup-wizard-5JYKAEIT.ts.map} +0 -0
  206. /package/dist/chunks/{state-directory-JZSZVVPX.ts.map → state-directory-XXHU73Z3.ts.map} +0 -0
@@ -1,7 +1,7 @@
1
- export type * from "@narumitw/sync-daemon/engine/state/operation-availability";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/state/operation-availability";
2
2
  export {
3
3
  classifyOperationAvailability,
4
4
  inspectOperationAvailability,
5
5
  operationBlocksChanges,
6
6
  operationCanRecover,
7
- } from "@narumitw/sync-daemon/engine/state/operation-availability";
7
+ } from "@narumitw/pi-sync-daemon/engine/state/operation-availability";
@@ -1,8 +1,8 @@
1
- export type * from "@narumitw/sync-daemon/engine/state/state-directory";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/state/state-directory";
2
2
  export {
3
3
  legacyStateDir,
4
4
  migrateLegacyStateDirectory,
5
5
  stateDir,
6
6
  stateDirectoryMigrationNotice,
7
7
  withStateDirectoryAccess,
8
- } from "@narumitw/sync-daemon/engine/state/state-directory";
8
+ } from "@narumitw/pi-sync-daemon/engine/state/state-directory";
@@ -1 +1 @@
1
- export type * from "@narumitw/sync-daemon/engine/state/state-types";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/state/state-types";
@@ -1,4 +1,4 @@
1
- export type * from "@narumitw/sync-daemon/engine/state/sync-state-store";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/state/sync-state-store";
2
2
  export {
3
3
  ensureStateDir,
4
4
  lockPath,
@@ -8,4 +8,4 @@ export {
8
8
  syncStateFingerprint,
9
9
  writeState,
10
10
  writeStateForConfig,
11
- } from "@narumitw/sync-daemon/engine/state/sync-state-store";
11
+ } from "@narumitw/pi-sync-daemon/engine/state/sync-state-store";
@@ -1,7 +1,7 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/agent-candidate";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/agent-candidate";
2
2
  export {
3
3
  applyAgentCandidate,
4
4
  buildAgentEvidence,
5
5
  digest,
6
6
  parseAgentCandidate,
7
- } from "@narumitw/sync-daemon/engine/sync/agent-candidate";
7
+ } from "@narumitw/pi-sync-daemon/engine/sync/agent-candidate";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/agent-plan";
2
- export { resolveAgentPlan } from "@narumitw/sync-daemon/engine/sync/agent-plan";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/agent-plan";
2
+ export { resolveAgentPlan } from "@narumitw/pi-sync-daemon/engine/sync/agent-plan";
@@ -1,4 +1,4 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/agent-policy";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/agent-policy";
2
2
  export {
3
3
  AGENT_INPUT_BYTES,
4
4
  AGENT_MAX_ATTEMPTS,
@@ -7,4 +7,4 @@ export {
7
7
  AGENT_OUTPUT_BYTES,
8
8
  AGENT_TIMEOUT_MS,
9
9
  startupTransferEnabled,
10
- } from "@narumitw/sync-daemon/engine/sync/agent-policy";
10
+ } from "@narumitw/pi-sync-daemon/engine/sync/agent-policy";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/agent-refusal-retry";
2
- export { confirmAgentRefusalRetry } from "@narumitw/sync-daemon/engine/sync/agent-refusal-retry";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/agent-refusal-retry";
2
+ export { confirmAgentRefusalRetry } from "@narumitw/pi-sync-daemon/engine/sync/agent-refusal-retry";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/agent-request";
2
- export { AgentResolutionRequired } from "@narumitw/sync-daemon/engine/sync/agent-request";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/agent-request";
2
+ export { AgentResolutionRequired } from "@narumitw/pi-sync-daemon/engine/sync/agent-request";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/agent-runner";
2
- export { resolverResources, runAgentResolver } from "@narumitw/sync-daemon/engine/sync/agent-runner";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/agent-runner";
2
+ export { resolverResources, runAgentResolver } from "@narumitw/pi-sync-daemon/engine/sync/agent-runner";
@@ -1,7 +1,7 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/agent-store";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/agent-store";
2
2
  export {
3
3
  readAgentCandidate,
4
4
  replaceRefusedAgentCandidate,
5
5
  saveAgentCandidate,
6
6
  withAgentClaim,
7
- } from "@narumitw/sync-daemon/engine/sync/agent-store";
7
+ } from "@narumitw/pi-sync-daemon/engine/sync/agent-store";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/agent-sync";
2
- export { withAgentSyncLock } from "@narumitw/sync-daemon/engine/sync/agent-sync";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/agent-sync";
2
+ export { withAgentSyncLock } from "@narumitw/pi-sync-daemon/engine/sync/agent-sync";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/apply-review";
2
- export { inspectCaseCleanup, revalidateCaseCleanup } from "@narumitw/sync-daemon/engine/sync/apply-review";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/apply-review";
2
+ export { inspectCaseCleanup, revalidateCaseCleanup } from "@narumitw/pi-sync-daemon/engine/sync/apply-review";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/conflict-artifact-ownership";
2
- export { releaseConflictArtifacts } from "@narumitw/sync-daemon/engine/sync/conflict-artifact-ownership";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/conflict-artifact-ownership";
2
+ export { releaseConflictArtifacts } from "@narumitw/pi-sync-daemon/engine/sync/conflict-artifact-ownership";
@@ -1,8 +1,8 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/conflict-artifacts";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/conflict-artifacts";
2
2
  export {
3
3
  conflictArtifactFingerprint,
4
4
  conflictDirectory,
5
5
  conflictGroups,
6
6
  readConflictArtifact,
7
7
  saveConflictArtifact,
8
- } from "@narumitw/sync-daemon/engine/sync/conflict-artifacts";
8
+ } from "@narumitw/pi-sync-daemon/engine/sync/conflict-artifacts";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/conflict-groups";
2
- export { conflictGroups } from "@narumitw/sync-daemon/engine/sync/conflict-groups";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/conflict-groups";
2
+ export { conflictGroups } from "@narumitw/pi-sync-daemon/engine/sync/conflict-groups";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/conflict-preview";
2
- export { CONFLICT_DISPLAY_BYTES, conflictPreview } from "@narumitw/sync-daemon/engine/sync/conflict-preview";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/conflict-preview";
2
+ export { CONFLICT_DISPLAY_BYTES, conflictPreview } from "@narumitw/pi-sync-daemon/engine/sync/conflict-preview";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/conflict-resolution";
2
- export { resolveReviewedGroup } from "@narumitw/sync-daemon/engine/sync/conflict-resolution";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/conflict-resolution";
2
+ export { resolveReviewedGroup } from "@narumitw/pi-sync-daemon/engine/sync/conflict-resolution";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/conflict-retention";
2
- export { pruneCompletedConflicts } from "@narumitw/sync-daemon/engine/sync/conflict-retention";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/conflict-retention";
2
+ export { pruneCompletedConflicts } from "@narumitw/pi-sync-daemon/engine/sync/conflict-retention";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/content-conflicts";
2
- export { resolveContentConflicts, snapshotFile } from "@narumitw/sync-daemon/engine/sync/content-conflicts";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/content-conflicts";
2
+ export { resolveContentConflicts, snapshotFile } from "@narumitw/pi-sync-daemon/engine/sync/content-conflicts";
@@ -1,7 +1,7 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/continuous-errors";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/continuous-errors";
2
2
  export {
3
3
  boundedRetryDelay,
4
4
  ContinuousError,
5
5
  continuousFailure,
6
6
  retryAfter,
7
- } from "@narumitw/sync-daemon/engine/sync/continuous-errors";
7
+ } from "@narumitw/pi-sync-daemon/engine/sync/continuous-errors";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/continuous-lease";
2
- export { acquireContinuousLease, continuousLeaseOwner } from "@narumitw/sync-daemon/engine/sync/continuous-lease";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/continuous-lease";
2
+ export { acquireContinuousLease, continuousLeaseOwner } from "@narumitw/pi-sync-daemon/engine/sync/continuous-lease";
@@ -1,4 +1,4 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/continuous-record";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/continuous-record";
2
2
  export {
3
3
  continuousStatusLines,
4
4
  normalizeContinuousClock,
@@ -7,4 +7,4 @@ export {
7
7
  reserveContinuousRequest,
8
8
  updateContinuousRecord,
9
9
  validateContinuousRecord,
10
- } from "@narumitw/sync-daemon/engine/sync/continuous-record";
10
+ } from "@narumitw/pi-sync-daemon/engine/sync/continuous-record";
@@ -1,4 +1,4 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/continuous-storage";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/continuous-storage";
2
2
  export {
3
3
  CONTINUOUS_RECORD_MAX_BYTES,
4
4
  checkContinuousRoot,
@@ -9,4 +9,4 @@ export {
9
9
  readContinuousPrivate,
10
10
  readContinuousPrivateDocument,
11
11
  writeContinuousPrivate,
12
- } from "@narumitw/sync-daemon/engine/sync/continuous-storage";
12
+ } from "@narumitw/pi-sync-daemon/engine/sync/continuous-storage";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/continuous-sync";
2
- export { continuousEnabled, createContinuousSync } from "@narumitw/sync-daemon/engine/sync/continuous-sync";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/continuous-sync";
2
+ export { continuousEnabled, createContinuousSync } from "@narumitw/pi-sync-daemon/engine/sync/continuous-sync";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/continuous-watch";
2
- export { watchContinuous } from "@narumitw/sync-daemon/engine/sync/continuous-watch";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/continuous-watch";
2
+ export { watchContinuous } from "@narumitw/pi-sync-daemon/engine/sync/continuous-watch";
@@ -1,6 +1,6 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/exclude-policy";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/exclude-policy";
2
2
  export {
3
3
  compileSyncExclude,
4
4
  normalizeSyncExclude,
5
5
  sameSyncExclude,
6
- } from "@narumitw/sync-daemon/engine/sync/exclude-policy";
6
+ } from "@narumitw/pi-sync-daemon/engine/sync/exclude-policy";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/field-migration";
2
- export { confirmFieldMigration } from "@narumitw/sync-daemon/engine/sync/field-migration";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/field-migration";
2
+ export { confirmFieldMigration } from "@narumitw/pi-sync-daemon/engine/sync/field-migration";
@@ -1,2 +1,6 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/file-merge-planner";
2
- export { collidingPaths, mergePathIdentity, planFileMerge } from "@narumitw/sync-daemon/engine/sync/file-merge-planner";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/file-merge-planner";
2
+ export {
3
+ collidingPaths,
4
+ mergePathIdentity,
5
+ planFileMerge,
6
+ } from "@narumitw/pi-sync-daemon/engine/sync/file-merge-planner";
@@ -1,7 +1,7 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/json-document";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/json-document";
2
2
  export {
3
3
  jsonEqual,
4
4
  parseJsonObjectDocument,
5
5
  parseSettingsDocument,
6
6
  renderSettingsMembers,
7
- } from "@narumitw/sync-daemon/engine/sync/json-document";
7
+ } from "@narumitw/pi-sync-daemon/engine/sync/json-document";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/local-field-policy";
2
- export { normalizeLocalFields } from "@narumitw/sync-daemon/engine/sync/local-field-policy";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/local-field-policy";
2
+ export { normalizeLocalFields } from "@narumitw/pi-sync-daemon/engine/sync/local-field-policy";
@@ -1,4 +1,4 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/local-fields";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/local-fields";
2
2
  export {
3
3
  normalizeLocalFields,
4
4
  overlayLocalFields,
@@ -6,4 +6,4 @@ export {
6
6
  sameLocalFields,
7
7
  validatePortableSnapshot,
8
8
  validateSnapshotFieldPolicy,
9
- } from "@narumitw/sync-daemon/engine/sync/local-fields";
9
+ } from "@narumitw/pi-sync-daemon/engine/sync/local-fields";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/merge-apply";
2
- export { applyMergedSnapshot, preflightMergedTargets } from "@narumitw/sync-daemon/engine/sync/merge-apply";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/merge-apply";
2
+ export { applyMergedSnapshot, preflightMergedTargets } from "@narumitw/pi-sync-daemon/engine/sync/merge-apply";
@@ -1,4 +1,4 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/merge-journal";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/merge-journal";
2
2
  export {
3
3
  clearMergeJournal,
4
4
  mergeJournalIdentity,
@@ -7,4 +7,4 @@ export {
7
7
  requireNoMergeJournal,
8
8
  retireMergeJournal,
9
9
  writeMergeJournal,
10
- } from "@narumitw/sync-daemon/engine/sync/merge-journal";
10
+ } from "@narumitw/pi-sync-daemon/engine/sync/merge-journal";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/merge-transfer-error";
2
- export { mergeTransferError } from "@narumitw/sync-daemon/engine/sync/merge-transfer-error";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/merge-transfer-error";
2
+ export { mergeTransferError } from "@narumitw/pi-sync-daemon/engine/sync/merge-transfer-error";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/merged-sync";
2
- export { mergeSync } from "@narumitw/sync-daemon/engine/sync/merged-sync";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/merged-sync";
2
+ export { mergeSync } from "@narumitw/pi-sync-daemon/engine/sync/merged-sync";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/mutation-owner";
2
- export { captureMutationOwner } from "@narumitw/sync-daemon/engine/sync/mutation-owner";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/mutation-owner";
2
+ export { captureMutationOwner } from "@narumitw/pi-sync-daemon/engine/sync/mutation-owner";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/package-merge";
2
- export { mergePackageVersions } from "@narumitw/sync-daemon/engine/sync/package-merge";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/package-merge";
2
+ export { mergePackageVersions } from "@narumitw/pi-sync-daemon/engine/sync/package-merge";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/partial-progress";
2
- export { acceptedMergeFiles, progressState } from "@narumitw/sync-daemon/engine/sync/partial-progress";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/partial-progress";
2
+ export { acceptedMergeFiles, progressState } from "@narumitw/pi-sync-daemon/engine/sync/partial-progress";
@@ -1,7 +1,7 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/remote-snapshot";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/remote-snapshot";
2
2
  export {
3
3
  formatRemoteSelectionStatus,
4
4
  readRemoteSnapshot,
5
5
  readSnapshotForHead,
6
6
  requireCompatibleRemoteSelection,
7
- } from "@narumitw/sync-daemon/engine/sync/remote-snapshot";
7
+ } from "@narumitw/pi-sync-daemon/engine/sync/remote-snapshot";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/session-merge";
2
- export { mergeSession, validateSession } from "@narumitw/sync-daemon/engine/sync/session-merge";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/session-merge";
2
+ export { mergeSession, validateSession } from "@narumitw/pi-sync-daemon/engine/sync/session-merge";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/settings-conflicts";
2
- export { resolveSettingsConflicts } from "@narumitw/sync-daemon/engine/sync/settings-conflicts";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/settings-conflicts";
2
+ export { resolveSettingsConflicts } from "@narumitw/pi-sync-daemon/engine/sync/settings-conflicts";
@@ -1,6 +1,6 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/settings-merge";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/settings-merge";
2
2
  export {
3
3
  COUPLED_FIELDS,
4
4
  mergeAcceptedSettingsPackages,
5
5
  mergeSettingsJson,
6
- } from "@narumitw/sync-daemon/engine/sync/settings-merge";
6
+ } from "@narumitw/pi-sync-daemon/engine/sync/settings-merge";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/signals";
2
- export { combineSignals, throwIfAborted } from "@narumitw/sync-daemon/engine/sync/signals";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/signals";
2
+ export { combineSignals, throwIfAborted } from "@narumitw/pi-sync-daemon/engine/sync/signals";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/startup-timings";
2
- export { createStartupTimings } from "@narumitw/sync-daemon/engine/sync/startup-timings";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/startup-timings";
2
+ export { createStartupTimings } from "@narumitw/pi-sync-daemon/engine/sync/startup-timings";
@@ -1,6 +1,6 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/sync-decision";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/sync-decision";
2
2
  export {
3
3
  createSyncDecision,
4
4
  isSyncDecisionRequiredError,
5
5
  SyncDecisionRequiredError,
6
- } from "@narumitw/sync-daemon/engine/sync/sync-decision";
6
+ } from "@narumitw/pi-sync-daemon/engine/sync/sync-decision";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/sync-error-guidance";
2
- export { syncErrorGuidance } from "@narumitw/sync-daemon/engine/sync/sync-error-guidance";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/sync-error-guidance";
2
+ export { syncErrorGuidance } from "@narumitw/pi-sync-daemon/engine/sync/sync-error-guidance";
@@ -1,7 +1,7 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/sync-errors";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/sync-errors";
2
2
  export {
3
3
  errorMessage,
4
4
  isSyncDecisionRequiredError,
5
5
  SetupPullRequiresUiError,
6
6
  SyncDecisionRequiredError,
7
- } from "@narumitw/sync-daemon/engine/sync/sync-errors";
7
+ } from "@narumitw/pi-sync-daemon/engine/sync/sync-errors";
@@ -1,9 +1,9 @@
1
- import type { inspectSync as engineInspectSync } from "@narumitw/sync-daemon/engine/sync/sync-inspection";
1
+ import type { inspectSync as engineInspectSync } from "@narumitw/pi-sync-daemon/engine/sync/sync-inspection";
2
2
  import { currentPiDaemonClient } from "../daemon/pi-client.js";
3
3
  import { syncCheckConfigFingerprint } from "../settings/config.js";
4
4
  import type { AnySyncConfig } from "../settings/settings-types.js";
5
5
 
6
- export type { StartupObservation, SyncInspection } from "@narumitw/sync-daemon/engine/sync/sync-inspection";
6
+ export type { StartupObservation, SyncInspection } from "@narumitw/pi-sync-daemon/engine/sync/sync-inspection";
7
7
  export const inspectSync: typeof engineInspectSync = async (config: AnySyncConfig, _options, signal) =>
8
8
  (await currentPiDaemonClient().run(
9
9
  "inspect",
@@ -1,2 +1,6 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/sync-local";
2
- export { backupLocal, captureMutationOwner, protectedSessionPaths } from "@narumitw/sync-daemon/engine/sync/sync-local";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/sync-local";
2
+ export {
3
+ backupLocal,
4
+ captureMutationOwner,
5
+ protectedSessionPaths,
6
+ } from "@narumitw/pi-sync-daemon/engine/sync/sync-local";
@@ -1,4 +1,4 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/sync-mutations";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/sync-mutations";
2
2
  export {
3
3
  backupLocal,
4
4
  PublicationStatePersistenceError,
@@ -7,4 +7,4 @@ export {
7
7
  RollbackPublicationError,
8
8
  rollback,
9
9
  syncBoth,
10
- } from "@narumitw/sync-daemon/engine/sync/sync-mutations";
10
+ } from "@narumitw/pi-sync-daemon/engine/sync/sync-mutations";
@@ -10,7 +10,7 @@ async function transfer(
10
10
  ): Promise<SetupPullOutcome | undefined> {
11
11
  const result = await remoteOperation(ctx, operation, options);
12
12
  if (result === undefined || result === "applied" || result === "cancelled") return result;
13
- throw new Error("Invalid transfer result from sync-daemon.");
13
+ throw new Error("Invalid transfer result from pi-sync-daemon.");
14
14
  }
15
15
  export const push = (ctx: ExtensionContext, options: CommandOptions) => transfer(ctx, "push", options);
16
16
  export const pull = (ctx: ExtensionContext, options: CommandOptions) => transfer(ctx, "pull", options);
@@ -1,4 +1,4 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/sync-policy";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/sync-policy";
2
2
  export {
3
3
  BUILT_IN_SYNC_ROOTS,
4
4
  canonicalSnapshotPathForConfig,
@@ -31,4 +31,4 @@ export {
31
31
  syncIncludeSelection,
32
32
  syncSessionsSelected,
33
33
  validateSnapshotSelection,
34
- } from "@narumitw/sync-daemon/engine/sync/sync-policy";
34
+ } from "@narumitw/pi-sync-daemon/engine/sync/sync-policy";
@@ -1,2 +1,2 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/sync-queries";
2
- export { diff, doctor, history, status } from "@narumitw/sync-daemon/engine/sync/sync-queries";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/sync-queries";
2
+ export { diff, doctor, history, status } from "@narumitw/pi-sync-daemon/engine/sync/sync-queries";
@@ -1,4 +1,4 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/sync-state";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/sync-state";
2
2
  export {
3
3
  canPullRemoteSessionsOnFirstSync,
4
4
  canPullRemoteSettingsOnFirstSync,
@@ -15,4 +15,4 @@ export {
15
15
  snapshotHashesMatchState,
16
16
  snapshotsMatch,
17
17
  syncPolicyChanged,
18
- } from "@narumitw/sync-daemon/engine/sync/sync-state";
18
+ } from "@narumitw/pi-sync-daemon/engine/sync/sync-state";
@@ -1,4 +1,4 @@
1
- export type * from "@narumitw/sync-daemon/engine/sync/text-merge";
1
+ export type * from "@narumitw/pi-sync-daemon/engine/sync/text-merge";
2
2
  export {
3
3
  edits,
4
4
  isMergeTextPath,
@@ -7,4 +7,4 @@ export {
7
7
  TEXT_LIMIT,
8
8
  TEXT_MERGE_WORK_LIMIT,
9
9
  text,
10
- } from "@narumitw/sync-daemon/engine/sync/text-merge";
10
+ } from "@narumitw/pi-sync-daemon/engine/sync/text-merge";