@remnic/core 9.69.71 → 9.69.73

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 (74) hide show
  1. package/dist/access-admin-ops-surface.js +2 -2
  2. package/dist/access-authorization-probe.js +3 -3
  3. package/dist/access-boundary.js +2 -2
  4. package/dist/access-cli.js +17 -17
  5. package/dist/access-extraction-force-flush.js +2 -2
  6. package/dist/access-http-briefing.js +3 -3
  7. package/dist/access-http-query.js +2 -2
  8. package/dist/access-http.js +14 -14
  9. package/dist/access-identity-continuity-surface.js +2 -2
  10. package/dist/access-lcm-surface.js +2 -2
  11. package/dist/access-mcp.js +9 -9
  12. package/dist/access-namespace-preflight.js +2 -2
  13. package/dist/access-observe-write-surface.js +2 -2
  14. package/dist/access-operations-batch.js +3 -3
  15. package/dist/access-operations.js +8 -8
  16. package/dist/access-recall-concurrency.js +2 -2
  17. package/dist/access-recall-response.js +2 -2
  18. package/dist/access-recall-surface.js +2 -2
  19. package/dist/access-service.js +2 -2
  20. package/dist/access-surface-catalog.js +4 -4
  21. package/dist/{chunk-WIQDQQPW.js → chunk-2XGPN5TL.js} +2 -2
  22. package/dist/{chunk-GXHUFKAG.js → chunk-2ZU6CYTJ.js} +2 -2
  23. package/dist/{chunk-AJBWVDRV.js → chunk-3X5OPDPF.js} +3 -3
  24. package/dist/chunk-3X5OPDPF.js.map +1 -0
  25. package/dist/{chunk-YLZPCYCB.js → chunk-5I63ZRIH.js} +2 -2
  26. package/dist/{chunk-PT7D26KT.js → chunk-7FL25VH3.js} +3 -3
  27. package/dist/{chunk-6LQ7GDTI.js → chunk-ADWCQWK3.js} +2 -2
  28. package/dist/{chunk-2R72MVH7.js → chunk-BIKX37D2.js} +15 -9
  29. package/dist/{chunk-2R72MVH7.js.map → chunk-BIKX37D2.js.map} +1 -1
  30. package/dist/{chunk-T5TAT2XL.js → chunk-HW4DKAAA.js} +2 -2
  31. package/dist/{chunk-66NK4G3A.js → chunk-ICMXLHSC.js} +2 -2
  32. package/dist/{chunk-KTYBS2UG.js → chunk-KNPWG3VI.js} +4 -4
  33. package/dist/{chunk-GULV5LFB.js → chunk-ONEUTVGJ.js} +2 -2
  34. package/dist/{chunk-IKDP2PN5.js → chunk-QVWNNN64.js} +4 -4
  35. package/dist/{chunk-EGXTKSSA.js → chunk-RFVF5PLN.js} +2 -2
  36. package/dist/{chunk-4FLIMX4B.js → chunk-VDKZTNG5.js} +2 -2
  37. package/dist/{chunk-JHAFEGED.js → chunk-W7PY7IIB.js} +8 -8
  38. package/dist/{chunk-NGN2VAKB.js → chunk-YDMN7TUM.js} +2 -2
  39. package/dist/{chunk-SQIEPKIU.js → chunk-YEHKKZ5T.js} +2 -2
  40. package/dist/cli.js +15 -15
  41. package/dist/deep-recall-seeds.d.ts +3 -1
  42. package/dist/deep-recall-seeds.d.ts.map +1 -1
  43. package/dist/deep-recall-seeds.js +1 -1
  44. package/dist/external-wiki-access.js +3 -3
  45. package/dist/index.js +17 -17
  46. package/dist/memory-browse-operations.js +3 -3
  47. package/dist/orchestrator.js +17 -17
  48. package/dist/recall-navigation-operations.js +3 -3
  49. package/dist/recall-navigation.js +2 -2
  50. package/dist/support-passport/index.js +5 -5
  51. package/dist/support-passport/private-file.d.ts.map +1 -1
  52. package/package.json +2 -2
  53. package/src/deep-recall-seeds.test.ts +35 -0
  54. package/src/deep-recall-seeds.ts +5 -4
  55. package/src/deep-recall-surface.test.ts +5 -8
  56. package/src/support-passport/grant-service.test.ts +45 -20
  57. package/src/support-passport/private-file.test.ts +10 -5
  58. package/src/support-passport/private-file.ts +14 -7
  59. package/dist/chunk-AJBWVDRV.js.map +0 -1
  60. /package/dist/{chunk-WIQDQQPW.js.map → chunk-2XGPN5TL.js.map} +0 -0
  61. /package/dist/{chunk-GXHUFKAG.js.map → chunk-2ZU6CYTJ.js.map} +0 -0
  62. /package/dist/{chunk-YLZPCYCB.js.map → chunk-5I63ZRIH.js.map} +0 -0
  63. /package/dist/{chunk-PT7D26KT.js.map → chunk-7FL25VH3.js.map} +0 -0
  64. /package/dist/{chunk-6LQ7GDTI.js.map → chunk-ADWCQWK3.js.map} +0 -0
  65. /package/dist/{chunk-T5TAT2XL.js.map → chunk-HW4DKAAA.js.map} +0 -0
  66. /package/dist/{chunk-66NK4G3A.js.map → chunk-ICMXLHSC.js.map} +0 -0
  67. /package/dist/{chunk-KTYBS2UG.js.map → chunk-KNPWG3VI.js.map} +0 -0
  68. /package/dist/{chunk-GULV5LFB.js.map → chunk-ONEUTVGJ.js.map} +0 -0
  69. /package/dist/{chunk-IKDP2PN5.js.map → chunk-QVWNNN64.js.map} +0 -0
  70. /package/dist/{chunk-EGXTKSSA.js.map → chunk-RFVF5PLN.js.map} +0 -0
  71. /package/dist/{chunk-4FLIMX4B.js.map → chunk-VDKZTNG5.js.map} +0 -0
  72. /package/dist/{chunk-JHAFEGED.js.map → chunk-W7PY7IIB.js.map} +0 -0
  73. /package/dist/{chunk-NGN2VAKB.js.map → chunk-YDMN7TUM.js.map} +0 -0
  74. /package/dist/{chunk-SQIEPKIU.js.map → chunk-YEHKKZ5T.js.map} +0 -0
