@maestria/opencode 0.4.0 → 0.4.1
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 +2 -2
- package/dist/modes/index.d.ts +1 -1
- package/dist/modes/index.js +1 -1
- package/dist/modes/prompts.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2,8 +2,8 @@ import { readFileSync, readdirSync } from "fs";
|
|
|
2
2
|
import { join, dirname, basename } from "path";
|
|
3
3
|
import { parse as parseYaml } from "yaml";
|
|
4
4
|
import { fileURLToPath } from "url";
|
|
5
|
-
import { maestriaOptionsSchema } from "./modes/types";
|
|
6
|
-
import { detectMode, stripKeyword, getModeMarker, getModePrompt } from "./modes/index";
|
|
5
|
+
import { maestriaOptionsSchema } from "./modes/types.js";
|
|
6
|
+
import { detectMode, stripKeyword, getModeMarker, getModePrompt } from "./modes/index.js";
|
|
7
7
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
8
8
|
const agentsDir = join(__dirname, "..", "agents");
|
|
9
9
|
const rulesPath = join(__dirname, "..", "rules", "AGENTS.md");
|
package/dist/modes/index.d.ts
CHANGED
package/dist/modes/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { escapeRegExp } from "es-toolkit";
|
|
2
|
-
import { MODE_PROMPTS, MODE_MARKERS, VALID_KEYWORDS } from "./prompts";
|
|
2
|
+
import { MODE_PROMPTS, MODE_MARKERS, VALID_KEYWORDS } from "./prompts.js";
|
|
3
3
|
/**
|
|
4
4
|
* Priority mapping for mode keyword restrictiveness.
|
|
5
5
|
* Higher number = more restrictive = wins when multiple keywords are present.
|
package/dist/modes/prompts.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maestria/opencode",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "OpenCode plugin encoding AI engineering praxis: rules, agents, and workflow discipline.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"node": ">=22.12.0"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
|
-
"build": "tsc",
|
|
57
|
+
"build": "tsc && bash scripts/verify-imports.sh",
|
|
58
58
|
"test": "node ./node_modules/vitest/vitest.mjs run"
|
|
59
59
|
}
|
|
60
60
|
}
|