@akasecurity/cli 0.9.11 → 0.9.12
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/cli.js +4764 -3653
- package/extension/content.js +1 -1
- package/extension/manifest.json +1 -1
- package/native-host/host.js +1576 -870
- package/native-host/scan-worker.js +237 -18
- package/native-host/sync.js +333 -65
- package/package.json +5 -5
- package/web-ui/web-ui/.next/BUILD_ID +1 -1
- package/web-ui/web-ui/.next/app-build-manifest.json +87 -87
- package/web-ui/web-ui/.next/app-path-routes-manifest.json +5 -5
- package/web-ui/web-ui/.next/build-manifest.json +2 -2
- package/web-ui/web-ui/.next/prerender-manifest.json +3 -3
- package/web-ui/web-ui/.next/server/app/(app)/activity/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/activity/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/activity/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/data-shares/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/data-shares/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/data-shares/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/detections/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/detections/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/detections/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/[id]/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/[id]/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/[id]/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/new/page.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/new/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/new/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/page.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/exceptions/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/findings/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/findings/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/findings/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/inventory/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/inventory/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/inventory/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/policies/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/policies/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/policies/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/scan/page.js +3 -3
- package/web-ui/web-ui/.next/server/app/(app)/scan/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/scan/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/security/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/security/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/security/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/settings/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/settings/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/settings/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/updates/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/updates/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/updates/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/vault/page.js +2 -2
- package/web-ui/web-ui/.next/server/app/(app)/vault/page.js.nft.json +1 -1
- package/web-ui/web-ui/.next/server/app/(app)/vault/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app/_not-found.html +1 -1
- package/web-ui/web-ui/.next/server/app/_not-found.rsc +2 -2
- package/web-ui/web-ui/.next/server/app/index.html +1 -1
- package/web-ui/web-ui/.next/server/app/index.rsc +2 -2
- package/web-ui/web-ui/.next/server/app/page_client-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/app-paths-manifest.json +5 -5
- package/web-ui/web-ui/.next/server/chunks/{739.js → 121.js} +1 -1
- package/web-ui/web-ui/.next/server/chunks/290.js +6 -0
- package/web-ui/web-ui/.next/server/chunks/475.js +1 -1
- package/web-ui/web-ui/.next/server/chunks/589.js +1 -1
- package/web-ui/web-ui/.next/server/chunks/611.js +1015 -0
- package/web-ui/web-ui/.next/server/chunks/7.js +1 -1
- package/web-ui/web-ui/.next/server/chunks/816.js +1 -0
- package/web-ui/web-ui/.next/server/chunks/935.js +1 -1
- package/web-ui/web-ui/.next/server/chunks/968.js +1006 -0
- package/web-ui/web-ui/.next/server/functions-config-manifest.json +6 -6
- package/web-ui/web-ui/.next/server/middleware-manifest.json +5 -5
- package/web-ui/web-ui/.next/server/pages/404.html +1 -1
- package/web-ui/web-ui/.next/server/pages/500.html +1 -1
- package/web-ui/web-ui/.next/server/server-reference-manifest.js +1 -1
- package/web-ui/web-ui/.next/server/server-reference-manifest.json +1 -1
- package/web-ui/web-ui/.next/static/chunks/{526-026c69b926a17dbb.js → 526-f0156de7831566b3.js} +1 -1
- package/web-ui/web-ui/.next/static/chunks/674-d8237c5d0faa4a53.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/activity/page-a27c8937989448e4.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/data-shares/page-2b805f9e1f995092.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/detections/page-a87cfee370c4e0f4.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/{error-dead9507fc349f26.js → error-190085728a856072.js} +1 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/[id]/page-4e214491c7be8d43.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/new/page-c1bb992ee1f12566.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/page-f16ba40d88e414b1.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/findings/page-59c76da638f22b0e.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/inventory/page-c37447caf89a86e1.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/{layout-dc7ae7664dcdc3c5.js → layout-cb3c8c7b6b33414c.js} +1 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/policies/page-ab639e48f60ad7ee.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/scan/page-494614fccc8c62cc.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/security/page-a3095119b3e87341.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/settings/page-469613d499e41093.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/updates/page-5b32bd569c9569d9.js +1 -0
- package/web-ui/web-ui/.next/static/chunks/app/(app)/vault/page-3152ceb31f024b8d.js +1 -0
- package/web-ui/web-ui/.next/static/css/6e72259eccdf4435.css +2 -0
- package/web-ui/web-ui/dist/scan-worker.js +237 -18
- package/web-ui/web-ui/.next/server/chunks/471.js +0 -950
- package/web-ui/web-ui/.next/server/chunks/766.js +0 -6
- package/web-ui/web-ui/.next/server/chunks/851.js +0 -1
- package/web-ui/web-ui/.next/server/chunks/905.js +0 -959
- package/web-ui/web-ui/.next/static/chunks/907-2ba9428e7818b656.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/activity/page-c5a55618d187c906.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/data-shares/page-b1c76b8c00e1ae2a.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/detections/page-159167b47a005b33.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/[id]/page-5e872a82af85ef64.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/new/page-0695d0006518b2cb.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/exceptions/page-adec99f2f4bbc180.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/findings/page-d013384d2ddb3036.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/inventory/page-42c1b48a01fdecb0.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/policies/page-9b6d7cc4ce9fb33e.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/scan/page-f3ee9ecde06df153.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/security/page-24a003c709776317.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/settings/page-4ea49ce2e765fffb.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/updates/page-6c7b94b070de8986.js +0 -1
- package/web-ui/web-ui/.next/static/chunks/app/(app)/vault/page-f37ab8e1edc67663.js +0 -1
- package/web-ui/web-ui/.next/static/css/c6954dd65f2115e6.css +0 -2
- /package/web-ui/web-ui/.next/static/{osEmGZG6yEV-XkQlklt-B → PMeePXfXsQ2xxrXppySG_}/_buildManifest.js +0 -0
- /package/web-ui/web-ui/.next/static/{osEmGZG6yEV-XkQlklt-B → PMeePXfXsQ2xxrXppySG_}/_ssgManifest.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akasecurity/cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.12",
|
|
4
4
|
"description": "AI Traffic Control — local-first CLI to inspect and govern AI agent traffic on your machine",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"vitest": "^4.1.11",
|
|
46
46
|
"@akasecurity/dashboard-ui": "0.8.0",
|
|
47
47
|
"@akasecurity/detections": "0.8.0",
|
|
48
|
-
"@akasecurity/local-ops": "0.8.0",
|
|
49
48
|
"@akasecurity/eslint-config": "0.8.0",
|
|
49
|
+
"@akasecurity/local-ops": "0.8.0",
|
|
50
50
|
"@akasecurity/plugin-browser-extension": "0.9.4",
|
|
51
|
-
"@akasecurity/persistence": "0.8.0",
|
|
52
51
|
"@akasecurity/plugin-runtime": "0.8.0",
|
|
53
52
|
"@akasecurity/remote": "0.9.7",
|
|
53
|
+
"@akasecurity/persistence": "0.8.0",
|
|
54
54
|
"@akasecurity/schema": "0.8.0",
|
|
55
|
-
"@akasecurity/
|
|
56
|
-
"@akasecurity/
|
|
55
|
+
"@akasecurity/web-ui": "0.8.0",
|
|
56
|
+
"@akasecurity/plugin-sdk": "0.8.0"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"dev": "tsx src/cli.ts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
PMeePXfXsQ2xxrXppySG_
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
13
13
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
14
14
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
15
|
-
"static/css/
|
|
15
|
+
"static/css/6e72259eccdf4435.css",
|
|
16
16
|
"static/chunks/app/layout-d6718b04dff0ca9c.js"
|
|
17
17
|
],
|
|
18
18
|
"/page": [
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
29
29
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
30
30
|
"static/chunks/288-2743815300ed0872.js",
|
|
31
|
-
"static/chunks/526-
|
|
31
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
32
32
|
"static/chunks/399-6887e92996f64590.js",
|
|
33
|
-
"static/chunks/
|
|
34
|
-
"static/chunks/app/(app)/layout-
|
|
33
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
34
|
+
"static/chunks/app/(app)/layout-cb3c8c7b6b33414c.js"
|
|
35
35
|
],
|
|
36
36
|
"/(app)/error": [
|
|
37
37
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
@@ -39,46 +39,46 @@
|
|
|
39
39
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
40
40
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
41
41
|
"static/chunks/288-2743815300ed0872.js",
|
|
42
|
-
"static/chunks/526-
|
|
42
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
43
43
|
"static/chunks/399-6887e92996f64590.js",
|
|
44
|
-
"static/chunks/
|
|
45
|
-
"static/chunks/app/(app)/error-
|
|
44
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
45
|
+
"static/chunks/app/(app)/error-190085728a856072.js"
|
|
46
46
|
],
|
|
47
|
-
"/(app)/
|
|
47
|
+
"/(app)/activity/loading": [
|
|
48
48
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
49
49
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
50
50
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
51
51
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
52
52
|
"static/chunks/288-2743815300ed0872.js",
|
|
53
|
-
"static/chunks/app/(app)/
|
|
53
|
+
"static/chunks/app/(app)/activity/loading-5ae897a85d4509ca.js"
|
|
54
54
|
],
|
|
55
|
-
"/(app)/
|
|
55
|
+
"/(app)/activity/page": [
|
|
56
56
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
57
57
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
58
58
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
59
59
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
60
60
|
"static/chunks/288-2743815300ed0872.js",
|
|
61
|
-
"static/chunks/526-
|
|
62
|
-
"static/chunks/
|
|
63
|
-
"static/chunks/app/(app)/
|
|
61
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
62
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
63
|
+
"static/chunks/app/(app)/activity/page-a27c8937989448e4.js"
|
|
64
64
|
],
|
|
65
|
-
"/(app)/
|
|
65
|
+
"/(app)/data-shares/loading": [
|
|
66
66
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
67
67
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
68
68
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
69
69
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
70
70
|
"static/chunks/288-2743815300ed0872.js",
|
|
71
|
-
"static/chunks/app/(app)/
|
|
71
|
+
"static/chunks/app/(app)/data-shares/loading-5ae897a85d4509ca.js"
|
|
72
72
|
],
|
|
73
|
-
"/(app)/
|
|
73
|
+
"/(app)/data-shares/page": [
|
|
74
74
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
75
75
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
76
76
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
77
77
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
78
78
|
"static/chunks/288-2743815300ed0872.js",
|
|
79
|
-
"static/chunks/526-
|
|
80
|
-
"static/chunks/
|
|
81
|
-
"static/chunks/app/(app)/
|
|
79
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
80
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
81
|
+
"static/chunks/app/(app)/data-shares/page-2b805f9e1f995092.js"
|
|
82
82
|
],
|
|
83
83
|
"/(app)/exceptions/loading": [
|
|
84
84
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
@@ -88,61 +88,61 @@
|
|
|
88
88
|
"static/chunks/288-2743815300ed0872.js",
|
|
89
89
|
"static/chunks/app/(app)/exceptions/loading-5ae897a85d4509ca.js"
|
|
90
90
|
],
|
|
91
|
-
"/(app)/exceptions/
|
|
91
|
+
"/(app)/exceptions/[id]/loading": [
|
|
92
92
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
93
93
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
94
94
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
95
95
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
96
96
|
"static/chunks/288-2743815300ed0872.js",
|
|
97
|
-
"static/chunks/app/(app)/exceptions/
|
|
97
|
+
"static/chunks/app/(app)/exceptions/[id]/loading-5ae897a85d4509ca.js"
|
|
98
98
|
],
|
|
99
|
-
"/(app)/exceptions/
|
|
99
|
+
"/(app)/exceptions/[id]/page": [
|
|
100
100
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
101
101
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
102
102
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
103
103
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
104
104
|
"static/chunks/288-2743815300ed0872.js",
|
|
105
|
-
"static/chunks/526-
|
|
105
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
106
106
|
"static/chunks/399-6887e92996f64590.js",
|
|
107
|
-
"static/chunks/
|
|
108
|
-
"static/chunks/app/(app)/exceptions/
|
|
107
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
108
|
+
"static/chunks/app/(app)/exceptions/[id]/page-4e214491c7be8d43.js"
|
|
109
109
|
],
|
|
110
|
-
"/(app)/
|
|
110
|
+
"/(app)/detections/loading": [
|
|
111
111
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
112
112
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
113
113
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
114
114
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
115
115
|
"static/chunks/288-2743815300ed0872.js",
|
|
116
|
-
"static/chunks/app/(app)/
|
|
116
|
+
"static/chunks/app/(app)/detections/loading-5ae897a85d4509ca.js"
|
|
117
117
|
],
|
|
118
|
-
"/(app)/
|
|
118
|
+
"/(app)/detections/page": [
|
|
119
119
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
120
120
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
121
121
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
122
122
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
123
123
|
"static/chunks/288-2743815300ed0872.js",
|
|
124
|
-
"static/chunks/526-
|
|
125
|
-
"static/chunks/
|
|
126
|
-
"static/chunks/
|
|
127
|
-
"static/chunks/app/(app)/exceptions/[id]/page-5e872a82af85ef64.js"
|
|
124
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
125
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
126
|
+
"static/chunks/app/(app)/detections/page-a87cfee370c4e0f4.js"
|
|
128
127
|
],
|
|
129
|
-
"/(app)/
|
|
128
|
+
"/(app)/exceptions/new/loading": [
|
|
130
129
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
131
130
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
132
131
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
133
132
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
134
133
|
"static/chunks/288-2743815300ed0872.js",
|
|
135
|
-
"static/chunks/app/(app)/
|
|
134
|
+
"static/chunks/app/(app)/exceptions/new/loading-5ae897a85d4509ca.js"
|
|
136
135
|
],
|
|
137
|
-
"/(app)/
|
|
136
|
+
"/(app)/exceptions/new/page": [
|
|
138
137
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
139
138
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
140
139
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
141
140
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
142
141
|
"static/chunks/288-2743815300ed0872.js",
|
|
143
|
-
"static/chunks/526-
|
|
144
|
-
"static/chunks/
|
|
145
|
-
"static/chunks/
|
|
142
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
143
|
+
"static/chunks/399-6887e92996f64590.js",
|
|
144
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
145
|
+
"static/chunks/app/(app)/exceptions/new/page-c1bb992ee1f12566.js"
|
|
146
146
|
],
|
|
147
147
|
"/(app)/exceptions/page": [
|
|
148
148
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
@@ -150,138 +150,138 @@
|
|
|
150
150
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
151
151
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
152
152
|
"static/chunks/288-2743815300ed0872.js",
|
|
153
|
-
"static/chunks/526-
|
|
153
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
154
154
|
"static/chunks/399-6887e92996f64590.js",
|
|
155
|
-
"static/chunks/
|
|
156
|
-
"static/chunks/app/(app)/exceptions/page-
|
|
155
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
156
|
+
"static/chunks/app/(app)/exceptions/page-f16ba40d88e414b1.js"
|
|
157
157
|
],
|
|
158
|
-
"/(app)/
|
|
158
|
+
"/(app)/scan/loading": [
|
|
159
159
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
160
160
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
161
161
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
162
162
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
163
163
|
"static/chunks/288-2743815300ed0872.js",
|
|
164
|
-
"static/chunks/app/(app)/
|
|
164
|
+
"static/chunks/app/(app)/scan/loading-5ae897a85d4509ca.js"
|
|
165
165
|
],
|
|
166
|
-
"/(app)/
|
|
166
|
+
"/(app)/scan/page": [
|
|
167
167
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
168
168
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
169
169
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
170
170
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
171
171
|
"static/chunks/288-2743815300ed0872.js",
|
|
172
|
-
"static/chunks/526-
|
|
173
|
-
"static/chunks/
|
|
174
|
-
"static/chunks/
|
|
172
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
173
|
+
"static/chunks/399-6887e92996f64590.js",
|
|
174
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
175
|
+
"static/chunks/app/(app)/scan/page-494614fccc8c62cc.js"
|
|
175
176
|
],
|
|
176
|
-
"/(app)/
|
|
177
|
+
"/(app)/inventory/loading": [
|
|
177
178
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
178
179
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
179
180
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
180
181
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
181
182
|
"static/chunks/288-2743815300ed0872.js",
|
|
182
|
-
"static/chunks/app/(app)/
|
|
183
|
+
"static/chunks/app/(app)/inventory/loading-5ae897a85d4509ca.js"
|
|
183
184
|
],
|
|
184
|
-
"/(app)/
|
|
185
|
+
"/(app)/inventory/page": [
|
|
185
186
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
186
187
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
187
188
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
188
189
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
189
190
|
"static/chunks/288-2743815300ed0872.js",
|
|
190
|
-
"static/chunks/526-
|
|
191
|
-
"static/chunks/
|
|
192
|
-
"static/chunks/
|
|
193
|
-
"static/chunks/app/(app)/findings/page-d013384d2ddb3036.js"
|
|
191
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
192
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
193
|
+
"static/chunks/app/(app)/inventory/page-c37447caf89a86e1.js"
|
|
194
194
|
],
|
|
195
|
-
"/(app)/
|
|
195
|
+
"/(app)/policies/loading": [
|
|
196
196
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
197
197
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
198
198
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
199
199
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
200
200
|
"static/chunks/288-2743815300ed0872.js",
|
|
201
|
-
"static/chunks/app/(app)/
|
|
201
|
+
"static/chunks/app/(app)/policies/loading-5ae897a85d4509ca.js"
|
|
202
202
|
],
|
|
203
|
-
"/(app)/
|
|
203
|
+
"/(app)/policies/page": [
|
|
204
204
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
205
205
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
206
206
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
207
207
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
208
208
|
"static/chunks/288-2743815300ed0872.js",
|
|
209
|
-
"static/chunks/526-
|
|
210
|
-
"static/chunks/
|
|
211
|
-
"static/chunks/app/(app)/
|
|
209
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
210
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
211
|
+
"static/chunks/app/(app)/policies/page-ab639e48f60ad7ee.js"
|
|
212
212
|
],
|
|
213
|
-
"/(app)/
|
|
213
|
+
"/(app)/findings/loading": [
|
|
214
214
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
215
215
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
216
216
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
217
217
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
218
218
|
"static/chunks/288-2743815300ed0872.js",
|
|
219
|
-
"static/chunks/app/(app)/
|
|
219
|
+
"static/chunks/app/(app)/findings/loading-5ae897a85d4509ca.js"
|
|
220
220
|
],
|
|
221
|
-
"/(app)/
|
|
221
|
+
"/(app)/findings/page": [
|
|
222
222
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
223
223
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
224
224
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
225
225
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
226
226
|
"static/chunks/288-2743815300ed0872.js",
|
|
227
|
-
"static/chunks/526-
|
|
227
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
228
228
|
"static/chunks/399-6887e92996f64590.js",
|
|
229
|
-
"static/chunks/
|
|
230
|
-
"static/chunks/app/(app)/
|
|
229
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
230
|
+
"static/chunks/app/(app)/findings/page-59c76da638f22b0e.js"
|
|
231
231
|
],
|
|
232
|
-
"/(app)/
|
|
232
|
+
"/(app)/settings/loading": [
|
|
233
233
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
234
234
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
235
235
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
236
236
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
237
237
|
"static/chunks/288-2743815300ed0872.js",
|
|
238
|
-
"static/chunks/app/(app)/
|
|
238
|
+
"static/chunks/app/(app)/settings/loading-5ae897a85d4509ca.js"
|
|
239
239
|
],
|
|
240
|
-
"/(app)/
|
|
240
|
+
"/(app)/settings/page": [
|
|
241
241
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
242
242
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
243
243
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
244
244
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
245
245
|
"static/chunks/288-2743815300ed0872.js",
|
|
246
|
-
"static/chunks/526-
|
|
247
|
-
"static/chunks/
|
|
248
|
-
"static/chunks/app/(app)/
|
|
246
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
247
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
248
|
+
"static/chunks/app/(app)/settings/page-469613d499e41093.js"
|
|
249
249
|
],
|
|
250
|
-
"/(app)/
|
|
250
|
+
"/(app)/security/loading": [
|
|
251
251
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
252
252
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
253
253
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
254
254
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
255
255
|
"static/chunks/288-2743815300ed0872.js",
|
|
256
|
-
"static/chunks/app/(app)/
|
|
256
|
+
"static/chunks/app/(app)/security/loading-5ae897a85d4509ca.js"
|
|
257
257
|
],
|
|
258
|
-
"/(app)/
|
|
258
|
+
"/(app)/security/page": [
|
|
259
259
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
260
260
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
261
261
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
262
262
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
263
263
|
"static/chunks/288-2743815300ed0872.js",
|
|
264
|
-
"static/chunks/526-
|
|
265
|
-
"static/chunks/
|
|
266
|
-
"static/chunks/app/(app)/
|
|
264
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
265
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
266
|
+
"static/chunks/app/(app)/security/page-a3095119b3e87341.js"
|
|
267
267
|
],
|
|
268
|
-
"/(app)/
|
|
268
|
+
"/(app)/vault/loading": [
|
|
269
269
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
270
270
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
271
271
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
272
272
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
273
273
|
"static/chunks/288-2743815300ed0872.js",
|
|
274
|
-
"static/chunks/app/(app)/
|
|
274
|
+
"static/chunks/app/(app)/vault/loading-5ae897a85d4509ca.js"
|
|
275
275
|
],
|
|
276
|
-
"/(app)/
|
|
276
|
+
"/(app)/vault/page": [
|
|
277
277
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
278
278
|
"static/chunks/52b9c8c1-87132a73d61bdb69.js",
|
|
279
279
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
280
280
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
281
281
|
"static/chunks/288-2743815300ed0872.js",
|
|
282
|
-
"static/chunks/526-
|
|
283
|
-
"static/chunks/
|
|
284
|
-
"static/chunks/app/(app)/
|
|
282
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
283
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
284
|
+
"static/chunks/app/(app)/vault/page-3152ceb31f024b8d.js"
|
|
285
285
|
],
|
|
286
286
|
"/(app)/updates/loading": [
|
|
287
287
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
@@ -297,9 +297,9 @@
|
|
|
297
297
|
"static/chunks/563-a96f29a2819589cb.js",
|
|
298
298
|
"static/chunks/main-app-ecdeb13a427413ee.js",
|
|
299
299
|
"static/chunks/288-2743815300ed0872.js",
|
|
300
|
-
"static/chunks/526-
|
|
301
|
-
"static/chunks/
|
|
302
|
-
"static/chunks/app/(app)/updates/page-
|
|
300
|
+
"static/chunks/526-f0156de7831566b3.js",
|
|
301
|
+
"static/chunks/674-d8237c5d0faa4a53.js",
|
|
302
|
+
"static/chunks/app/(app)/updates/page-5b32bd569c9569d9.js"
|
|
303
303
|
]
|
|
304
304
|
}
|
|
305
305
|
}
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"/_not-found/page": "/_not-found",
|
|
3
3
|
"/icon.svg/route": "/icon.svg",
|
|
4
4
|
"/page": "/",
|
|
5
|
-
"/(app)/data-shares/page": "/data-shares",
|
|
6
5
|
"/(app)/activity/page": "/activity",
|
|
7
|
-
"/(app)/
|
|
6
|
+
"/(app)/data-shares/page": "/data-shares",
|
|
8
7
|
"/(app)/exceptions/[id]/page": "/exceptions/[id]",
|
|
9
8
|
"/(app)/detections/page": "/detections",
|
|
9
|
+
"/(app)/exceptions/new/page": "/exceptions/new",
|
|
10
10
|
"/(app)/exceptions/page": "/exceptions",
|
|
11
|
+
"/(app)/scan/page": "/scan",
|
|
12
|
+
"/(app)/inventory/page": "/inventory",
|
|
11
13
|
"/(app)/policies/page": "/policies",
|
|
12
14
|
"/(app)/findings/page": "/findings",
|
|
13
15
|
"/(app)/settings/page": "/settings",
|
|
14
|
-
"/(app)/scan/page": "/scan",
|
|
15
|
-
"/(app)/vault/page": "/vault",
|
|
16
|
-
"/(app)/inventory/page": "/inventory",
|
|
17
16
|
"/(app)/security/page": "/security",
|
|
17
|
+
"/(app)/vault/page": "/vault",
|
|
18
18
|
"/(app)/updates/page": "/updates"
|
|
19
19
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"devFiles": [],
|
|
6
6
|
"ampDevFiles": [],
|
|
7
7
|
"lowPriorityFiles": [
|
|
8
|
-
"static/
|
|
9
|
-
"static/
|
|
8
|
+
"static/PMeePXfXsQ2xxrXppySG_/_buildManifest.js",
|
|
9
|
+
"static/PMeePXfXsQ2xxrXppySG_/_ssgManifest.js"
|
|
10
10
|
],
|
|
11
11
|
"rootMainFiles": [
|
|
12
12
|
"static/chunks/webpack-f10501a57c4d919d.js",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"dynamicRoutes": {},
|
|
84
84
|
"notFoundRoutes": [],
|
|
85
85
|
"preview": {
|
|
86
|
-
"previewModeId": "
|
|
87
|
-
"previewModeSigningKey": "
|
|
88
|
-
"previewModeEncryptionKey": "
|
|
86
|
+
"previewModeId": "937d4567d5cecdf33723a04a51885ef6",
|
|
87
|
+
"previewModeSigningKey": "49d6f576ecd2a304afdcf6b9a190de32714a7812a1bf7e7b220be79d04271dbb",
|
|
88
|
+
"previewModeEncryptionKey": "4c5374efb8b6bed4e04f935e7f5905340b4b0de9e8d0757636e8a31e72036cbe"
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{var a={};a.id=845,a.ids=[845],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20440:(a,b,c)=>{"use strict";c.d(b,{Y:()=>f});var d=c(1505),e=c(17737);function f(a,b,c=300){let{push:g}=(0,e.n)(),[h,i]=(0,d.useState)(a),j=(0,d.useRef)(a),k=(0,d.useRef)(null);(0,d.useRef)(b);let l=(0,d.useCallback)(()=>{k.current&&(clearTimeout(k.current),k.current=null)},[]),m=(0,d.useCallback)(a=>{l(),j.current=a.trim(),i(a)},[l]);return{query:h,setQuery:i,onNavigate:m}}},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28100:(a,b,c)=>{Promise.resolve().then(c.bind(c,32071)),Promise.resolve().then(c.bind(c,39904)),Promise.resolve().then(c.bind(c,3867)),Promise.resolve().then(c.bind(c,12278)),Promise.resolve().then(c.bind(c,33348)),Promise.resolve().then(c.bind(c,46450)),Promise.resolve().then(c.bind(c,79568)),Promise.resolve().then(c.bind(c,65722)),Promise.resolve().then(c.bind(c,76832)),Promise.resolve().then(c.bind(c,96336)),Promise.resolve().then(c.bind(c,62935)),Promise.resolve().then(c.bind(c,82061)),Promise.resolve().then(c.bind(c,43891)),Promise.resolve().then(c.bind(c,89431)),Promise.resolve().then(c.bind(c,30208)),Promise.resolve().then(c.bind(c,25822)),Promise.resolve().then(c.bind(c,25798)),Promise.resolve().then(c.bind(c,28300)),Promise.resolve().then(c.bind(c,94115)),Promise.resolve().then(c.bind(c,65850)),Promise.resolve().then(c.bind(c,29685)),Promise.resolve().then(c.bind(c,34751)),Promise.resolve().then(c.bind(c,39015)),Promise.resolve().then(c.bind(c,11975)),Promise.resolve().then(c.bind(c,66365)),Promise.resolve().then(c.bind(c,3469)),Promise.resolve().then(c.bind(c,50742)),Promise.resolve().then(c.bind(c,70608)),Promise.resolve().then(c.bind(c,92571)),Promise.resolve().then(c.bind(c,24226)),Promise.resolve().then(c.bind(c,66635)),Promise.resolve().then(c.bind(c,49819)),Promise.resolve().then(c.bind(c,75141)),Promise.resolve().then(c.bind(c,62632)),Promise.resolve().then(c.bind(c,27482)),Promise.resolve().then(c.bind(c,71044)),Promise.resolve().then(c.bind(c,80243)),Promise.resolve().then(c.bind(c,69332)),Promise.resolve().then(c.bind(c,41954)),Promise.resolve().then(c.bind(c,9712)),Promise.resolve().then(c.bind(c,15613)),Promise.resolve().then(c.bind(c,15512)),Promise.resolve().then(c.bind(c,4826)),Promise.resolve().then(c.bind(c,85242)),Promise.resolve().then(c.bind(c,59865)),Promise.resolve().then(c.bind(c,56037)),Promise.resolve().then(c.bind(c,27138)),Promise.resolve().then(c.bind(c,3133)),Promise.resolve().then(c.bind(c,51977)),Promise.resolve().then(c.bind(c,61651)),Promise.resolve().then(c.bind(c,16069)),Promise.resolve().then(c.bind(c,2558)),Promise.resolve().then(c.bind(c,78654)),Promise.resolve().then(c.bind(c,28784)),Promise.resolve().then(c.bind(c,55225))},28354:a=>{"use strict";a.exports=require("util")},28784:(a,b,c)=>{"use strict";c.d(b,{ActivityClient:()=>d});let d=(0,c(28326).registerClientReference)(function(){throw Error("Attempted to call ActivityClient() from the server but ActivityClient is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/web-ui/app/(app)/activity/ActivityClient.tsx","ActivityClient")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},33873:a=>{"use strict";a.exports=require("path")},33887:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>q,dynamic:()=>o,metadata:()=>p,runtime:()=>n});var d=c(13726),e=c(75851),f=c(97001),g=c(92536),h=c(55225),i=c(60667),j=c(53220),k=c(28784);let l=a=>Array.isArray(a)?a[0]??"":a??"";function m(a){return l(a.id).trim()}let n="nodejs",o="force-dynamic",p={title:"Activity"};async function q({searchParams:a}){let b,c=await a,n=l(c.q).trim(),o=(Array.isArray(b=c.harness)?b:b?[b]:[]).filter(a=>f.TUN.options.includes(a)),p=(0,e.OHL)(l(c.range)),q=m(c),r="1"===l(c.empty),s="full"===l(c.view)&&""!==m(c),t=(0,i.db)().activity,u=(0,j.W)(),v=Date.parse((0,e.oBs)(p,u)),[w,x,y,z]=await Promise.all([t.stats(),t.listSessions(function(a,b,c,d=!1,f){return{...a?{q:a}:{},...b.length?{harness:b}:{},...d?{}:{excludeEmpty:!0},from:(0,e.oBs)(c,f),limit:100}}(n,o,p,r,u)),t.tokenReports(v),t.harnessFacets(v)]),A=(0,f.W4_)(y),B=(0,e.QTF)(p),C=q||(x.items[0]?.id??""),[D,E]=C?await Promise.all([t.getSession(C),t.tokenReportForSession(C)]):[null,null],F=D?await (0,i.db)().findings.sessionFindingsCount(D.id):0,G=D&&F>0?{count:F,href:`/findings?session=${encodeURIComponent(D.id)}`}:null,H=[{icon:g.k3,value:w.sessionsToday.toLocaleString(),label:"Sessions today",tone:"neutral"},{icon:g.DQ,value:w.liveNow.toLocaleString(),label:"Live now",tone:"ok"},{icon:g.kp,value:w.toolCallsToday.toLocaleString(),label:"Tool calls",tone:"neutral"},{icon:g.Zu,value:w.findingsToday.toLocaleString(),label:"Findings triggered",tone:"critical"},{icon:g._G,value:w.egressToday.toLocaleString(),label:"Egress events",tone:"teal"}];return(0,d.jsxs)("div",{className:"flex h-full min-h-0 flex-col p-6",children:[(0,d.jsx)(e.ece,{title:"Activity",sub:"Your local harness sessions, reconstructed from the audit log",actions:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(e.rDU,{summary:A,isLoading:!1,error:null,rangeLabel:B}),(0,d.jsx)(h.RangeSelect,{value:p})]})}),(0,d.jsx)(e.s0y,{items:H,isLoading:!1}),(0,d.jsx)(k.ActivityClient,{sessions:x.items,detail:D,tokenReport:E,liveFindings:G,q:n,harness:o,harnessOptions:z,range:p,selectedId:C,hasMore:!!x.nextCursor,emptyCount:x.emptyCount,showEmpty:r,expanded:s,renderedAt:u})]})}},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},42988:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(13726),e=c(32502);function f(){return(0,d.jsxs)("div",{"aria-busy":!0,className:"flex h-full min-h-0 flex-col p-6",children:[(0,d.jsx)(e.vy,{actions:!0}),(0,d.jsx)(e.Rm,{}),(0,d.jsx)(e.TH,{})]})}},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53220:(a,b,c)=>{"use strict";function d(){return Date.now()}c.d(b,{W:()=>d})},55085:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>E.a,__next_app__:()=>K,handler:()=>M,pages:()=>J,routeModule:()=>L,tree:()=>I});var d=c(77670),e=c(17473),f=c(11863),g=c(64424),h=c(7978),i=c(37700),j=c(78851),k=c(76272),l=c(95558),m=c(96932),n=c(20186),o=c(63062),p=c(15081),q=c(22161),r=c(45282),s=c(261),t=c(62401),u=c(41966),v=c(26713),w=c(71864),x=c(17497),y=c(22093),z=c(90298),A=c(62694),B=c(4690),C=c(86439),D=c(55934),E=c.n(D),F=c(86326),G=c(207),H={};for(let a in F)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(H[a]=()=>F[a]);c.d(b,H);let I={children:["",{children:["(app)",{children:["activity",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,33887)),"/home/runner/work/ai-tc/ai-tc/web-ui/app/(app)/activity/page.tsx"]}]},{loading:[()=>Promise.resolve().then(c.bind(c,42988)),"/home/runner/work/ai-tc/ai-tc/web-ui/app/(app)/activity/loading.tsx"]}]},{layout:[()=>Promise.resolve().then(c.bind(c,96940)),"/home/runner/work/ai-tc/ai-tc/web-ui/app/(app)/layout.tsx"],error:[()=>Promise.resolve().then(c.bind(c,22022)),"/home/runner/work/ai-tc/ai-tc/web-ui/app/(app)/error.tsx"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,15080,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,14233,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,33180,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,54760))).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(c.bind(c,81009)),"/home/runner/work/ai-tc/ai-tc/web-ui/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,55934,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,15080,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,14233,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,33180,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,54760))).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]}.children,J=["/home/runner/work/ai-tc/ai-tc/web-ui/app/(app)/activity/page.tsx"],K={require:c,loadChunk:()=>Promise.resolve()},L=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/(app)/activity/page",pathname:"/activity",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:I},distDir:".next",relativeProjectDir:""});async function M(a,b,d){var D;let H="/(app)/activity/page";"/index"===H&&(H="/");let N=(0,h.getRequestMeta)(a,"postponed"),O=(0,h.getRequestMeta)(a,"minimalMode"),P=await L.prepare(a,b,{srcPage:H,multiZoneDraftMode:!1});if(!P)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:Q,query:R,params:S,parsedUrl:T,pageIsDynamic:U,buildManifest:V,nextFontManifest:W,reactLoadableManifest:X,serverActionsManifest:Y,clientReferenceManifest:Z,subresourceIntegrityManifest:$,prerenderManifest:_,isDraftMode:aa,resolvedPathname:ab,revalidateOnlyGenerated:ac,routerServerContext:ad,nextConfig:ae,interceptionRoutePatterns:af}=P,ag=T.pathname||"/",ah=(0,s.normalizeAppPath)(H),{isOnDemandRevalidate:ai}=P,aj=L.match(ag,_),ak=!!_.routes[ab],al=!!(aj||ak||_.routes[ah]),am=a.headers["user-agent"]||"",an=(0,v.getBotType)(am),ao=(0,q.isHtmlBotRequest)(a),ap=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[u.NEXT_ROUTER_PREFETCH_HEADER],aq=(0,h.getRequestMeta)(a,"isRSCRequest")??(0,n.f)(a.headers[u.RSC_HEADER]),ar=(0,t.getIsPossibleServerAction)(a),as=(0,m.checkIsAppPPREnabled)(ae.experimental.ppr)&&(null==(D=_.routes[ah]??_.dynamicRoutes[ah])?void 0:D.renderingMode)==="PARTIALLY_STATIC",at=!1,au=!1,av=as?N:void 0,aw=as&&aq&&!ap,ax=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ay=!am||(0,q.shouldServeStreamingMetadata)(am,ae.htmlLimitedBots);ao&&as&&(al=!1,ay=!1);let az=!0===L.isDev||!al||"string"==typeof N||aw,aA=ao&&as,aB=null;aa||!al||az||ar||av||aw||(aB=ab);let aC=aB;!aC&&L.isDev&&(aC=ab),L.isDev||aa||!al||!aq||aw||(0,k.d)(a.headers);let aD={...F,tree:I,pages:J,GlobalError:E(),handler:M,routeModule:L,__next_app__:K};Y&&Z&&(0,p.setReferenceManifestsSingleton)({page:H,clientReferenceManifest:Z,serverActionsManifest:Y,serverModuleMap:(0,r.createServerModuleMap)({serverActionsManifest:Y})});let aE=a.method||"GET",aF=(0,g.getTracer)(),aG=aF.getActiveScopeSpan();try{let f=L.getVaryHeader(ab,af);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return L.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aF.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aE} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aE} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:R,params:S,page:ah,sharedContext:{buildId:Q},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aD,Component:(0,j.T)(aD),params:S,routeModule:L,page:H,postponed:f,shouldWaitOnAllReady:aA,serveStreamingMetadata:ay,supportsDynamicResponse:"string"==typeof f||az,buildManifest:V,nextFontManifest:W,reactLoadableManifest:X,subresourceIntegrityManifest:$,serverActionsManifest:Y,clientReferenceManifest:Z,setIsrStatus:null==ad?void 0:ad.setIsrStatus,dir:c(33873).join(process.cwd(),L.relativeProjectDir),isDraftMode:aa,isRevalidate:al&&!f&&!aw,botType:an,isOnDemandRevalidate:ai,isPossibleServerAction:ar,assetPrefix:ae.assetPrefix,nextConfigOutput:ae.output,crossOrigin:ae.crossOrigin,trailingSlash:ae.trailingSlash,previewProps:_.preview,deploymentId:ae.deploymentId,enableTainting:ae.experimental.taint,htmlLimitedBots:ae.htmlLimitedBots,devtoolSegmentExplorer:ae.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ae.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ae.experimental.cacheLife,basePath:ae.basePath,serverActions:ae.experimental.serverActions,...at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:at}:{},experimental:{isRoutePPREnabled:as,expireTime:ae.expireTime,staleTimes:ae.experimental.staleTimes,cacheComponents:!!ae.experimental.cacheComponents,clientSegmentCache:!!ae.experimental.clientSegmentCache,clientParamParsing:!!ae.experimental.clientParamParsing,dynamicOnHover:!!ae.experimental.dynamicOnHover,inlineCss:!!ae.experimental.inlineCss,authInterrupts:!!ae.experimental.authInterrupts,clientTraceMetadata:ae.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>L.onRequestError(a,b,d,ad),err:(0,h.getRequestMeta)(a,"invokeError"),dev:L.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[z.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,al&&(null==n?void 0:n.revalidate)===0&&!L.isDev&&!as){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ab}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
|
|
2
|
-
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:w.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===L.isDev,l=c||b.writableEnded;if(ai&&ac&&!f&&!O)return(null==ad?void 0:ad.render404)?await ad.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(aj&&(j=(0,x.parseFallbackField)(aj.fallback)),j===x.FallbackMode.PRERENDER&&(0,v.isBot)(am)&&(!as||ao)&&(j=x.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ai=!0),ai&&(j!==x.FallbackMode.NOT_FOUND||f)&&(j=x.FallbackMode.BLOCKING_STATIC_RENDER),!O&&j!==x.FallbackMode.BLOCKING_STATIC_RENDER&&aC&&!l&&!aa&&U&&(k||!ak)){let b;if((k||aj)&&j===x.FallbackMode.NOT_FOUND)throw new C.NoFallbackError;if(as&&!aq){let c="string"==typeof(null==aj?void 0:aj.fallback)?aj.fallback:k?ah:null;if(b=await L.handleResponse({cacheKey:c,req:a,nextConfig:ae,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:_,isRoutePPREnabled:as,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||au?(0,o.u)(ah):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let n=ai||g||!av?void 0:av;if(at&&void 0!==n)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:w.CachedRouteKind.PAGES,html:y.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=U&&as&&((0,h.getRequestMeta)(a,"renderFallbackShell")||au)?(0,o.u)(ag):null;return m({span:i,postponed:n,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,o=await L.handleResponse({cacheKey:aB,responseGenerator:a=>n({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ai,isRoutePPREnabled:as,req:a,nextConfig:ae,prerenderManifest:_,waitUntil:d.waitUntil});if(aa&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),L.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!o){if(aB)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=o.value)?void 0:f.kind)!==w.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=o.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof o.value.postponed;al&&!aw&&(!p||ap)&&(O||b.setHeader("x-nextjs-cache",ai?"REVALIDATED":o.isMiss?"MISS":o.isStale?"STALE":"HIT"),b.setHeader(u.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=o;if(av)l={revalidate:0,expire:void 0};else if(O&&aq&&!ap&&as)l={revalidate:0,expire:void 0};else if(!L.isDev)if(aa)l={revalidate:0,expire:void 0};else if(al){if(o.cacheControl)if("number"==typeof o.cacheControl.revalidate){if(o.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${o.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:o.cacheControl.revalidate,expire:(null==(j=o.cacheControl)?void 0:j.expire)??ae.expireTime}}else l={revalidate:z.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(o.cacheControl=l,"string"==typeof ax&&(null==q?void 0:q.kind)===w.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(u.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[z.NEXT_CACHE_TAGS_HEADER];O&&al&&c&&"string"==typeof c&&b.setHeader(z.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ax);return void 0!==d?(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.fromStatic(d,u.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl}):(b.statusCode=204,(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.EMPTY,cacheControl:o.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...o,value:{...o.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&av)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(O&&al||delete a[z.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[z.NEXT_CACHE_TAGS_HEADER];if(O&&al&&s&&"string"==typeof s&&b.setHeader(z.NEXT_CACHE_TAGS_HEADER,s),!q.status||aq&&as||(b.statusCode=q.status),!O&&q.status&&G.RedirectStatusCode[q.status]&&aq&&(b.statusCode=200),p&&b.setHeader(u.NEXT_DID_POSTPONE_HEADER,"1"),aq&&!aa){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:q.html,cacheControl:aw?{revalidate:0,expire:void 0}:o.cacheControl})}return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.fromStatic(q.rscData,u.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl})}let t=q.html;if(!p||O||aq)return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:o.cacheControl});if(at)return t.push(new ReadableStream({start(a){a.enqueue(A.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}});let v=new TransformStream;return t.push(v.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==w.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(v.writable)}).catch(a=>{v.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}})};if(!aG)return await aF.withPropagatedContext(a.headers,()=>aF.trace(i.BaseServerSpan.handleRequest,{spanName:`${aE} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aE,"http.target":a.url}},p));await p(aG)}catch(b){throw b instanceof C.NoFallbackError||await L.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:al,isOnDemandRevalidate:ai})},ad),b}}},55225:(a,b,c)=>{"use strict";c.d(b,{RangeSelect:()=>d});let d=(0,c(28326).registerClientReference)(function(){throw Error("Attempted to call RangeSelect() from the server but RangeSelect is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/web-ui/app/components/RangeSelect.tsx","RangeSelect")},60667:(a,b,c)=>{"use strict";c.d(b,{db:()=>f});var d=c(93142);let e=globalThis;function f(){if(e.__akaDb)return e.__akaDb;let a=(0,d.Ji)((0,d.KS)());return a.purgeSampleData(),e.__akaDb=a,a}},62919:(a,b,c)=>{"use strict";c.d(b,{RangeSelect:()=>i});var d=c(15008),e=c(93435),f=c(71378),g=c(50734),h=c(17737);function i({value:a}){let b=(0,g.usePathname)(),c=(0,g.useSearchParams)(),{isPending:i,push:j}=(0,h.n)();return(0,d.jsx)("span",{className:(0,f.cn)("inline-block rounded-md transition-shadow duration-150",i&&"ring-2 ring-primary/70"),children:(0,d.jsx)(e.$nP,{value:a,onChange:a=>{let d=new URLSearchParams(c.toString());d.set("range",a),j(`${b}?${d.toString()}`)}})})}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64900:(a,b,c)=>{Promise.resolve().then(c.bind(c,17289)),Promise.resolve().then(c.bind(c,6363)),Promise.resolve().then(c.bind(c,85641)),Promise.resolve().then(c.bind(c,58973)),Promise.resolve().then(c.bind(c,81610)),Promise.resolve().then(c.bind(c,93636)),Promise.resolve().then(c.bind(c,89904)),Promise.resolve().then(c.bind(c,53896)),Promise.resolve().then(c.bind(c,21462)),Promise.resolve().then(c.bind(c,50754)),Promise.resolve().then(c.bind(c,88461)),Promise.resolve().then(c.bind(c,46867)),Promise.resolve().then(c.bind(c,37769)),Promise.resolve().then(c.bind(c,95197)),Promise.resolve().then(c.bind(c,99798)),Promise.resolve().then(c.bind(c,16980)),Promise.resolve().then(c.bind(c,93224)),Promise.resolve().then(c.bind(c,90330)),Promise.resolve().then(c.bind(c,90241)),Promise.resolve().then(c.bind(c,62512)),Promise.resolve().then(c.bind(c,37231)),Promise.resolve().then(c.bind(c,15009)),Promise.resolve().then(c.bind(c,59609)),Promise.resolve().then(c.bind(c,18389)),Promise.resolve().then(c.bind(c,82731)),Promise.resolve().then(c.bind(c,17139)),Promise.resolve().then(c.bind(c,6824)),Promise.resolve().then(c.bind(c,58610)),Promise.resolve().then(c.bind(c,23757)),Promise.resolve().then(c.bind(c,71052)),Promise.resolve().then(c.bind(c,3121)),Promise.resolve().then(c.bind(c,10985)),Promise.resolve().then(c.bind(c,50467)),Promise.resolve().then(c.bind(c,16142)),Promise.resolve().then(c.bind(c,12696)),Promise.resolve().then(c.bind(c,93946)),Promise.resolve().then(c.bind(c,19037)),Promise.resolve().then(c.bind(c,16254)),Promise.resolve().then(c.bind(c,95896)),Promise.resolve().then(c.bind(c,80954)),Promise.resolve().then(c.bind(c,74835)),Promise.resolve().then(c.bind(c,76122)),Promise.resolve().then(c.bind(c,68788)),Promise.resolve().then(c.bind(c,75784)),Promise.resolve().then(c.bind(c,37827)),Promise.resolve().then(c.bind(c,5475)),Promise.resolve().then(c.bind(c,51260)),Promise.resolve().then(c.bind(c,49195)),Promise.resolve().then(c.bind(c,31527)),Promise.resolve().then(c.bind(c,42749)),Promise.resolve().then(c.bind(c,51775)),Promise.resolve().then(c.bind(c,16696)),Promise.resolve().then(c.bind(c,38564)),Promise.resolve().then(c.bind(c,98789)),Promise.resolve().then(c.bind(c,62919))},73024:a=>{"use strict";a.exports=require("node:fs")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},79868:a=>{"use strict";a.exports=require("node:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92536:(a,b,c)=>{"use strict";c.d(b,{DQ:()=>e.DQQ,Zu:()=>e.Zus,_G:()=>e._GS,cZ:()=>e.cZ5,k3:()=>e.k3y,kp:()=>g,np:()=>h});var d=c(13726),e=c(75851);let f={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round"},g=a=>(0,d.jsxs)("svg",{...f,...a,children:[(0,d.jsx)("path",{d:"M8 6h12M8 12h12M8 18h12"}),(0,d.jsx)("circle",{cx:"3.6",cy:"6",r:"1.1",fill:"currentColor",stroke:"none"}),(0,d.jsx)("circle",{cx:"3.6",cy:"12",r:"1.1",fill:"currentColor",stroke:"none"}),(0,d.jsx)("circle",{cx:"3.6",cy:"18",r:"1.1",fill:"currentColor",stroke:"none"})]}),h=a=>(0,d.jsx)("svg",{...f,...a,children:(0,d.jsx)("path",{d:"M3 12h4l3 8 4-16 3 8h4"})})},98789:(a,b,c)=>{"use strict";c.d(b,{ActivityClient:()=>k});var d=c(15008),e=c(93435),f=c(71378),g=c(50734),h=c(1505),i=c(17737),j=c(20440);function k({sessions:a,detail:b,tokenReport:c,liveFindings:k,q:l,harness:m,harnessOptions:n,range:o,selectedId:p,hasMore:q,emptyCount:r,showEmpty:s,expanded:t,renderedAt:u}){let v=(0,e.a5B)(u),w=(0,g.usePathname)(),{isPending:x,push:y,replace:z}=(0,i.n)(),A=b?.id??"",B=(0,h.useCallback)((a,b)=>{if("detections"===a){let a=new URLSearchParams;A&&a.set("session",A),b&&a.set("finding",b);let c=a.toString();return c?`/findings?${c}`:"/findings"}return"shares"===a?"/data-shares":"/inventory"},[A]),C=(0,h.useCallback)(a=>{let b=(function(a){let b=new URLSearchParams,c=a.q.trim();for(let d of(c&&b.set("q",c),a.harness))b.append("harness",d);return a.range!==e.spO&&b.set("range",a.range),a.id&&b.set("id",a.id),a.showEmpty&&b.set("empty","1"),a.expanded&&a.id&&b.set("view","full"),b})(a).toString();return b?`${w}?${b}`:w},[w]),{query:D,setQuery:E,onNavigate:F}=(0,j.Y)(l,a=>C({q:a,harness:m,range:o,showEmpty:s})),G=(0,h.useCallback)(a=>{F(a.q),y(C(a))},[F,y,C]),H=(0,h.useCallback)(a=>{let b=C({q:D,harness:m,range:o,id:p,showEmpty:s,expanded:a});F(D),(a?y:z)(b)},[C,F,y,z,D,m,o,p,s]),I={session:b,tokenReport:c,liveFindings:k,linkHref:B,isLoading:!1,error:null,renderedAt:v,toolHref:a=>{let b=new URLSearchParams;return b.set("view","flat"),A&&b.set("session",A),b.append("tool",a),`/findings?${b.toString()}`}};return(0,d.jsxs)("div",{"aria-busy":x,className:(0,f.cn)("flex min-h-0 flex-1 gap-4 transition-shadow duration-150",x&&"rounded-lg ring-2 ring-primary/70 ring-inset"),children:[(0,d.jsx)(f.Zp,{className:"flex w-85 shrink-0 flex-col overflow-hidden shadow-sm",children:(0,d.jsx)(e.md2,{renderedAt:v,sessions:a,selectedId:p,onSelect:a=>{G({q:D,harness:m,range:o,id:a,showEmpty:s})},query:D,onQuery:E,harness:m,harnessOptions:n,onHarness:a=>{G({q:D,harness:a,range:o,showEmpty:s})},isLoading:!1,error:null,hasMore:q,emptyCount:r,showEmpty:s,onToggleEmpty:()=>{G({q:D,harness:m,range:o,id:p,showEmpty:!s})}})}),(0,d.jsx)(f.Zp,{className:"flex min-w-0 flex-1 flex-col overflow-hidden shadow-sm",children:(0,d.jsx)(e.LOI,{...I,onExpand:()=>{H(!0)}})}),(0,d.jsx)(f.cj,{open:t&&null!==b,onOpenChange:a=>{a||H(!1)},children:(0,d.jsxs)(f.h,{className:"w-320 max-w-[96%] gap-0 overflow-hidden p-0","aria-describedby":void 0,children:[(0,d.jsx)(f.qp,{className:"sr-only",children:b?`Session ${b.title}`:"Session"}),(0,d.jsx)(e.LOI,{...I,overlayClose:!0})]})})]})}c(75396)}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[19,743,589,471,851],()=>b(b.s=55085));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=845,a.ids=[845],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16371:(a,b,c)=>{Promise.resolve().then(c.bind(c,17289)),Promise.resolve().then(c.bind(c,6363)),Promise.resolve().then(c.bind(c,85641)),Promise.resolve().then(c.bind(c,58973)),Promise.resolve().then(c.bind(c,81610)),Promise.resolve().then(c.bind(c,93636)),Promise.resolve().then(c.bind(c,89904)),Promise.resolve().then(c.bind(c,53896)),Promise.resolve().then(c.bind(c,21462)),Promise.resolve().then(c.bind(c,50754)),Promise.resolve().then(c.bind(c,88461)),Promise.resolve().then(c.bind(c,46867)),Promise.resolve().then(c.bind(c,37769)),Promise.resolve().then(c.bind(c,95197)),Promise.resolve().then(c.bind(c,99798)),Promise.resolve().then(c.bind(c,16980)),Promise.resolve().then(c.bind(c,93224)),Promise.resolve().then(c.bind(c,90330)),Promise.resolve().then(c.bind(c,90241)),Promise.resolve().then(c.bind(c,62512)),Promise.resolve().then(c.bind(c,37231)),Promise.resolve().then(c.bind(c,15009)),Promise.resolve().then(c.bind(c,59609)),Promise.resolve().then(c.bind(c,18389)),Promise.resolve().then(c.bind(c,82731)),Promise.resolve().then(c.bind(c,17139)),Promise.resolve().then(c.bind(c,6824)),Promise.resolve().then(c.bind(c,58610)),Promise.resolve().then(c.bind(c,23757)),Promise.resolve().then(c.bind(c,36198)),Promise.resolve().then(c.bind(c,3121)),Promise.resolve().then(c.bind(c,10985)),Promise.resolve().then(c.bind(c,50467)),Promise.resolve().then(c.bind(c,16142)),Promise.resolve().then(c.bind(c,12696)),Promise.resolve().then(c.bind(c,93946)),Promise.resolve().then(c.bind(c,19037)),Promise.resolve().then(c.bind(c,16254)),Promise.resolve().then(c.bind(c,95896)),Promise.resolve().then(c.bind(c,80954)),Promise.resolve().then(c.bind(c,74835)),Promise.resolve().then(c.bind(c,76122)),Promise.resolve().then(c.bind(c,87921)),Promise.resolve().then(c.bind(c,68788)),Promise.resolve().then(c.bind(c,75784)),Promise.resolve().then(c.bind(c,3792)),Promise.resolve().then(c.bind(c,37827)),Promise.resolve().then(c.bind(c,5475)),Promise.resolve().then(c.bind(c,59294)),Promise.resolve().then(c.bind(c,51260)),Promise.resolve().then(c.bind(c,49195)),Promise.resolve().then(c.bind(c,31527)),Promise.resolve().then(c.bind(c,42749)),Promise.resolve().then(c.bind(c,51775)),Promise.resolve().then(c.bind(c,16696)),Promise.resolve().then(c.bind(c,38564)),Promise.resolve().then(c.bind(c,98789)),Promise.resolve().then(c.bind(c,62919))},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20440:(a,b,c)=>{"use strict";c.d(b,{Y:()=>f});var d=c(1505),e=c(17737);function f(a,b,c=300){let{push:g}=(0,e.n)(),[h,i]=(0,d.useState)(a),j=(0,d.useRef)(a),k=(0,d.useRef)(null);(0,d.useRef)(b);let l=(0,d.useCallback)(()=>{k.current&&(clearTimeout(k.current),k.current=null)},[]),m=(0,d.useCallback)(a=>{l(),j.current=a.trim(),i(a)},[l]);return{query:h,setQuery:i,onNavigate:m}}},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},28784:(a,b,c)=>{"use strict";c.d(b,{ActivityClient:()=>d});let d=(0,c(28326).registerClientReference)(function(){throw Error("Attempted to call ActivityClient() from the server but ActivityClient is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/web-ui/app/(app)/activity/ActivityClient.tsx","ActivityClient")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},33873:a=>{"use strict";a.exports=require("path")},33887:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>q,dynamic:()=>o,metadata:()=>p,runtime:()=>n});var d=c(13726),e=c(65816),f=c(58438),g=c(92536),h=c(55225),i=c(60667),j=c(53220),k=c(28784);let l=a=>Array.isArray(a)?a[0]??"":a??"";function m(a){return l(a.id).trim()}let n="nodejs",o="force-dynamic",p={title:"Activity"};async function q({searchParams:a}){let b,c=await a,n=l(c.q).trim(),o=(Array.isArray(b=c.harness)?b:b?[b]:[]).filter(a=>f.TUN.options.includes(a)),p=(0,e.OHL)(l(c.range)),q=m(c),r="1"===l(c.empty),s="full"===l(c.view)&&""!==m(c),t=(0,i.db)().activity,u=(0,j.W)(),v=Date.parse((0,e.oBs)(p,u)),[w,x,y,z]=await Promise.all([t.stats(),t.listSessions(function(a,b,c,d=!1,f){return{...a?{q:a}:{},...b.length?{harness:b}:{},...d?{}:{excludeEmpty:!0},from:(0,e.oBs)(c,f),limit:100}}(n,o,p,r,u)),t.tokenReports(v),t.harnessFacets(v)]),A=(0,f.W4_)(y),B=(0,e.QTF)(p),C=q||(x.items[0]?.id??""),[D,E]=C?await Promise.all([t.getSession(C),t.tokenReportForSession(C)]):[null,null],F=D?await (0,i.db)().findings.sessionFindingsCount(D.id):0,G=D&&F>0?{count:F,href:`/findings?session=${encodeURIComponent(D.id)}`}:null,H=[{icon:g.k3,value:w.sessionsToday.toLocaleString(),label:"Sessions today",tone:"neutral"},{icon:g.DQ,value:w.liveNow.toLocaleString(),label:"Live now",tone:"ok"},{icon:g.kp,value:w.toolCallsToday.toLocaleString(),label:"Tool calls",tone:"neutral"},{icon:g.Zu,value:w.findingsToday.toLocaleString(),label:"Findings triggered",tone:"critical"},{icon:g._G,value:w.egressToday.toLocaleString(),label:"Egress events",tone:"teal"}];return(0,d.jsxs)("div",{className:"flex h-full min-h-0 flex-col p-6",children:[(0,d.jsx)(e.ece,{title:"Activity",sub:"Your local harness sessions, reconstructed from the audit log",actions:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(e.rDU,{summary:A,isLoading:!1,error:null,rangeLabel:B}),(0,d.jsx)(h.RangeSelect,{value:p})]})}),(0,d.jsx)(e.s0y,{items:H,isLoading:!1}),(0,d.jsx)(k.ActivityClient,{sessions:x.items,detail:D,tokenReport:E,liveFindings:G,q:n,harness:o,harnessOptions:z,range:p,selectedId:C,hasMore:!!x.nextCursor,emptyCount:x.emptyCount,showEmpty:r,expanded:s,renderedAt:u})]})}},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},42988:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(13726),e=c(32502);function f(){return(0,d.jsxs)("div",{"aria-busy":!0,className:"flex h-full min-h-0 flex-col p-6",children:[(0,d.jsx)(e.vy,{actions:!0}),(0,d.jsx)(e.Rm,{}),(0,d.jsx)(e.TH,{})]})}},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53220:(a,b,c)=>{"use strict";function d(){return Date.now()}c.d(b,{W:()=>d})},55085:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>E.a,__next_app__:()=>K,handler:()=>M,pages:()=>J,routeModule:()=>L,tree:()=>I});var d=c(77670),e=c(17473),f=c(11863),g=c(64424),h=c(7978),i=c(37700),j=c(78851),k=c(76272),l=c(95558),m=c(96932),n=c(20186),o=c(63062),p=c(15081),q=c(22161),r=c(45282),s=c(261),t=c(62401),u=c(41966),v=c(26713),w=c(71864),x=c(17497),y=c(22093),z=c(90298),A=c(62694),B=c(4690),C=c(86439),D=c(55934),E=c.n(D),F=c(86326),G=c(207),H={};for(let a in F)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(H[a]=()=>F[a]);c.d(b,H);let I={children:["",{children:["(app)",{children:["activity",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,33887)),"/home/runner/work/ai-tc/ai-tc/web-ui/app/(app)/activity/page.tsx"]}]},{loading:[()=>Promise.resolve().then(c.bind(c,42988)),"/home/runner/work/ai-tc/ai-tc/web-ui/app/(app)/activity/loading.tsx"]}]},{layout:[()=>Promise.resolve().then(c.bind(c,96940)),"/home/runner/work/ai-tc/ai-tc/web-ui/app/(app)/layout.tsx"],error:[()=>Promise.resolve().then(c.bind(c,22022)),"/home/runner/work/ai-tc/ai-tc/web-ui/app/(app)/error.tsx"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,15080,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,14233,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,33180,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,54760))).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(c.bind(c,81009)),"/home/runner/work/ai-tc/ai-tc/web-ui/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,55934,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,15080,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,14233,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,33180,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,54760))).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]}.children,J=["/home/runner/work/ai-tc/ai-tc/web-ui/app/(app)/activity/page.tsx"],K={require:c,loadChunk:()=>Promise.resolve()},L=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/(app)/activity/page",pathname:"/activity",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:I},distDir:".next",relativeProjectDir:""});async function M(a,b,d){var D;let H="/(app)/activity/page";"/index"===H&&(H="/");let N=(0,h.getRequestMeta)(a,"postponed"),O=(0,h.getRequestMeta)(a,"minimalMode"),P=await L.prepare(a,b,{srcPage:H,multiZoneDraftMode:!1});if(!P)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:Q,query:R,params:S,parsedUrl:T,pageIsDynamic:U,buildManifest:V,nextFontManifest:W,reactLoadableManifest:X,serverActionsManifest:Y,clientReferenceManifest:Z,subresourceIntegrityManifest:$,prerenderManifest:_,isDraftMode:aa,resolvedPathname:ab,revalidateOnlyGenerated:ac,routerServerContext:ad,nextConfig:ae,interceptionRoutePatterns:af}=P,ag=T.pathname||"/",ah=(0,s.normalizeAppPath)(H),{isOnDemandRevalidate:ai}=P,aj=L.match(ag,_),ak=!!_.routes[ab],al=!!(aj||ak||_.routes[ah]),am=a.headers["user-agent"]||"",an=(0,v.getBotType)(am),ao=(0,q.isHtmlBotRequest)(a),ap=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[u.NEXT_ROUTER_PREFETCH_HEADER],aq=(0,h.getRequestMeta)(a,"isRSCRequest")??(0,n.f)(a.headers[u.RSC_HEADER]),ar=(0,t.getIsPossibleServerAction)(a),as=(0,m.checkIsAppPPREnabled)(ae.experimental.ppr)&&(null==(D=_.routes[ah]??_.dynamicRoutes[ah])?void 0:D.renderingMode)==="PARTIALLY_STATIC",at=!1,au=!1,av=as?N:void 0,aw=as&&aq&&!ap,ax=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ay=!am||(0,q.shouldServeStreamingMetadata)(am,ae.htmlLimitedBots);ao&&as&&(al=!1,ay=!1);let az=!0===L.isDev||!al||"string"==typeof N||aw,aA=ao&&as,aB=null;aa||!al||az||ar||av||aw||(aB=ab);let aC=aB;!aC&&L.isDev&&(aC=ab),L.isDev||aa||!al||!aq||aw||(0,k.d)(a.headers);let aD={...F,tree:I,pages:J,GlobalError:E(),handler:M,routeModule:L,__next_app__:K};Y&&Z&&(0,p.setReferenceManifestsSingleton)({page:H,clientReferenceManifest:Z,serverActionsManifest:Y,serverModuleMap:(0,r.createServerModuleMap)({serverActionsManifest:Y})});let aE=a.method||"GET",aF=(0,g.getTracer)(),aG=aF.getActiveScopeSpan();try{let f=L.getVaryHeader(ab,af);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return L.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aF.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aE} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aE} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:R,params:S,page:ah,sharedContext:{buildId:Q},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aD,Component:(0,j.T)(aD),params:S,routeModule:L,page:H,postponed:f,shouldWaitOnAllReady:aA,serveStreamingMetadata:ay,supportsDynamicResponse:"string"==typeof f||az,buildManifest:V,nextFontManifest:W,reactLoadableManifest:X,subresourceIntegrityManifest:$,serverActionsManifest:Y,clientReferenceManifest:Z,setIsrStatus:null==ad?void 0:ad.setIsrStatus,dir:c(33873).join(process.cwd(),L.relativeProjectDir),isDraftMode:aa,isRevalidate:al&&!f&&!aw,botType:an,isOnDemandRevalidate:ai,isPossibleServerAction:ar,assetPrefix:ae.assetPrefix,nextConfigOutput:ae.output,crossOrigin:ae.crossOrigin,trailingSlash:ae.trailingSlash,previewProps:_.preview,deploymentId:ae.deploymentId,enableTainting:ae.experimental.taint,htmlLimitedBots:ae.htmlLimitedBots,devtoolSegmentExplorer:ae.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ae.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ae.experimental.cacheLife,basePath:ae.basePath,serverActions:ae.experimental.serverActions,...at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:at}:{},experimental:{isRoutePPREnabled:as,expireTime:ae.expireTime,staleTimes:ae.experimental.staleTimes,cacheComponents:!!ae.experimental.cacheComponents,clientSegmentCache:!!ae.experimental.clientSegmentCache,clientParamParsing:!!ae.experimental.clientParamParsing,dynamicOnHover:!!ae.experimental.dynamicOnHover,inlineCss:!!ae.experimental.inlineCss,authInterrupts:!!ae.experimental.authInterrupts,clientTraceMetadata:ae.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>L.onRequestError(a,b,d,ad),err:(0,h.getRequestMeta)(a,"invokeError"),dev:L.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[z.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,al&&(null==n?void 0:n.revalidate)===0&&!L.isDev&&!as){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ab}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
|
|
2
|
+
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:w.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===L.isDev,l=c||b.writableEnded;if(ai&&ac&&!f&&!O)return(null==ad?void 0:ad.render404)?await ad.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(aj&&(j=(0,x.parseFallbackField)(aj.fallback)),j===x.FallbackMode.PRERENDER&&(0,v.isBot)(am)&&(!as||ao)&&(j=x.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ai=!0),ai&&(j!==x.FallbackMode.NOT_FOUND||f)&&(j=x.FallbackMode.BLOCKING_STATIC_RENDER),!O&&j!==x.FallbackMode.BLOCKING_STATIC_RENDER&&aC&&!l&&!aa&&U&&(k||!ak)){let b;if((k||aj)&&j===x.FallbackMode.NOT_FOUND)throw new C.NoFallbackError;if(as&&!aq){let c="string"==typeof(null==aj?void 0:aj.fallback)?aj.fallback:k?ah:null;if(b=await L.handleResponse({cacheKey:c,req:a,nextConfig:ae,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:_,isRoutePPREnabled:as,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||au?(0,o.u)(ah):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let n=ai||g||!av?void 0:av;if(at&&void 0!==n)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:w.CachedRouteKind.PAGES,html:y.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=U&&as&&((0,h.getRequestMeta)(a,"renderFallbackShell")||au)?(0,o.u)(ag):null;return m({span:i,postponed:n,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,o=await L.handleResponse({cacheKey:aB,responseGenerator:a=>n({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ai,isRoutePPREnabled:as,req:a,nextConfig:ae,prerenderManifest:_,waitUntil:d.waitUntil});if(aa&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),L.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!o){if(aB)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=o.value)?void 0:f.kind)!==w.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=o.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof o.value.postponed;al&&!aw&&(!p||ap)&&(O||b.setHeader("x-nextjs-cache",ai?"REVALIDATED":o.isMiss?"MISS":o.isStale?"STALE":"HIT"),b.setHeader(u.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=o;if(av)l={revalidate:0,expire:void 0};else if(O&&aq&&!ap&&as)l={revalidate:0,expire:void 0};else if(!L.isDev)if(aa)l={revalidate:0,expire:void 0};else if(al){if(o.cacheControl)if("number"==typeof o.cacheControl.revalidate){if(o.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${o.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:o.cacheControl.revalidate,expire:(null==(j=o.cacheControl)?void 0:j.expire)??ae.expireTime}}else l={revalidate:z.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(o.cacheControl=l,"string"==typeof ax&&(null==q?void 0:q.kind)===w.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(u.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[z.NEXT_CACHE_TAGS_HEADER];O&&al&&c&&"string"==typeof c&&b.setHeader(z.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ax);return void 0!==d?(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.fromStatic(d,u.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl}):(b.statusCode=204,(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.EMPTY,cacheControl:o.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...o,value:{...o.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&av)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(O&&al||delete a[z.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[z.NEXT_CACHE_TAGS_HEADER];if(O&&al&&s&&"string"==typeof s&&b.setHeader(z.NEXT_CACHE_TAGS_HEADER,s),!q.status||aq&&as||(b.statusCode=q.status),!O&&q.status&&G.RedirectStatusCode[q.status]&&aq&&(b.statusCode=200),p&&b.setHeader(u.NEXT_DID_POSTPONE_HEADER,"1"),aq&&!aa){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:q.html,cacheControl:aw?{revalidate:0,expire:void 0}:o.cacheControl})}return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.fromStatic(q.rscData,u.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl})}let t=q.html;if(!p||O||aq)return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:o.cacheControl});if(at)return t.push(new ReadableStream({start(a){a.enqueue(A.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}});let v=new TransformStream;return t.push(v.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==w.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(v.writable)}).catch(a=>{v.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}})};if(!aG)return await aF.withPropagatedContext(a.headers,()=>aF.trace(i.BaseServerSpan.handleRequest,{spanName:`${aE} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aE,"http.target":a.url}},p));await p(aG)}catch(b){throw b instanceof C.NoFallbackError||await L.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:al,isOnDemandRevalidate:ai})},ad),b}}},55225:(a,b,c)=>{"use strict";c.d(b,{RangeSelect:()=>d});let d=(0,c(28326).registerClientReference)(function(){throw Error("Attempted to call RangeSelect() from the server but RangeSelect is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ai-tc/ai-tc/web-ui/app/components/RangeSelect.tsx","RangeSelect")},60667:(a,b,c)=>{"use strict";c.d(b,{db:()=>f});var d=c(80943);let e=globalThis;function f(){if(e.__akaDb)return e.__akaDb;let a=(0,d.Ji)((0,d.KS)());return a.purgeSampleData(),e.__akaDb=a,a}},62919:(a,b,c)=>{"use strict";c.d(b,{RangeSelect:()=>i});var d=c(15008),e=c(9777),f=c(71378),g=c(50734),h=c(17737);function i({value:a}){let b=(0,g.usePathname)(),c=(0,g.useSearchParams)(),{isPending:i,push:j}=(0,h.n)();return(0,d.jsx)("span",{className:(0,f.cn)("inline-block rounded-md transition-shadow duration-150",i&&"ring-2 ring-primary/70"),children:(0,d.jsx)(e.$nP,{value:a,onChange:a=>{let d=new URLSearchParams(c.toString());d.set("range",a),j(`${b}?${d.toString()}`)}})})}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},79579:(a,b,c)=>{Promise.resolve().then(c.bind(c,32071)),Promise.resolve().then(c.bind(c,39904)),Promise.resolve().then(c.bind(c,3867)),Promise.resolve().then(c.bind(c,12278)),Promise.resolve().then(c.bind(c,33348)),Promise.resolve().then(c.bind(c,46450)),Promise.resolve().then(c.bind(c,79568)),Promise.resolve().then(c.bind(c,65722)),Promise.resolve().then(c.bind(c,76832)),Promise.resolve().then(c.bind(c,96336)),Promise.resolve().then(c.bind(c,62935)),Promise.resolve().then(c.bind(c,82061)),Promise.resolve().then(c.bind(c,43891)),Promise.resolve().then(c.bind(c,89431)),Promise.resolve().then(c.bind(c,30208)),Promise.resolve().then(c.bind(c,25822)),Promise.resolve().then(c.bind(c,25798)),Promise.resolve().then(c.bind(c,28300)),Promise.resolve().then(c.bind(c,94115)),Promise.resolve().then(c.bind(c,65850)),Promise.resolve().then(c.bind(c,29685)),Promise.resolve().then(c.bind(c,34751)),Promise.resolve().then(c.bind(c,39015)),Promise.resolve().then(c.bind(c,11975)),Promise.resolve().then(c.bind(c,66365)),Promise.resolve().then(c.bind(c,3469)),Promise.resolve().then(c.bind(c,50742)),Promise.resolve().then(c.bind(c,70608)),Promise.resolve().then(c.bind(c,92571)),Promise.resolve().then(c.bind(c,24226)),Promise.resolve().then(c.bind(c,66635)),Promise.resolve().then(c.bind(c,49819)),Promise.resolve().then(c.bind(c,75141)),Promise.resolve().then(c.bind(c,62632)),Promise.resolve().then(c.bind(c,27482)),Promise.resolve().then(c.bind(c,71044)),Promise.resolve().then(c.bind(c,80243)),Promise.resolve().then(c.bind(c,69332)),Promise.resolve().then(c.bind(c,41954)),Promise.resolve().then(c.bind(c,9712)),Promise.resolve().then(c.bind(c,15613)),Promise.resolve().then(c.bind(c,15512)),Promise.resolve().then(c.bind(c,41707)),Promise.resolve().then(c.bind(c,4826)),Promise.resolve().then(c.bind(c,85242)),Promise.resolve().then(c.bind(c,63474)),Promise.resolve().then(c.bind(c,59865)),Promise.resolve().then(c.bind(c,56037)),Promise.resolve().then(c.bind(c,21240)),Promise.resolve().then(c.bind(c,27138)),Promise.resolve().then(c.bind(c,3133)),Promise.resolve().then(c.bind(c,51977)),Promise.resolve().then(c.bind(c,61651)),Promise.resolve().then(c.bind(c,16069)),Promise.resolve().then(c.bind(c,2558)),Promise.resolve().then(c.bind(c,78654)),Promise.resolve().then(c.bind(c,28784)),Promise.resolve().then(c.bind(c,55225))},79868:a=>{"use strict";a.exports=require("node:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92536:(a,b,c)=>{"use strict";c.d(b,{DQ:()=>e.DQQ,Zu:()=>e.Zus,_G:()=>e._GS,cZ:()=>e.cZ5,k3:()=>e.k3y,kp:()=>g,np:()=>h});var d=c(13726),e=c(65816);let f={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round"},g=a=>(0,d.jsxs)("svg",{...f,...a,children:[(0,d.jsx)("path",{d:"M8 6h12M8 12h12M8 18h12"}),(0,d.jsx)("circle",{cx:"3.6",cy:"6",r:"1.1",fill:"currentColor",stroke:"none"}),(0,d.jsx)("circle",{cx:"3.6",cy:"12",r:"1.1",fill:"currentColor",stroke:"none"}),(0,d.jsx)("circle",{cx:"3.6",cy:"18",r:"1.1",fill:"currentColor",stroke:"none"})]}),h=a=>(0,d.jsx)("svg",{...f,...a,children:(0,d.jsx)("path",{d:"M3 12h4l3 8 4-16 3 8h4"})})},98789:(a,b,c)=>{"use strict";c.d(b,{ActivityClient:()=>k});var d=c(15008),e=c(9777),f=c(71378),g=c(50734),h=c(1505),i=c(17737),j=c(20440);function k({sessions:a,detail:b,tokenReport:c,liveFindings:k,q:l,harness:m,harnessOptions:n,range:o,selectedId:p,hasMore:q,emptyCount:r,showEmpty:s,expanded:t,renderedAt:u}){let v=(0,e.a5B)(u),w=(0,g.usePathname)(),{isPending:x,push:y,replace:z}=(0,i.n)(),A=b?.id??"",B=(0,h.useCallback)((a,b)=>{if("detections"===a){let a=new URLSearchParams;A&&a.set("session",A),b&&a.set("finding",b);let c=a.toString();return c?`/findings?${c}`:"/findings"}return"shares"===a?"/data-shares":"/inventory"},[A]),C=(0,h.useCallback)(a=>{let b=(function(a){let b=new URLSearchParams,c=a.q.trim();for(let d of(c&&b.set("q",c),a.harness))b.append("harness",d);return a.range!==e.spO&&b.set("range",a.range),a.id&&b.set("id",a.id),a.showEmpty&&b.set("empty","1"),a.expanded&&a.id&&b.set("view","full"),b})(a).toString();return b?`${w}?${b}`:w},[w]),{query:D,setQuery:E,onNavigate:F}=(0,j.Y)(l,a=>C({q:a,harness:m,range:o,showEmpty:s})),G=(0,h.useCallback)(a=>{F(a.q),y(C(a))},[F,y,C]),H=(0,h.useCallback)(a=>{let b=C({q:D,harness:m,range:o,id:p,showEmpty:s,expanded:a});F(D),(a?y:z)(b)},[C,F,y,z,D,m,o,p,s]),I={session:b,tokenReport:c,liveFindings:k,linkHref:B,isLoading:!1,error:null,renderedAt:v,toolHref:a=>{let b=new URLSearchParams;return b.set("view","flat"),A&&b.set("session",A),b.append("tool",a),`/findings?${b.toString()}`}};return(0,d.jsxs)("div",{"aria-busy":x,className:(0,f.cn)("flex min-h-0 flex-1 gap-4 transition-shadow duration-150",x&&"rounded-lg ring-2 ring-primary/70 ring-inset"),children:[(0,d.jsx)(f.Zp,{className:"flex w-85 shrink-0 flex-col overflow-hidden shadow-sm",children:(0,d.jsx)(e.md2,{renderedAt:v,sessions:a,selectedId:p,onSelect:a=>{G({q:D,harness:m,range:o,id:a,showEmpty:s})},query:D,onQuery:E,harness:m,harnessOptions:n,onHarness:a=>{G({q:D,harness:a,range:o,showEmpty:s})},isLoading:!1,error:null,hasMore:q,emptyCount:r,showEmpty:s,onToggleEmpty:()=>{G({q:D,harness:m,range:o,id:p,showEmpty:!s})}})}),(0,d.jsx)(f.Zp,{className:"flex min-w-0 flex-1 flex-col overflow-hidden shadow-sm",children:(0,d.jsx)(e.LOI,{...I,onExpand:()=>{H(!0)}})}),(0,d.jsx)(f.cj,{open:t&&null!==b,onOpenChange:a=>{a||H(!1)},children:(0,d.jsxs)(f.h,{className:"w-320 max-w-[96%] gap-0 overflow-hidden p-0","aria-describedby":void 0,children:[(0,d.jsx)(f.qp,{className:"sr-only",children:b?`Session ${b.title}`:"Session"}),(0,d.jsx)(e.LOI,{...I,overlayClose:!0})]})})]})}c(33414)}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[19,743,589,968,816],()=>b(b.s=55085));module.exports=c})();
|