@remnic/core 9.65.4 → 9.65.5

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 (91) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-admin-ops-surface.js +1 -1
  3. package/dist/access-authorization-probe.d.ts +1 -1
  4. package/dist/access-authorization-probe.js +2 -2
  5. package/dist/access-boundary.d.ts +1 -1
  6. package/dist/access-boundary.js +1 -1
  7. package/dist/access-cli.js +13 -13
  8. package/dist/access-extraction-force-flush.d.ts +1 -1
  9. package/dist/access-extraction-force-flush.js +1 -1
  10. package/dist/access-http-lcm-compaction.d.ts +1 -1
  11. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  12. package/dist/access-http-offline-stream.d.ts +1 -1
  13. package/dist/access-http-query.js +1 -1
  14. package/dist/access-http.d.ts +2 -2
  15. package/dist/access-http.js +10 -10
  16. package/dist/access-identity-continuity-surface.js +1 -1
  17. package/dist/access-lcm-surface.d.ts +1 -1
  18. package/dist/access-lcm-surface.js +1 -1
  19. package/dist/access-mcp.d.ts +1 -1
  20. package/dist/access-mcp.js +6 -6
  21. package/dist/access-namespace-preflight.js +1 -1
  22. package/dist/access-observe-write-surface.d.ts +1 -1
  23. package/dist/access-observe-write-surface.js +1 -1
  24. package/dist/access-operations-batch.js +2 -2
  25. package/dist/access-operations.d.ts +6 -6
  26. package/dist/access-operations.js +5 -5
  27. package/dist/access-recall-concurrency.d.ts +1 -1
  28. package/dist/access-recall-concurrency.js +1 -1
  29. package/dist/access-recall-response.d.ts +1 -1
  30. package/dist/access-recall-response.js +1 -1
  31. package/dist/access-recall-surface.d.ts +1 -1
  32. package/dist/access-recall-surface.js +1 -1
  33. package/dist/access-schema.d.ts +83 -83
  34. package/dist/access-service-helpers.d.ts +1 -1
  35. package/dist/access-service.d.ts +1 -1
  36. package/dist/access-service.js +1 -1
  37. package/dist/access-surface-catalog.d.ts +1 -1
  38. package/dist/access-surface-catalog.js +3 -3
  39. package/dist/{chunk-YHGCT462.js → chunk-2EPOGPKO.js} +2 -2
  40. package/dist/{chunk-OU34IQXV.js → chunk-4JSF7UUP.js} +2 -2
  41. package/dist/{chunk-XGM3VQWG.js → chunk-BA2GLSIP.js} +7 -7
  42. package/dist/{chunk-I23ZHYSL.js → chunk-BW4GAF57.js} +2 -2
  43. package/dist/{chunk-AZLLH6YA.js → chunk-CV3GNPOE.js} +27 -32
  44. package/dist/chunk-CV3GNPOE.js.map +1 -0
  45. package/dist/{chunk-3JZBPTLD.js → chunk-DPGH6LHQ.js} +4 -4
  46. package/dist/{chunk-GHD2LLG4.js → chunk-FBR7PIL4.js} +2 -2
  47. package/dist/{chunk-PTZQYCJ4.js → chunk-IIRCHGWD.js} +2 -2
  48. package/dist/{chunk-SR5LNI6Q.js → chunk-KTPXXVDQ.js} +2 -2
  49. package/dist/{chunk-IWKGOCL6.js → chunk-N56GVOWR.js} +3 -3
  50. package/dist/{chunk-QJW4MZSW.js → chunk-NH6LC57D.js} +2 -2
  51. package/dist/{chunk-KPB2QHJZ.js → chunk-OWQNJJY2.js} +2 -2
  52. package/dist/{chunk-ZPOHEB5Z.js → chunk-YB4GBWBU.js} +4 -4
  53. package/dist/{cli-DO3i14pM.d.ts → cli-BqdqPdG_.d.ts} +1 -1
  54. package/dist/cli.d.ts +2 -2
  55. package/dist/cli.js +11 -11
  56. package/dist/external-wiki-access.d.ts +1 -1
  57. package/dist/external-wiki-access.js +2 -2
  58. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  59. package/dist/index.d.ts +680 -680
  60. package/dist/index.js +13 -13
  61. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  62. package/dist/memory-subject-cli.d.ts +1 -1
  63. package/dist/memory-subject.d.ts +1 -1
  64. package/dist/orchestrator.js +13 -13
  65. package/dist/{public-http-DhIXYBYI.d.ts → public-http-BP3VQDl5.d.ts} +1 -1
  66. package/dist/schemas.d.ts +124 -124
  67. package/dist/shared-context/manager.d.ts +6 -6
  68. package/dist/support-passport/index.d.ts +4 -4
  69. package/dist/support-passport/index.js +4 -4
  70. package/dist/transfer/types.d.ts +78 -78
  71. package/dist/who-knows-cli.d.ts +1 -1
  72. package/dist/who-knows.d.ts +1 -1
  73. package/package.json +2 -2
  74. package/src/review/frontmatter.test.ts +15 -0
  75. package/src/review/frontmatter.ts +20 -0
  76. package/src/review/review-deck-snapshot.ts +4 -20
  77. package/src/review/review-deck.ts +1 -12
  78. package/dist/chunk-AZLLH6YA.js.map +0 -1
  79. package/dist/{access-service-DqPa3hy4.d.ts → access-service-sbiNS5UB.d.ts} +64 -64
  80. /package/dist/{chunk-YHGCT462.js.map → chunk-2EPOGPKO.js.map} +0 -0
  81. /package/dist/{chunk-OU34IQXV.js.map → chunk-4JSF7UUP.js.map} +0 -0
  82. /package/dist/{chunk-XGM3VQWG.js.map → chunk-BA2GLSIP.js.map} +0 -0
  83. /package/dist/{chunk-I23ZHYSL.js.map → chunk-BW4GAF57.js.map} +0 -0
  84. /package/dist/{chunk-3JZBPTLD.js.map → chunk-DPGH6LHQ.js.map} +0 -0
  85. /package/dist/{chunk-GHD2LLG4.js.map → chunk-FBR7PIL4.js.map} +0 -0
  86. /package/dist/{chunk-PTZQYCJ4.js.map → chunk-IIRCHGWD.js.map} +0 -0
  87. /package/dist/{chunk-SR5LNI6Q.js.map → chunk-KTPXXVDQ.js.map} +0 -0
  88. /package/dist/{chunk-IWKGOCL6.js.map → chunk-N56GVOWR.js.map} +0 -0
  89. /package/dist/{chunk-QJW4MZSW.js.map → chunk-NH6LC57D.js.map} +0 -0
  90. /package/dist/{chunk-KPB2QHJZ.js.map → chunk-OWQNJJY2.js.map} +0 -0
  91. /package/dist/{chunk-ZPOHEB5Z.js.map → chunk-YB4GBWBU.js.map} +0 -0
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-3HSRWJTC.js";
13
13
  import {
14
14
  handleSupportPassportOwnerHttp
15
- } from "./chunk-I23ZHYSL.js";
15
+ } from "./chunk-BW4GAF57.js";
16
16
  import {
17
17
  buildSupportPassportPublicRequestHandler
18
- } from "./chunk-QJW4MZSW.js";
18
+ } from "./chunk-NH6LC57D.js";
19
19
  import {
20
20
  nonEmptyQueryParam,
21
21
  optionalNamespaceKindQueryParam,
@@ -31,10 +31,10 @@ import {
31
31
  processChatMessage,
32
32
  sessionBelongsToPrincipal,
33
33
  subscribeChatTranscript
34
- } from "./chunk-SR5LNI6Q.js";
34
+ } from "./chunk-KTPXXVDQ.js";
35
35
  import {
36
36
  RelayMissionStoreError
37
- } from "./chunk-IWKGOCL6.js";
37
+ } from "./chunk-N56GVOWR.js";
38
38
  import {
39
39
  executeResolution,
40
40
  isValidResolutionVerb
@@ -61,12 +61,12 @@ import {
61
61
  authorizationProbeNamespaces,
62
62
  authorizationProbeRequiresPrincipalNamespace,
63
63
  probeOperationAuthorization
64
- } from "./chunk-PTZQYCJ4.js";
64
+ } from "./chunk-IIRCHGWD.js";
65
65
  import {
66
66
  CorrectionContractError,
67
67
  getOperation,
68
68
  resolveQueryNamespaceWritablePreflight
69
- } from "./chunk-AZLLH6YA.js";
69
+ } from "./chunk-CV3GNPOE.js";
70
70
  import {
71
71
  handleWhoKnowsHttpQuery
72
72
  } from "./chunk-KFIOPZ25.js";
