@memlink/cli 1.0.6 → 1.0.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/dist/cli/index.js CHANGED
@@ -45847,9 +45847,6 @@ function info(label, value) {
45847
45847
  function count(label, value) {
45848
45848
  return ` ${colors.muted(`${SYM.count} ${value} ${label}`)}`;
45849
45849
  }
45850
- function subheading(text) {
45851
- return colors.muted(` ${text}`);
45852
- }
45853
45850
  function dimLine(text) {
45854
45851
  return colors.dim(` ${text}`);
45855
45852
  }
@@ -45903,19 +45900,13 @@ Memlink is a self-hosted MCP server that gives you persistent, organized memory
45903
45900
 
45904
45901
  The MCP server runs at:
45905
45902
 
45906
- **Streamable HTTP** (modern clients):
45907
45903
  \`\`\`
45908
45904
  http://localhost:4444/mcp?id=YOUR_MEMORY_ID
45909
45905
  \`\`\`
45910
45906
 
45911
- **SSE** (legacy clients like OpenCode):
45912
- \`\`\`
45913
- http://localhost:4444/sse?id=YOUR_MEMORY_ID
45914
- \`\`\`
45915
-
45916
45907
  The memory ID is a 12-character alphanumeric string assigned when you create a memory via \`memlink init <name>\`.
45917
45908
 
45918
- ### Streamable HTTP config
45909
+ ### MCP config
45919
45910
 
45920
45911
  \`\`\`json
45921
45912
  {
@@ -45928,20 +45919,6 @@ The memory ID is a 12-character alphanumeric string assigned when you create a m
45928
45919
  }
45929
45920
  \`\`\`
45930
45921
 
45931
- ### SSE config (OpenCode)
45932
-
45933
- \`\`\`json
45934
- {
45935
- "mcpServers": {
45936
- "memlink": {
45937
- "type": "remote",
45938
- "enabled": true,
45939
- "url": "http://localhost:4444/sse?id=YOUR_MEMORY_ID"
45940
- }
45941
- }
45942
- }
45943
- \`\`\`
45944
-
45945
45922
  ## Session Workflow
45946
45923
 
45947
45924
  1. **Start of session** — Always call \`memory_read\` to load existing context
@@ -46024,7 +46001,7 @@ function nanoid(size = 21) {
46024
46001
  }
46025
46002
 
46026
46003
  // src/core/types.ts
46027
- var MEMLINK_VERSION = "1.0.6";
46004
+ var MEMLINK_VERSION = "1.0.7";
46028
46005
  var DEFAULT_PORT = 4444;
46029
46006
  var DEFAULT_HOST = "localhost";
46030
46007
  var CONFIG_DIR = ".memlink";
@@ -79988,9 +79965,6 @@ function memoryTableRow(name, id, sizeKb) {
79988
79965
  function mcpUrl(host, port, memId) {
79989
79966
  return `http://${host}:${port}/mcp?id=${memId}`;
79990
79967
  }
79991
- function sseUrl(host, port, memId) {
79992
- return `http://${host}:${port}/sse?id=${memId}`;
79993
- }
79994
79968
  var program2 = new Command;
79995
79969
  program2.name("memlink").description("Memlink — Universal memory for AI agents").version(MEMLINK_VERSION, "--version").addHelpText("before", logo());
79996
79970
  program2.action(() => {
@@ -80041,7 +80015,6 @@ program2.command("serve").description("Start the Memlink MCP server").option("--
80041
80015
  if (config3.universalMemories.length > 0) {
80042
80016
  for (const mem of config3.universalMemories) {
80043
80017
  console.log(info("MCP", mcpUrl(host, port, mem.memoryId)));
80044
- console.log(info("SSE", sseUrl(host, port, mem.memoryId)));
80045
80018
  }
80046
80019
  } else {
80047
80020
  console.log(info("no memories", "Create one with: Memlink init <name>"));
@@ -80059,11 +80032,9 @@ function initAction(name, opts) {
80059
80032
  const host = envHost() || config3.serverHost || DEFAULT_HOST;
80060
80033
  const port = envPort() || config3.serverPort || DEFAULT_PORT;
80061
80034
  const mcp = mcpUrl(host, port, memory.memoryId);
80062
- const sse = sseUrl(host, port, memory.memoryId);
80063
80035
  console.log(info("Name", memory.memoryName));
80064
80036
  console.log(info("ID", memory.memoryId));
80065
80037
  console.log(info("MCP", mcp));
80066
- console.log(info("SSE", sse));
80067
80038
  console.log();
80068
80039
  const copied = copyToClipboard(mcp);
80069
80040
  if (copied) {
@@ -80117,7 +80088,6 @@ program2.command("connect <memoryId>").description("Get MCP connection details f
80117
80088
  const host = envHost() || config3.serverHost || DEFAULT_HOST;
80118
80089
  const port = envPort() || config3.serverPort || DEFAULT_PORT;
80119
80090
  const mcp = mcpUrl(host, port, memory.memoryId);
80120
- const sse = sseUrl(host, port, memory.memoryId);
80121
80091
  const small = logoSmall();
80122
80092
  if (small)
80123
80093
  console.log(`
@@ -80126,38 +80096,6 @@ program2.command("connect <memoryId>").description("Get MCP connection details f
80126
80096
  console.log(info("Name", memory.memoryName));
80127
80097
  console.log(info("ID", memory.memoryId));
80128
80098
  console.log(info("MCP", mcp));
80129
- console.log(info("SSE", sse));
80130
- console.log();
80131
- const httpConfig = {
80132
- mcpServers: {
80133
- memlink: {
80134
- type: "http",
80135
- url: mcp
80136
- }
80137
- }
80138
- };
80139
- const sseConfig = {
80140
- mcpServers: {
80141
- memlink: {
80142
- type: "remote",
80143
- enabled: true,
80144
- url: sse
80145
- }
80146
- }
80147
- };
80148
- console.log(subheading("Streamable HTTP (modern clients):"));
80149
- console.log(colors.muted(" ```json"));
80150
- console.log(colors.muted(JSON.stringify(httpConfig, null, 2).split(`
80151
- `).map((l) => " " + l).join(`
80152
- `)));
80153
- console.log(colors.muted(" ```"));
80154
- console.log();
80155
- console.log(subheading("SSE (legacy clients like OpenCode):"));
80156
- console.log(colors.muted(" ```json"));
80157
- console.log(colors.muted(JSON.stringify(sseConfig, null, 2).split(`
80158
- `).map((l) => " " + l).join(`
80159
- `)));
80160
- console.log(colors.muted(" ```"));
80161
80099
  console.log();
80162
80100
  const copied = copyToClipboard(mcp);
80163
80101
  if (copied) {
@@ -70523,7 +70523,7 @@ function nanoid4(size = 21) {
70523
70523
  }
70524
70524
 
70525
70525
  // src/core/types.ts
70526
- var MEMLINK_VERSION = "1.0.6";
70526
+ var MEMLINK_VERSION = "1.0.7";
70527
70527
  var DEFAULT_PORT = 4444;
70528
70528
  var DEFAULT_HOST = "localhost";
70529
70529
  var CONFIG_DIR = ".memlink";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memlink/cli",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Memlink — Universal memory async and organized for AI agents. Self hosted, Fast, Organized.",
5
5
  "keywords": [
6
6
  "mcp",