openfused 0.3.11 → 0.3.12

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/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import * as registry from "./registry.js";
8
8
  import { fingerprint } from "./crypto.js";
9
9
  import { resolve, join } from "node:path";
10
10
  import { readFile } from "node:fs/promises";
11
- const VERSION = "0.3.11";
11
+ const VERSION = "0.3.12";
12
12
  const program = new Command();
13
13
  program
14
14
  .name("openfuse")
package/dist/mcp.js CHANGED
@@ -23,7 +23,7 @@ const storeDir = process.env.OPENFUSE_DIR || process.argv[3] || ".";
23
23
  const store = new ContextStore(resolve(storeDir));
24
24
  const server = new McpServer({
25
25
  name: "openfuse",
26
- version: "0.3.11",
26
+ version: "0.3.12",
27
27
  });
28
28
  // --- Context ---
29
29
  server.tool("context_read", "Read the agent's CONTEXT.md (working memory)", async () => {
@@ -1,5 +1,5 @@
1
1
  import { ContextStore } from "./store.js";
2
- export declare const DEFAULT_REGISTRY = "https://openfuse-registry.wzmcghee.workers.dev";
2
+ export declare const DEFAULT_REGISTRY = "https://registry.openfused.dev";
3
3
  export interface Manifest {
4
4
  name: string;
5
5
  endpoint: string;
package/dist/registry.js CHANGED
@@ -7,8 +7,8 @@
7
7
  // This is TOFU (Trust On First Use) done right: the registry distributes keys,
8
8
  // but never asserts trust. Trust is a local decision.
9
9
  import { signMessage, fingerprint } from "./crypto.js";
10
- // Custom domain pending propagation use Worker URL as fallback
11
- export const DEFAULT_REGISTRY = "https://openfuse-registry.wzmcghee.workers.dev";
10
+ // Registry API lives on .dev (product layer). DNS TXT records on .net (protocol layer).
11
+ export const DEFAULT_REGISTRY = "https://registry.openfused.dev";
12
12
  export function resolveRegistry(flag) {
13
13
  return flag || process.env.OPENFUSE_REGISTRY || DEFAULT_REGISTRY;
14
14
  }
package/dist/store.js CHANGED
@@ -172,10 +172,10 @@ export class ContextStore {
172
172
  const entry = config.keyring.find((e) => e.name === peerId || e.address.startsWith(`${peerId}@`));
173
173
  let signed;
174
174
  if (entry?.encryptionKey) {
175
- signed = await signAndEncrypt(this.root, config.id, message, entry.encryptionKey);
175
+ signed = await signAndEncrypt(this.root, config.name, message, entry.encryptionKey);
176
176
  }
177
177
  else {
178
- signed = await signMessage(this.root, config.id, message);
178
+ signed = await signMessage(this.root, config.name, message);
179
179
  }
180
180
  // Envelope filename encodes routing metadata so sync can match outbox files to peers
181
181
  // without parsing JSON. Colons/dots replaced to stay filesystem-safe across OS.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfused",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "description": "The file protocol for AI agent context. Encrypted, signed, peer-to-peer.",
5
5
  "license": "MIT",
6
6
  "type": "module",