@@ -3494,4 +3494,4 @@ export {
3494
3494
  resolveDefaultAdminConsolePublicDir,
3495
3495
  EngramAccessHttpServer
3496
3496
  };
3497
- //# sourceMappingURL=chunk-XGM3VQWG.js.map
3497
+ //# sourceMappingURL=chunk-BA2GLSIP.js.map
@@ -2,7 +2,7 @@ import {
2
2
  SupportPassportError,
3
3
  SupportPassportOwnerCreateGrantRequestSchema,
4
4
  getOperation
5
- } from "./chunk-AZLLH6YA.js";
5
+ } from "./chunk-CV3GNPOE.js";
6
6
 
7
7
  // src/support-passport/access-http.ts
8
8
  var OWNER_ROOT = "/engram/v1/support-passport";
@@ -137,4 +137,4 @@ export {
137
137
  SUPPORT_PASSPORT_OWNER_HTTP_ROUTES,
138
138
  handleSupportPassportOwnerHttp
139
139
  };
140
- //# sourceMappingURL=chunk-I23ZHYSL.js.map
140
+ //# sourceMappingURL=chunk-BW4GAF57.js.map
@@ -10370,6 +10370,29 @@ import { createHash as createHash8 } from "crypto";
10370
10370
 
10371
10371
  // src/review/review-deck.ts
