cursor-local-remote 0.1.10 → 0.1.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.
Files changed (109) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +58 -37
  3. package/.next/app-path-routes-manifest.json +5 -2
  4. package/.next/build-manifest.json +5 -5
  5. package/.next/prerender-manifest.json +22 -22
  6. package/.next/react-loadable-manifest.json +18 -0
  7. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  8. package/.next/server/app/_not-found.html +2 -2
  9. package/.next/server/app/_not-found.rsc +2 -2
  10. package/.next/server/app/api/chat/route.js +1 -1
  11. package/.next/server/app/api/chat/route.js.nft.json +1 -1
  12. package/.next/server/app/api/chat/route_client-reference-manifest.js +1 -1
  13. package/.next/server/app/api/git/route_client-reference-manifest.js +1 -1
  14. package/.next/server/app/api/info/route_client-reference-manifest.js +1 -1
  15. package/.next/server/app/api/models/route.js +2 -2
  16. package/.next/server/app/api/models/route_client-reference-manifest.js +1 -1
  17. package/.next/server/app/api/notifications/test/route.js +1 -1
  18. package/.next/server/app/api/notifications/test/route.js.nft.json +1 -1
  19. package/.next/server/app/api/notifications/test/route_client-reference-manifest.js +1 -1
  20. package/.next/server/app/api/projects/route.js +2 -2
  21. package/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
  22. package/.next/server/app/api/sessions/active/route_client-reference-manifest.js +1 -1
  23. package/.next/server/app/api/sessions/history/route.js +1 -1
  24. package/.next/server/app/api/sessions/history/route_client-reference-manifest.js +1 -1
  25. package/.next/server/app/api/sessions/route.js +2 -2
  26. package/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -1
  27. package/.next/server/app/api/sessions/watch/route.js +1 -1
  28. package/.next/server/app/api/sessions/watch/route_client-reference-manifest.js +1 -1
  29. package/.next/server/app/api/settings/route.js +2 -2
  30. package/.next/server/app/api/settings/route_client-reference-manifest.js +1 -1
  31. package/.next/server/app/api/terminal/input/route.js +3 -0
  32. package/.next/server/app/api/terminal/input/route.js.nft.json +1 -0
  33. package/.next/server/app/api/terminal/input/route_client-reference-manifest.js +1 -0
  34. package/.next/server/app/api/terminal/route.js +3 -0
  35. package/.next/server/app/api/terminal/route.js.nft.json +1 -0
  36. package/.next/server/app/api/terminal/route_client-reference-manifest.js +1 -0
  37. package/.next/server/app/api/terminal/stream/route.js +6 -0
  38. package/.next/server/app/api/terminal/stream/route.js.nft.json +1 -0
  39. package/.next/server/app/api/terminal/stream/route_client-reference-manifest.js +1 -0
  40. package/.next/server/app/api/upload/route_client-reference-manifest.js +1 -1
  41. package/.next/server/app/index.html +2 -2
  42. package/.next/server/app/index.rsc +5 -5
  43. package/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
  44. package/.next/server/app/page.js +2 -2
  45. package/.next/server/app/page.js.nft.json +1 -1
  46. package/.next/server/app/page_client-reference-manifest.js +1 -1
  47. package/.next/server/app-paths-manifest.json +5 -2
  48. package/.next/server/chunks/184.js +18 -0
  49. package/.next/server/chunks/565.js +1 -0
  50. package/.next/server/chunks/61.js +18 -0
  51. package/.next/server/chunks/781.js +1 -0
  52. package/.next/server/chunks/957.js +1 -0
  53. package/.next/server/instrumentation.js +1 -1
  54. package/.next/server/instrumentation.js.nft.json +1 -1
  55. package/.next/server/middleware-build-manifest.js +1 -1
  56. package/.next/server/middleware-manifest.json +1 -1
  57. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  58. package/.next/server/pages/404.html +2 -2
  59. package/.next/server/pages/500.html +1 -1
  60. package/.next/static/chunks/581.6f70e48cd8cd239c.js +1 -0
  61. package/.next/static/chunks/687-b390283af2e3452f.js +1 -0
  62. package/.next/static/chunks/877.c9578aaf7d3c8f27.js +1 -0
  63. package/.next/static/chunks/app/api/chat/route-d3038ca0da9c5380.js +1 -0
  64. package/.next/static/chunks/app/api/git/route-d3038ca0da9c5380.js +1 -0
  65. package/.next/static/chunks/app/api/info/route-d3038ca0da9c5380.js +1 -0
  66. package/.next/static/chunks/app/api/models/route-d3038ca0da9c5380.js +1 -0
  67. package/.next/static/chunks/app/api/notifications/test/route-d3038ca0da9c5380.js +1 -0
  68. package/.next/static/chunks/app/api/projects/route-d3038ca0da9c5380.js +1 -0
  69. package/.next/static/chunks/app/api/sessions/active/route-d3038ca0da9c5380.js +1 -0
  70. package/.next/static/chunks/app/api/sessions/history/route-d3038ca0da9c5380.js +1 -0
  71. package/.next/static/chunks/app/api/sessions/route-d3038ca0da9c5380.js +1 -0
  72. package/.next/static/chunks/app/api/sessions/watch/route-d3038ca0da9c5380.js +1 -0
  73. package/.next/static/chunks/app/api/settings/route-d3038ca0da9c5380.js +1 -0
  74. package/.next/static/chunks/app/api/terminal/input/route-d3038ca0da9c5380.js +1 -0
  75. package/.next/static/chunks/app/api/terminal/route-d3038ca0da9c5380.js +1 -0
  76. package/.next/static/chunks/app/api/terminal/stream/route-d3038ca0da9c5380.js +1 -0
  77. package/.next/static/chunks/app/api/upload/route-d3038ca0da9c5380.js +1 -0
  78. package/.next/static/chunks/app/manifest.webmanifest/route-d3038ca0da9c5380.js +1 -0
  79. package/.next/static/chunks/app/page-af5e69fc6400a5ec.js +1 -0
  80. package/.next/static/chunks/e868780c.80b1d92b07cbfce1.js +18 -0
  81. package/.next/static/chunks/webpack-b7a7ce1923e86513.js +1 -0
  82. package/.next/static/css/30da1f7eab9bf366.css +11 -0
  83. package/.next/static/css/4e3b3a779665aaeb.css +1 -0
  84. package/.next/static/nZObu_lMmAW5hrBXfbSQe/_buildManifest.js +1 -0
  85. package/README.md +20 -0
  86. package/bin/cursor-remote.mjs +143 -14
  87. package/package.json +4 -1
  88. package/.next/server/chunks/545.js +0 -18
  89. package/.next/server/chunks/819.js +0 -1
  90. package/.next/static/-Ezkq4WMw4zu9VGp34DMl/_buildManifest.js +0 -1
  91. package/.next/static/chunks/391-727d95bcfba987c2.js +0 -1
  92. package/.next/static/chunks/app/api/chat/route-b00b337e85e306b9.js +0 -1
  93. package/.next/static/chunks/app/api/git/route-b00b337e85e306b9.js +0 -1
  94. package/.next/static/chunks/app/api/info/route-b00b337e85e306b9.js +0 -1
  95. package/.next/static/chunks/app/api/models/route-b00b337e85e306b9.js +0 -1
  96. package/.next/static/chunks/app/api/notifications/test/route-b00b337e85e306b9.js +0 -1
  97. package/.next/static/chunks/app/api/projects/route-b00b337e85e306b9.js +0 -1
  98. package/.next/static/chunks/app/api/sessions/active/route-b00b337e85e306b9.js +0 -1
  99. package/.next/static/chunks/app/api/sessions/history/route-b00b337e85e306b9.js +0 -1
  100. package/.next/static/chunks/app/api/sessions/route-b00b337e85e306b9.js +0 -1
  101. package/.next/static/chunks/app/api/sessions/watch/route-b00b337e85e306b9.js +0 -1
  102. package/.next/static/chunks/app/api/settings/route-b00b337e85e306b9.js +0 -1
  103. package/.next/static/chunks/app/api/upload/route-b00b337e85e306b9.js +0 -1
  104. package/.next/static/chunks/app/manifest.webmanifest/route-b00b337e85e306b9.js +0 -1
  105. package/.next/static/chunks/app/page-0a125611ef82cf2b.js +0 -1
  106. package/.next/static/chunks/webpack-d434b6449a9cd8f3.js +0 -1
  107. package/.next/static/css/5eacd01f773eed7f.css +0 -11
  108. package/.next/static/css/62c80997800f1b21.css +0 -1
  109. /package/.next/static/{-Ezkq4WMw4zu9VGp34DMl → nZObu_lMmAW5hrBXfbSQe}/_ssgManifest.js +0 -0
