@inspecto-dev/core 0.3.8 → 0.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/{component-BLZBHHON.js → component-MYXLDDWZ.js} +1435 -613
- package/dist/component-MYXLDDWZ.js.map +1 -0
- package/dist/index.cjs +1455 -631
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -6
- package/dist/index.d.ts +10 -6
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/component-BLZBHHON.js.map +0 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
This package focuses on the browser-side runtime:
|
|
8
8
|
|
|
9
9
|
1. **Browser Client**: A native Web Component (`<inspecto-overlay>`) utilizing Shadow DOM for style isolation. It captures DOM clicks, parses the injected source location attributes (`data-inspecto`), and provides the interactive UI menu.
|
|
10
|
-
2. **Prompt Assembly**: Builds inspect and annotate payloads in the browser, including optional runtime,
|
|
10
|
+
2. **Prompt Assembly**: Builds inspect and annotate payloads in the browser, including optional runtime, CSS, and snippet context.
|
|
11
11
|
|
|
12
12
|
The local development server, snippet extraction, and IDE dispatch runtime live in `@inspecto-dev/plugin`.
|
|
13
13
|
|
|
@@ -15,7 +15,7 @@ The local development server, snippet extraction, and IDE dispatch runtime live
|
|
|
15
15
|
|
|
16
16
|
- **Web Component**: Implemented with pure native DOM APIs and `goober` for CSS-in-JS inside the Shadow DOM, ensuring zero framework dependency and avoiding conflicts with user styles.
|
|
17
17
|
- **Intent System**: Defines the default AI actions (Explain, Fix Bug, Code Review, etc.) and handles prompting.
|
|
18
|
-
- **Context Assembly**: Requests optional snippet/runtime/
|
|
18
|
+
- **Context Assembly**: Requests optional snippet/runtime/CSS context and appends it to the outgoing prompt.
|
|
19
19
|
- **Overlay Runtime**: Mounts and configures the browser overlay via `mountInspector()` / `unmountInspector()`.
|
|
20
20
|
|
|
21
21
|
## Modes
|