@10kdevs/matha 0.1.4 → 0.1.6

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.
@@ -16,8 +16,12 @@ import { checkSchemaVersion, getSchemaMessage } from '../utils/schema-version.js
16
16
  * - WRITE: matha_record_decision, matha_record_danger, matha_record_contract
17
17
  */
18
18
  const server = new Server({
19
- name: 'MATHA',
20
- version: '1.0.0',
19
+ name: 'matha',
20
+ version: '0.1.0'
21
+ }, {
22
+ capabilities: {
23
+ tools: {}
24
+ }
21
25
  });
22
26
  let mathaDir;
23
27
  // ──────────────────────────────────────────────────────────────────────
@@ -240,7 +244,8 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
240
244
  * 4. Write mcp-config.json with absolute paths for this session
241
245
  */
242
246
  async function initialize() {
243
- const cwd = process.cwd();
247
+ const explicitRoot = process.argv[3];
248
+ const cwd = explicitRoot || process.cwd();
244
249
  // Try to find existing .matha directory
245
250
  let found = false;
246
251
  let searchDir = cwd;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@10kdevs/matha",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "The persistent cognitive layer for AI-assisted development. Gives AI agents the project context that currently only exists inside a senior engineer's head.",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {