mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-18 11:02:11 +00:00
Configure lefthook formatter checks (#231)
* Add lefthook formatter checks * Fix SDK mode hydration * Stabilize SDK mode integration test
This commit is contained in:
parent
0471214d65
commit
d2346bafb3
282 changed files with 5840 additions and 8399 deletions
|
|
@ -5,9 +5,9 @@ const target = resolve(process.cwd(), "src/generated/openapi.ts");
|
|||
let source = readFileSync(target, "utf8");
|
||||
|
||||
const replacements = [
|
||||
["components[\"schemas\"][\"McpCommand\"]", "string"],
|
||||
["components[\"schemas\"][\"McpOAuthConfigOrDisabled\"]", "Record<string, unknown> | null"],
|
||||
["components[\"schemas\"][\"McpRemoteTransport\"]", "string"],
|
||||
['components["schemas"]["McpCommand"]', "string"],
|
||||
['components["schemas"]["McpOAuthConfigOrDisabled"]', "Record<string, unknown> | null"],
|
||||
['components["schemas"]["McpRemoteTransport"]', "string"],
|
||||
];
|
||||
|
||||
for (const [from, to] of replacements) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue