usepilot 0.14.0 → 0.15.0
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 +15 -14
- package/cli/index.js +1124 -946
- package/dist/{mount-BiOBwGgJ.js → mount-CLRI4wJ5.js} +2059 -1971
- package/dist/pilot-auto.js +1 -1
- package/dist/pilot.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +7 -2
package/dist/pilot-auto.js
CHANGED
package/dist/pilot.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as mountPilot } from "./mount-
|
|
1
|
+
export { t as mountPilot } from "./mount-CLRI4wJ5.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "usepilot",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"license": "FSL-1.1-MIT",
|
|
5
5
|
"description": "Pilot: take the controls from your coding agent. A control surface for coding agents, with checked results: edit, comment on and ask for tasks on your running app, and Pilot checks what the agent changed on the page.",
|
|
6
6
|
"keywords": [
|
package/types/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export interface PilotOptions {
|
|
3
3
|
/**
|
|
4
4
|
* Launch Pilot as soon as it mounts. Default: false: Pilot stays dormant
|
|
5
|
-
* until the shortcut launches it. A launch or
|
|
5
|
+
* until the shortcut launches it. A launch or close in the current browser
|
|
6
6
|
* tab takes precedence, so reloads keep what the user chose.
|
|
7
7
|
*/
|
|
8
8
|
launch?: boolean;
|
|
@@ -17,12 +17,17 @@ export interface PilotOptions {
|
|
|
17
17
|
* `["data-block"]`), tried first when Pilot labels an element.
|
|
18
18
|
*/
|
|
19
19
|
nameAttributes?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* The project this page belongs to: its package.json's name, written by
|
|
22
|
+
* `npx usepilot init`. `npx usepilot` runs for its own project's pages only.
|
|
23
|
+
*/
|
|
24
|
+
project?: string;
|
|
20
25
|
}
|
|
21
26
|
|
|
22
27
|
export interface PilotInstance {
|
|
23
28
|
/** Show Pilot's toolbar. No-op if it's already running. */
|
|
24
29
|
launch(): void;
|
|
25
|
-
/**
|
|
30
|
+
/** Close Pilot. Same as the toolbar's Close button. */
|
|
26
31
|
quit(): void;
|
|
27
32
|
readonly running: boolean;
|
|
28
33
|
/** Remove Pilot from the page completely. */
|