10372
10372
  import { createHash as createHash6 } from "crypto";
10373
+
10374
+ // src/review/frontmatter.ts
10375
+ function splitMarkdownFrontmatter(content) {
10376
+ if (!content.startsWith("---\n")) return null;
10377
+ const end = content.indexOf("\n---", 4);
10378
+ if (end === -1) return null;
10379
+ const after = end + "\n---".length;
10380
+ const body = content.startsWith("\n", after) ? content.slice(after + 1) : content.slice(after);
10381
+ return { fields: content.slice(4, end), body };
10382
+ }
10383
+ function parseFrontmatterFields(content) {
10384
+ const split = splitMarkdownFrontmatter(content);
10385
+ if (!split) return {};
10386
+ const fields = {};
10387
+ for (const line of split.fields.split("\n")) {
10388
+ const colonIdx = line.indexOf(":");
10389
+ if (colonIdx === -1) continue;
10390
+ fields[line.slice(0, colonIdx).trim()] = line.slice(colonIdx + 1).trim();
10391
+ }
10392
+ return fields;
10393
+ }
10394
+
10395
+ // src/review/review-deck.ts
10373
10396
  var ReviewDeckCursorError = class extends Error {
10374
10397
  constructor(message = "Invalid review deck cursor") {
10375
10398
  super(message);
@@ -10507,18 +10530,6 @@ function provenanceFromRow(row) {
10507
10530
  }
10508
10531
  return provenance;
10509
10532
  }
10510
- function parseFrontmatterFields(content) {
10511
- if (!content.startsWith("---\n")) return {};
10512
- const end = content.indexOf("\n---", 4);
10513
- if (end === -1) return {};
10514
- const fields = {};
10515
- for (const line of content.slice(4, end).split("\n")) {
10516
- const colonIdx = line.indexOf(":");
10517
- if (colonIdx === -1) continue;
10518
- fields[line.slice(0, colonIdx).trim()] = line.slice(colonIdx + 1).trim();
10519
- }
10520
- return fields;
10521
- }
10522
10533
  function idList(value) {
10523
10534
  if (value === void 0 || value.length === 0) return [];
10524
10535
  return value.replace(/^\[|\]$/g, "").split(",").map((part) => part.trim().replace(/^["']|["']$/g, "")).filter((part) => part.length > 0);
@@ -11139,28 +11150,12 @@ function readFileSafe2(filePath) {
11139
11150
  return null;
11140
11151
  }
11141
11152
  }
11142
- function splitFrontmatter(content) {
11143
- if (!content.startsWith("---\n")) return null;
11144
- const end = content.indexOf("\n---", 4);
11145
- if (end === -1) return null;
11146
- const after = end + "\n---".length;
11147
- const body = content.startsWith("\n", after) ? content.slice(after + 1) : content.slice(after);
11148
- return { fields: content.slice(4, end), body };
11149
- }
11150
11153
  function parseFrontmatter3(content) {
11151
- const split = splitFrontmatter(content);
11152
- if (!split) return null;
11153
- const fm = {};
11154
- for (const line of split.fields.split("\n")) {
11155
- const colonIdx = line.indexOf(":");
11156
- if (colonIdx === -1) continue;
11157
- fm[line.slice(0, colonIdx).trim()] = line.slice(colonIdx + 1).trim();
11158
- }
11159
- return fm;
11154
+ if (!content.startsWith("---\n")) return null;
11155
+ return parseFrontmatterFields(content);
11160
11156
  }
11161
11157
  function extractBody2(content) {
11162
- const split = splitFrontmatter(content);
11163
- return split ? split.body.trim() : content.trim();
11158
+ return splitMarkdownFrontmatter(content)?.body.trim() ?? content.trim();
11164
11159
  }
11165
11160
  function parseBoolean2(value) {
11166
11161
  if (typeof value === "boolean") return value;
@@ -19567,4 +19562,4 @@ export {
19567
19562
  EngramAccessService,
19568
19563
  AccessAdminOpsSurface
19569
19564
  };
19570
- //# sourceMappingURL=chunk-AZLLH6YA.js.map
19565
+ //# sourceMappingURL=chunk-CV3GNPOE.js.map