@dotdotgod/context 0.6.6 → 0.7.0
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 +2 -2
- package/src/project.mjs +0 -1
- package/src/server.mjs +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotdotgod/context",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Local-first MCP execution, indexing, and retrieval runtime for dotdotgod adapters.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Elastic-2.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
32
32
|
"zod": "^3.25.76",
|
|
33
|
-
"@dotdotgod/cli": "0.
|
|
33
|
+
"@dotdotgod/cli": "0.7.0"
|
|
34
34
|
},
|
|
35
35
|
"engines": {
|
|
36
36
|
"node": ">=22.5.0"
|
package/src/project.mjs
CHANGED
|
@@ -108,6 +108,5 @@ export async function projectInitialize(input) {
|
|
|
108
108
|
if (dryRun) args.push('--dry-run');
|
|
109
109
|
if (input.projectName) args.push('--project-name', input.projectName);
|
|
110
110
|
if (input.template) args.push('--template', input.template);
|
|
111
|
-
if (input.dotdotSetting) args.push('--dotdot-setting');
|
|
112
111
|
return await cliJson(args, root);
|
|
113
112
|
}
|
package/src/server.mjs
CHANGED
|
@@ -28,7 +28,7 @@ function getJobs() {
|
|
|
28
28
|
jobRunner ??= new IngestionJobRunner(getStore());
|
|
29
29
|
return jobRunner;
|
|
30
30
|
}
|
|
31
|
-
const server = new McpServer({ name: 'dotdotgod-context', version: '0.
|
|
31
|
+
const server = new McpServer({ name: 'dotdotgod-context', version: '0.7.0' });
|
|
32
32
|
|
|
33
33
|
const scopeSchema = z.enum(['transient', 'session', 'project']).optional();
|
|
34
34
|
const outputModeSchema = z.enum(['auto', 'direct', 'indexed', 'discard']).optional();
|
|
@@ -130,7 +130,7 @@ register('impact_status', 'Read this host session\'s advisory pending impact pat
|
|
|
130
130
|
limit: z.number().int().min(1).max(50).optional(),
|
|
131
131
|
}, (input) => new ImpactState(root, currentSession()).status(input.limit), { readOnlyHint: true });
|
|
132
132
|
register('project_initialize', 'Initialize project memory; dry-run is default and writes require explicit confirmation.', {
|
|
133
|
-
root: z.string().optional(), dryRun: z.boolean().optional(), confirmWrite: z.boolean().optional(), projectName: z.string().optional(), template: z.string().optional(),
|
|
133
|
+
root: z.string().optional(), dryRun: z.boolean().optional(), confirmWrite: z.boolean().optional(), projectName: z.string().optional(), template: z.string().optional(),
|
|
134
134
|
}, (input) => projectInitialize(projectInput(input)), { destructiveHint: true });
|
|
135
135
|
|
|
136
136
|
export async function startServer() {
|