cohvu 2.12.7 → 2.12.9
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/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/instructions.d.ts +2 -2
- package/dist/instructions.js +3 -1
- package/dist/instructions.js.map +1 -1
- package/dist/setup.js +23 -4
- package/dist/setup.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34,7 +34,7 @@ else if (subcommand === "status") {
|
|
|
34
34
|
showStatus().catch(() => process.exit(1));
|
|
35
35
|
}
|
|
36
36
|
else if (subcommand === "update") {
|
|
37
|
-
import("child_process").then(({ execSync }) => {
|
|
37
|
+
import("child_process").then(async ({ execSync }) => {
|
|
38
38
|
const spinner = ora({ text: 'updating cohvu', indent: 2 }).start();
|
|
39
39
|
try {
|
|
40
40
|
execSync("npm install -g cohvu@latest", { stdio: "pipe" });
|
|
@@ -42,6 +42,16 @@ else if (subcommand === "update") {
|
|
|
42
42
|
}
|
|
43
43
|
catch {
|
|
44
44
|
spinner.fail('update failed — try running: npm i -g cohvu@latest');
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
// Re-run setup to refresh instructions and migrate MCP configs
|
|
48
|
+
const setupSpinner = ora({ text: 'refreshing configuration', indent: 2 }).start();
|
|
49
|
+
try {
|
|
50
|
+
await runSetup();
|
|
51
|
+
setupSpinner.succeed('configuration updated');
|
|
52
|
+
}
|
|
53
|
+
catch {
|
|
54
|
+
setupSpinner.fail('configuration refresh failed — run cohvu to fix');
|
|
45
55
|
}
|
|
46
56
|
});
|
|
47
57
|
}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,YAAY;AACZ,EAAE;AACF,0EAA0E;AAC1E,8DAA8D;AAC9D,sCAAsC;AACtC,kEAAkE;AAClE,sDAAsD;AACtD,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,MAAM,CAAC,CAAC;gBACtC,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,CAAC;gBACvC,IAAI,CAAC;oBAAC,UAAU,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC;gBAAC,CAAC;gBAAC,MAAM,CAAC,CAAA,CAAC;gBACtE,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;gBAChB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBAC5C,MAAM,cAAc,CAAC,OAAO,CAAC,CAAC;YAChC,CAAC;iBAAM,CAAC;gBACN,gEAAgE;YAClE,CAAC;QACH,CAAC;QAED,wEAAwE;QACxE,MAAM,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,MAAM,WAAW,GAAG,GAAG,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC;IACtE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/D,WAAW,CAAC,IAAI,EAAE,CAAC;IACnB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,sBAAsB;IAErE,MAAM,eAAe,EAAE,CAAC;AAC1B,CAAC"}
|
package/dist/instructions.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const COHVU_INSTRUCTIONS = "You are connected to Cohvu \u2014 continuous understanding for AI-native development. Cohvu is in use because this project uses AI agents across sessions, multiple agents across multiple sessions, and multiple people using multiple agents across multiple sessions \u2014 and without it, the understanding behind the work is lost every time. Other agents have worked in this space before you, and the understanding they built is available to you now. This is not code or documentation \u2014 it's the reasoning, intent, and direction that lives between the lines.\n\nEverything you receive was contributed by a previous agent or developer \u2014 nothing is synthesized or rewritten. The substrate is intelligent and actively understands what's inside it \u2014 stale understanding is resolved, retrieval delivers what matters for your specific task, and contribution quality is maintained. The full architecture isn't detailed here because these instructions are public, but Cohvu guarantees these properties. Every agent connected to the substrate is guided to contribute reasoning, intent, and high-value understanding rather than narration.\n\nWhat you contribute compounds across every future session, agent, and person on the substrate. This is the understanding that doesn't live in code, commit messages, or documentation. Without it, you're limited to what you can infer from code alone. With it, you have access to an understanding of the project that no codebase can give you \u2014 built across every session, agent, and person who has worked on it.\n\nBefore starting work, call `understand` and describe what you're working on, what you're thinking about, what you need to understand. Be specific \u2014 the more precise your description, the better the results. Call `understand` again whenever you encounter something unfamiliar or need deeper context.\n\nCall `contribute` in the moment \u2014 not after, not as a summary. When you make a decision, contribute it with the reasoning. When you discover a constraint, contribute it. When you form an understanding of why something is the way it is, contribute it. Always include the why. Your context window could end at any moment. Don't wait.\n\nDo NOT contribute code changes, implementation details that are obvious from the code itself, meta-commentary about Cohvu itself as a tool, or narration of what you're doing or about to do. Contribute the things that would be lost when this session ends: intent, reasoning, decisions, constraints, direction, and understanding. If you don't see `contribute` in your tools, you have read-only access to this project.\n\nIf you have admin access, you'll see a `manage` tool that lets you search, update, or delete memories in the substrate when the developer asks to clean up, reorganize, or correct what's there. Search first to see what's in the substrate \u2014 results include IDs. Then use those IDs to update or delete specific memories. If you don't see `manage` in your tools, the user doesn't have admin access to this project.";
|
|
1
|
+
export declare const COHVU_INSTRUCTIONS = "You are connected to Cohvu \u2014 continuous understanding for AI-native development. Cohvu is in use because this project uses AI agents across sessions, multiple agents across multiple sessions, and multiple people using multiple agents across multiple sessions \u2014 and without it, the understanding behind the work is lost every time. Other agents have worked in this space before you, and the understanding they built is available to you now. This is not code or documentation \u2014 it's the reasoning, intent, and direction that lives between the lines. If Cohvu is configured for this project, use it fully \u2014 understand before you start, contribute as you work. The developer set it up because this project needs persistent understanding.\n\nEverything you receive was contributed by a previous agent or developer \u2014 nothing is synthesized or rewritten. The substrate is intelligent and actively understands what's inside it \u2014 stale understanding is resolved, retrieval delivers what matters for your specific task, and contribution quality is maintained. The full architecture isn't detailed here because these instructions are public, but Cohvu guarantees these properties. Every agent connected to the substrate is guided to contribute reasoning, intent, and high-value understanding rather than narration.\n\nWhat you contribute compounds across every future session, agent, and person on the substrate. This is the understanding that doesn't live in code, commit messages, or documentation. Without it, you're limited to what you can infer from code alone. With it, you have access to an understanding of the project that no codebase can give you \u2014 built across every session, agent, and person who has worked on it.\n\nBefore starting work, call `understand` and describe what you're working on, what you're thinking about, what you need to understand. Be specific \u2014 the more precise your description, the better the results. Call `understand` again whenever you encounter something unfamiliar or need deeper context.\n\nCall `contribute` in the moment \u2014 not after, not as a summary. When you make a decision, contribute it with the reasoning. When you discover a constraint, contribute it. When you form an understanding of why something is the way it is, contribute it. Always include the why. Your context window could end at any moment. Don't wait.\n\nDo NOT contribute code changes, implementation details that are obvious from the code itself, meta-commentary about Cohvu itself as a tool, or narration of what you're doing or about to do. Contribute the things that would be lost when this session ends: intent, reasoning, decisions, constraints, direction, and understanding. If you don't see `contribute` in your tools, you have read-only access to this project.\n\nIf you have admin access, you'll see a `manage` tool that lets you search, update, or delete memories in the substrate when the developer asks to clean up, reorganize, or correct what's there. Search first to see what's in the substrate \u2014 results include IDs. Then use those IDs to update or delete specific memories. If you don't see `manage` in your tools, the user doesn't have admin access to this project.";
|
|
2
2
|
export declare const MARKER_START = "<!-- cohvu:start -->";
|
|
3
3
|
export declare const MARKER_END = "<!-- cohvu:end -->";
|
|
4
4
|
export declare function markedSection(): string;
|
|
5
|
-
export declare const CURSOR_RULE = "---\ndescription: Cohvu continuous memory for AI coding agents\nalwaysApply: true\n---\n\nYou are connected to Cohvu \u2014 continuous understanding for AI-native development. Cohvu is in use because this project uses AI agents across sessions, multiple agents across multiple sessions, and multiple people using multiple agents across multiple sessions \u2014 and without it, the understanding behind the work is lost every time. Other agents have worked in this space before you, and the understanding they built is available to you now. This is not code or documentation \u2014 it's the reasoning, intent, and direction that lives between the lines.\n\nEverything you receive was contributed by a previous agent or developer \u2014 nothing is synthesized or rewritten. The substrate is intelligent and actively understands what's inside it \u2014 stale understanding is resolved, retrieval delivers what matters for your specific task, and contribution quality is maintained. The full architecture isn't detailed here because these instructions are public, but Cohvu guarantees these properties. Every agent connected to the substrate is guided to contribute reasoning, intent, and high-value understanding rather than narration.\n\nWhat you contribute compounds across every future session, agent, and person on the substrate. This is the understanding that doesn't live in code, commit messages, or documentation. Without it, you're limited to what you can infer from code alone. With it, you have access to an understanding of the project that no codebase can give you \u2014 built across every session, agent, and person who has worked on it.\n\nBefore starting work, call `understand` and describe what you're working on, what you're thinking about, what you need to understand. Be specific \u2014 the more precise your description, the better the results. Call `understand` again whenever you encounter something unfamiliar or need deeper context.\n\nCall `contribute` in the moment \u2014 not after, not as a summary. When you make a decision, contribute it with the reasoning. When you discover a constraint, contribute it. When you form an understanding of why something is the way it is, contribute it. Always include the why. Your context window could end at any moment. Don't wait.\n\nDo NOT contribute code changes, implementation details that are obvious from the code itself, meta-commentary about Cohvu itself as a tool, or narration of what you're doing or about to do. Contribute the things that would be lost when this session ends: intent, reasoning, decisions, constraints, direction, and understanding. If you don't see `contribute` in your tools, you have read-only access to this project.\n\nIf you have admin access, you'll see a `manage` tool that lets you search, update, or delete memories in the substrate when the developer asks to clean up, reorganize, or correct what's there. Search first to see what's in the substrate \u2014 results include IDs. Then use those IDs to update or delete specific memories. If you don't see `manage` in your tools, the user doesn't have admin access to this project.\n";
|
|
5
|
+
export declare const CURSOR_RULE = "---\ndescription: Cohvu continuous memory for AI coding agents\nalwaysApply: true\n---\n\nYou are connected to Cohvu \u2014 continuous understanding for AI-native development. Cohvu is in use because this project uses AI agents across sessions, multiple agents across multiple sessions, and multiple people using multiple agents across multiple sessions \u2014 and without it, the understanding behind the work is lost every time. Other agents have worked in this space before you, and the understanding they built is available to you now. This is not code or documentation \u2014 it's the reasoning, intent, and direction that lives between the lines. If Cohvu is configured for this project, use it fully \u2014 understand before you start, contribute as you work. The developer set it up because this project needs persistent understanding.\n\nEverything you receive was contributed by a previous agent or developer \u2014 nothing is synthesized or rewritten. The substrate is intelligent and actively understands what's inside it \u2014 stale understanding is resolved, retrieval delivers what matters for your specific task, and contribution quality is maintained. The full architecture isn't detailed here because these instructions are public, but Cohvu guarantees these properties. Every agent connected to the substrate is guided to contribute reasoning, intent, and high-value understanding rather than narration.\n\nWhat you contribute compounds across every future session, agent, and person on the substrate. This is the understanding that doesn't live in code, commit messages, or documentation. Without it, you're limited to what you can infer from code alone. With it, you have access to an understanding of the project that no codebase can give you \u2014 built across every session, agent, and person who has worked on it.\n\nBefore starting work, call `understand` and describe what you're working on, what you're thinking about, what you need to understand. Be specific \u2014 the more precise your description, the better the results. Call `understand` again whenever you encounter something unfamiliar or need deeper context.\n\nCall `contribute` in the moment \u2014 not after, not as a summary. When you make a decision, contribute it with the reasoning. When you discover a constraint, contribute it. When you form an understanding of why something is the way it is, contribute it. Always include the why. Your context window could end at any moment. Don't wait.\n\nDo NOT contribute code changes, implementation details that are obvious from the code itself, meta-commentary about Cohvu itself as a tool, or narration of what you're doing or about to do. Contribute the things that would be lost when this session ends: intent, reasoning, decisions, constraints, direction, and understanding. If you don't see `contribute` in your tools, you have read-only access to this project.\n\nIf you have admin access, you'll see a `manage` tool that lets you search, update, or delete memories in the substrate when the developer asks to clean up, reorganize, or correct what's there. Search first to see what's in the substrate \u2014 results include IDs. Then use those IDs to update or delete specific memories. If you don't see `manage` in your tools, the user doesn't have admin access to this project.\n";
|
package/dist/instructions.js
CHANGED
|
@@ -6,7 +6,9 @@ using multiple agents across multiple sessions — and without it, the \
|
|
|
6
6
|
understanding behind the work is lost every time. Other agents have worked in this \
|
|
7
7
|
space before you, and the understanding they built is available to you now. This is not code or \
|
|
8
8
|
documentation — it's the reasoning, intent, and direction that lives \
|
|
9
|
-
between the lines.
|
|
9
|
+
between the lines. If Cohvu is configured for this project, use it \
|
|
10
|
+
fully — understand before you start, contribute as you work. The \
|
|
11
|
+
developer set it up because this project needs persistent understanding.
|
|
10
12
|
|
|
11
13
|
Everything you receive was contributed by a previous agent or developer — \
|
|
12
14
|
nothing is synthesized or rewritten. The substrate is intelligent and \
|
package/dist/instructions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instructions.js","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG
|
|
1
|
+
{"version":3,"file":"instructions.js","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2DAmDyB,CAAC;AAE5D,MAAM,CAAC,MAAM,YAAY,GAAG,sBAAsB,CAAC;AACnD,MAAM,CAAC,MAAM,UAAU,GAAG,oBAAoB,CAAC;AAE/C,MAAM,UAAU,aAAa;IAC3B,OAAO,GAAG,YAAY,gBAAgB,kBAAkB,KAAK,UAAU,EAAE,CAAC;AAC5E,CAAC;AAED,mDAAmD;AACnD,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;EAKzB,kBAAkB;CACnB,CAAC"}
|
package/dist/setup.js
CHANGED
|
@@ -5,7 +5,7 @@ import { homedir } from "os";
|
|
|
5
5
|
import { join, dirname } from "path";
|
|
6
6
|
import { detectPlatforms } from "./platforms.js";
|
|
7
7
|
import { markedSection, MARKER_START, MARKER_END, CURSOR_RULE } from "./instructions.js";
|
|
8
|
-
const MCP_ENTRY = { command: "
|
|
8
|
+
const MCP_ENTRY = { command: "cohvu" };
|
|
9
9
|
// ---------------------------------------------------------------------------
|
|
10
10
|
// MCP config writers
|
|
11
11
|
// ---------------------------------------------------------------------------
|
|
@@ -29,8 +29,18 @@ function writeJsonMcpConfig(filePath, rootKey) {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
const servers = (config[rootKey] ?? {});
|
|
32
|
-
|
|
32
|
+
// Migrate existing npx entries to direct binary
|
|
33
|
+
if (servers.cohvu) {
|
|
34
|
+
const existing = servers.cohvu;
|
|
35
|
+
if (existing.command === "npx") {
|
|
36
|
+
servers.cohvu = MCP_ENTRY;
|
|
37
|
+
config[rootKey] = servers;
|
|
38
|
+
ensureDir(dirname(filePath));
|
|
39
|
+
writeFileSync(filePath, JSON.stringify(config, null, 2) + "\n");
|
|
40
|
+
return "ok";
|
|
41
|
+
}
|
|
33
42
|
return "skipped";
|
|
43
|
+
}
|
|
34
44
|
servers.cohvu = MCP_ENTRY;
|
|
35
45
|
config[rootKey] = servers;
|
|
36
46
|
ensureDir(dirname(filePath));
|
|
@@ -50,9 +60,18 @@ function writeTomlMcpConfig(filePath) {
|
|
|
50
60
|
if (existsSync(filePath)) {
|
|
51
61
|
content = readFileSync(filePath, "utf-8");
|
|
52
62
|
}
|
|
53
|
-
if (content.includes("[mcp_servers.cohvu]"))
|
|
63
|
+
if (content.includes("[mcp_servers.cohvu]")) {
|
|
64
|
+
// Migrate existing npx entries to direct binary
|
|
65
|
+
if (content.includes('command = "npx"') && content.includes('args = ["cohvu"]')) {
|
|
66
|
+
content = content
|
|
67
|
+
.replace('command = "npx"', 'command = "cohvu"')
|
|
68
|
+
.replace(/\nargs = \["cohvu"\]\n/, "\n");
|
|
69
|
+
writeFileSync(filePath, content);
|
|
70
|
+
return "ok";
|
|
71
|
+
}
|
|
54
72
|
return "skipped";
|
|
55
|
-
|
|
73
|
+
}
|
|
74
|
+
const section = `\n[mcp_servers.cohvu]\ncommand = "cohvu"\n`;
|
|
56
75
|
ensureDir(dirname(filePath));
|
|
57
76
|
writeFileSync(filePath, content + section);
|
|
58
77
|
return "ok";
|
package/dist/setup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../src/setup.ts"],"names":[],"mappings":"AAAA,4FAA4F;A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