@lyhue1991/pi-web 0.8.9 → 0.8.11
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/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +7 -6
- package/.next/build-manifest.json +2 -2
- package/.next/required-server-files.js +1 -1
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +6 -0
- package/.next/server/app/_global-error/page.js +3 -3
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +2 -2
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +3 -3
- package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
- package/.next/server/app/api/agent/[id]/events/route.js +2 -2
- package/.next/server/app/api/agent/[id]/route.js +1 -1
- package/.next/server/app/api/agent/new/route.js +1 -1
- package/.next/server/app/api/agent/running/events/route.js +2 -2
- package/.next/server/app/api/agent/running/route.js +1 -1
- package/.next/server/app/api/app-update/route.js +1 -0
- package/.next/server/app/api/app-update/route.js.nft.json +1 -0
- package/.next/server/app/api/app-update/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/auth/all-providers/route.js +1 -1
- package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
- package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/providers/route.js +1 -1
- package/.next/server/app/api/cwd/browse/route.js +1 -1
- package/.next/server/app/api/cwd/validate/route.js +1 -1
- package/.next/server/app/api/default-cwd/route.js +1 -1
- package/.next/server/app/api/file-index/route.js +1 -1
- package/.next/server/app/api/files/[...path]/route.js +1 -1
- package/.next/server/app/api/git/diff/route.js +1 -1
- package/.next/server/app/api/git/status/route.js +2 -2
- package/.next/server/app/api/home/route.js +1 -1
- package/.next/server/app/api/models/route.js +1 -1
- package/.next/server/app/api/models-config/catalog/route.js +1 -1
- package/.next/server/app/api/models-config/discover/route.js +1 -1
- package/.next/server/app/api/models-config/route.js +1 -1
- package/.next/server/app/api/models-config/test/route.js +1 -1
- package/.next/server/app/api/plugins/route.js +1 -1
- package/.next/server/app/api/project-trust/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js +3 -3
- package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/export/route.js +2 -2
- package/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
- package/.next/server/app/api/sessions/route.js +1 -1
- package/.next/server/app/api/skills/check/route.js +1 -1
- package/.next/server/app/api/skills/install/route.js +1 -1
- package/.next/server/app/api/skills/route.js +2 -2
- package/.next/server/app/api/skills/search/route.js +1 -1
- package/.next/server/app/api/skills/update/route.js +1 -1
- package/.next/server/app/api/worktrees/route.js +1 -1
- package/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +6 -6
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/index.segments/_full.segment.rsc +6 -6
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +3 -3
- package/.next/server/app/index.segments/_tree.segment.rsc +3 -3
- package/.next/server/app/manifest.webmanifest/route.js +2 -2
- package/.next/server/app/manifest.webmanifest.body +1 -1
- package/.next/server/app/page.js +12 -4
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +7 -6
- package/.next/server/chunks/2325.js +2 -2
- package/.next/server/chunks/5582.js +2 -2
- package/.next/server/chunks/6429.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/static/Y3wut-kJDLcCh4UZn-zRj/_buildManifest.js +1 -0
- package/.next/static/chunks/5830-005dcf9c56a25234.js +7 -0
- package/.next/static/chunks/app/{api/agent/[id]/bash-output/route-35860f4efe0047e5.js → _global-error/page-169a43802549110e.js} +1 -1
- package/.next/static/chunks/app/api/agent/[id]/{events/route-35860f4efe0047e5.js → bash-output/route-169a43802549110e.js} +1 -1
- package/.next/static/chunks/app/api/agent/[id]/{route-35860f4efe0047e5.js → events/route-169a43802549110e.js} +1 -1
- package/.next/static/chunks/app/{_global-error/page-35860f4efe0047e5.js → api/agent/[id]/route-169a43802549110e.js} +1 -1
- package/.next/static/chunks/app/api/agent/new/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/agent/running/events/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/agent/running/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/app-update/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/auth/all-providers/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/auth/login/[provider]/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/auth/providers/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/cwd/browse/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/cwd/validate/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/default-cwd/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/file-index/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/files/[...path]/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/git/diff/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/git/status/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/home/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/models/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/models-config/catalog/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/models-config/discover/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/models-config/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/models-config/test/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/plugins/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/project-trust/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/context/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/export/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/state/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/sessions/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/skills/check/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/skills/install/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/skills/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/skills/search/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/skills/update/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/api/worktrees/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/layout-d4ee15c25233e0ff.js +1 -0
- package/.next/static/chunks/app/manifest.webmanifest/route-169a43802549110e.js +1 -0
- package/.next/static/chunks/app/page-7e7db0fda0a48eb9.js +74 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-169a43802549110e.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-169a43802549110e.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-169a43802549110e.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-169a43802549110e.js +1 -0
- package/.next/static/css/{121a2cf33104c046.css → 4cbedad236d913cb.css} +1 -1
- package/.next/static/css/d37755afd25e5a62.css +1 -0
- package/.next/trace +6 -6
- package/.next/trace-build +1 -1
- package/.next/types/app/api/app-update/route.ts +351 -0
- package/.next/types/routes.d.ts +2 -1
- package/.next/types/validator.ts +9 -0
- package/README.ja.md +9 -1
- package/README.md +10 -1
- package/README.ru.md +9 -1
- package/README.zh-CN.md +9 -1
- package/package.json +5 -2
- package/public/sw.js +42 -0
- package/public/sw.test.mjs +86 -0
- package/.next/static/0higXHyDYAOyRelxENDyp/_buildManifest.js +0 -1
- package/.next/static/chunks/4948-5ec4f163df73e1c4.js +0 -1
- package/.next/static/chunks/app/api/agent/new/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/agent/running/events/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/agent/running/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/auth/all-providers/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/auth/login/[provider]/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/auth/providers/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/cwd/browse/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/cwd/validate/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/default-cwd/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/file-index/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/files/[...path]/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/git/diff/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/git/status/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/home/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/models/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/models-config/catalog/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/models-config/discover/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/models-config/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/models-config/test/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/plugins/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/project-trust/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/context/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/export/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/state/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/sessions/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/skills/check/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/skills/install/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/skills/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/skills/search/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/skills/update/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/api/worktrees/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/layout-31f2ba37eb37389a.js +0 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/app/page-e7bc895400a4e9ee.js +0 -72
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-35860f4efe0047e5.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-35860f4efe0047e5.js +0 -1
- package/.next/static/css/5abc1265b2e78c04.css +0 -1
- /package/.next/static/{0higXHyDYAOyRelxENDyp → Y3wut-kJDLcCh4UZn-zRj}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import assert from "node:assert/strict";
|
|
2
|
+
import test from "node:test";
|
|
3
|
+
|
|
4
|
+
const listeners = new Map();
|
|
5
|
+
globalThis.self = {
|
|
6
|
+
location: {
|
|
7
|
+
href: "https://pi.test/sw.js?v=test",
|
|
8
|
+
origin: "https://pi.test",
|
|
9
|
+
},
|
|
10
|
+
addEventListener: (type, listener) => listeners.set(type, listener),
|
|
11
|
+
clients: null,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
await import("./sw.js");
|
|
15
|
+
|
|
16
|
+
function dispatchNotificationClick(data) {
|
|
17
|
+
let pending;
|
|
18
|
+
let closed = false;
|
|
19
|
+
listeners.get("notificationclick")({
|
|
20
|
+
notification: {
|
|
21
|
+
data,
|
|
22
|
+
close: () => { closed = true; },
|
|
23
|
+
},
|
|
24
|
+
waitUntil: (promise) => { pending = promise; },
|
|
25
|
+
});
|
|
26
|
+
return { pending, wasClosed: () => closed };
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
test("notification click focuses an existing client at the session URL", async () => {
|
|
30
|
+
const calls = [];
|
|
31
|
+
const focusedClient = {
|
|
32
|
+
url: "https://pi.test/?session=session-1",
|
|
33
|
+
focus: async () => { calls.push("focus"); },
|
|
34
|
+
navigate: async () => assert.fail("exact client should not navigate"),
|
|
35
|
+
};
|
|
36
|
+
self.clients = {
|
|
37
|
+
matchAll: async () => [focusedClient],
|
|
38
|
+
openWindow: async () => assert.fail("existing client should be reused"),
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
const event = dispatchNotificationClick({ url: "/?session=session-1" });
|
|
42
|
+
await event.pending;
|
|
43
|
+
|
|
44
|
+
assert.equal(event.wasClosed(), true);
|
|
45
|
+
assert.deepEqual(calls, ["focus"]);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
test("notification click navigates an existing client to the session", async () => {
|
|
49
|
+
const calls = [];
|
|
50
|
+
const navigatedClient = {
|
|
51
|
+
focus: async () => { calls.push("focus"); },
|
|
52
|
+
};
|
|
53
|
+
const existingClient = {
|
|
54
|
+
url: "https://pi.test/?session=other-session",
|
|
55
|
+
navigate: async (url) => {
|
|
56
|
+
calls.push(["navigate", url]);
|
|
57
|
+
return navigatedClient;
|
|
58
|
+
},
|
|
59
|
+
focus: async () => assert.fail("the navigated client should be focused"),
|
|
60
|
+
};
|
|
61
|
+
self.clients = {
|
|
62
|
+
matchAll: async () => [existingClient],
|
|
63
|
+
openWindow: async () => assert.fail("existing client should be reused"),
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
const event = dispatchNotificationClick({ url: "/?session=session-1" });
|
|
67
|
+
await event.pending;
|
|
68
|
+
|
|
69
|
+
assert.deepEqual(calls, [
|
|
70
|
+
["navigate", "https://pi.test/?session=session-1"],
|
|
71
|
+
"focus",
|
|
72
|
+
]);
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
test("notification click opens a window and rejects cross-origin targets", async () => {
|
|
76
|
+
const opened = [];
|
|
77
|
+
self.clients = {
|
|
78
|
+
matchAll: async () => [],
|
|
79
|
+
openWindow: async (url) => { opened.push(url); },
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
const event = dispatchNotificationClick({ url: "https://example.com/redirect" });
|
|
83
|
+
await event.pending;
|
|
84
|
+
|
|
85
|
+
assert.deepEqual(opened, ["https://pi.test/"]);
|
|
86
|
+
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:31,errorRate:1e-4,numBits:595,numHashes:14,bitArray:[0,0,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,0,0,1,1,0,0,0,1,0,0,1,1,1,0,1,1,0,1,0,1,1,1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,0,0,0,0,0,0,1,1,0,0,1,0,1,1,0,1,0,1,1,0,0,1,1,0,0,1,0,0,0,1,1,0,0,1,0,0,1,1,0,0,1,0,1,0,0,1,0,1,0,1,0,1,1,1,0,0,1,0,1,1,0,1,0,0,0,1,0,0,1,0,1,1,1,1,0,0,1,1,0,0,0,1,0,0,1,1,1,0,1,1,1,1,0,0,0,0,0,1,1,0,1,1,0,0,1,1,1,1,0,0,0,0,1,0,1,0,1,0,0,1,0,0,0,0,0,1,0,1,0,1,1,0,0,0,1,0,1,0,1,1,1,1,0,1,1,0,1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,1,1,0,0,1,1,0,1,0,0,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