@open-agent-toolkit/cli 0.1.0 → 0.1.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../src/rules/canonical/render.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAUxD,wBAAgB,6BAA6B,CAC3C,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,EAC3C,IAAI,EAAE,MAAM,GACX,MAAM,
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../src/rules/canonical/render.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAUxD,wBAAgB,6BAA6B,CAC3C,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,EAC3C,IAAI,EAAE,MAAM,GACX,MAAM,CAcR;AAED,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,MAAM,EACf,aAAa,CAAC,EAAE,MAAM,GACrB,MAAM,CAMR;AAED,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,wBAAwB,EACrC,IAAI,EAAE,MAAM,GACX,MAAM,CAUR"}
|
|
@@ -11,7 +11,12 @@ export function renderMarkdownWithFrontmatter(frontmatter, body) {
|
|
|
11
11
|
if (!frontmatter || Object.keys(frontmatter).length === 0) {
|
|
12
12
|
return normalizedBody;
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
// singleQuote keeps generated YAML frontmatter aligned with oxfmt/Prettier
|
|
15
|
+
// formatting (singleQuote: true) so consumer repos don't see drift between
|
|
16
|
+
// `oat sync` output and their markdown formatter on each commit.
|
|
17
|
+
const frontmatterYaml = YAML.stringify(frontmatter, {
|
|
18
|
+
singleQuote: true,
|
|
19
|
+
}).trimEnd();
|
|
15
20
|
return `---\n${frontmatterYaml}\n---\n\n${normalizedBody}`;
|
|
16
21
|
}
|
|
17
22
|
export function appendGeneratedMarker(content, canonicalPath) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-agent-toolkit/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Open Agent Toolkit CLI",
|
|
6
6
|
"homepage": "https://github.com/voxmedia/open-agent-toolkit/tree/main/packages/cli",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"ora": "^9.0.0",
|
|
34
34
|
"yaml": "2.8.2",
|
|
35
35
|
"zod": "^3.25.76",
|
|
36
|
-
"@open-agent-toolkit/control-plane": "0.1.
|
|
36
|
+
"@open-agent-toolkit/control-plane": "0.1.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^22.10.0",
|