@botiverse/raft-daemon 1.0.13 → 1.0.14

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/core.js CHANGED
@@ -1,20 +1,40 @@
1
1
  import {
2
+ AGENT_MIGRATION_BUNDLE_CONTENT_TYPE,
2
3
  AGENT_MIGRATION_BUNDLE_SCHEMA_VERSION,
4
+ AGENT_MIGRATION_COMMIT_MARKER_PATH,
5
+ AGENT_MIGRATION_CONTROL_SCHEMA_VERSION,
3
6
  AGENT_MIGRATION_CONTROL_SEAM_ENV,
7
+ AGENT_MIGRATION_DEFAULT_CHUNK_BYTES,
8
+ AGENT_MIGRATION_MAX_ARCHIVE_ENTRIES,
9
+ AGENT_MIGRATION_MAX_CHUNKS,
10
+ AGENT_MIGRATION_MAX_CONTROL_MANIFEST_BYTES,
11
+ AGENT_MIGRATION_MIN_CHUNK_BYTES,
4
12
  AGENT_MIGRATION_OBJECT_STORE_BUNDLE_SCHEMA_VERSION,
5
13
  AGENT_MIGRATION_OBJECT_STORE_CONTENT_TYPE,
14
+ AGENT_MIGRATION_RESUMABLE_CAPABILITIES,
15
+ AGENT_MIGRATION_RESUMABLE_PROTOCOL,
6
16
  AGENT_MIGRATION_TRANSPORT_HOST_ENV,
7
17
  AGENT_MIGRATION_TRANSPORT_PORT_ENV,
8
18
  AGENT_MIGRATION_TRANSPORT_PUBLIC_URL_ENV,
19
+ AgentMigrationChunkDigestMismatchError,
20
+ AgentMigrationControlManifestError,
21
+ AgentMigrationControlManifestTooLargeError,
9
22
  AgentMigrationGrantRegistry,
10
23
  AgentMigrationObjectStoreBundleTooLargeError,
11
24
  AgentMigrationObjectStoreInsufficientDiskError,
25
+ AgentMigrationObjectStoreManifestTooLargeError,
26
+ AgentMigrationWholeBundleDigestMismatchError,
27
+ AgentMigrationWorkspaceConflictError,
12
28
  DAEMON_CLI_USAGE,
13
29
  DAEMON_CORE_TRACE_ATTR_CONTRACTS,
14
30
  DaemonCore,
31
+ assertAgentMigrationManifestSymlinkTargetsSafe,
15
32
  buildAgentMigrationAdoptPlan,
16
33
  buildAgentMigrationExportManifest,
34
+ buildAgentMigrationExportPlan,
17
35
  buildAgentMigrationObjectStoreBundle,
36
+ buildAgentMigrationResumableBundle,
37
+ classifyAgentMigrationTargetResidue,
18
38
  createAgentMigrationHttpTransport,
19
39
  deleteWorkspaceDirectory,
20
40
  detectLegacyDaemonSupervisor,
@@ -23,7 +43,10 @@ import {
23
43
  executeAgentMigrationAdoptPlan,
24
44
  hashAgentMigrationManifest,
25
45
  largestWorkspaceEntries,
46
+ largestWorkspaceEntryCounts,
26
47
  legacyDaemonSupervisorFallbackCommands,
48
+ missingAgentMigrationChunks,
49
+ normalizeAgentMigrationSymlinkTarget,
27
50
  parseDaemonCliArgs,
28
51
  readDaemonVersion,
29
52
  resolveAgentMigrationControlSeamEnabled,
@@ -34,26 +57,49 @@ import {
34
57
  runBundledSlockCli,
35
58
  scanWorkspaceDirectories,
36
59
  stageAgentMigrationObjectStoreBundle,
60
+ stageAndCommitAgentMigrationResumableBundle,
37
61
  subscribeDaemonLogs,
38
- verifyAgentMigrationAdoptPlan
39
- } from "./chunk-O5X5Y2AC.js";
62
+ validateAgentMigrationControlManifest,
63
+ verifyAgentMigrationAdoptPlan,
64
+ verifyAndStoreAgentMigrationChunk
65
+ } from "./chunk-DTHHI4DP.js";
40
66
  export {
67
+ AGENT_MIGRATION_BUNDLE_CONTENT_TYPE,
41
68
  AGENT_MIGRATION_BUNDLE_SCHEMA_VERSION,
69
+ AGENT_MIGRATION_COMMIT_MARKER_PATH,
70
+ AGENT_MIGRATION_CONTROL_SCHEMA_VERSION,
42
71
  AGENT_MIGRATION_CONTROL_SEAM_ENV,
72
+ AGENT_MIGRATION_DEFAULT_CHUNK_BYTES,
73
+ AGENT_MIGRATION_MAX_ARCHIVE_ENTRIES,
74
+ AGENT_MIGRATION_MAX_CHUNKS,
75
+ AGENT_MIGRATION_MAX_CONTROL_MANIFEST_BYTES,
76
+ AGENT_MIGRATION_MIN_CHUNK_BYTES,
43
77
  AGENT_MIGRATION_OBJECT_STORE_BUNDLE_SCHEMA_VERSION,
44
78
  AGENT_MIGRATION_OBJECT_STORE_CONTENT_TYPE,
79
+ AGENT_MIGRATION_RESUMABLE_CAPABILITIES,
80
+ AGENT_MIGRATION_RESUMABLE_PROTOCOL,
45
81
  AGENT_MIGRATION_TRANSPORT_HOST_ENV,
46
82
  AGENT_MIGRATION_TRANSPORT_PORT_ENV,
47
83
  AGENT_MIGRATION_TRANSPORT_PUBLIC_URL_ENV,
84
+ AgentMigrationChunkDigestMismatchError,
85
+ AgentMigrationControlManifestError,
86
+ AgentMigrationControlManifestTooLargeError,
48
87
  AgentMigrationGrantRegistry,
49
88
  AgentMigrationObjectStoreBundleTooLargeError,
50
89
  AgentMigrationObjectStoreInsufficientDiskError,
90
+ AgentMigrationObjectStoreManifestTooLargeError,
91
+ AgentMigrationWholeBundleDigestMismatchError,
92
+ AgentMigrationWorkspaceConflictError,
51
93
  DAEMON_CLI_USAGE,
52
94
  DAEMON_CORE_TRACE_ATTR_CONTRACTS,
53
95
  DaemonCore,
96
+ assertAgentMigrationManifestSymlinkTargetsSafe,
54
97
  buildAgentMigrationAdoptPlan,
55
98
  buildAgentMigrationExportManifest,
99
+ buildAgentMigrationExportPlan,
56
100
  buildAgentMigrationObjectStoreBundle,
101
+ buildAgentMigrationResumableBundle,
102
+ classifyAgentMigrationTargetResidue,
57
103
  createAgentMigrationHttpTransport,
58
104
  deleteWorkspaceDirectory,
59
105
  detectLegacyDaemonSupervisor,
@@ -62,7 +108,10 @@ export {
62
108
  executeAgentMigrationAdoptPlan,
63
109
  hashAgentMigrationManifest,
64
110
  largestWorkspaceEntries,
111
+ largestWorkspaceEntryCounts,
65
112
  legacyDaemonSupervisorFallbackCommands,
113
+ missingAgentMigrationChunks,
114
+ normalizeAgentMigrationSymlinkTarget,
66
115
  parseDaemonCliArgs,
67
116
  readDaemonVersion,
68
117
  resolveAgentMigrationControlSeamEnabled,
@@ -73,6 +122,9 @@ export {
73
122
  runBundledSlockCli,
74
123
  scanWorkspaceDirectories,
75
124
  stageAgentMigrationObjectStoreBundle,
125
+ stageAndCommitAgentMigrationResumableBundle,
76
126
  subscribeDaemonLogs,
77
- verifyAgentMigrationAdoptPlan
127
+ validateAgentMigrationControlManifest,
128
+ verifyAgentMigrationAdoptPlan,
129
+ verifyAndStoreAgentMigrationChunk
78
130
  };