maka-agent 0.2.0-dev.24.20260907 → 0.2.0-dev.25.20260908

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 (105) hide show
  1. package/README.md +38 -19
  2. package/README.zh-CN.md +34 -19
  3. package/dist/pi-transcript-tools.js +6 -0
  4. package/dist/pi-tui-layout.js +56 -10
  5. package/dist/pi-tui-pickers.js +102 -1
  6. package/dist/pi-tui-runner.js +156 -42
  7. package/dist/pi-tui-todo.js +221 -0
  8. package/dist/pi-tui-transcript-viewer.js +134 -7
  9. package/dist/runtime-host-cli-context.js +70 -13
  10. package/dist/runtime-host-handoff-surface.js +51 -26
  11. package/dist/runtime-host-local-handoff.js +11 -1
  12. package/dist/runtime-host-service-manager.js +0 -3
  13. package/dist/runtime-host-session-channel.js +13 -0
  14. package/dist/runtime-host-session-driver.js +42 -1
  15. package/dist/tui-copy-catalog.js +79 -3
  16. package/native/runtime-host-windows-task-launcher/prebuilds/win32-x64/maka-runtime-host-task-launcher.exe +0 -0
  17. package/node_modules/@maka/core/dist/agent-run.js +1 -0
  18. package/node_modules/@maka/core/dist/attachments.js +3 -0
  19. package/node_modules/@maka/core/dist/canonical-json.js +27 -0
  20. package/node_modules/@maka/core/dist/capabilities.js +35 -0
  21. package/node_modules/@maka/core/dist/computer-use.js +0 -1
  22. package/node_modules/@maka/core/dist/display-redaction.js +18 -0
  23. package/node_modules/@maka/core/dist/llm-connections.js +13 -0
  24. package/node_modules/@maka/core/dist/model-call-attempt.js +2 -0
  25. package/node_modules/@maka/core/dist/model-metadata.js +4 -0
  26. package/node_modules/@maka/core/dist/redaction.js +35 -0
  27. package/node_modules/@maka/core/dist/run-composition.js +77 -2
  28. package/node_modules/@maka/core/dist/session.js +30 -4
  29. package/node_modules/@maka/core/dist/slash-command-catalog.js +1 -0
  30. package/node_modules/@maka/core/dist/tool-result-record-schema.js +2 -1
  31. package/node_modules/@maka/core/package.json +1 -0
  32. package/node_modules/@maka/eval/dist/experiment-directory.js +4 -13
  33. package/node_modules/@maka/runtime/dist/agent-run-inspect.js +0 -13
  34. package/node_modules/@maka/runtime/dist/agent-run.js +80 -1
  35. package/node_modules/@maka/runtime/dist/ai-sdk-backend.js +16 -8
  36. package/node_modules/@maka/runtime/dist/ai-sdk-turn.js +57 -50
  37. package/node_modules/@maka/runtime/dist/archive-read-tool.js +2 -2
  38. package/node_modules/@maka/runtime/dist/context-budget-helpers.js +0 -16
  39. package/node_modules/@maka/runtime/dist/conversation-copy.js +153 -11
  40. package/node_modules/@maka/runtime/dist/github-copilot-oauth-enrollment.js +3 -3
  41. package/node_modules/@maka/runtime/dist/ledger-tool-result-archive-reader.js +69 -1
  42. package/node_modules/@maka/runtime/dist/mcp-tools.js +7 -2
  43. package/node_modules/@maka/runtime/dist/model-fetcher.js +42 -2
  44. package/node_modules/@maka/runtime/dist/model-history.js +0 -112
  45. package/node_modules/@maka/runtime/dist/plugin-runtime.js +20 -10
  46. package/node_modules/@maka/runtime/dist/plugin-tool-service.js +205 -0
  47. package/node_modules/@maka/runtime/dist/provider-request-telemetry.js +8 -1
  48. package/node_modules/@maka/runtime/dist/request-shape.js +23 -0
  49. package/node_modules/@maka/runtime/dist/runtime-event-backfill.js +1 -1
  50. package/node_modules/@maka/runtime/dist/runtime-event-read-model.js +4 -0
  51. package/node_modules/@maka/runtime/dist/runtime-kernel.js +7 -0
  52. package/node_modules/@maka/runtime/dist/stream-graph-coordinator.js +21 -0
  53. package/node_modules/@maka/runtime/dist/stream-graph-supervisor-tools.js +0 -5
  54. package/node_modules/@maka/runtime/dist/test-connection.js +0 -1
  55. package/node_modules/@maka/runtime/dist/tool-activation-identity.js +41 -0
  56. package/node_modules/@maka/runtime/dist/tool-availability.js +11 -1
  57. package/node_modules/@maka/runtime/dist/tool-result-archive-resource.js +63 -1
  58. package/node_modules/@maka/runtime/dist/tool-result-archive-transition.js +42 -12
  59. package/node_modules/@maka/runtime/dist/tool-result-archive.js +27 -4
  60. package/node_modules/@maka/runtime/package.json +1 -0
  61. package/node_modules/@maka/runtime-host/dist/client/host-handoff-copy.js +35 -12
  62. package/node_modules/@maka/runtime-host/dist/client/host-handoff.js +2 -0
  63. package/node_modules/@maka/runtime-host/dist/client/session-subscription.js +19 -0
  64. package/node_modules/@maka/runtime-host/dist/control/endpoint.js +1 -3
  65. package/node_modules/@maka/runtime-host/dist/node-error.js +22 -0
  66. package/node_modules/@maka/runtime-host/dist/operator/managed-deployment.js +1 -3
  67. package/node_modules/@maka/runtime-host/dist/peer-mesh/limits.js +0 -1
  68. package/node_modules/@maka/runtime-host/dist/peer-mesh/model.js +1 -1
  69. package/node_modules/@maka/runtime-host/dist/peer-reachability/publisher.js +1 -3
  70. package/node_modules/@maka/runtime-host/dist/protocol/index.js +5 -1
  71. package/node_modules/@maka/runtime-host/dist/protocol/plan.js +1 -0
  72. package/node_modules/@maka/runtime-host/dist/protocol/plugin-platform.js +27 -5
  73. package/node_modules/@maka/runtime-host/dist/protocol/project-catalog.js +2 -2
  74. package/node_modules/@maka/runtime-host/dist/protocol/workhub-coordination.js +31 -2
  75. package/node_modules/@maka/runtime-host/dist/server/agent-graph-coordinator.js +0 -3
  76. package/node_modules/@maka/runtime-host/dist/server/execution-artifacts.js +32 -32
  77. package/node_modules/@maka/runtime-host/dist/server/execution-composition.js +44 -9
  78. package/node_modules/@maka/runtime-host/dist/server/execution-model-composition.js +42 -14
  79. package/node_modules/@maka/runtime-host/dist/server/interactive-run-composer.js +47 -22
  80. package/node_modules/@maka/runtime-host/dist/server/plugin-platform-coordinator.js +6 -0
  81. package/node_modules/@maka/runtime-host/dist/server/plugin-platform.js +6 -0
  82. package/node_modules/@maka/runtime-host/dist/server/session-retirement-coordinator.js +5 -2
  83. package/node_modules/@maka/runtime-host/dist/server/session-revision-coordinator.js +4 -0
  84. package/node_modules/@maka/runtime-host/dist/server/workhub-coordination-action-gate.js +20 -2
  85. package/node_modules/@maka/runtime-host/dist/server/workhub-coordination-coordinator.js +13 -3
  86. package/node_modules/@maka/runtime-host/dist/server/workhub-message-attachments.js +46 -0
  87. package/node_modules/@maka/storage/dist/claude-code-session-adapter.js +0 -1
  88. package/node_modules/@maka/storage/dist/codex-session-adapter.js +284 -196
  89. package/node_modules/@maka/storage/dist/git-exec.js +61 -0
  90. package/node_modules/@maka/storage/dist/git-worktree-child-executor.js +8 -35
  91. package/node_modules/@maka/storage/dist/goal-authority.js +2 -2
  92. package/node_modules/@maka/storage/dist/interaction-store.js +2 -2
  93. package/node_modules/@maka/storage/dist/project-catalog.js +2 -23
  94. package/node_modules/@maka/storage/dist/runtime-event-invariants.js +2 -2
  95. package/node_modules/@maka/storage/dist/runtime-policy/connection-catalog-document.js +8 -3
  96. package/node_modules/@maka/storage/dist/scheduled-task-store.js +249 -283
  97. package/node_modules/@maka/storage/dist/session-bundle-manifest.js +5 -17
  98. package/node_modules/@maka/storage/dist/session-bundle-policy.js +2 -1
  99. package/node_modules/@maka/storage/dist/session-copy-cleanup.js +2 -1
  100. package/node_modules/@maka/storage/dist/sqlite-runtime-store.js +1 -2
  101. package/node_modules/@maka/storage/dist/storage-id.js +28 -0
  102. package/node_modules/@maka/storage/dist/tool-result-archive-evidence.js +31 -4
  103. package/node_modules/@maka/storage/dist/workspace-identity.js +2 -15
  104. package/node_modules/@maka/storage/dist/workspace-version-authority-internal.js +1 -8
  105. package/package.json +1 -1
