@theronap/agnoclast-mcp 0.9.335 → 0.9.336

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.
@@ -11,7 +11,7 @@
11
11
  // That is safe because hiding a tool is a courtesy, and every gated route checks its own flag on the server.
12
12
 
13
13
  /** Tools any release flag gates — hidden when the server cannot be asked. Mirror of allGatedTools(). */
14
- export const GATED_FALLBACK = ['arrivals', 'attach_document', 'document_diff', 'export_page', 'file_arrival', 'file_document', 'find_documents', 'finish_task', 'get_document', 'hand_task', 'handed_tasks', 'hold_task', 'import_document_as_page', 'intake_shadow', 'list_documents', 'log_work', 'merge_pages', 'my_messages', 'my_tasks', 'pin_document', 'place_split_records', 'read_conversation', 'read_document', 'relink_links', 'send_message', 'set_manager', 'set_working_hours', 'split_page', 'split_records', 'store_file', 'tasks_waiting', 'undo_merge', 'undo_relink', 'undo_split', 'upload_document_version', 'work_log']
14
+ export const GATED_FALLBACK = ['arrivals', 'attach_document', 'document_diff', 'download_file', 'export_page', 'file_arrival', 'file_document', 'find_documents', 'finish_task', 'get_document', 'hand_task', 'handed_tasks', 'hold_task', 'import_document_as_page', 'intake_shadow', 'list_documents', 'log_work', 'merge_pages', 'my_messages', 'my_tasks', 'pin_document', 'place_split_records', 'read_conversation', 'read_document', 'relink_links', 'send_message', 'set_manager', 'set_working_hours', 'split_page', 'split_records', 'store_file', 'tasks_waiting', 'undo_merge', 'undo_relink', 'undo_split', 'upload_document_version', 'work_log']
15
15
 
16
16
  export const RELEASE_FETCH_TIMEOUT_MS = 2500
17
17
  /** A remembered answer older than this is not trusted: a week covers a quiet weekend without hiding tools for long. */
@@ -16,6 +16,12 @@ export function renderWorkLog(log) {
16
16
  ? lines.map((l) => `- ${time(l.at)} ${l.line}${l.pages?.length ? ` [pages: ${l.pages.join(', ')}]` : ''}`).join('\n')
17
17
  : '(no lines yet today)',
18
18
  ]
19
+ const behind = log?.pagesBehind ?? []
20
+ if (behind.length) {
21
+ out.push('', `Agnoclast pages: ${behind.length} page${behind.length === 1 ? '' : 's'} you work on ${behind.length === 1 ? 'has' : 'have'} records newer than the page itself:`,
22
+ ...behind.slice(0, 20).map((p) => `- "${p.title}": ${p.newer} record${p.newer === 1 ? '' : 's'} filed on it since its last edit (edit_page base_version ${p.version ?? '(read_page for it)'})`),
23
+ 'Fold in what they change with edit_page, and say so in your log_work line.')
24
+ }
19
25
  if (uncovered.length) {
20
26
  out.push('', `Not yet covered by a line (${uncovered.length}):`,
21
27
  ...uncovered.slice(0, 20).map((a) => `- ${time(a.at)} ${stub(a)}`),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theronap/agnoclast-mcp",
3
- "version": "0.9.335",
3
+ "version": "0.9.336",
4
4
  "description": "Connect your AI assistant to Cortex — your org's projects, activity, gaps, and directives, scoped to you.",
5
5
  "type": "module",
6
6
  "bin": {