@ryuenn3123/agentic-senior-core 3.0.3 → 3.0.5
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/.agent-context/state/memory-continuity-benchmark.json +1 -1
- package/.cursorrules +1 -1
- package/.windsurfrules +1 -1
- package/README.md +1 -1
- package/lib/cli/utils.mjs +31 -10
- package/package.json +1 -1
package/.cursorrules
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AGENTIC-SENIOR-CORE DYNAMIC GOVERNANCE RULESET
|
|
2
2
|
|
|
3
|
-
Generated by Agentic-Senior-Core CLI v3.0.
|
|
3
|
+
Generated by Agentic-Senior-Core CLI v3.0.5
|
|
4
4
|
Timestamp: 2026-04-18T00:00:00.000Z
|
|
5
5
|
Selected profile: beginner
|
|
6
6
|
Selected policy file: .agent-context/policies/llm-judge-threshold.json
|
package/.windsurfrules
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AGENTIC-SENIOR-CORE DYNAMIC GOVERNANCE RULESET
|
|
2
2
|
|
|
3
|
-
Generated by Agentic-Senior-Core CLI v3.0.
|
|
3
|
+
Generated by Agentic-Senior-Core CLI v3.0.5
|
|
4
4
|
Timestamp: 2026-04-18T00:00:00.000Z
|
|
5
5
|
Selected profile: beginner
|
|
6
6
|
Selected policy file: .agent-context/policies/llm-judge-threshold.json
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
**Production-grade Rules Engine (Governance Engine) for AI coding agents.**
|
|
11
11
|
Works with Cursor, Windsurf, GitHub Copilot, Claude Code, Gemini, and other LLM-powered IDE workflows.
|
|
12
12
|
|
|
13
|
-
Latest release: 3.0.
|
|
13
|
+
Latest release: 3.0.5 (2026-04-18).
|
|
14
14
|
|
|
15
15
|
Highlights in 3.0.0:
|
|
16
16
|
- Universal IDE adapter surface is completed and synchronized through thin adapters.
|
package/lib/cli/utils.mjs
CHANGED
|
@@ -346,9 +346,17 @@ export async function copyGovernanceAssetsToTarget(
|
|
|
346
346
|
const projectName = path.basename(resolvedTargetDirectoryPath);
|
|
347
347
|
const mcpArgs = ['./scripts/mcp-server.mjs'];
|
|
348
348
|
|
|
349
|
-
//
|
|
350
|
-
|
|
351
|
-
const
|
|
349
|
+
// Ensure the MCP server entrypoint exists in the target project.
|
|
350
|
+
// The workspace MCP configs point at ./scripts/mcp-server.mjs, so we must copy it.
|
|
351
|
+
const sourceMcpServerPath = path.join(REPO_ROOT, 'scripts', 'mcp-server.mjs');
|
|
352
|
+
const targetMcpServerPath = path.join(resolvedTargetDirectoryPath, 'scripts', 'mcp-server.mjs');
|
|
353
|
+
await ensureDirectory(path.dirname(targetMcpServerPath));
|
|
354
|
+
await fs.copyFile(sourceMcpServerPath, targetMcpServerPath);
|
|
355
|
+
|
|
356
|
+
// 1. VS Code (Workspace Local Settings)
|
|
357
|
+
const vscodeDirPath = path.join(resolvedTargetDirectoryPath, '.vscode');
|
|
358
|
+
const vscodeMcpJsonPath = path.join(vscodeDirPath, 'mcp.json');
|
|
359
|
+
const vscodeWorkspaceMcpConfig = {
|
|
352
360
|
servers: {
|
|
353
361
|
'agentic-senior-core': {
|
|
354
362
|
type: 'stdio',
|
|
@@ -359,14 +367,27 @@ export async function copyGovernanceAssetsToTarget(
|
|
|
359
367
|
},
|
|
360
368
|
};
|
|
361
369
|
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
370
|
+
if (!(await pathExists(vscodeMcpJsonPath))) {
|
|
371
|
+
await ensureDirectory(vscodeDirPath);
|
|
372
|
+
await fs.writeFile(vscodeMcpJsonPath, JSON.stringify(vscodeWorkspaceMcpConfig, null, 2) + '\n', 'utf8');
|
|
373
|
+
}
|
|
365
374
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
375
|
+
// 2. Cursor (Workspace Local Settings)
|
|
376
|
+
const cursorDirPath = path.join(resolvedTargetDirectoryPath, '.cursor');
|
|
377
|
+
const cursorMcpJsonPath = path.join(cursorDirPath, 'mcp.json');
|
|
378
|
+
const cursorWorkspaceMcpConfig = {
|
|
379
|
+
mcpServers: {
|
|
380
|
+
'agentic-senior-core': {
|
|
381
|
+
command: 'node',
|
|
382
|
+
args: mcpArgs,
|
|
383
|
+
cwd: '${workspaceFolder}',
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
if (!(await pathExists(cursorMcpJsonPath))) {
|
|
389
|
+
await ensureDirectory(cursorDirPath);
|
|
390
|
+
await fs.writeFile(cursorMcpJsonPath, JSON.stringify(cursorWorkspaceMcpConfig, null, 2) + '\n', 'utf8');
|
|
370
391
|
}
|
|
371
392
|
|
|
372
393
|
// 3. Zed IDE (Workspace Local Settings)
|