@@ -17,6 +17,7 @@
17
17
  * under the License.
18
18
  */
19
19
  import { isNonEmptyUnicodeString, isSha256Digest, SESSION_BUNDLE_ARCHIVE_FORMAT, SESSION_BUNDLE_CANONICALIZATION_VERSION, SESSION_BUNDLE_CODEC_NAME, SESSION_BUNDLE_CODEC_VERSION, SESSION_BUNDLE_COMPRESSION_FORMAT, SESSION_BUNDLE_COMPRESSION_LEVEL, SESSION_BUNDLE_SCHEMA_VERSION, SESSION_BUNDLE_STATE_IDENTITY_PATH, SESSION_BUNDLE_STATE_PATH, SESSION_BUNDLE_WORKSPACE_PATH, SessionBundleFileError, } from './session-bundle-contract.js';
20
+ import { stableJsonStringify } from '@maka/core/canonical-json';
20
21
  const MANIFEST_KEYS = ['codec', 'envelope', 'payload', 'schemaVersion', 'stateIdentity'];
21
22
  const CODEC_KEYS = [
22
23
  'archive',
@@ -167,25 +168,12 @@ function decodePayload(value) {
167
168
  };
168
169
  }
169
170
  function canonicalJson(value) {
170
- if (value === null)
171
- return 'null';
172
- if (typeof value === 'string')
173
- return JSON.stringify(value);
174
- if (typeof value === 'number') {
175
- if (!Number.isFinite(value))
176
- throw invalidManifest();
177
- return JSON.stringify(value);
171
+ try {
172
+ return stableJsonStringify(value);
178
173
  }
179
- if (typeof value === 'boolean')
180
- return value ? 'true' : 'false';
181
- if (Array.isArray(value))
182
- return `[${value.map((item) => canonicalJson(item)).join(',')}]`;
183
- if (!isRecord(value))
174
+ catch {
184
175
  throw invalidManifest();
185
- return `{${Object.keys(value)
186
- .sort()
187
- .map((key) => `${JSON.stringify(key)}:${canonicalJson(value[key])}`)
188
- .join(',')}}`;
176
+ }
189
177
  }
190
178
  function hasExactKeys(value, expected) {
191
179
  const actual = Object.keys(value);
@@ -25,6 +25,7 @@ import { withArtifactWriterLock } from './artifact-writer-lock.js';
25
25
  import { withOfflineContextSnapshot, copyContextSnapshot, validateContextSnapshot, planContextSnapshotFiles, } from './context-offload-snapshot.js';
26
26
  import { CONTEXT_OFFLOAD_DATABASE_NAME, CONTEXT_OFFLOAD_VALUES_DIRECTORY_NAME, } from './sqlite-context-offload-store.js';
27
27
  import { acquireOperationalStateDatabase, OPERATIONAL_STATE_DATABASE_NAME, } from './operational-state-store.js';
28
+ import { isSafeStorageId } from './storage-id.js';
28
29
  export const SESSION_BUNDLE_STATE_ENTRIES = [
29
30
  'artifacts',
30
31
  OPERATIONAL_STATE_DATABASE_NAME,
@@ -325,7 +326,7 @@ function assertRootsSeparate(left, right, allowSame) {
325
326
  }
326
327
  }
327
328
  function assertSafeSessionId(sessionId) {
328
- if (!/^[A-Za-z0-9_-]{1,128}$/.test(sessionId)) {
329
+ if (!isSafeStorageId(sessionId)) {
329
330
  throw new SessionBundleExportError('invalid_root', `Invalid session id: ${sessionId}`);
330
331
  }
331
332
  }
@@ -19,6 +19,7 @@
19
19
  import { randomUUID } from 'node:crypto';
20
20
  import { acquireOperationalStateDatabase, } from './operational-state-store.js';
21
21
  import { isProcessLifetimeOwnerReference, } from './process-lifetime-owner.js';
22
+ import { isSafeStorageId } from './storage-id.js';
22
23
  export function createSessionCopyCleanupAuthority(input) {
23
24
  return new SessionCopyCleanupAuthorityImpl(new SqliteSessionCopyCleanupStore(input.workspaceRoot, input.databaseOptions), input.removeSession, input.resumeSessionCopy, input.processId ?? randomUUID(), input.isOwnerProcessActive, input.processLifetimeOwner);
24
25
  }
@@ -392,7 +393,7 @@ function normalizeSessionId(value) {
392
393
  if (typeof value !== 'string')
393
394
  throw new Error('Invalid Session copy id');
394
395
  const normalized = value.trim();
395
- if (!/^[A-Za-z0-9_-]{1,128}$/.test(normalized)) {
396
+ if (!isSafeStorageId(normalized)) {
396
397
  throw new Error('Invalid Session copy id');
397
398
  }
398
399
  return normalized;
@@ -1360,8 +1360,7 @@ export class SqliteRuntimeStore {
1360
1360
  });
1361
1361
  }
1362
1362
  registerWorkspaceBaselineAuthorityWriter() {
1363
- const readWorkspaceHead = this.readWorkspaceHead.bind(this);
1364
- registerWorkspaceBaselineAuthorityWriterInternal(this, (input, rootId) => this.#commitWorkspaceBaseline(input, rootId), (input, rootId) => this.#commitWorkspaceSuccessor(input, rootId), (input, rootId) => this.#commitManagedMutationTerminal(input, rootId), (rootId) => this.#bindWorkspaceStorageRoot(rootId), readWorkspaceHead, (workspaceInstanceId) => this.#readActiveManagedMutation(workspaceInstanceId));
1363
+ registerWorkspaceBaselineAuthorityWriterInternal(this, (input, rootId) => this.#commitWorkspaceBaseline(input, rootId), (input, rootId) => this.#commitWorkspaceSuccessor(input, rootId), (input, rootId) => this.#commitManagedMutationTerminal(input, rootId), (rootId) => this.#bindWorkspaceStorageRoot(rootId), (workspaceInstanceId) => this.#readActiveManagedMutation(workspaceInstanceId));
1365
1364
  }
1366
1365
  async #readActiveManagedMutation(workspaceInstanceId) {
1367
1366
  return this.readTransaction(() => {
@@ -0,0 +1,28 @@
1
+ /*
2
+ * Licensed to the Apache Software Foundation (ASF) under one
3
+ * or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information
5
+ * regarding copyright ownership. The ASF licenses this file
6
+ * to you under the Apache License, Version 2.0 (the
7
+ * "License"); you may not use this file except in compliance
8
+ * with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing,
13
+ * software distributed under the License is distributed on an
14
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ * KIND, either express or implied. See the License for the
16
+ * specific language governing permissions and limitations
17
+ * under the License.
18
+ */
19
+ const SAFE_STORAGE_ID_PATTERN = /^[A-Za-z0-9_-]{1,128}$/;
20
+ /** Returns whether a value can safely be used as a persisted storage identity. */
21
+ export function isSafeStorageId(value) {
22
+ return typeof value === 'string' && SAFE_STORAGE_ID_PATTERN.test(value);
23
+ }
24
+ /** Throws a TypeError unless the value is a safe persisted storage identity. */
25
+ export function assertSafeStorageId(value, message = 'Storage identity is invalid') {
26
+ if (!isSafeStorageId(value))
27
+ throw new TypeError(message);
28
+ }
@@ -23,6 +23,12 @@ import { decodeAgentRunEvent } from '@maka/core/agent-run';
23
23
  import { MODEL_PROJECTION_TARGET_SQL as TARGET } from './sqlite-core-execution-schema.js';
24
24
  const TRANSITIONS = 'core_agent_run_events INDEXED BY core_model_projection_target';
25
25
  const KIND = "event_type = 'model_projection_transition_recorded'";
26
+ // SQLite may parse the containing JSON, but only these reconstruction fields
27
+ // cross into JS or count toward the evidence budget. Raw tool bytes never do.
28
+ const EVENT_EVIDENCE = `CASE WHEN json_valid(payload_json) THEN json_extract(payload_json,
29
+ '$.id', '$.sessionId', '$.runId', '$.invocationId', '$.turnId', '$.ts', '$.partial',
30
+ '$.author', '$.role', '$.content.kind', '$.content.id', '$.content.name',
31
+ '$.content.modelProjection', '$.content.providerExecuted') END`;
26
32
  /** Reader-first foundation; no archive writer or fallback is activated by opening it. */
27
33
  export async function openToolResultArchiveEvidenceReader(lease) {
28
34
  await assertStorageRootLease(lease, 'interactive', lease.access);
@@ -51,10 +57,12 @@ export async function openToolResultArchiveEvidenceReader(lease) {
51
57
  const db = database.database;
52
58
  const { sessionId, runtimeEventId } = accepted;
53
59
  const eventSize = db
54
- .prepare('SELECT length(CAST(payload_json AS BLOB)) AS bytes FROM runtime_events WHERE event_id = ? AND session_id = ?')
60
+ .prepare(`SELECT length(CAST(${EVENT_EVIDENCE} AS BLOB)) AS bytes FROM runtime_events WHERE event_id = ? AND session_id = ?`)
55
61
  .get(runtimeEventId, sessionId);
56
62
  if (!eventSize)
57
63
  return { ok: false, reason: 'not_found' };
64
+ if (eventSize.bytes === null)
65
+ return { ok: false, reason: 'corrupt' };
58
66
  // An unscoped unreadable transition prevents proving completeness.
59
67
  if (db
60
68
  .prepare(`SELECT 1 FROM ${TRANSITIONS} WHERE ${KIND} AND session_id = ? AND ${TARGET} IS NULL LIMIT 1`)
@@ -72,11 +80,30 @@ export async function openToolResultArchiveEvidenceReader(lease) {
72
80
  if (!Number.isSafeInteger(bytes) || bytes < 0 || bytes > MAX_BYTES)
73
81
  return { ok: false, reason: 'too_large' };
74
82
  const raw = db
75
- .prepare('SELECT payload_json FROM runtime_events WHERE event_id = ? AND session_id = ?')
83
+ .prepare(`SELECT ${EVENT_EVIDENCE} AS evidence_json FROM runtime_events WHERE event_id = ? AND session_id = ?`)
76
84
  .get(runtimeEventId, sessionId);
77
85
  let event;
78
86
  try {
79
- event = decodeRuntimeEvent(JSON.parse(String(raw?.payload_json)));
87
+ const [id, sessionId, runId, invocationId, turnId, ts, partial, author, role, kind, callId, name, modelProjection, providerExecuted,] = JSON.parse(String(raw?.evidence_json));
88
+ event = decodeRuntimeEvent({
89
+ id,
90
+ sessionId,
91
+ runId,
92
+ invocationId,
93
+ turnId,
94
+ ts,
95
+ partial,
96
+ author,
97
+ role,
98
+ content: {
99
+ kind,
100
+ id: callId,
101
+ name,
102
+ result: null,
103
+ ...(modelProjection === null ? {} : { modelProjection }),
104
+ ...(providerExecuted === null ? {} : { providerExecuted }),
105
+ },
106
+ });
80
107
  }
81
108
  catch {
82
109
  return { ok: false, reason: 'corrupt' };
@@ -98,7 +125,7 @@ export async function openToolResultArchiveEvidenceReader(lease) {
98
125
  return { ok: false, reason: 'corrupt' };
99
126
  transitions.push(transition);
100
127
  }
101
- return { ok: true, event, transitions };
128
+ return { ok: true, event, transitions, storedBytes: bytes };
102
129
  });
103
130
  });
104
131
  }
@@ -16,12 +16,11 @@
16
16
  * specific language governing permissions and limitations
17
17
  * under the License.
18
18
  */
19
- import { execFile } from 'node:child_process';
20
19
  import { randomUUID } from 'node:crypto';
21
20
  import { constants as fsConstants } from 'node:fs';
22
21
  import { lstat, open, realpath, stat } from 'node:fs/promises';
23
22
  import { isAbsolute, join, normalize, parse, resolve } from 'node:path';
24
- import { promisify } from 'node:util';
23
+ import { execGitText } from './git-exec.js';
25
24
  import { hasEnclosingGitEntry } from './git-entry.js';
26
25
  import { publishMarkerFile, readBoundedMarkerFile } from './marker-file.js';
27
26
  export const WORKSPACE_MARKER_FILE = '.maka-workspace.json';
@@ -29,7 +28,6 @@ export const WORKSPACE_MARKER_SCHEMA_VERSION = 1;
29
28
  export const WORKSPACE_IDENTITY_PREFIX = 'workspace:v1:';
30
29
  const MAX_WORKSPACE_MARKER_BYTES = 4_096;
31
30
  const MAX_GIT_EXCLUDE_BYTES = 1024 * 1024;
32
- const execFileAsync = promisify(execFile);
33
31
  export class WorkspaceIdentityError extends Error {
34
32
  code;
35
33
  constructor(code, message, options) {
@@ -101,18 +99,7 @@ async function createWorkspaceMarker(snapshot, workspaceId) {
101
99
  async function ensureWorkspaceMarkerIgnored(workspacePath) {
102
100
  if (!(await hasEnclosingGitEntry(workspacePath)))
103
101
  return;
104
- const env = { ...process.env, GIT_OPTIONAL_LOCKS: '0' };
105
- delete env.GIT_DIR;
106
- delete env.GIT_WORK_TREE;
107
- delete env.GIT_INDEX_FILE;
108
- delete env.GIT_COMMON_DIR;
109
- const { stdout } = await execFileAsync('git', ['-C', workspacePath, 'rev-parse', '--path-format=absolute', '--git-path', 'info/exclude'], {
110
- env,
111
- encoding: 'utf8',
112
- maxBuffer: 64 * 1024,
113
- timeout: 3_000,
114
- windowsHide: true,
115
- });
102
+ const stdout = await execGitText(workspacePath, ['rev-parse', '--path-format=absolute', '--git-path', 'info/exclude'], { maxBuffer: 64 * 1024, timeoutMs: 3_000 });
116
103
  const excludePath = stdout.trim();
117
104
  if (!isAbsolute(excludePath)) {
118
105
  throw new Error(`Git returned a non-absolute exclude path: ${excludePath}`);
@@ -17,7 +17,7 @@
17
17
  * under the License.
18
18
  */
19
19
  const workspaceBaselineAuthorityWriters = new WeakMap();
20
- export function registerWorkspaceBaselineAuthorityWriterInternal(store, writer, successorWriter, terminalWriter, bindStorageRoot, readHead, readActiveManagedMutation) {
20
+ export function registerWorkspaceBaselineAuthorityWriterInternal(store, writer, successorWriter, terminalWriter, bindStorageRoot, readActiveManagedMutation) {
21
21
  if (workspaceBaselineAuthorityWriters.has(store)) {
22
22
  throw new Error('Workspace baseline authority writer is already registered');
23
23
  }
@@ -25,7 +25,6 @@ export function registerWorkspaceBaselineAuthorityWriterInternal(store, writer,
25
25
  writer,
26
26
  successorWriter,
27
27
  terminalWriter,
28
- readHead,
29
28
  readActiveManagedMutation,
30
29
  bindStorageRoot,
31
30
  });
@@ -36,12 +35,6 @@ export function readActiveManagedMutationInternal(store, workspaceInstanceId) {
36
35
  throw new Error('Managed mutation reservation reader is unavailable');
37
36
  return registration.readActiveManagedMutation(workspaceInstanceId);
38
37
  }
39
- export function readWorkspaceHeadInternal(store, workspaceId, workspaceEpochId) {
40
- const registration = workspaceBaselineAuthorityWriters.get(store);
41
- if (!registration)
42
- throw new Error('Workspace baseline authority reader is unavailable');
43
- return registration.readHead(workspaceId, workspaceEpochId);
44
- }
45
38
  /**
46
39
  * Storage-internal authority seam. This module is deliberately absent from the
47
40
  * @maka/storage package exports. The schema-9 reader, migration, and projection
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maka-agent",
3
- "version": "0.2.0-dev.24.20260907",
3
+ "version": "0.2.0-dev.25.20260908",
4
4
  "description": "Apache Maka (Incubating) developer snapshot; not an Apache release.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",