pi-usereq 0.6.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/CHANGELOG.md +38 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/pi-usereq/docs/REFERENCES.md +24470 -4561
- package/pi-usereq/docs/REQUIREMENTS.md +70 -50
- package/pi-usereq/docs/WORKFLOW.md +112 -77
- package/src/core/config.ts +84 -29
- package/src/core/extension-status.ts +49 -177
- package/src/core/pi-notify.ts +473 -313
- package/src/core/settings-menu.ts +21 -1
- package/src/core/token-counter.ts +55 -3
- package/src/index.ts +735 -438
- package/src/resources/images/favicon.svg +21 -0
- package/src/resources/images/pi.dev.png +0 -0
- package/tests/debug-extension-harness.test.ts +6 -6
- package/tests/extension-registration.test.ts +609 -129
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800">
|
|
3
|
+
<rect width="800" height="800" rx="120" fill="#09090b"/>
|
|
4
|
+
<path fill="#fff" fill-rule="evenodd" d="
|
|
5
|
+
M165.29 165.29
|
|
6
|
+
H517.36
|
|
7
|
+
V400
|
|
8
|
+
H400
|
|
9
|
+
V517.36
|
|
10
|
+
H282.65
|
|
11
|
+
V634.72
|
|
12
|
+
H165.29
|
|
13
|
+
Z
|
|
14
|
+
M282.65 282.65
|
|
15
|
+
V400
|
|
16
|
+
H400
|
|
17
|
+
V282.65
|
|
18
|
+
Z
|
|
19
|
+
"/>
|
|
20
|
+
<path fill="#fff" d="M517.36 400 H634.72 V634.72 H517.36 Z"/>
|
|
21
|
+
</svg>
|
|
Binary file
|
|
@@ -248,11 +248,11 @@ test("replaySessionStart captures active tools, statuses, and cwd semantics", as
|
|
|
248
248
|
assert.equal(report.effectiveProcessCwd, projectBase);
|
|
249
249
|
const normalizedBasePath = projectBase.split(path.sep).join("/");
|
|
250
250
|
assert.match(status, new RegExp(`<accent>base:</accent><warning>${normalizedBasePath.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}</warning>`));
|
|
251
|
-
assert.match(status, /<accent>context:<\/accent><
|
|
252
|
-
assert.match(status, /<accent>elapsed:<\/accent><warning
|
|
253
|
-
assert.match(status, /<accent>beep:<\/accent><warning>end,esc,err<\/warning>/);
|
|
251
|
+
assert.match(status, /<accent>context:<\/accent><warning>▕_▏<\/warning>/);
|
|
252
|
+
assert.match(status, /<accent>elapsed:<\/accent><warning>⏱︎ --:-- ⚑ --:-- ⌛︎--:--<\/warning>/);
|
|
254
253
|
assert.match(status, /<accent>sound:<\/accent><warning>none<\/warning>/);
|
|
255
|
-
assert.
|
|
254
|
+
assert.doesNotMatch(status, /<accent>beep:<\/accent>/);
|
|
255
|
+
assert.doesNotMatch(status, /<accent>pushover:<\/accent>/);
|
|
256
256
|
assert.doesNotMatch(status, /<accent>docs:<\/accent>/);
|
|
257
257
|
assert.doesNotMatch(status, /<accent>src:<\/accent>/);
|
|
258
258
|
assert.doesNotMatch(status, /<accent>tests:<\/accent>/);
|
|
@@ -287,7 +287,7 @@ test("replayCommand captures interactive UI side effects", async () => {
|
|
|
287
287
|
projectBase,
|
|
288
288
|
undefined,
|
|
289
289
|
{
|
|
290
|
-
selects: ["
|
|
290
|
+
selects: ["Enable tools", "Disable all configurable tools", "Save and close", "Save and close"],
|
|
291
291
|
inputs: [],
|
|
292
292
|
},
|
|
293
293
|
);
|
|
@@ -295,7 +295,7 @@ test("replayCommand captures interactive UI side effects", async () => {
|
|
|
295
295
|
assert.deepEqual(report.activeTools, []);
|
|
296
296
|
assert.ok(report.ui.notifications.some((entry) => entry.message === "Disabled all configurable active tools"));
|
|
297
297
|
assert.doesNotMatch(report.ui.statuses["pi-usereq"] ?? "", /<accent>tools:<\/accent>/);
|
|
298
|
-
assert.match(report.ui.statuses["pi-usereq"] ?? "", /<accent>elapsed:<\/accent><warning
|
|
298
|
+
assert.match(report.ui.statuses["pi-usereq"] ?? "", /<accent>elapsed:<\/accent><warning>⏱︎ --:-- ⚑ --:-- ⌛︎--:--<\/warning>/);
|
|
299
299
|
} finally {
|
|
300
300
|
fs.rmSync(projectBase, { recursive: true, force: true });
|
|
301
301
|
}
|