robrain 2.4.3 → 2.4.4
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/commands/install.js
CHANGED
|
@@ -202,7 +202,7 @@ export async function installCommand(opts) {
|
|
|
202
202
|
// Display only (status) — the thin client never embeds locally.
|
|
203
203
|
...(provisioned.embeddingProvider ? { embeddingProvider: provisioned.embeddingProvider } : {}),
|
|
204
204
|
installedAt: new Date().toISOString(),
|
|
205
|
-
version: '2.4.
|
|
205
|
+
version: '2.4.4',
|
|
206
206
|
});
|
|
207
207
|
spinner.succeed('MCP servers configured');
|
|
208
208
|
// ── Done ───────────────────────────────────────────────────
|
|
@@ -377,7 +377,7 @@ async function installSelfHosted(opts) {
|
|
|
377
377
|
...(perceptionKey ? { perceptionKey } : {}),
|
|
378
378
|
embeddingProvider: provider,
|
|
379
379
|
installedAt: new Date().toISOString(),
|
|
380
|
-
version: '2.4.
|
|
380
|
+
version: '2.4.4',
|
|
381
381
|
selfHosted: true,
|
|
382
382
|
});
|
|
383
383
|
spinner.succeed('MCP servers configured for self-hosted mode');
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ import { projectsListCommand, projectsMergeCommand } from './commands/projects.j
|
|
|
29
29
|
import { upCommand, downCommand, DEFAULT_IMAGE_REPO } from './commands/up.js';
|
|
30
30
|
import { mcpCommand } from './commands/mcp.js';
|
|
31
31
|
import { installHermesPlugin, resolveHermesHome } from './lib/hermes-plugin.js';
|
|
32
|
-
const VERSION = '2.4.
|
|
32
|
+
const VERSION = '2.4.4';
|
|
33
33
|
program
|
|
34
34
|
.name('robrain')
|
|
35
35
|
.description('Institutional memory for AI coding agents — by Rory Plans')
|
package/dist/lib/editor.js
CHANGED
|
@@ -326,7 +326,7 @@ Call Sensing tools exactly as instructed to maintain session memory.
|
|
|
326
326
|
|
|
327
327
|
### Session start (mandatory, first thing in every new chat)
|
|
328
328
|
\`\`\`
|
|
329
|
-
sensing_start_session(project_id="${projectId}"
|
|
329
|
+
sensing_start_session(project_id="${projectId}")
|
|
330
330
|
\`\`\`
|
|
331
331
|
Use the session_id from the tool response (or pass your own unique id per chat). Initialize sequence=1 before your first reply.
|
|
332
332
|
|
|
@@ -352,7 +352,7 @@ Call these tools as instructed to maintain causal memory of decisions.
|
|
|
352
352
|
|
|
353
353
|
### Session start (every session, first thing)
|
|
354
354
|
\`\`\`
|
|
355
|
-
sensing_start_session(project_id="${projectId}"
|
|
355
|
+
sensing_start_session(project_id="${projectId}")
|
|
356
356
|
control_get_session_context(project_id="${projectId}", session_id="<same session_id as sensing_start_session response>")
|
|
357
357
|
\`\`\`
|
|
358
358
|
Inject the always_on_summary returned by control_get_session_context into your context.
|
package/package.json
CHANGED
|
@@ -23296,7 +23296,7 @@ function resolveSessionId(raw) {
|
|
|
23296
23296
|
function buildServer() {
|
|
23297
23297
|
const server = new McpServer({
|
|
23298
23298
|
name: "sensing-mcp",
|
|
23299
|
-
version: "2.4.
|
|
23299
|
+
version: "2.4.4"
|
|
23300
23300
|
});
|
|
23301
23301
|
server.tool(
|
|
23302
23302
|
"sensing_start_session",
|
|
@@ -23305,14 +23305,18 @@ function buildServer() {
|
|
|
23305
23305
|
project_id: external_exports.string().describe("Repository name or path hash identifying the project"),
|
|
23306
23306
|
session_id: external_exports.string().nullish().describe(
|
|
23307
23307
|
'Unique id for this session. Omit, use null, or "" to let the server generate one (recommended). Otherwise supply a fresh id per chat (e.g. ISO timestamp + 4 hex chars).'
|
|
23308
|
-
)
|
|
23309
|
-
working_dir:
|
|
23308
|
+
)
|
|
23309
|
+
// working_dir was removed 2026-07-23: it was only ever logged locally and
|
|
23310
|
+
// never forwarded, but instructing agents to send an absolute local path
|
|
23311
|
+
// trips editor security policies (Codex flags it as data egress). Old
|
|
23312
|
+
// instruction blocks that still pass it are tolerated — zod strips
|
|
23313
|
+
// unknown keys.
|
|
23310
23314
|
},
|
|
23311
|
-
async ({ project_id, session_id
|
|
23315
|
+
async ({ project_id, session_id }) => {
|
|
23312
23316
|
const sessionId = resolveSessionId(session_id);
|
|
23313
23317
|
sessionRegistry.register(sessionId, project_id);
|
|
23314
23318
|
const summaryResult = await fetchAlwaysOnSummary(project_id);
|
|
23315
|
-
console.error(`[Sensing] Session started: ${sessionId} (${project_id})
|
|
23319
|
+
console.error(`[Sensing] Session started: ${sessionId} (${project_id})`);
|
|
23316
23320
|
return {
|
|
23317
23321
|
content: [{
|
|
23318
23322
|
type: "text",
|