package/.next/BUILD_ID CHANGED
@@ -1 +1 @@
1
- -Ezkq4WMw4zu9VGp34DMl
1
+ nZObu_lMmAW5hrBXfbSQe
@@ -1,119 +1,140 @@
1
1
  {
2
2
  "pages": {
3
3
  "/_not-found/page": [
4
- "static/chunks/webpack-d434b6449a9cd8f3.js",
4
+ "static/chunks/webpack-b7a7ce1923e86513.js",
5
5
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
6
6
  "static/chunks/255-ebd51be49873d76c.js",
7
7
  "static/chunks/main-app-14a04931699eb2a2.js",
8
8
  "static/chunks/app/_not-found/page-52dbda1443b2ae8f.js"
9
9
  ],
10
10
  "/layout": [
11
- "static/chunks/webpack-d434b6449a9cd8f3.js",
11
+ "static/chunks/webpack-b7a7ce1923e86513.js",
12
12
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
13
13
  "static/chunks/255-ebd51be49873d76c.js",
14
14
  "static/chunks/main-app-14a04931699eb2a2.js",
15
- "static/css/62c80997800f1b21.css",
15
+ "static/css/4e3b3a779665aaeb.css",
16
16
  "static/chunks/app/layout-a7c7dda1f998a1ce.js"
17
17
  ],
18
18
  "/manifest.webmanifest/route": [
19
- "static/chunks/webpack-d434b6449a9cd8f3.js",
19
+ "static/chunks/webpack-b7a7ce1923e86513.js",
20
20
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
21
21
  "static/chunks/255-ebd51be49873d76c.js",
22
22
  "static/chunks/main-app-14a04931699eb2a2.js",
23
- "static/chunks/app/manifest.webmanifest/route-b00b337e85e306b9.js"
23
+ "static/chunks/app/manifest.webmanifest/route-d3038ca0da9c5380.js"
24
24
  ],
25
25
  "/api/info/route": [
26
- "static/chunks/webpack-d434b6449a9cd8f3.js",
26
+ "static/chunks/webpack-b7a7ce1923e86513.js",
27
27
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
28
28
  "static/chunks/255-ebd51be49873d76c.js",
29
29
  "static/chunks/main-app-14a04931699eb2a2.js",
30
- "static/chunks/app/api/info/route-b00b337e85e306b9.js"
30
+ "static/chunks/app/api/info/route-d3038ca0da9c5380.js"
31
31
  ],
32
32
  "/api/notifications/test/route": [
33
- "static/chunks/webpack-d434b6449a9cd8f3.js",
33
+ "static/chunks/webpack-b7a7ce1923e86513.js",
34
34
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
35
35
  "static/chunks/255-ebd51be49873d76c.js",
36
36
  "static/chunks/main-app-14a04931699eb2a2.js",
37
- "static/chunks/app/api/notifications/test/route-b00b337e85e306b9.js"
37
+ "static/chunks/app/api/notifications/test/route-d3038ca0da9c5380.js"
38
38
  ],
39
39
  "/api/models/route": [
40
- "static/chunks/webpack-d434b6449a9cd8f3.js",
40
+ "static/chunks/webpack-b7a7ce1923e86513.js",
41
41
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
42
42
  "static/chunks/255-ebd51be49873d76c.js",
43
43
  "static/chunks/main-app-14a04931699eb2a2.js",
44
- "static/chunks/app/api/models/route-b00b337e85e306b9.js"
44
+ "static/chunks/app/api/models/route-d3038ca0da9c5380.js"
45
45
  ],
46
- "/api/projects/route": [
47
- "static/chunks/webpack-d434b6449a9cd8f3.js",
46
+ "/api/sessions/active/route": [
47
+ "static/chunks/webpack-b7a7ce1923e86513.js",
48
48
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
49
49
  "static/chunks/255-ebd51be49873d76c.js",
50
50
  "static/chunks/main-app-14a04931699eb2a2.js",
51
- "static/chunks/app/api/projects/route-b00b337e85e306b9.js"
51
+ "static/chunks/app/api/sessions/active/route-d3038ca0da9c5380.js"
52
52
  ],
53
- "/api/sessions/active/route": [
54
- "static/chunks/webpack-d434b6449a9cd8f3.js",
53
+ "/api/chat/route": [
54
+ "static/chunks/webpack-b7a7ce1923e86513.js",
55
55
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
56
56
  "static/chunks/255-ebd51be49873d76c.js",
57
57
  "static/chunks/main-app-14a04931699eb2a2.js",
58
- "static/chunks/app/api/sessions/active/route-b00b337e85e306b9.js"
58
+ "static/chunks/app/api/chat/route-d3038ca0da9c5380.js"
59
59
  ],
60
- "/api/chat/route": [
61
- "static/chunks/webpack-d434b6449a9cd8f3.js",
60
+ "/api/projects/route": [
61
+ "static/chunks/webpack-b7a7ce1923e86513.js",
62
62
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
63
63
  "static/chunks/255-ebd51be49873d76c.js",
64
64
  "static/chunks/main-app-14a04931699eb2a2.js",
65
- "static/chunks/app/api/chat/route-b00b337e85e306b9.js"
65
+ "static/chunks/app/api/projects/route-d3038ca0da9c5380.js"
66
66
  ],
67
67
  "/api/sessions/history/route": [
68
- "static/chunks/webpack-d434b6449a9cd8f3.js",
68
+ "static/chunks/webpack-b7a7ce1923e86513.js",
69
+ "static/chunks/4bd1b696-c023c6e3521b1417.js",
70
+ "static/chunks/255-ebd51be49873d76c.js",
71
+ "static/chunks/main-app-14a04931699eb2a2.js",
72
+ "static/chunks/app/api/sessions/history/route-d3038ca0da9c5380.js"
73
+ ],
74
+ "/api/settings/route": [
75
+ "static/chunks/webpack-b7a7ce1923e86513.js",
76
+ "static/chunks/4bd1b696-c023c6e3521b1417.js",
77
+ "static/chunks/255-ebd51be49873d76c.js",
78
+ "static/chunks/main-app-14a04931699eb2a2.js",
79
+ "static/chunks/app/api/settings/route-d3038ca0da9c5380.js"
80
+ ],
81
+ "/api/terminal/input/route": [
82
+ "static/chunks/webpack-b7a7ce1923e86513.js",
69
83
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
70
84
  "static/chunks/255-ebd51be49873d76c.js",
71
85
  "static/chunks/main-app-14a04931699eb2a2.js",
72
- "static/chunks/app/api/sessions/history/route-b00b337e85e306b9.js"
86
+ "static/chunks/app/api/terminal/input/route-d3038ca0da9c5380.js"
73
87
  ],
74
88
  "/api/sessions/route": [
75
- "static/chunks/webpack-d434b6449a9cd8f3.js",
89
+ "static/chunks/webpack-b7a7ce1923e86513.js",
76
90
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
77
91
  "static/chunks/255-ebd51be49873d76c.js",
78
92
  "static/chunks/main-app-14a04931699eb2a2.js",
79
- "static/chunks/app/api/sessions/route-b00b337e85e306b9.js"
93
+ "static/chunks/app/api/sessions/route-d3038ca0da9c5380.js"
80
94
  ],
81
- "/api/settings/route": [
82
- "static/chunks/webpack-d434b6449a9cd8f3.js",
95
+ "/api/terminal/route": [
96
+ "static/chunks/webpack-b7a7ce1923e86513.js",
97
+ "static/chunks/4bd1b696-c023c6e3521b1417.js",
98
+ "static/chunks/255-ebd51be49873d76c.js",
99
+ "static/chunks/main-app-14a04931699eb2a2.js",
100
+ "static/chunks/app/api/terminal/route-d3038ca0da9c5380.js"
101
+ ],
102
+ "/api/terminal/stream/route": [
103
+ "static/chunks/webpack-b7a7ce1923e86513.js",
83
104
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
84
105
  "static/chunks/255-ebd51be49873d76c.js",
85
106
  "static/chunks/main-app-14a04931699eb2a2.js",
86
- "static/chunks/app/api/settings/route-b00b337e85e306b9.js"
107
+ "static/chunks/app/api/terminal/stream/route-d3038ca0da9c5380.js"
87
108
  ],
88
109
  "/api/upload/route": [
89
- "static/chunks/webpack-d434b6449a9cd8f3.js",
110
+ "static/chunks/webpack-b7a7ce1923e86513.js",
90
111
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
91
112
  "static/chunks/255-ebd51be49873d76c.js",
92
113
  "static/chunks/main-app-14a04931699eb2a2.js",
93
- "static/chunks/app/api/upload/route-b00b337e85e306b9.js"
114
+ "static/chunks/app/api/upload/route-d3038ca0da9c5380.js"
94
115
  ],
95
116
  "/api/sessions/watch/route": [
96
- "static/chunks/webpack-d434b6449a9cd8f3.js",
117
+ "static/chunks/webpack-b7a7ce1923e86513.js",
97
118
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
98
119
  "static/chunks/255-ebd51be49873d76c.js",
99
120
  "static/chunks/main-app-14a04931699eb2a2.js",
100
- "static/chunks/app/api/sessions/watch/route-b00b337e85e306b9.js"
121
+ "static/chunks/app/api/sessions/watch/route-d3038ca0da9c5380.js"
101
122
  ],
102
123
  "/api/git/route": [
103
- "static/chunks/webpack-d434b6449a9cd8f3.js",
124
+ "static/chunks/webpack-b7a7ce1923e86513.js",
104
125
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
105
126
  "static/chunks/255-ebd51be49873d76c.js",
106
127
  "static/chunks/main-app-14a04931699eb2a2.js",
107
- "static/chunks/app/api/git/route-b00b337e85e306b9.js"
128
+ "static/chunks/app/api/git/route-d3038ca0da9c5380.js"
108
129
  ],
109
130
  "/page": [
110
- "static/chunks/webpack-d434b6449a9cd8f3.js",
131
+ "static/chunks/webpack-b7a7ce1923e86513.js",
111
132
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
112
133
  "static/chunks/255-ebd51be49873d76c.js",
113
134
  "static/chunks/main-app-14a04931699eb2a2.js",
114
- "static/css/5eacd01f773eed7f.css",
115
- "static/chunks/391-727d95bcfba987c2.js",
116
- "static/chunks/app/page-0a125611ef82cf2b.js"
135
+ "static/css/30da1f7eab9bf366.css",
136
+ "static/chunks/687-b390283af2e3452f.js",
137
+ "static/chunks/app/page-af5e69fc6400a5ec.js"
117
138
  ]
118
139
  }
119
140
  }
@@ -6,12 +6,15 @@
6
6
  "/api/info/route": "/api/info",
7
7
  "/api/notifications/test/route": "/api/notifications/test",
8
8
  "/api/models/route": "/api/models",
9
- "/api/projects/route": "/api/projects",
10
9
  "/api/sessions/active/route": "/api/sessions/active",
11
10
  "/api/chat/route": "/api/chat",
11
+ "/api/projects/route": "/api/projects",
12
12
  "/api/sessions/history/route": "/api/sessions/history",
13
- "/api/sessions/route": "/api/sessions",
14
13
  "/api/settings/route": "/api/settings",
14
+ "/api/terminal/input/route": "/api/terminal/input",
15
+ "/api/sessions/route": "/api/sessions",
16
+ "/api/terminal/route": "/api/terminal",
17
+ "/api/terminal/stream/route": "/api/terminal/stream",
15
18
  "/api/upload/route": "/api/upload",
16
19
  "/api/sessions/watch/route": "/api/sessions/watch",
17
20
  "/api/git/route": "/api/git",
@@ -5,11 +5,11 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/-Ezkq4WMw4zu9VGp34DMl/_buildManifest.js",
9
- "static/-Ezkq4WMw4zu9VGp34DMl/_ssgManifest.js"
8
+ "static/nZObu_lMmAW5hrBXfbSQe/_buildManifest.js",
9
+ "static/nZObu_lMmAW5hrBXfbSQe/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [
12
- "static/chunks/webpack-d434b6449a9cd8f3.js",
12
+ "static/chunks/webpack-b7a7ce1923e86513.js",
13
13
  "static/chunks/4bd1b696-c023c6e3521b1417.js",
14
14
  "static/chunks/255-ebd51be49873d76c.js",
15
15
  "static/chunks/main-app-14a04931699eb2a2.js"
@@ -17,13 +17,13 @@
17
17
  "rootMainFilesTree": {},
18
18
  "pages": {
19
19
  "/_app": [
20
- "static/chunks/webpack-d434b6449a9cd8f3.js",
20
+ "static/chunks/webpack-b7a7ce1923e86513.js",
21
21
  "static/chunks/framework-7c18bae94415732c.js",
22
22
  "static/chunks/main-fef688ac5ef45212.js",
23
23
  "static/chunks/pages/_app-79e662cab09aea11.js"
24
24
  ],
25
25
  "/_error": [
26
- "static/chunks/webpack-d434b6449a9cd8f3.js",
26
+ "static/chunks/webpack-b7a7ce1923e86513.js",
27
27
  "static/chunks/framework-7c18bae94415732c.js",
28
28
  "static/chunks/main-fef688ac5ef45212.js",
29
29
  "static/chunks/pages/_error-89cd7530328c75d9.js"
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "version": 4,
3
3
  "routes": {
4
- "/manifest.webmanifest": {
4
+ "/icon.png": {
5
5
  "initialHeaders": {
6
- "cache-control": "public, max-age=0, must-revalidate",
7
- "content-type": "application/manifest+json",
8
- "x-next-cache-tags": "_N_T_/layout,_N_T_/manifest.webmanifest/layout,_N_T_/manifest.webmanifest/route,_N_T_/manifest.webmanifest"
6
+ "cache-control": "public, immutable, no-transform, max-age=31536000",
7
+ "content-type": "image/png",
8
+ "x-next-cache-tags": "_N_T_/layout,_N_T_/icon.png/layout,_N_T_/icon.png/route,_N_T_/icon.png"
9
9
  },
10
10
  "experimentalBypassFor": [
11
11
  {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  ],
21
21
  "initialRevalidateSeconds": false,
22
- "srcRoute": "/manifest.webmanifest",
22
+ "srcRoute": "/icon.png",
23
23
  "dataRoute": null,
24
24
  "allowHeader": [
25
25
  "host",
@@ -30,8 +30,12 @@
30
30
  "x-next-revalidate-tag-token"
31
31
  ]
32
32
  },
33
- "/_not-found": {
34
- "initialStatus": 404,
33
+ "/apple-icon.png": {
34
+ "initialHeaders": {
35
+ "cache-control": "public, immutable, no-transform, max-age=31536000",
36
+ "content-type": "image/png",
37
+ "x-next-cache-tags": "_N_T_/layout,_N_T_/apple-icon.png/layout,_N_T_/apple-icon.png/route,_N_T_/apple-icon.png"
38
+ },
35
39
  "experimentalBypassFor": [
36
40
  {
37
41
  "type": "header",
@@ -44,8 +48,8 @@
44
48
  }
45
49
  ],
46
50
  "initialRevalidateSeconds": false,
47
- "srcRoute": "/_not-found",
48
- "dataRoute": "/_not-found.rsc",
51
+ "srcRoute": "/apple-icon.png",
52
+ "dataRoute": null,
49
53
  "allowHeader": [
50
54
  "host",
51
55
  "x-matched-path",
@@ -55,12 +59,8 @@
55
59
  "x-next-revalidate-tag-token"
56
60
  ]
57
61
  },
58
- "/icon.png": {
59
- "initialHeaders": {
60
- "cache-control": "public, immutable, no-transform, max-age=31536000",
61
- "content-type": "image/png",
62
- "x-next-cache-tags": "_N_T_/layout,_N_T_/icon.png/layout,_N_T_/icon.png/route,_N_T_/icon.png"
63
- },
62
+ "/_not-found": {
63
+ "initialStatus": 404,
64
64
  "experimentalBypassFor": [
65
65
  {
66
66
  "type": "header",
@@ -73,8 +73,8 @@
73
73
  }
74
74
  ],
75
75
  "initialRevalidateSeconds": false,
76
- "srcRoute": "/icon.png",
77
- "dataRoute": null,
76
+ "srcRoute": "/_not-found",
77
+ "dataRoute": "/_not-found.rsc",
78
78
  "allowHeader": [
79
79
  "host",
80
80
  "x-matched-path",
@@ -84,11 +84,11 @@
84
84
  "x-next-revalidate-tag-token"
85
85
  ]
86
86
  },
87
- "/apple-icon.png": {
87
+ "/manifest.webmanifest": {
88
88
  "initialHeaders": {
89
- "cache-control": "public, immutable, no-transform, max-age=31536000",
90
- "content-type": "image/png",
91
- "x-next-cache-tags": "_N_T_/layout,_N_T_/apple-icon.png/layout,_N_T_/apple-icon.png/route,_N_T_/apple-icon.png"
89
+ "cache-control": "public, max-age=0, must-revalidate",
90
+ "content-type": "application/manifest+json",
91
+ "x-next-cache-tags": "_N_T_/layout,_N_T_/manifest.webmanifest/layout,_N_T_/manifest.webmanifest/route,_N_T_/manifest.webmanifest"
92
92
  },
93
93
  "experimentalBypassFor": [
94
94
  {
@@ -102,7 +102,7 @@
102
102
  }
103
103
  ],
104
104
  "initialRevalidateSeconds": false,
105
- "srcRoute": "/apple-icon.png",
105
+ "srcRoute": "/manifest.webmanifest",
106
106
  "dataRoute": null,
107
107
  "allowHeader": [
108
108
  "host",
@@ -4,5 +4,23 @@
4
4
  "files": [
5
5
  "static/chunks/561.0dd3adbeaf3ef161.js"
6
6
  ]
7
+ },
8
+ "components/terminal-panel.tsx -> @xterm/addon-fit": {
9
+ "id": 5581,
10
+ "files": [
11
+ "static/chunks/581.6f70e48cd8cd239c.js"
12
+ ]
13
+ },
14
+ "components/terminal-panel.tsx -> @xterm/addon-web-links": {
15
+ "id": 1877,
16
+ "files": [
17
+ "static/chunks/877.c9578aaf7d3c8f27.js"
18
+ ]
19
+ },
20
+ "components/terminal-panel.tsx -> @xterm/xterm": {
21
+ "id": 9101,
22
+ "files": [
23
+ "static/chunks/e868780c.80b1d92b07cbfce1.js"
24
+ ]
7
25
  }
8
26
  }
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"622":{"*":{"id":"2146","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"1603","name":"*","chunks":[],"async":false}},"2317":{"*":{"id":"1139","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"5170","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"2263","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"8922","name":"*","chunks":[],"async":false}},"5932":{"*":{"id":"7996","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"4160","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"8495","name":"*","chunks":[],"async":false}},"8906":{"*":{"id":"7021","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"9234","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"7526","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/lib/framework/boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/src/app/globals.css":{"id":3673,"name":"*","chunks":["558","static/chunks/app/layout-a7c7dda1f998a1ce.js"],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/src/components/pwa-install.tsx":{"id":2317,"name":"*","chunks":["558","static/chunks/app/layout-a7c7dda1f998a1ce.js"],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/src/components/chat-workspace.tsx":{"id":8906,"name":"*","chunks":["391","static/chunks/391-727d95bcfba987c2.js","593","static/chunks/app/page-0a125611ef82cf2b.js"],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/src/components/error-boundary.tsx":{"id":5932,"name":"*","chunks":["391","static/chunks/391-727d95bcfba987c2.js","593","static/chunks/app/page-0a125611ef82cf2b.js"],"async":false}},"entryCSSFiles":{"/Users/jonmakinen/Documents/cursor-local-remote/src/":[],"/Users/jonmakinen/Documents/cursor-local-remote/src/app/layout":[{"inlined":false,"path":"static/css/62c80997800f1b21.css"}],"/Users/jonmakinen/Documents/cursor-local-remote/src/app/page":[{"inlined":false,"path":"static/css/5eacd01f773eed7f.css"}],"/Users/jonmakinen/Documents/cursor-local-remote/src/app/_not-found/page":[]},"rscModuleMapping":{"622":{"*":{"id":"1384","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"3597","name":"*","chunks":[],"async":false}},"2317":{"*":{"id":"3257","name":"*","chunks":[],"async":false}},"3673":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"9748","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"3041","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"5932":{"*":{"id":"1706","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"1170","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"6893","name":"*","chunks":[],"async":false}},"8906":{"*":{"id":"6873","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"9576","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"622":{"*":{"id":"2146","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"1603","name":"*","chunks":[],"async":false}},"2317":{"*":{"id":"1139","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"5170","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"2263","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"8922","name":"*","chunks":[],"async":false}},"5932":{"*":{"id":"7996","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"4160","name":"*","chunks":[],"async":false}},"7571":{"*":{"id":"9293","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"8495","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"9234","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"7526","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7150,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/client-page.js":{"id":1959,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/client-segment.js":{"id":7989,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":3886,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":5278,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/client/components/render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":8924,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/lib/framework/boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":4431,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":622,"name":"*","chunks":[],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/src/app/globals.css":{"id":3673,"name":"*","chunks":["558","static/chunks/app/layout-a7c7dda1f998a1ce.js"],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/src/components/pwa-install.tsx":{"id":2317,"name":"*","chunks":["558","static/chunks/app/layout-a7c7dda1f998a1ce.js"],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/src/components/chat-workspace.tsx":{"id":7571,"name":"*","chunks":["687","static/chunks/687-b390283af2e3452f.js","593","static/chunks/app/page-af5e69fc6400a5ec.js"],"async":false},"/Users/jonmakinen/Documents/cursor-local-remote/src/components/error-boundary.tsx":{"id":5932,"name":"*","chunks":["687","static/chunks/687-b390283af2e3452f.js","593","static/chunks/app/page-af5e69fc6400a5ec.js"],"async":false}},"entryCSSFiles":{"/Users/jonmakinen/Documents/cursor-local-remote/src/":[],"/Users/jonmakinen/Documents/cursor-local-remote/src/app/layout":[{"inlined":false,"path":"static/css/4e3b3a779665aaeb.css"}],"/Users/jonmakinen/Documents/cursor-local-remote/src/app/page":[{"inlined":false,"path":"static/css/30da1f7eab9bf366.css"}],"/Users/jonmakinen/Documents/cursor-local-remote/src/app/_not-found/page":[]},"rscModuleMapping":{"622":{"*":{"id":"1384","name":"*","chunks":[],"async":false}},"1959":{"*":{"id":"3597","name":"*","chunks":[],"async":false}},"2317":{"*":{"id":"3257","name":"*","chunks":[],"async":false}},"3673":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"3886":{"*":{"id":"9748","name":"*","chunks":[],"async":false}},"4431":{"*":{"id":"3041","name":"*","chunks":[],"async":false}},"5278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"5932":{"*":{"id":"1706","name":"*","chunks":[],"async":false}},"7150":{"*":{"id":"1170","name":"*","chunks":[],"async":false}},"7571":{"*":{"id":"6873","name":"*","chunks":[],"async":false}},"7989":{"*":{"id":"6893","name":"*","chunks":[],"async":false}},"8924":{"*":{"id":"9576","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><!--_Ezkq4WMw4zu9VGp34DMl--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/><link rel="stylesheet" href="/_next/static/css/62c80997800f1b21.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-d434b6449a9cd8f3.js"/><script src="/_next/static/chunks/4bd1b696-c023c6e3521b1417.js" async=""></script><script src="/_next/static/chunks/255-ebd51be49873d76c.js" async=""></script><script src="/_next/static/chunks/main-app-14a04931699eb2a2.js" async=""></script><script src="/_next/static/chunks/app/layout-a7c7dda1f998a1ce.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><meta name="theme-color" content="#0a0a0b"/><title>Cursor Local Remote</title><meta name="description" content="Control Cursor IDE from any device on your local network"/><link rel="manifest" href="/manifest.webmanifest"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="CLR"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><link rel="icon" href="/icon.png?c7e4facf85613587" type="image/png" sizes="32x32"/><link rel="apple-touch-icon" href="/apple-icon.png?4e1b4f0ebf73adf0" type="image/png" sizes="180x180"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="overscroll-none"><div hidden=""><!--$--><!--/$--></div><script>
1
+ <!DOCTYPE html><!--nZObu_lMmAW5hrBXfbSQe--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/><link rel="stylesheet" href="/_next/static/css/4e3b3a779665aaeb.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-b7a7ce1923e86513.js"/><script src="/_next/static/chunks/4bd1b696-c023c6e3521b1417.js" async=""></script><script src="/_next/static/chunks/255-ebd51be49873d76c.js" async=""></script><script src="/_next/static/chunks/main-app-14a04931699eb2a2.js" async=""></script><script src="/_next/static/chunks/app/layout-a7c7dda1f998a1ce.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><meta name="theme-color" content="#0a0a0b"/><title>Cursor Local Remote</title><meta name="description" content="Control Cursor IDE from any device on your local network"/><link rel="manifest" href="/manifest.webmanifest"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="CLR"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><link rel="icon" href="/icon.png?c7e4facf85613587" type="image/png" sizes="32x32"/><link rel="apple-touch-icon" href="/apple-icon.png?4e1b4f0ebf73adf0" type="image/png" sizes="180x180"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="overscroll-none"><div hidden=""><!--$--><!--/$--></div><script>
2
2
  if('serviceWorker' in navigator){
3
3
  navigator.serviceWorker.getRegistrations().then(function(r){
4
4
  r.forEach(function(reg){reg.unregister()})
@@ -8,4 +8,4 @@ if('serviceWorker' in navigator){
8
8
  k.forEach(function(n){caches.delete(n)})
9
9
  })
10
10
  }
11
- }</script><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-d434b6449a9cd8f3.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[9766,[],\"\"]\n3:I[8924,[],\"\"]\n4:I[2317,[\"558\",\"static/chunks/app/layout-a7c7dda1f998a1ce.js\"],\"PwaInstall\"]\n5:I[4431,[],\"OutletBoundary\"]\n7:I[5278,[],\"AsyncMetadataOutlet\"]\n9:I[4431,[],\"ViewportBoundary\"]\nb:I[4431,[],\"MetadataBoundary\"]\nc:\"$Sreact.suspense\"\ne:I[7150,[],\"\"]\n:HL[\"/_next/static/css/62c80997800f1b21.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"-Ezkq4WMw4zu9VGp34DMl\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/62c80997800f1b21.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"overscroll-none\",\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\nif('serviceWorker' in navigator){\\n navigator.serviceWorker.getRegistrations().then(function(r){\\n r.forEach(function(reg){reg.unregister()})\\n });\\n if(typeof caches!=='undefined'){\\n caches.keys().then(function(k){\\n k.forEach(function(n){caches.delete(n)})\\n })\\n }\\n}\"}}],[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}],[\"$\",\"$L4\",null,{}]]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$L6\",[\"$\",\"$L7\",null,{\"promise\":\"$@8\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$L9\",null,{\"children\":\"$La\"}],null],[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$c\",null,{\"fallback\":null,\"children\":\"$Ld\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#0a0a0b\"}]]\n6:null\n"])</script><script>self.__next_f.push([1,"f:I[622,[],\"IconMark\"]\n"])</script><script>self.__next_f.push([1,"8:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Cursor Local Remote\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Control Cursor IDE from any device on your local network\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"3\",{\"name\":\"mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"4\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"CLR\"}],[\"$\",\"meta\",\"5\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"black-translucent\"}],[\"$\",\"link\",\"6\",{\"rel\":\"icon\",\"href\":\"/icon.png?c7e4facf85613587\",\"type\":\"image/png\",\"sizes\":\"32x32\"}],[\"$\",\"link\",\"7\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-icon.png?4e1b4f0ebf73adf0\",\"type\":\"image/png\",\"sizes\":\"180x180\"}],[\"$\",\"$Lf\",\"8\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"d:\"$8:metadata\"\n"])</script></body></html>
11
+ }</script><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-b7a7ce1923e86513.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[9766,[],\"\"]\n3:I[8924,[],\"\"]\n4:I[2317,[\"558\",\"static/chunks/app/layout-a7c7dda1f998a1ce.js\"],\"PwaInstall\"]\n5:I[4431,[],\"OutletBoundary\"]\n7:I[5278,[],\"AsyncMetadataOutlet\"]\n9:I[4431,[],\"ViewportBoundary\"]\nb:I[4431,[],\"MetadataBoundary\"]\nc:\"$Sreact.suspense\"\ne:I[7150,[],\"\"]\n:HL[\"/_next/static/css/4e3b3a779665aaeb.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"nZObu_lMmAW5hrBXfbSQe\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/4e3b3a779665aaeb.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"overscroll-none\",\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\nif('serviceWorker' in navigator){\\n navigator.serviceWorker.getRegistrations().then(function(r){\\n r.forEach(function(reg){reg.unregister()})\\n });\\n if(typeof caches!=='undefined'){\\n caches.keys().then(function(k){\\n k.forEach(function(n){caches.delete(n)})\\n })\\n }\\n}\"}}],[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}],[\"$\",\"$L4\",null,{}]]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$L6\",[\"$\",\"$L7\",null,{\"promise\":\"$@8\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$L9\",null,{\"children\":\"$La\"}],null],[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$c\",null,{\"fallback\":null,\"children\":\"$Ld\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#0a0a0b\"}]]\n6:null\n"])</script><script>self.__next_f.push([1,"f:I[622,[],\"IconMark\"]\n"])</script><script>self.__next_f.push([1,"8:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Cursor Local Remote\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Control Cursor IDE from any device on your local network\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"3\",{\"name\":\"mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"4\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"CLR\"}],[\"$\",\"meta\",\"5\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"black-translucent\"}],[\"$\",\"link\",\"6\",{\"rel\":\"icon\",\"href\":\"/icon.png?c7e4facf85613587\",\"type\":\"image/png\",\"sizes\":\"32x32\"}],[\"$\",\"link\",\"7\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-icon.png?4e1b4f0ebf73adf0\",\"type\":\"image/png\",\"sizes\":\"180x180\"}],[\"$\",\"$Lf\",\"8\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"d:\"$8:metadata\"\n"])</script></body></html>
@@ -8,8 +8,8 @@
8
8
  b:I[4431,[],"MetadataBoundary"]
9
9
  c:"$Sreact.suspense"
10
10
  e:I[7150,[],""]
11
- :HL["/_next/static/css/62c80997800f1b21.css","style"]
12
- 0:{"P":null,"b":"-Ezkq4WMw4zu9VGp34DMl","p":"","c":["","_not-found"],"i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/62c80997800f1b21.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"overscroll-none","children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"\nif('serviceWorker' in navigator){\n navigator.serviceWorker.getRegistrations().then(function(r){\n r.forEach(function(reg){reg.unregister()})\n });\n if(typeof caches!=='undefined'){\n caches.keys().then(function(k){\n k.forEach(function(n){caches.delete(n)})\n })\n }\n}"}}],["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}],["$","$L4",null,{}]]}]}]]}],{"children":["/_not-found",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L5",null,{"children":["$L6",["$","$L7",null,{"promise":"$@8"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],[["$","$L9",null,{"children":"$La"}],null],["$","$Lb",null,{"children":["$","div",null,{"hidden":true,"children":["$","$c",null,{"fallback":null,"children":"$Ld"}]}]}]]}],false]],"m":"$undefined","G":["$e",[]],"s":false,"S":true}
11
+ :HL["/_next/static/css/4e3b3a779665aaeb.css","style"]
12
+ 0:{"P":null,"b":"nZObu_lMmAW5hrBXfbSQe","p":"","c":["","_not-found"],"i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/4e3b3a779665aaeb.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"overscroll-none","children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"\nif('serviceWorker' in navigator){\n navigator.serviceWorker.getRegistrations().then(function(r){\n r.forEach(function(reg){reg.unregister()})\n });\n if(typeof caches!=='undefined'){\n caches.keys().then(function(k){\n k.forEach(function(n){caches.delete(n)})\n })\n }\n}"}}],["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}],["$","$L4",null,{}]]}]}]]}],{"children":["/_not-found",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L5",null,{"children":["$L6",["$","$L7",null,{"promise":"$@8"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],[["$","$L9",null,{"children":"$La"}],null],["$","$Lb",null,{"children":["$","div",null,{"hidden":true,"children":["$","$c",null,{"fallback":null,"children":"$Ld"}]}]}]]}],false]],"m":"$undefined","G":["$e",[]],"s":false,"S":true}
13
13
  a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"}],["$","meta","2",{"name":"theme-color","content":"#0a0a0b"}]]
14
14
  6:null
15
15
  f:I[622,[],"IconMark"]
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=276,a.ids=[276],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},1926:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>N,patchFetch:()=>M,routeModule:()=>I,serverHooks:()=>L,workAsyncStorage:()=>J,workUnitAsyncStorage:()=>K});var d={};c.r(d),c.d(d,{POST:()=>H,dynamic:()=>G});var e=c(5736),f=c(9117),g=c(4044),h=c(9326),i=c(2324),j=c(261),k=c(4290),l=c(5328),m=c(8928),n=c(6595),o=c(3421),p=c(7679),q=c(1681),r=c(3446),s=c(6439),t=c(1356);let u=require("node:crypto");var v=c(9646),w=c(6492);let x=!1;async function y(){return"0"!==process.env.CURSOR_TRUST&&("1"===process.env.CURSOR_TRUST||"0"!==await (0,w.zj)("trust"))}async function z(a){if(!x)try{(0,v.execFileSync)("agent",["--version"],{stdio:"ignore",timeout:5e3}),x=!0}catch{throw Error("Could not find the 'agent' CLI. Make sure Cursor is installed and the CLI is on your PATH.")}let b=["-p",a.prompt,"--output-format","stream-json","--stream-partial-output"];return await y()&&b.push("--trust"),a.sessionId&&b.push("--resume",a.sessionId),a.workspace&&b.push("--workspace",a.workspace),a.model&&b.push("--model",a.model),a.mode&&"agent"!==a.mode&&b.push("--mode",a.mode),(0,v.spawn)("agent",b,{stdio:["pipe","pipe","pipe"],env:{...process.env}})}var A=c(5221),B=c(6277),C=c(6505),D=c(7093),E=c(401),F=c(1849);let G="force-dynamic";async function H(a){let b=await (0,D.Y2)(a);if(b instanceof Response)return b;let c=(0,C.OG)(C.LS,b);if("error"in c)return(0,D.li)(c.error);let d=c.data,e=d.workspace||(0,A.K)();try{var f;let a=(0,u.randomUUID)(),b=await z({prompt:d.prompt,sessionId:d.sessionId,workspace:e,model:d.model,mode:d.mode});(0,B.VS)(a,b,e),d.sessionId&&(0,B.Xw)(a,d.sessionId);let c="1"===process.env.CLR_VERBOSE;b.stderr?.on("data",a=>{let b=a.toString().trim();b&&console.error("[agent stderr]",b)}),c&&console.warn(`[chat] spawning agent in ${e} (model=${d.model??"default"}, mode=${d.mode??"agent"})`);let g=await (f=d.prompt,new Promise(c=>{let d=!1,g="",h=null,i=setTimeout(()=>{d||c(null)},E.Wf);b.stdout?.on("data",b=>{let j=(g+=b.toString()).split("\n");for(let b of(g=j.pop()||"",j))if(b.trim())try{let g=JSON.parse(b);!d&&"system"===g.type&&"init"===g.subtype&&g.session_id&&(d=!0,h=g.session_id,clearTimeout(i),(0,w.ih)(g.session_id,e,f),(0,B.Xw)(a,g.session_id),c(g.session_id)),h&&("user"===g.type||"assistant"===g.type)&&(0,B.D7)(h,g)}catch{}}),b.on("close",()=>{d||(clearTimeout(i),c(null))}),b.on("error",()=>{d||(clearTimeout(i),c(null))})}));if(!g)return b.kill("SIGTERM"),console.error("[chat] agent did not emit init event within timeout"),(0,D.ig)("Agent failed to start");return c&&console.warn(`[chat] agent started session ${g}`),Response.json({sessionId:g})}catch(a){return(0,D.Jo)(a,"Failed to start agent"),(0,D.ig)("Failed to start agent")}}(0,B.l$)((a,b)=>{(0,F.O9)(a,b)});let I=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/chat/route",pathname:"/api/chat",filename:"route",bundlePath:"app/api/chat/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/jonmakinen/Documents/cursor-local-remote/src/app/api/chat/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:J,workUnitAsyncStorage:K,serverHooks:L}=I;function M(){return(0,g.patchFetch)({workAsyncStorage:J,workUnitAsyncStorage:K})}async function N(a,b,c){var d;let e="/api/chat/route";"/index"===e&&(e="/");let g=await I.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),E=!!(y.dynamicRoutes[D]||y.routes[C]);if(E&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let F=null;!E||I.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===I.isDev||!E,H=E&&!G,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:G,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:H,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>I.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>I.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.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=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!E)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await I.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})},z),b}},l=await I.handleResponse({req:a,nextConfig:w,cacheKey:F,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!E)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&E||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})}),E)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},3033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},4870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},5221:(a,b,c)=>{c.d(b,{K:()=>e});var d=c(9902);function e(){let a=process.env.CURSOR_WORKSPACE;return a?(0,d.resolve)(a):process.cwd()}},6277:(a,b,c)=>{c.d(b,{$m:()=>r,D7:()=>k,F1:()=>q,Ki:()=>l,VS:()=>n,Xw:()=>p,ix:()=>s,l$:()=>f,pl:()=>m,xy:()=>o});var d=c(401);let e=null;function f(a){e=a}let g=new Map,h=new Map,i=new Map,j=new Map;function k(a,b){let c=i.get(a);c||(c=[],i.set(a,c)),c.push(b);let d=j.get(a);if(d)for(let a of d)a()}function l(a){return i.get(a)??[]}function m(a,b){let c=j.get(a);c||(c=new Set,j.set(a,c));let d=c;return d.add(b),()=>{d.delete(b)}}function n(a,b,c){let f={child:b,sessionId:null,mapKey:a,workspace:c,startedAt:Date.now()};g.set(a,f);let k=()=>{let a=f.sessionId??f.mapKey;g.delete(f.mapKey);let b=h.get(f.mapKey);if(b)for(let a of(h.delete(f.mapKey),b))a();if(e&&f.sessionId)try{e(a,f.workspace)}catch{}setTimeout(()=>{i.delete(f.mapKey),j.delete(f.mapKey)},d.c1)};b.on("close",k),b.on("error",k)}function o(a,b){if(!g.has(a))return b(),()=>{};let c=h.get(a);c||(c=new Set,h.set(a,c));let d=c;return d.add(b),()=>{d.delete(b)}}function p(a,b){let c=g.get(a);c&&(c.sessionId=b,b!==a&&(g.set(b,c),g.delete(a),c.mapKey=b))}function q(){let a=new Set;for(let[b,c]of g)a.add(c.sessionId??b);return Array.from(a)}function r(a){return g.has(a)}function s(a){let b=g.get(a);return!!b&&(b.child.kill("SIGTERM"),!0)}},6293:a=>{a.exports=require("sql.js")},6439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},6505:(a,b,c)=>{c.d(b,{LS:()=>f,OG:()=>i,li:()=>g,vc:()=>h});var d=c(8629);let e=d.YjP().regex(/^[a-zA-Z0-9_-]{1,128}$/,"invalid sessionId"),f=d.Ikc({prompt:d.YjP().min(1,"prompt is required"),sessionId:e.optional(),model:d.YjP().max(128).regex(/^[a-zA-Z0-9._/-]+$/,"invalid model").optional(),mode:d.k5n(["agent","ask","plan"]).optional(),workspace:d.YjP().max(512).optional()}),g=d.Ikc({sessionId:e}),h=e;function i(a,b){let c=a.safeParse(b);if(c.success)return{data:c.data};let d=c.error.issues[0];return{error:d?.message??"Validation failed"}}},7367:a=>{a.exports=require("fs/promises")},9021:a=>{a.exports=require("fs")},9294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9439:a=>{a.exports=require("os")},9646:a=>{a.exports=require("child_process")},9902:a=>{a.exports=require("path")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[873,878,545],()=>b(b.s=1926));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=276,a.ids=[276],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},1926:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>N,patchFetch:()=>M,routeModule:()=>I,serverHooks:()=>L,workAsyncStorage:()=>J,workUnitAsyncStorage:()=>K});var d={};c.r(d),c.d(d,{POST:()=>H,dynamic:()=>G});var e=c(5736),f=c(9117),g=c(4044),h=c(9326),i=c(2324),j=c(261),k=c(4290),l=c(5328),m=c(8928),n=c(6595),o=c(3421),p=c(7679),q=c(1681),r=c(3446),s=c(6439),t=c(1356);let u=require("node:crypto");var v=c(9646),w=c(6492);let x=!1;async function y(){return"0"!==process.env.CURSOR_TRUST&&("1"===process.env.CURSOR_TRUST||"0"!==await (0,w.zj)("trust"))}async function z(a){if(!x)try{(0,v.execFileSync)("agent",["--version"],{stdio:"ignore",timeout:5e3}),x=!0}catch{throw Error("Could not find the 'agent' CLI. Make sure Cursor is installed and the CLI is on your PATH.")}let b=["-p",a.prompt,"--output-format","stream-json","--stream-partial-output"];return await y()&&b.push("--trust"),a.sessionId&&b.push("--resume",a.sessionId),a.workspace&&b.push("--workspace",a.workspace),a.model&&b.push("--model",a.model),a.mode&&"agent"!==a.mode&&b.push("--mode",a.mode),(0,v.spawn)("agent",b,{stdio:["pipe","pipe","pipe"],env:{...process.env}})}var A=c(5221),B=c(6277),C=c(6505),D=c(7093),E=c(401),F=c(9800);let G="force-dynamic";async function H(a){let b=await (0,D.Y2)(a);if(b instanceof Response)return b;let c=(0,C.OG)(C.LS,b);if("error"in c)return(0,D.li)(c.error);let d=c.data,e=d.workspace||(0,A.K)();try{var f;let a=(0,u.randomUUID)(),b=await z({prompt:d.prompt,sessionId:d.sessionId,workspace:e,model:d.model,mode:d.mode});(0,B.VS)(a,b,e),d.sessionId&&(0,B.Xw)(a,d.sessionId);let c="1"===process.env.CLR_VERBOSE;b.stderr?.on("data",a=>{let b=a.toString().trim();b&&console.error("[agent stderr]",b)}),c&&console.warn(`[chat] spawning agent in ${e} (model=${d.model??"default"}, mode=${d.mode??"agent"})`);let g=await (f=d.prompt,new Promise(c=>{let d=!1,g="",h=null,i=setTimeout(()=>{d||c(null)},E.Wf);b.stdout?.on("data",b=>{let j=(g+=b.toString()).split("\n");for(let b of(g=j.pop()||"",j))if(b.trim())try{let g=JSON.parse(b);!d&&"system"===g.type&&"init"===g.subtype&&g.session_id&&(d=!0,h=g.session_id,clearTimeout(i),(0,w.ih)(g.session_id,e,f),(0,B.Xw)(a,g.session_id),c(g.session_id)),h&&("user"===g.type||"assistant"===g.type)&&(0,B.D7)(h,g)}catch{}}),b.on("close",()=>{d||(clearTimeout(i),c(null))}),b.on("error",()=>{d||(clearTimeout(i),c(null))})}));if(!g)return b.kill("SIGTERM"),console.error("[chat] agent did not emit init event within timeout"),(0,D.ig)("Agent failed to start");return c&&console.warn(`[chat] agent started session ${g}`),Response.json({sessionId:g})}catch(a){return(0,D.Jo)(a,"Failed to start agent"),(0,D.ig)("Failed to start agent")}}(0,B.l$)((a,b)=>{(0,F.O9)(a,b)});let I=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/chat/route",pathname:"/api/chat",filename:"route",bundlePath:"app/api/chat/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/jonmakinen/Documents/cursor-local-remote/src/app/api/chat/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:J,workUnitAsyncStorage:K,serverHooks:L}=I;function M(){return(0,g.patchFetch)({workAsyncStorage:J,workUnitAsyncStorage:K})}async function N(a,b,c){var d;let e="/api/chat/route";"/index"===e&&(e="/");let g=await I.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),E=!!(y.dynamicRoutes[D]||y.routes[C]);if(E&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let F=null;!E||I.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===I.isDev||!E,H=E&&!G,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:G,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:H,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>I.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>I.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.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=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!E)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await I.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})},z),b}},l=await I.handleResponse({req:a,nextConfig:w,cacheKey:F,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!E)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&E||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await I.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})}),E)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},3033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},4870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},5221:(a,b,c)=>{c.d(b,{K:()=>e});var d=c(9902);function e(){let a=process.env.CURSOR_WORKSPACE;return a?(0,d.resolve)(a):process.cwd()}},6277:(a,b,c)=>{c.d(b,{$m:()=>r,D7:()=>k,F1:()=>q,Ki:()=>l,VS:()=>n,Xw:()=>p,ix:()=>s,l$:()=>f,pl:()=>m,xy:()=>o});var d=c(401);let e=null;function f(a){e=a}let g=new Map,h=new Map,i=new Map,j=new Map;function k(a,b){let c=i.get(a);c||(c=[],i.set(a,c)),c.push(b);let d=j.get(a);if(d)for(let a of d)a()}function l(a){return i.get(a)??[]}function m(a,b){let c=j.get(a);c||(c=new Set,j.set(a,c));let d=c;return d.add(b),()=>{d.delete(b)}}function n(a,b,c){let f={child:b,sessionId:null,mapKey:a,workspace:c,startedAt:Date.now()};g.set(a,f);let k=()=>{let a=f.sessionId??f.mapKey;g.delete(f.mapKey);let b=h.get(f.mapKey);if(b)for(let a of(h.delete(f.mapKey),b))a();if(e&&f.sessionId)try{e(a,f.workspace)}catch{}setTimeout(()=>{i.delete(f.mapKey),j.delete(f.mapKey)},d.c1)};b.on("close",k),b.on("error",k)}function o(a,b){if(!g.has(a))return b(),()=>{};let c=h.get(a);c||(c=new Set,h.set(a,c));let d=c;return d.add(b),()=>{d.delete(b)}}function p(a,b){let c=g.get(a);c&&(c.sessionId=b,b!==a&&(g.set(b,c),g.delete(a),c.mapKey=b))}function q(){let a=new Set;for(let[b,c]of g)a.add(c.sessionId??b);return Array.from(a)}function r(a){return g.has(a)}function s(a){let b=g.get(a);return!!b&&(b.child.kill("SIGTERM"),!0)}},6293:a=>{a.exports=require("sql.js")},6439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},6505:(a,b,c)=>{c.d(b,{LS:()=>f,OG:()=>i,li:()=>g,vc:()=>h});var d=c(8629);let e=d.YjP().regex(/^[a-zA-Z0-9_-]{1,128}$/,"invalid sessionId"),f=d.Ikc({prompt:d.YjP().min(1,"prompt is required"),sessionId:e.optional(),model:d.YjP().max(128).regex(/^[a-zA-Z0-9._/-]+$/,"invalid model").optional(),mode:d.k5n(["agent","ask","plan"]).optional(),workspace:d.YjP().max(512).optional()}),g=d.Ikc({sessionId:e}),h=e;function i(a,b){let c=a.safeParse(b);if(c.success)return{data:c.data};let d=c.error.issues[0];return{error:d?.message??"Validation failed"}}},7367:a=>{a.exports=require("fs/promises")},9021:a=>{a.exports=require("fs")},9294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9439:a=>{a.exports=require("os")},9646:a=>{a.exports=require("child_process")},9902:a=>{a.exports=require("path")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[873,878,184],()=>b(b.s=1926));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../node_modules/sql.js/package.json","../../../../../package.json","../../../../package.json","../../../chunks/545.js","../../../chunks/873.js","../../../chunks/878.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../node_modules/sql.js/package.json","../../../../../package.json","../../../../package.json","../../../chunks/184.js","../../../chunks/873.js","../../../chunks/878.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]}