Skip to content

Commit 268f835

Browse files
authored
Merge branch 'anomalyco:dev' into dev
2 parents 8352f1e + 6590689 commit 268f835

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/console/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"typecheck": "tsgo --noEmit",
88
"dev": "vite dev --host 0.0.0.0",
99
"dev:remote": "VITE_AUTH_URL=https://auth.dev.opencode.ai VITE_STRIPE_PUBLISHABLE_KEY=pk_test_51RtuLNE7fOCwHSD4mewwzFejyytjdGoSDK7CAvhbffwaZnPbNb2rwJICw6LTOXCmWO320fSNXvb5NzI08RZVkAxd00syfqrW7t bun sst shell --stage=dev bun dev",
10-
"build": "./script/generate-sitemap.ts && vite build && ../../opencode/script/schema.ts ./.output/public/config.json",
10+
"build": "bun ./script/generate-sitemap.ts && vite build && bun ../../opencode/script/schema.ts ./.output/public/config.json",
1111
"start": "vite start"
1212
},
1313
"dependencies": {

packages/opencode/src/config/markdown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export namespace ConfigMarkdown {
2222
if (!match) return content
2323

2424
const frontmatter = match[1]
25-
const lines = frontmatter.split("\n")
25+
const lines = frontmatter.split(/\r?\n/)
2626
const result: string[] = []
2727

2828
for (const line of lines) {

packages/opencode/test/config/markdown.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ describe("ConfigMarkdown: frontmatter parsing w/ Markdown header", async () => {
197197
test("should parse and match", () => {
198198
expect(result).toBeDefined()
199199
expect(result.data).toEqual({})
200-
expect(result.content.trim()).toBe(`# Response Formatting Requirements
200+
expect(result.content.trim().replace(/\r\n/g, "\n")).toBe(`# Response Formatting Requirements
201201
202202
Always structure your responses using clear markdown formatting:
203203

0 commit comments

Comments
 (0)