qapture2 0.3.0 → 0.7.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/dist/index.cjs CHANGED
@@ -1,24 +1,24 @@
1
1
  'use strict';
2
2
 
3
- var chunk6KAXMN77_cjs = require('./chunk-6KAXMN77.cjs');
3
+ var chunkUOUFJCPF_cjs = require('./chunk-UOUFJCPF.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "QaStudio", {
8
8
  enumerable: true,
9
- get: function () { return chunk6KAXMN77_cjs.Qapture; }
9
+ get: function () { return chunkUOUFJCPF_cjs.Qapture; }
10
10
  });
11
11
  Object.defineProperty(exports, "Qapture", {
12
12
  enumerable: true,
13
- get: function () { return chunk6KAXMN77_cjs.Qapture; }
13
+ get: function () { return chunkUOUFJCPF_cjs.Qapture; }
14
14
  });
15
15
  Object.defineProperty(exports, "deleteQaDatabase", {
16
16
  enumerable: true,
17
- get: function () { return chunk6KAXMN77_cjs.deleteQaDatabase; }
17
+ get: function () { return chunkUOUFJCPF_cjs.deleteQaDatabase; }
18
18
  });
19
19
  Object.defineProperty(exports, "initQaStudio", {
20
20
  enumerable: true,
21
- get: function () { return chunk6KAXMN77_cjs.initQaStudio; }
21
+ get: function () { return chunkUOUFJCPF_cjs.initQaStudio; }
22
22
  });
23
23
  //# sourceMappingURL=index.cjs.map
