-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* towards durable shared ws connection to server * 🔨 refactor: streamline WebSocketClient and remove redundancy * feat: ✨ add progress dispatching to multiple clients * feat: ✨ add progress reporting for prompt script traces * feat: ✨ enhance trace handling and add view mode support * fix react refresh issues * feat: 🚀 improve run client handling and result updates * typoings * feat: ✨ add CORS support, webview, and scrollable Markdown * add webview * towards webview
- Loading branch information
Showing
21 changed files
with
765 additions
and
588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export function assert( | ||
cond: boolean, | ||
msg = "Assertion failed", | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
debugData?: any | ||
) { | ||
if (!cond) { | ||
if (debugData) console.error(msg || `assertion failed`, debugData) | ||
// eslint-disable-next-line no-debugger | ||
debugger | ||
throw new Error(msg) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.