@agfpd/iapeer-memory 0.1.6 → 0.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agfpd/iapeer-memory",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "iapeer-memory — peer memory for the iapeer ecosystem: vault, memoryd (index/search/MCP-http), layer-5 context fragments, role doctrines. The package IS the system; the claude/codex plugins are thin session sockets (docs/10-distribution.md, ADR-009).",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "@agfpd/iapeer-memory-core": "0.1.6"
30
+ "@agfpd/iapeer-memory-core": "0.1.7"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/bun": "^1.2.0",
@@ -9,6 +9,7 @@
9
9
  import fs from "node:fs";
10
10
  import path from "node:path";
11
11
  import {
12
+ ensureLoopbackNotProxied,
12
13
  getTaxonomy,
13
14
  isLocaleId,
14
15
  prepareSqliteRuntime,
@@ -50,6 +51,7 @@ export function searchPipelineLine(env: Record<string, string | undefined>): str
50
51
  /** Live pipeline from the running memoryd — the same per-component statuses
51
52
  * every vault_search returns. Null when memoryd is unreachable. */
52
53
  export async function probeSearchPipeline(port: number): Promise<string | null> {
54
+ ensureLoopbackNotProxied(); // fleet-class: proxy-env lies about live loopback ports
53
55
  try {
54
56
  const res = await fetch(`http://127.0.0.1:${port}/mcp`, {
55
57
  method: "POST",
@@ -84,6 +86,7 @@ export async function probeSearchPipeline(port: number): Promise<string | null>
84
86
  }
85
87
 
86
88
  async function probeMcp(port: number): Promise<{ line: string; alive: boolean }> {
89
+ ensureLoopbackNotProxied(); // fleet-class: proxy-env lies about live loopback ports
87
90
  try {
88
91
  const res = await fetch(`http://127.0.0.1:${port}/mcp`, {
89
92
  method: "POST",