@@ -12,13 +12,13 @@ import {
12
12
  } from "./chunk-ADZLUBNE.js";
13
13
  import {
14
14
  externalWikiSearchOperation
15
- } from "./chunk-GULV5LFB.js";
15
+ } from "./chunk-ONEUTVGJ.js";
16
16
  import {
17
17
  DECISION_SUBCOMMANDS,
18
18
  DELTA_SUBCOMMANDS,
19
19
  defineOperation,
20
20
  isCodegraphToolName
21
- } from "./chunk-2R72MVH7.js";
21
+ } from "./chunk-BIKX37D2.js";
22
22
  import {
23
23
  CorrectionContractError
24
24
  } from "./chunk-QLK3SL7Q.js";
@@ -1914,4 +1914,4 @@ export {
1914
1914
  codegraphIngestTracesOperation,
1915
1915
  REGISTERED_OPERATIONS
1916
1916
  };
1917
- //# sourceMappingURL=chunk-PT7D26KT.js.map
1917
+ //# sourceMappingURL=chunk-7FL25VH3.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SupportPassportError,
3
3
  getOperation
4
- } from "./chunk-2R72MVH7.js";
4
+ } from "./chunk-BIKX37D2.js";
5
5
  import {
6
6
  abortError,
7
7
  isAbortError
@@ -499,4 +499,4 @@ export {
499
499
  buildSupportPassportPublicRequestHandler,
500
500
  composeSupportPassportExternalRequestHandlers
501
501
  };
502
- //# sourceMappingURL=chunk-6LQ7GDTI.js.map
502
+ //# sourceMappingURL=chunk-ADWCQWK3.js.map
@@ -168,7 +168,7 @@ import {
168
168
  } from "./chunk-RF2SMMPP.js";
169
169
  import {
170
170
  createDeepRecallSeedSearch
171
- } from "./chunk-AJBWVDRV.js";
171
+ } from "./chunk-3X5OPDPF.js";
172
172
  import {
173
173
  runBudgetedDeepRecall
174
174
  } from "./chunk-5TC6MQOW.js";
@@ -10880,6 +10880,7 @@ async function syncDirectoryHandle(handle) {
10880
10880
  }
10881
10881
  }
