Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/dev-deps-and-lint-cleanup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"callsheet": patch
---

Bump dev dependencies (eslint, prettier, jest, ts-jest, esbuild, @changesets/cli) and remove three redundant type assertions that the updated typescript-eslint now flags as unnecessary. Type-only change with no runtime effect.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"suncalc": "^1.9.0"
},
"devDependencies": {
"@changesets/cli": "^2.30.0",
"@changesets/cli": "^2.31.0",
"@eslint/js": "^10.0.1",
"@types/express": "^5.0.6",
"@types/jest": "^30.0.0",
Expand All @@ -67,19 +67,19 @@
"@types/react": "^19.1.2",
"@types/react-dom": "^19.2.3",
"@types/suncalc": "^1",
"esbuild": "^0.27.4",
"eslint": "^10.1.0",
"esbuild": "^0.28.0",
"eslint": "^10.4.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-prettier": "^5.5.6",
"husky": "^9.1.7",
"jest": "^30.3.0",
"jest": "^30.4.2",
"jest-junit": "^16.0.0",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1",
"ts-jest": "^29.4.6",
"prettier": "^3.8.3",
"ts-jest": "^29.4.11",
"ts-node": "^10.9.2",
"tsx": "^4.19.4",
"tsx": "^4.22.4",
"typescript": "^5.8.3",
"typescript-eslint": "^8.57.2"
"typescript-eslint": "^8.60.0"
}
}
2 changes: 1 addition & 1 deletion src/connectors/market.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export function create(config: ConnectorConfig): Connector {

results.push({
symbol,
name: (meta.shortName as string) ?? (meta.longName as string) ?? symbol,
name: meta.shortName ?? meta.longName ?? symbol,
price: current ? Math.round(current * 100) / 100 : null,
dayChangePct: dayChange ? Math.round(dayChange * 100) / 100 : null,
weekChangePct: weekChange ? Math.round(weekChange * 100) / 100 : null,
Expand Down
2 changes: 1 addition & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ export async function generateBrief(
// Record today's language phrase into its own long-horizon history so
// tomorrow's brief can avoid repeating it. Lives separately from the
// shared memory bucket because it needs a longer retention window.
recordBriefPhrase(brief, config as unknown as Parameters<typeof recordBriefPhrase>[1]);
recordBriefPhrase(brief, config);

// Self-critique: review the brief for quality issues (uses Haiku, ~$0.001)
const issues = await critiqueBrief(client, brief, dataPayload, outputDir);
Expand Down
Loading
Loading