Expand Runtime concept with comprehensive frontend/backend details#106
Closed
Expand Runtime concept with comprehensive frontend/backend details#106
Conversation
Expand the Runtime explanation to provide deeper understanding of: - Differences between frontend and backend JavaScript environments - Available globals and built-in objects in each runtime (DOM APIs, Web APIs, EventEmitter, Streams, Buffer) - Complete list of re-implemented Node.js modules available in QuickJS backend - Module and import compatibility patterns (ES modules vs CommonJS) - Runtime detection patterns for conditional code - Clear limitations and workarounds for each runtime - Links to related concepts and SDK references for further learning This concept now serves as a comprehensive guide for plugin developers to understand what runtime environment they are in, what APIs are available, and how to structure code appropriately. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Member
|
Too much factually incorrect stuff. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR expands the Runtime concept documentation to provide comprehensive details about the JavaScript runtime environments available in Caido plugins. The improvements help plugin developers understand what APIs and modules are available in each runtime and how they differ.
Changes
Why This Matters
This update directly addresses the documentation gap identified in the SDK reference for the Runtime topic (part of the core concepts that all plugin developers must understand). Plugin developers now have a clear, complete reference for:
Scope
This is a concept improvement (Diátaxis explanation type) focused on the runtime environment, complementing the existing SDK reference materials. It does not introduce any new API surface but rather clarifies existing capabilities.
🤖 Generated with [Claude Code]((claude.com/redacted)