24
24
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.cts CHANGED
@@ -124,6 +124,18 @@ type QaConfig = {
124
124
  alwaysVisible?: boolean;
125
125
  /** Keyboard shortcut to toggle the panel. Default: 'shift+alt+q'. */
126
126
  hotkey?: string;
127
+ /**
128
+ * Keyboard shortcut that jumps straight into capture mode, so a tester
129
+ * never has to find the button first. Default: 'shift+alt+c'.
130
+ *
131
+ * Why not a Cmd/Ctrl shortcut: the obvious candidates are taken by things
132
+ * a web page cannot and must not override — Cmd/Ctrl+C is copy, and on
133
+ * macOS Cmd+Q quits the browser before the page ever sees the keystroke.
134
+ * Alt/Option-based chords are the only family a page can claim safely, and
135
+ * they are identical on macOS and Windows (Option = Alt), so one setting
136
+ * covers both.
137
+ */
138
+ captureHotkey?: string;
127
139
  /**
128
140
  * Whether to capture ambient runtime context (console errors/warnings,
129
141
  * uncaught errors, network failures, env snapshot) alongside new notes.
@@ -155,6 +167,7 @@ type ResolvedConfig = {
155
167
  visible: boolean | undefined;
156
168
  alwaysVisible: boolean;
157
169
  hotkey: string;
170
+ captureHotkey: string;
158
171
  captureContext: boolean;
159
172
  };
160
173
 
package/dist/index.d.ts CHANGED
@@ -124,6 +124,18 @@ type QaConfig = {
124
124
  alwaysVisible?: boolean;
125
125
  /** Keyboard shortcut to toggle the panel. Default: 'shift+alt+q'. */
126
126
  hotkey?: string;
127
+ /**
128
+ * Keyboard shortcut that jumps straight into capture mode, so a tester
129
+ * never has to find the button first. Default: 'shift+alt+c'.
130
+ *
131
+ * Why not a Cmd/Ctrl shortcut: the obvious candidates are taken by things
132
+ * a web page cannot and must not override — Cmd/Ctrl+C is copy, and on
133
+ * macOS Cmd+Q quits the browser before the page ever sees the keystroke.
134
+ * Alt/Option-based chords are the only family a page can claim safely, and
135
+ * they are identical on macOS and Windows (Option = Alt), so one setting
136
+ * covers both.
137
+ */
138
+ captureHotkey?: string;
127
139
  /**
128
140
  * Whether to capture ambient runtime context (console errors/warnings,
129
141
  * uncaught errors, network failures, env snapshot) alongside new notes.
@@ -155,6 +167,7 @@ type ResolvedConfig = {
155
167
  visible: boolean | undefined;
156
168
  alwaysVisible: boolean;
157
169
  hotkey: string;
170
+ captureHotkey: string;
158
171
  captureContext: boolean;
159
172
  };
160
173
 
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { Qapture as QaStudio, Qapture, deleteQaDatabase, initQaStudio } from './chunk-ESRQOU32.js';
1
+ export { Qapture as QaStudio, Qapture, deleteQaDatabase, initQaStudio } from './chunk-QBBWY3BF.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
package/dist/next.cjs CHANGED
@@ -1,21 +1,21 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk6KAXMN77_cjs = require('./chunk-6KAXMN77.cjs');
4
+ var chunkUOUFJCPF_cjs = require('./chunk-UOUFJCPF.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "QaStudio", {
9
9
  enumerable: true,
10
- get: function () { return chunk6KAXMN77_cjs.Qapture; }
10
+ get: function () { return chunkUOUFJCPF_cjs.Qapture; }
11
11
  });
12
12
  Object.defineProperty(exports, "Qapture", {
13
13
  enumerable: true,
14
- get: function () { return chunk6KAXMN77_cjs.Qapture; }
14
+ get: function () { return chunkUOUFJCPF_cjs.Qapture; }
15
15
  });
16
16
  Object.defineProperty(exports, "initQaStudio", {
17
17
  enumerable: true,
18
- get: function () { return chunk6KAXMN77_cjs.initQaStudio; }
18
+ get: function () { return chunkUOUFJCPF_cjs.initQaStudio; }
19
19
  });
20
20
  //# sourceMappingURL=next.cjs.map
21
21
  //# sourceMappingURL=next.cjs.map
package/dist/next.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use client";
2
- export { Qapture as QaStudio, Qapture, initQaStudio } from './chunk-ESRQOU32.js';
2
+ export { Qapture as QaStudio, Qapture, initQaStudio } from './chunk-QBBWY3BF.js';
3
3
  //# sourceMappingURL=next.js.map
4
4
  //# sourceMappingURL=next.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk6KAXMN77_cjs = require('./chunk-6KAXMN77.cjs');
3
+ var chunkUOUFJCPF_cjs = require('./chunk-UOUFJCPF.cjs');
4
4
 
5
5
  // src/standalone.ts
6
6
  if (typeof window !== "undefined" && typeof customElements !== "undefined" && !customElements.get("qapture-widget")) {
@@ -38,7 +38,7 @@ if (typeof window !== "undefined" && typeof customElements !== "undefined" && !c
38
38
 
39
39
  Object.defineProperty(exports, "initQaStudio", {
40
40
  enumerable: true,
41
- get: function () { return chunk6KAXMN77_cjs.initQaStudio; }
41
+ get: function () { return chunkUOUFJCPF_cjs.initQaStudio; }
42
42
  });
43
43
  //# sourceMappingURL=standalone.cjs.map
44
44
  //# sourceMappingURL=standalone.cjs.map
@@ -1,4 +1,4 @@
1
- export { initQaStudio } from './chunk-ESRQOU32.js';
1
+ export { initQaStudio } from './chunk-QBBWY3BF.js';
2
2
 
3
3
  // src/standalone.ts
4
4
  if (typeof window !== "undefined" && typeof customElements !== "undefined" && !customElements.get("qapture-widget")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qapture2",
3
- "version": "0.3.0",
3
+ "version": "0.7.0",
4
4
  "description": "Drop-in, AI-aware in-browser QA capture widget. A tester annotates the live app (element/region + auto-screenshot + note), tracks a graded testing journey, and exports a ZIP your own coding agent reads. Ships zero AI.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -85,9 +85,13 @@
85
85
  "cli-detectors-smoke": "node scripts/cli-detectors-smoke.mjs",
86
86
  "selector-smoke": "node scripts/selector-smoke.mjs",
87
87
  "capture-timeout-smoke": "node scripts/capture-timeout-smoke.mjs",
88
+ "fs-sync-smoke": "node scripts/fs-sync-smoke.mjs",
88
89
  "standalone-smoke": "node scripts/standalone-smoke.mjs",
89
90
  "browser-test": "node scripts/browser-test.mjs",
90
- "verify": "npm run typecheck && npm run typecheck:bin && npm run build && npm run smoke && npm run export-smoke && npm run cli-smoke && npm run cli-detectors-smoke && npm run selector-smoke && npm run capture-timeout-smoke && npm run standalone-smoke",
91
+ "capture-accuracy-test": "node scripts/capture-accuracy-test.mjs",
92
+ "loop-features-test": "node scripts/loop-features-test.mjs",
93
+ "walk-test": "node scripts/walk-test.mjs",
94
+ "verify": "npm run typecheck && npm run typecheck:bin && npm run build && npm run smoke && npm run export-smoke && npm run cli-smoke && npm run cli-detectors-smoke && npm run selector-smoke && npm run capture-timeout-smoke && npm run fs-sync-smoke && npm run standalone-smoke",
91
95
  "play": "npm --prefix playground run dev"
92
96
  },
93
97
  "engines": {