10882
10882
  async function resolvePrivateDirectoryPath(directory, handle, opened, errorMessage, platform = process.platform) {
10883
+ if (pinsDirectoriesByPath(platform)) return path12.resolve(directory);
10883
10884
  const descriptorRoot = requirePrivateFileDescriptorRoot(platform, errorMessage);
10884
10885
  const pinnedPath = path12.join(descriptorRoot, String(handle.fd));
10885
10886
  const metadata = await stat2(pinnedPath);
@@ -10896,11 +10897,14 @@ function requirePrivateFileDescriptorRoot(platform, errorMessage) {
10896
10897
  if (platform === "darwin" || platform === "freebsd" || platform === "openbsd") return "/dev/fd";
10897
10898
  throw new Error(errorMessage);
10898
10899
  }
10900
+ function pinsDirectoriesByPath(platform) {
10901
+ return platform === "win32";
10902
+ }
10899
10903
  async function openStableDirectoryFromRoot(trustedRoot, directory, errorMessage, platform = process.platform) {
10900
10904
  const root = path12.resolve(trustedRoot);
10901
10905
  const target = path12.resolve(directory);
10902
10906
  assertContainedPath(root, target, errorMessage);
10903
- requirePrivateFileDescriptorRoot(platform, errorMessage);
10907
+ if (!pinsDirectoriesByPath(platform)) requirePrivateFileDescriptorRoot(platform, errorMessage);
10904
10908
  const relative2 = path12.relative(root, target);
10905
10909
  const components = relative2 === "" ? [] : relative2.split(path12.sep);
10906
10910
  const handles = [];
@@ -10909,7 +10913,7 @@ async function openStableDirectoryFromRoot(trustedRoot, directory, errorMessage,
10909
10913
  let current = await openDirectoryNoFollow(root, errorMessage);
10910
10914
  handles.push(current.handle);
10911
10915
  for (const component of components) {
10912
- const pinnedParent = await resolvePrivateDirectoryPath(currentPath, current.handle, current.opened, errorMessage);
10916
+ const pinnedParent = await resolvePrivateDirectoryPath(currentPath, current.handle, current.opened, errorMessage, platform);
10913
10917
  const child = await openDirectoryNoFollow(path12.join(pinnedParent, component), errorMessage);
10914
10918
  handles.push(child.handle);
10915
10919
  assertStableDirectory(current.before, current.opened, await lstat2(currentPath), errorMessage);
@@ -10938,7 +10942,7 @@ async function ensurePrivateDirectoryNoFollow(trustedRoot, directory, errorMessa
10938
10942
  const target = path12.resolve(directory);
10939
10943
  assertContainedPath(root, target, errorMessage);
10940
10944
  const relative2 = path12.relative(root, target);
10941
- requirePrivateFileDescriptorRoot(platform, errorMessage);
10945
+ if (!pinsDirectoriesByPath(platform)) requirePrivateFileDescriptorRoot(platform, errorMessage);
10942
10946
  const components = relative2 === "" ? [] : relative2.split(path12.sep);
10943
10947
  const handles = [];
10944
10948
  let currentPath = root;
@@ -10946,7 +10950,7 @@ async function ensurePrivateDirectoryNoFollow(trustedRoot, directory, errorMessa
10946
10950
  let current = await openDirectoryNoFollow(root, errorMessage);
10947
10951
  handles.push(current.handle);
10948
10952
  for (const component of components) {
10949
- const pinnedParent = await resolvePrivateDirectoryPath(currentPath, current.handle, current.opened, errorMessage);
10953
+ const pinnedParent = await resolvePrivateDirectoryPath(currentPath, current.handle, current.opened, errorMessage, platform);
10950
10954
  const childPath = path12.join(pinnedParent, component);
10951
10955
  let created = false;
10952
10956
  try {
@@ -11072,10 +11076,12 @@ async function appendPrivateFileAtPinnedDirectory(pinnedDirectory, targetName, c
11072
11076
  }
11073
11077
  }
11074
11078
  async function appendPrivateFileInPinnedDirectory(pinnedDirectory, fileName, content, errorMessage, platform = process.platform) {
11075
- const descriptorRoot = requirePrivateFileDescriptorRoot(platform, errorMessage);
11076
11079
  const resolvedDirectory = path12.resolve(pinnedDirectory);
11077
- const descriptor = path12.relative(descriptorRoot, resolvedDirectory);
11078
- if (!/^\d+$/.test(descriptor)) throw new Error(errorMessage);
11080
+ if (!pinsDirectoriesByPath(platform)) {
11081
+ const descriptorRoot = requirePrivateFileDescriptorRoot(platform, errorMessage);
11082
+ const descriptor = path12.relative(descriptorRoot, resolvedDirectory);
11083
+ if (!/^\d+$/.test(descriptor)) throw new Error(errorMessage);
11084
+ }
11079
11085
  const before = await stat2(resolvedDirectory);
11080
11086
  if (!before.isDirectory()) throw new Error(errorMessage);
11081
11087
  let directoryHandle;
@@ -18526,4 +18532,4 @@ export {
18526
18532
  EngramAccessService,
18527
18533
  AccessAdminOpsSurface
18528
18534
  };
18529
- //# sourceMappingURL=chunk-2R72MVH7.js.map
18535
+ //# sourceMappingURL=chunk-BIKX37D2.js.map