denchclaw 2.2.2 → 2.2.3

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.
@@ -1 +1 @@
1
- GMcg5LmEckjlPN9JnIiUs
1
+ Q0YgF3jTj-9sjWtpRymRl
@@ -23,12 +23,12 @@
23
23
  "static/chunks/main-app-c71b105c32544ad9.js",
24
24
  "static/chunks/app/api/workspace/objects/[name]/views/route-6294b5f2b139fc07.js"
25
25
  ],
26
- "/api/apps/route": [
26
+ "/api/chat/stop/route": [
27
27
  "static/chunks/webpack-11b130b100839707.js",
28
28
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
29
29
  "static/chunks/8522-8af2b73a0e93c73d.js",
30
30
  "static/chunks/main-app-c71b105c32544ad9.js",
31
- "static/chunks/app/api/apps/route-6294b5f2b139fc07.js"
31
+ "static/chunks/app/api/chat/stop/route-6294b5f2b139fc07.js"
32
32
  ],
33
33
  "/api/apps/serve/[...path]/route": [
34
34
  "static/chunks/webpack-11b130b100839707.js",
@@ -37,19 +37,19 @@
37
37
  "static/chunks/main-app-c71b105c32544ad9.js",
38
38
  "static/chunks/app/api/apps/serve/[...path]/route-6294b5f2b139fc07.js"
39
39
  ],
40
- "/api/chat/active/route": [
40
+ "/api/apps/route": [
41
41
  "static/chunks/webpack-11b130b100839707.js",
42
42
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
43
43
  "static/chunks/8522-8af2b73a0e93c73d.js",
44
44
  "static/chunks/main-app-c71b105c32544ad9.js",
45
- "static/chunks/app/api/chat/active/route-6294b5f2b139fc07.js"
45
+ "static/chunks/app/api/apps/route-6294b5f2b139fc07.js"
46
46
  ],
47
- "/api/chat/stream/route": [
47
+ "/api/chat/route": [
48
48
  "static/chunks/webpack-11b130b100839707.js",
49
49
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
50
50
  "static/chunks/8522-8af2b73a0e93c73d.js",
51
51
  "static/chunks/main-app-c71b105c32544ad9.js",
52
- "static/chunks/app/api/chat/stream/route-6294b5f2b139fc07.js"
52
+ "static/chunks/app/api/chat/route-6294b5f2b139fc07.js"
53
53
  ],
54
54
  "/api/chat/subagents/route": [
55
55
  "static/chunks/webpack-11b130b100839707.js",
@@ -58,12 +58,12 @@
58
58
  "static/chunks/main-app-c71b105c32544ad9.js",
59
59
  "static/chunks/app/api/chat/subagents/route-6294b5f2b139fc07.js"
60
60
  ],
61
- "/api/chat/stop/route": [
61
+ "/api/chat/active/route": [
62
62
  "static/chunks/webpack-11b130b100839707.js",
63
63
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
64
64
  "static/chunks/8522-8af2b73a0e93c73d.js",
65
65
  "static/chunks/main-app-c71b105c32544ad9.js",
66
- "static/chunks/app/api/chat/stop/route-6294b5f2b139fc07.js"
66
+ "static/chunks/app/api/chat/active/route-6294b5f2b139fc07.js"
67
67
  ],
68
68
  "/api/cron/jobs/route": [
69
69
  "static/chunks/webpack-11b130b100839707.js",
@@ -72,13 +72,6 @@
72
72
  "static/chunks/main-app-c71b105c32544ad9.js",
73
73
  "static/chunks/app/api/cron/jobs/route-6294b5f2b139fc07.js"
74
74
  ],
75
- "/api/cron/jobs/[jobId]/runs/route": [
76
- "static/chunks/webpack-11b130b100839707.js",
77
- "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
78
- "static/chunks/8522-8af2b73a0e93c73d.js",
79
- "static/chunks/main-app-c71b105c32544ad9.js",
80
- "static/chunks/app/api/cron/jobs/[jobId]/runs/route-6294b5f2b139fc07.js"
81
- ],
82
75
  "/api/memories/route": [
83
76
  "static/chunks/webpack-11b130b100839707.js",
84
77
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
@@ -86,33 +79,33 @@
86
79
  "static/chunks/main-app-c71b105c32544ad9.js",
87
80
  "static/chunks/app/api/memories/route-6294b5f2b139fc07.js"
88
81
  ],
89
- "/api/profiles/route": [
82
+ "/api/cron/jobs/[jobId]/runs/route": [
90
83
  "static/chunks/webpack-11b130b100839707.js",
91
84
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
92
85
  "static/chunks/8522-8af2b73a0e93c73d.js",
93
86
  "static/chunks/main-app-c71b105c32544ad9.js",
94
- "static/chunks/app/api/profiles/route-6294b5f2b139fc07.js"
87
+ "static/chunks/app/api/cron/jobs/[jobId]/runs/route-6294b5f2b139fc07.js"
95
88
  ],
96
- "/api/cron/runs/[sessionId]/route": [
89
+ "/api/chat/stream/route": [
97
90
  "static/chunks/webpack-11b130b100839707.js",
98
91
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
99
92
  "static/chunks/8522-8af2b73a0e93c73d.js",
100
93
  "static/chunks/main-app-c71b105c32544ad9.js",
101
- "static/chunks/app/api/cron/runs/[sessionId]/route-6294b5f2b139fc07.js"
94
+ "static/chunks/app/api/chat/stream/route-6294b5f2b139fc07.js"
102
95
  ],
103
- "/api/feedback/route": [
96
+ "/api/profiles/route": [
104
97
  "static/chunks/webpack-11b130b100839707.js",
105
98
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
106
99
  "static/chunks/8522-8af2b73a0e93c73d.js",
107
100
  "static/chunks/main-app-c71b105c32544ad9.js",
108
- "static/chunks/app/api/feedback/route-6294b5f2b139fc07.js"
101
+ "static/chunks/app/api/profiles/route-6294b5f2b139fc07.js"
109
102
  ],
110
- "/api/sessions/[sessionId]/route": [
103
+ "/api/profiles/switch/route": [
111
104
  "static/chunks/webpack-11b130b100839707.js",
112
105
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
113
106
  "static/chunks/8522-8af2b73a0e93c73d.js",
114
107
  "static/chunks/main-app-c71b105c32544ad9.js",
115
- "static/chunks/app/api/sessions/[sessionId]/route-6294b5f2b139fc07.js"
108
+ "static/chunks/app/api/profiles/switch/route-6294b5f2b139fc07.js"
116
109
  ],
117
110
  "/api/skills/route": [
118
111
  "static/chunks/webpack-11b130b100839707.js",
@@ -121,19 +114,19 @@
121
114
  "static/chunks/main-app-c71b105c32544ad9.js",
122
115
  "static/chunks/app/api/skills/route-6294b5f2b139fc07.js"
123
116
  ],
124
- "/api/chat/route": [
117
+ "/api/terminal/port/route": [
125
118
  "static/chunks/webpack-11b130b100839707.js",
126
119
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
127
120
  "static/chunks/8522-8af2b73a0e93c73d.js",
128
121
  "static/chunks/main-app-c71b105c32544ad9.js",
129
- "static/chunks/app/api/chat/route-6294b5f2b139fc07.js"
122
+ "static/chunks/app/api/terminal/port/route-6294b5f2b139fc07.js"
130
123
  ],
131
- "/api/terminal/port/route": [
124
+ "/api/cron/runs/[sessionId]/route": [
132
125
  "static/chunks/webpack-11b130b100839707.js",
133
126
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
134
127
  "static/chunks/8522-8af2b73a0e93c73d.js",
135
128
  "static/chunks/main-app-c71b105c32544ad9.js",
136
- "static/chunks/app/api/terminal/port/route-6294b5f2b139fc07.js"
129
+ "static/chunks/app/api/cron/runs/[sessionId]/route-6294b5f2b139fc07.js"
137
130
  ],
138
131
  "/api/web-sessions/[id]/messages/route": [
139
132
  "static/chunks/webpack-11b130b100839707.js",
@@ -142,61 +135,68 @@
142
135
  "static/chunks/main-app-c71b105c32544ad9.js",
143
136
  "static/chunks/app/api/web-sessions/[id]/messages/route-6294b5f2b139fc07.js"
144
137
  ],
145
- "/api/profiles/switch/route": [
138
+ "/api/workspace/assets/[...path]/route": [
146
139
  "static/chunks/webpack-11b130b100839707.js",
147
140
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
148
141
  "static/chunks/8522-8af2b73a0e93c73d.js",
149
142
  "static/chunks/main-app-c71b105c32544ad9.js",
150
- "static/chunks/app/api/profiles/switch/route-6294b5f2b139fc07.js"
143
+ "static/chunks/app/api/workspace/assets/[...path]/route-6294b5f2b139fc07.js"
151
144
  ],
152
- "/api/web-sessions/route": [
145
+ "/api/sessions/route": [
153
146
  "static/chunks/webpack-11b130b100839707.js",
154
147
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
155
148
  "static/chunks/8522-8af2b73a0e93c73d.js",
156
149
  "static/chunks/main-app-c71b105c32544ad9.js",
157
- "static/chunks/app/api/web-sessions/route-6294b5f2b139fc07.js"
150
+ "static/chunks/app/api/sessions/route-6294b5f2b139fc07.js"
158
151
  ],
159
- "/api/workspace/assets/[...path]/route": [
152
+ "/api/workspace/browse-file/route": [
160
153
  "static/chunks/webpack-11b130b100839707.js",
161
154
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
162
155
  "static/chunks/8522-8af2b73a0e93c73d.js",
163
156
  "static/chunks/main-app-c71b105c32544ad9.js",
164
- "static/chunks/app/api/workspace/assets/[...path]/route-6294b5f2b139fc07.js"
157
+ "static/chunks/app/api/workspace/browse-file/route-6294b5f2b139fc07.js"
165
158
  ],
166
- "/api/workspace/browse/route": [
159
+ "/api/web-sessions/route": [
167
160
  "static/chunks/webpack-11b130b100839707.js",
168
161
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
169
162
  "static/chunks/8522-8af2b73a0e93c73d.js",
170
163
  "static/chunks/main-app-c71b105c32544ad9.js",
171
- "static/chunks/app/api/workspace/browse/route-6294b5f2b139fc07.js"
164
+ "static/chunks/app/api/web-sessions/route-6294b5f2b139fc07.js"
172
165
  ],
173
- "/api/workspace/browse-file/route": [
166
+ "/api/sessions/[sessionId]/route": [
174
167
  "static/chunks/webpack-11b130b100839707.js",
175
168
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
176
169
  "static/chunks/8522-8af2b73a0e93c73d.js",
177
170
  "static/chunks/main-app-c71b105c32544ad9.js",
178
- "static/chunks/app/api/workspace/browse-file/route-6294b5f2b139fc07.js"
171
+ "static/chunks/app/api/sessions/[sessionId]/route-6294b5f2b139fc07.js"
179
172
  ],
180
- "/api/workspace/db/introspect/route": [
173
+ "/api/feedback/route": [
181
174
  "static/chunks/webpack-11b130b100839707.js",
182
175
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
183
176
  "static/chunks/8522-8af2b73a0e93c73d.js",
184
177
  "static/chunks/main-app-c71b105c32544ad9.js",
185
- "static/chunks/app/api/workspace/db/introspect/route-6294b5f2b139fc07.js"
178
+ "static/chunks/app/api/feedback/route-6294b5f2b139fc07.js"
186
179
  ],
187
- "/api/workspace/copy/route": [
180
+ "/api/workspace/browse/route": [
188
181
  "static/chunks/webpack-11b130b100839707.js",
189
182
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
190
183
  "static/chunks/8522-8af2b73a0e93c73d.js",
191
184
  "static/chunks/main-app-c71b105c32544ad9.js",
192
- "static/chunks/app/api/workspace/copy/route-6294b5f2b139fc07.js"
185
+ "static/chunks/app/api/workspace/browse/route-6294b5f2b139fc07.js"
193
186
  ],
194
- "/api/workspace/delete/route": [
187
+ "/api/cron/runs/search-transcript/route": [
195
188
  "static/chunks/webpack-11b130b100839707.js",
196
189
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
197
190
  "static/chunks/8522-8af2b73a0e93c73d.js",
198
191
  "static/chunks/main-app-c71b105c32544ad9.js",
199
- "static/chunks/app/api/workspace/delete/route-6294b5f2b139fc07.js"
192
+ "static/chunks/app/api/cron/runs/search-transcript/route-6294b5f2b139fc07.js"
193
+ ],
194
+ "/api/workspace/context/route": [
195
+ "static/chunks/webpack-11b130b100839707.js",
196
+ "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
197
+ "static/chunks/8522-8af2b73a0e93c73d.js",
198
+ "static/chunks/main-app-c71b105c32544ad9.js",
199
+ "static/chunks/app/api/workspace/context/route-6294b5f2b139fc07.js"
200
200
  ],
201
201
  "/api/workspace/file/route": [
202
202
  "static/chunks/webpack-11b130b100839707.js",
@@ -205,12 +205,12 @@
205
205
  "static/chunks/main-app-c71b105c32544ad9.js",
206
206
  "static/chunks/app/api/workspace/file/route-6294b5f2b139fc07.js"
207
207
  ],
208
- "/api/workspace/list/route": [
208
+ "/api/workspace/copy/route": [
209
209
  "static/chunks/webpack-11b130b100839707.js",
210
210
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
211
211
  "static/chunks/8522-8af2b73a0e93c73d.js",
212
212
  "static/chunks/main-app-c71b105c32544ad9.js",
213
- "static/chunks/app/api/workspace/list/route-6294b5f2b139fc07.js"
213
+ "static/chunks/app/api/workspace/copy/route-6294b5f2b139fc07.js"
214
214
  ],
215
215
  "/api/workspace/db/query/route": [
216
216
  "static/chunks/webpack-11b130b100839707.js",
@@ -219,12 +219,12 @@
219
219
  "static/chunks/main-app-c71b105c32544ad9.js",
220
220
  "static/chunks/app/api/workspace/db/query/route-6294b5f2b139fc07.js"
221
221
  ],
222
- "/api/workspace/context/route": [
222
+ "/api/workspace/list/route": [
223
223
  "static/chunks/webpack-11b130b100839707.js",
224
224
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
225
225
  "static/chunks/8522-8af2b73a0e93c73d.js",
226
226
  "static/chunks/main-app-c71b105c32544ad9.js",
227
- "static/chunks/app/api/workspace/context/route-6294b5f2b139fc07.js"
227
+ "static/chunks/app/api/workspace/list/route-6294b5f2b139fc07.js"
228
228
  ],
229
229
  "/api/workspace/mkdir/route": [
230
230
  "static/chunks/webpack-11b130b100839707.js",
@@ -233,13 +233,6 @@
233
233
  "static/chunks/main-app-c71b105c32544ad9.js",
234
234
  "static/chunks/app/api/workspace/mkdir/route-6294b5f2b139fc07.js"
235
235
  ],
236
- "/api/web-sessions/[id]/route": [
237
- "static/chunks/webpack-11b130b100839707.js",
238
- "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
239
- "static/chunks/8522-8af2b73a0e93c73d.js",
240
- "static/chunks/main-app-c71b105c32544ad9.js",
241
- "static/chunks/app/api/web-sessions/[id]/route-6294b5f2b139fc07.js"
242
- ],
243
236
  "/api/workspace/move/route": [
244
237
  "static/chunks/webpack-11b130b100839707.js",
245
238
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
@@ -247,12 +240,12 @@
247
240
  "static/chunks/main-app-c71b105c32544ad9.js",
248
241
  "static/chunks/app/api/workspace/move/route-6294b5f2b139fc07.js"
249
242
  ],
250
- "/api/cron/runs/search-transcript/route": [
243
+ "/api/workspace/init/route": [
251
244
  "static/chunks/webpack-11b130b100839707.js",
252
245
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
253
246
  "static/chunks/8522-8af2b73a0e93c73d.js",
254
247
  "static/chunks/main-app-c71b105c32544ad9.js",
255
- "static/chunks/app/api/cron/runs/search-transcript/route-6294b5f2b139fc07.js"
248
+ "static/chunks/app/api/workspace/init/route-6294b5f2b139fc07.js"
256
249
  ],
257
250
  "/api/workspace/objects/[name]/entries/bulk-delete/route": [
258
251
  "static/chunks/webpack-11b130b100839707.js",
@@ -261,19 +254,12 @@
261
254
  "static/chunks/main-app-c71b105c32544ad9.js",
262
255
  "static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-6294b5f2b139fc07.js"
263
256
  ],
264
- "/api/workspace/init/route": [
265
- "static/chunks/webpack-11b130b100839707.js",
266
- "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
267
- "static/chunks/8522-8af2b73a0e93c73d.js",
268
- "static/chunks/main-app-c71b105c32544ad9.js",
269
- "static/chunks/app/api/workspace/init/route-6294b5f2b139fc07.js"
270
- ],
271
- "/api/workspace/objects/[name]/entries/options/route": [
257
+ "/api/workspace/objects/[name]/display-field/route": [
272
258
  "static/chunks/webpack-11b130b100839707.js",
273
259
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
274
260
  "static/chunks/8522-8af2b73a0e93c73d.js",
275
261
  "static/chunks/main-app-c71b105c32544ad9.js",
276
- "static/chunks/app/api/workspace/objects/[name]/entries/options/route-6294b5f2b139fc07.js"
262
+ "static/chunks/app/api/workspace/objects/[name]/display-field/route-6294b5f2b139fc07.js"
277
263
  ],
278
264
  "/api/workspace/objects/[name]/entries/route": [
279
265
  "static/chunks/webpack-11b130b100839707.js",
@@ -282,40 +268,40 @@
282
268
  "static/chunks/main-app-c71b105c32544ad9.js",
283
269
  "static/chunks/app/api/workspace/objects/[name]/entries/route-6294b5f2b139fc07.js"
284
270
  ],
285
- "/api/workspace/objects/[name]/fields/[fieldId]/route": [
271
+ "/api/workspace/objects/[name]/entries/options/route": [
286
272
  "static/chunks/webpack-11b130b100839707.js",
287
273
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
288
274
  "static/chunks/8522-8af2b73a0e93c73d.js",
289
275
  "static/chunks/main-app-c71b105c32544ad9.js",
290
- "static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-6294b5f2b139fc07.js"
276
+ "static/chunks/app/api/workspace/objects/[name]/entries/options/route-6294b5f2b139fc07.js"
291
277
  ],
292
- "/api/workspace/objects/[name]/fields/reorder/route": [
278
+ "/api/workspace/delete/route": [
293
279
  "static/chunks/webpack-11b130b100839707.js",
294
280
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
295
281
  "static/chunks/8522-8af2b73a0e93c73d.js",
296
282
  "static/chunks/main-app-c71b105c32544ad9.js",
297
- "static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-6294b5f2b139fc07.js"
283
+ "static/chunks/app/api/workspace/delete/route-6294b5f2b139fc07.js"
298
284
  ],
299
- "/api/workspace/objects/[name]/display-field/route": [
285
+ "/api/workspace/objects/[name]/fields/reorder/route": [
300
286
  "static/chunks/webpack-11b130b100839707.js",
301
287
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
302
288
  "static/chunks/8522-8af2b73a0e93c73d.js",
303
289
  "static/chunks/main-app-c71b105c32544ad9.js",
304
- "static/chunks/app/api/workspace/objects/[name]/display-field/route-6294b5f2b139fc07.js"
290
+ "static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-6294b5f2b139fc07.js"
305
291
  ],
306
- "/api/workspace/objects/[name]/entries/[id]/route": [
292
+ "/api/workspace/objects/[name]/fields/[fieldId]/route": [
307
293
  "static/chunks/webpack-11b130b100839707.js",
308
294
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
309
295
  "static/chunks/8522-8af2b73a0e93c73d.js",
310
296
  "static/chunks/main-app-c71b105c32544ad9.js",
311
- "static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-6294b5f2b139fc07.js"
297
+ "static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-6294b5f2b139fc07.js"
312
298
  ],
313
- "/api/sessions/route": [
299
+ "/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route": [
314
300
  "static/chunks/webpack-11b130b100839707.js",
315
301
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
316
302
  "static/chunks/8522-8af2b73a0e93c73d.js",
317
303
  "static/chunks/main-app-c71b105c32544ad9.js",
318
- "static/chunks/app/api/sessions/route-6294b5f2b139fc07.js"
304
+ "static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-6294b5f2b139fc07.js"
319
305
  ],
320
306
  "/api/workspace/path-info/route": [
321
307
  "static/chunks/webpack-11b130b100839707.js",
@@ -324,26 +310,26 @@
324
310
  "static/chunks/main-app-c71b105c32544ad9.js",
325
311
  "static/chunks/app/api/workspace/path-info/route-6294b5f2b139fc07.js"
326
312
  ],
327
- "/api/workspace/query/route": [
313
+ "/api/web-sessions/[id]/route": [
328
314
  "static/chunks/webpack-11b130b100839707.js",
329
315
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
330
316
  "static/chunks/8522-8af2b73a0e93c73d.js",
331
317
  "static/chunks/main-app-c71b105c32544ad9.js",
332
- "static/chunks/app/api/workspace/query/route-6294b5f2b139fc07.js"
318
+ "static/chunks/app/api/web-sessions/[id]/route-6294b5f2b139fc07.js"
333
319
  ],
334
- "/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route": [
320
+ "/api/workspace/open-file/route": [
335
321
  "static/chunks/webpack-11b130b100839707.js",
336
322
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
337
323
  "static/chunks/8522-8af2b73a0e93c73d.js",
338
324
  "static/chunks/main-app-c71b105c32544ad9.js",
339
- "static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-6294b5f2b139fc07.js"
325
+ "static/chunks/app/api/workspace/open-file/route-6294b5f2b139fc07.js"
340
326
  ],
341
- "/api/workspace/open-file/route": [
327
+ "/api/workspace/query/route": [
342
328
  "static/chunks/webpack-11b130b100839707.js",
343
329
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
344
330
  "static/chunks/8522-8af2b73a0e93c73d.js",
345
331
  "static/chunks/main-app-c71b105c32544ad9.js",
346
- "static/chunks/app/api/workspace/open-file/route-6294b5f2b139fc07.js"
332
+ "static/chunks/app/api/workspace/query/route-6294b5f2b139fc07.js"
347
333
  ],
348
334
  "/api/workspace/rename/route": [
349
335
  "static/chunks/webpack-11b130b100839707.js",
@@ -352,12 +338,12 @@
352
338
  "static/chunks/main-app-c71b105c32544ad9.js",
353
339
  "static/chunks/app/api/workspace/rename/route-6294b5f2b139fc07.js"
354
340
  ],
355
- "/api/workspace/raw-file/route": [
341
+ "/api/workspace/switch/route": [
356
342
  "static/chunks/webpack-11b130b100839707.js",
357
343
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
358
344
  "static/chunks/8522-8af2b73a0e93c73d.js",
359
345
  "static/chunks/main-app-c71b105c32544ad9.js",
360
- "static/chunks/app/api/workspace/raw-file/route-6294b5f2b139fc07.js"
346
+ "static/chunks/app/api/workspace/switch/route-6294b5f2b139fc07.js"
361
347
  ],
362
348
  "/api/workspace/reports/execute/route": [
363
349
  "static/chunks/webpack-11b130b100839707.js",
@@ -366,6 +352,13 @@
366
352
  "static/chunks/main-app-c71b105c32544ad9.js",
367
353
  "static/chunks/app/api/workspace/reports/execute/route-6294b5f2b139fc07.js"
368
354
  ],
355
+ "/api/workspace/raw-file/route": [
356
+ "static/chunks/webpack-11b130b100839707.js",
357
+ "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
358
+ "static/chunks/8522-8af2b73a0e93c73d.js",
359
+ "static/chunks/main-app-c71b105c32544ad9.js",
360
+ "static/chunks/app/api/workspace/raw-file/route-6294b5f2b139fc07.js"
361
+ ],
369
362
  "/api/workspace/thumbnail/route": [
370
363
  "static/chunks/webpack-11b130b100839707.js",
371
364
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
@@ -373,12 +366,12 @@
373
366
  "static/chunks/main-app-c71b105c32544ad9.js",
374
367
  "static/chunks/app/api/workspace/thumbnail/route-6294b5f2b139fc07.js"
375
368
  ],
376
- "/api/workspace/switch/route": [
369
+ "/api/workspace/objects/[name]/entries/[id]/route": [
377
370
  "static/chunks/webpack-11b130b100839707.js",
378
371
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
379
372
  "static/chunks/8522-8af2b73a0e93c73d.js",
380
373
  "static/chunks/main-app-c71b105c32544ad9.js",
381
- "static/chunks/app/api/workspace/switch/route-6294b5f2b139fc07.js"
374
+ "static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-6294b5f2b139fc07.js"
382
375
  ],
383
376
  "/api/workspace/upload/route": [
384
377
  "static/chunks/webpack-11b130b100839707.js",
@@ -394,6 +387,13 @@
394
387
  "static/chunks/main-app-c71b105c32544ad9.js",
395
388
  "static/chunks/app/api/workspace/search-index/route-6294b5f2b139fc07.js"
396
389
  ],
390
+ "/api/workspace/write-binary/route": [
391
+ "static/chunks/webpack-11b130b100839707.js",
392
+ "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
393
+ "static/chunks/8522-8af2b73a0e93c73d.js",
394
+ "static/chunks/main-app-c71b105c32544ad9.js",
395
+ "static/chunks/app/api/workspace/write-binary/route-6294b5f2b139fc07.js"
396
+ ],
397
397
  "/api/workspace/virtual-file/route": [
398
398
  "static/chunks/webpack-11b130b100839707.js",
399
399
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
@@ -401,40 +401,40 @@
401
401
  "static/chunks/main-app-c71b105c32544ad9.js",
402
402
  "static/chunks/app/api/workspace/virtual-file/route-6294b5f2b139fc07.js"
403
403
  ],
404
- "/api/workspace/tree/route": [
404
+ "/api/workspace/db/introspect/route": [
405
405
  "static/chunks/webpack-11b130b100839707.js",
406
406
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
407
407
  "static/chunks/8522-8af2b73a0e93c73d.js",
408
408
  "static/chunks/main-app-c71b105c32544ad9.js",
409
- "static/chunks/app/api/workspace/tree/route-6294b5f2b139fc07.js"
409
+ "static/chunks/app/api/workspace/db/introspect/route-6294b5f2b139fc07.js"
410
410
  ],
411
- "/api/workspace/suggest-files/route": [
411
+ "/api/workspace/objects/[name]/route": [
412
412
  "static/chunks/webpack-11b130b100839707.js",
413
413
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
414
414
  "static/chunks/8522-8af2b73a0e93c73d.js",
415
415
  "static/chunks/main-app-c71b105c32544ad9.js",
416
- "static/chunks/app/api/workspace/suggest-files/route-6294b5f2b139fc07.js"
416
+ "static/chunks/app/api/workspace/objects/[name]/route-6294b5f2b139fc07.js"
417
417
  ],
418
- "/api/workspace/write-binary/route": [
418
+ "/api/workspace/tree/route": [
419
419
  "static/chunks/webpack-11b130b100839707.js",
420
420
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
421
421
  "static/chunks/8522-8af2b73a0e93c73d.js",
422
422
  "static/chunks/main-app-c71b105c32544ad9.js",
423
- "static/chunks/app/api/workspace/write-binary/route-6294b5f2b139fc07.js"
423
+ "static/chunks/app/api/workspace/tree/route-6294b5f2b139fc07.js"
424
424
  ],
425
- "/api/workspace/watch/route": [
425
+ "/api/workspace/suggest-files/route": [
426
426
  "static/chunks/webpack-11b130b100839707.js",
427
427
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
428
428
  "static/chunks/8522-8af2b73a0e93c73d.js",
429
429
  "static/chunks/main-app-c71b105c32544ad9.js",
430
- "static/chunks/app/api/workspace/watch/route-6294b5f2b139fc07.js"
430
+ "static/chunks/app/api/workspace/suggest-files/route-6294b5f2b139fc07.js"
431
431
  ],
432
- "/api/workspace/objects/[name]/route": [
432
+ "/api/workspace/watch/route": [
433
433
  "static/chunks/webpack-11b130b100839707.js",
434
434
  "static/chunks/b59f762a-f8e8d23ec83d91e0.js",
435
435
  "static/chunks/8522-8af2b73a0e93c73d.js",
436
436
  "static/chunks/main-app-c71b105c32544ad9.js",
437
- "static/chunks/app/api/workspace/objects/[name]/route-6294b5f2b139fc07.js"
437
+ "static/chunks/app/api/workspace/watch/route-6294b5f2b139fc07.js"
438
438
  ],
439
439
  "/workspace/page": [
440
440
  "static/chunks/webpack-11b130b100839707.js",
@@ -1,65 +1,65 @@
1
1
  {
2
2
  "/_not-found/page": "/_not-found",
3
3
  "/api/workspace/objects/[name]/views/route": "/api/workspace/objects/[name]/views",
4
- "/api/apps/route": "/api/apps",
4
+ "/api/chat/stop/route": "/api/chat/stop",
5
5
  "/api/apps/serve/[...path]/route": "/api/apps/serve/[...path]",
6
- "/api/chat/active/route": "/api/chat/active",
7
- "/api/chat/stream/route": "/api/chat/stream",
6
+ "/api/apps/route": "/api/apps",
7
+ "/api/chat/route": "/api/chat",
8
8
  "/api/chat/subagents/route": "/api/chat/subagents",
9
- "/api/chat/stop/route": "/api/chat/stop",
9
+ "/api/chat/active/route": "/api/chat/active",
10
10
  "/api/cron/jobs/route": "/api/cron/jobs",
11
- "/api/cron/jobs/[jobId]/runs/route": "/api/cron/jobs/[jobId]/runs",
12
11
  "/api/memories/route": "/api/memories",
12
+ "/api/cron/jobs/[jobId]/runs/route": "/api/cron/jobs/[jobId]/runs",
13
+ "/api/chat/stream/route": "/api/chat/stream",
13
14
  "/api/profiles/route": "/api/profiles",
14
- "/api/cron/runs/[sessionId]/route": "/api/cron/runs/[sessionId]",
15
- "/api/feedback/route": "/api/feedback",
16
- "/api/sessions/[sessionId]/route": "/api/sessions/[sessionId]",
15
+ "/api/profiles/switch/route": "/api/profiles/switch",
17
16
  "/api/skills/route": "/api/skills",
18
- "/api/chat/route": "/api/chat",
19
17
  "/api/terminal/port/route": "/api/terminal/port",
18
+ "/api/cron/runs/[sessionId]/route": "/api/cron/runs/[sessionId]",
20
19
  "/api/web-sessions/[id]/messages/route": "/api/web-sessions/[id]/messages",
21
- "/api/profiles/switch/route": "/api/profiles/switch",
22
- "/api/web-sessions/route": "/api/web-sessions",
23
20
  "/api/workspace/assets/[...path]/route": "/api/workspace/assets/[...path]",
24
- "/api/workspace/browse/route": "/api/workspace/browse",
21
+ "/api/sessions/route": "/api/sessions",
25
22
  "/api/workspace/browse-file/route": "/api/workspace/browse-file",
26
- "/api/workspace/db/introspect/route": "/api/workspace/db/introspect",
27
- "/api/workspace/copy/route": "/api/workspace/copy",
28
- "/api/workspace/delete/route": "/api/workspace/delete",
23
+ "/api/web-sessions/route": "/api/web-sessions",
24
+ "/api/sessions/[sessionId]/route": "/api/sessions/[sessionId]",
25
+ "/api/feedback/route": "/api/feedback",
26
+ "/api/workspace/browse/route": "/api/workspace/browse",
27
+ "/api/cron/runs/search-transcript/route": "/api/cron/runs/search-transcript",
28
+ "/api/workspace/context/route": "/api/workspace/context",
29
29
  "/api/workspace/file/route": "/api/workspace/file",
30
- "/api/workspace/list/route": "/api/workspace/list",
30
+ "/api/workspace/copy/route": "/api/workspace/copy",
31
31
  "/api/workspace/db/query/route": "/api/workspace/db/query",
32
- "/api/workspace/context/route": "/api/workspace/context",
32
+ "/api/workspace/list/route": "/api/workspace/list",
33
33
  "/api/workspace/mkdir/route": "/api/workspace/mkdir",
34
- "/api/web-sessions/[id]/route": "/api/web-sessions/[id]",
35
34
  "/api/workspace/move/route": "/api/workspace/move",
36
- "/api/cron/runs/search-transcript/route": "/api/cron/runs/search-transcript",
37
- "/api/workspace/objects/[name]/entries/bulk-delete/route": "/api/workspace/objects/[name]/entries/bulk-delete",
38
35
  "/api/workspace/init/route": "/api/workspace/init",
39
- "/api/workspace/objects/[name]/entries/options/route": "/api/workspace/objects/[name]/entries/options",
36
+ "/api/workspace/objects/[name]/entries/bulk-delete/route": "/api/workspace/objects/[name]/entries/bulk-delete",
37
+ "/api/workspace/objects/[name]/display-field/route": "/api/workspace/objects/[name]/display-field",
40
38
  "/api/workspace/objects/[name]/entries/route": "/api/workspace/objects/[name]/entries",
41
- "/api/workspace/objects/[name]/fields/[fieldId]/route": "/api/workspace/objects/[name]/fields/[fieldId]",
39
+ "/api/workspace/objects/[name]/entries/options/route": "/api/workspace/objects/[name]/entries/options",
40
+ "/api/workspace/delete/route": "/api/workspace/delete",
42
41
  "/api/workspace/objects/[name]/fields/reorder/route": "/api/workspace/objects/[name]/fields/reorder",
43
- "/api/workspace/objects/[name]/display-field/route": "/api/workspace/objects/[name]/display-field",
44
- "/api/workspace/objects/[name]/entries/[id]/route": "/api/workspace/objects/[name]/entries/[id]",
45
- "/api/sessions/route": "/api/sessions",
46
- "/api/workspace/path-info/route": "/api/workspace/path-info",
47
- "/api/workspace/query/route": "/api/workspace/query",
42
+ "/api/workspace/objects/[name]/fields/[fieldId]/route": "/api/workspace/objects/[name]/fields/[fieldId]",
48
43
  "/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route": "/api/workspace/objects/[name]/fields/[fieldId]/enum-rename",
44
+ "/api/workspace/path-info/route": "/api/workspace/path-info",
45
+ "/api/web-sessions/[id]/route": "/api/web-sessions/[id]",
49
46
  "/api/workspace/open-file/route": "/api/workspace/open-file",
47
+ "/api/workspace/query/route": "/api/workspace/query",
50
48
  "/api/workspace/rename/route": "/api/workspace/rename",
51
- "/api/workspace/raw-file/route": "/api/workspace/raw-file",
49
+ "/api/workspace/switch/route": "/api/workspace/switch",
52
50
  "/api/workspace/reports/execute/route": "/api/workspace/reports/execute",
51
+ "/api/workspace/raw-file/route": "/api/workspace/raw-file",
53
52
  "/api/workspace/thumbnail/route": "/api/workspace/thumbnail",
54
- "/api/workspace/switch/route": "/api/workspace/switch",
53
+ "/api/workspace/objects/[name]/entries/[id]/route": "/api/workspace/objects/[name]/entries/[id]",
55
54
  "/api/workspace/upload/route": "/api/workspace/upload",
56
55
  "/api/workspace/search-index/route": "/api/workspace/search-index",
56
+ "/api/workspace/write-binary/route": "/api/workspace/write-binary",
57
57
  "/api/workspace/virtual-file/route": "/api/workspace/virtual-file",
58
+ "/api/workspace/db/introspect/route": "/api/workspace/db/introspect",
59
+ "/api/workspace/objects/[name]/route": "/api/workspace/objects/[name]",
58
60
  "/api/workspace/tree/route": "/api/workspace/tree",
59
61
  "/api/workspace/suggest-files/route": "/api/workspace/suggest-files",
60
- "/api/workspace/write-binary/route": "/api/workspace/write-binary",
61
62
  "/api/workspace/watch/route": "/api/workspace/watch",
62
- "/api/workspace/objects/[name]/route": "/api/workspace/objects/[name]",
63
63
  "/workspace/page": "/workspace",
64
64
  "/page": "/"
65
65
  }
@@ -5,8 +5,8 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/GMcg5LmEckjlPN9JnIiUs/_buildManifest.js",
9
- "static/GMcg5LmEckjlPN9JnIiUs/_ssgManifest.js"
8
+ "static/Q0YgF3jTj-9sjWtpRymRl/_buildManifest.js",
9
+ "static/Q0YgF3jTj-9sjWtpRymRl/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [
12
12
  "static/chunks/webpack-11b130b100839707.js",
@@ -1,65 +1,65 @@
1
1
  {
2
2
  "/_not-found/page": "app/_not-found/page.js",
3
3
  "/api/workspace/objects/[name]/views/route": "app/api/workspace/objects/[name]/views/route.js",
4
- "/api/apps/route": "app/api/apps/route.js",
4
+ "/api/chat/stop/route": "app/api/chat/stop/route.js",
5
5
  "/api/apps/serve/[...path]/route": "app/api/apps/serve/[...path]/route.js",
6
- "/api/chat/active/route": "app/api/chat/active/route.js",
7
- "/api/chat/stream/route": "app/api/chat/stream/route.js",
6
+ "/api/apps/route": "app/api/apps/route.js",
7
+ "/api/chat/route": "app/api/chat/route.js",
8
8
  "/api/chat/subagents/route": "app/api/chat/subagents/route.js",
9
- "/api/chat/stop/route": "app/api/chat/stop/route.js",
9
+ "/api/chat/active/route": "app/api/chat/active/route.js",
10
10
  "/api/cron/jobs/route": "app/api/cron/jobs/route.js",
11
- "/api/cron/jobs/[jobId]/runs/route": "app/api/cron/jobs/[jobId]/runs/route.js",
12
11
  "/api/memories/route": "app/api/memories/route.js",
12
+ "/api/cron/jobs/[jobId]/runs/route": "app/api/cron/jobs/[jobId]/runs/route.js",
13
+ "/api/chat/stream/route": "app/api/chat/stream/route.js",
13
14
  "/api/profiles/route": "app/api/profiles/route.js",
14
- "/api/cron/runs/[sessionId]/route": "app/api/cron/runs/[sessionId]/route.js",
15
- "/api/feedback/route": "app/api/feedback/route.js",
16
- "/api/sessions/[sessionId]/route": "app/api/sessions/[sessionId]/route.js",
15
+ "/api/profiles/switch/route": "app/api/profiles/switch/route.js",
17
16
  "/api/skills/route": "app/api/skills/route.js",
18
- "/api/chat/route": "app/api/chat/route.js",
19
17
  "/api/terminal/port/route": "app/api/terminal/port/route.js",
18
+ "/api/cron/runs/[sessionId]/route": "app/api/cron/runs/[sessionId]/route.js",
20
19
  "/api/web-sessions/[id]/messages/route": "app/api/web-sessions/[id]/messages/route.js",
21
- "/api/profiles/switch/route": "app/api/profiles/switch/route.js",
22
- "/api/web-sessions/route": "app/api/web-sessions/route.js",
23
20
  "/api/workspace/assets/[...path]/route": "app/api/workspace/assets/[...path]/route.js",
24
- "/api/workspace/browse/route": "app/api/workspace/browse/route.js",
21
+ "/api/sessions/route": "app/api/sessions/route.js",
25
22
  "/api/workspace/browse-file/route": "app/api/workspace/browse-file/route.js",
26
- "/api/workspace/db/introspect/route": "app/api/workspace/db/introspect/route.js",
27
- "/api/workspace/copy/route": "app/api/workspace/copy/route.js",
28
- "/api/workspace/delete/route": "app/api/workspace/delete/route.js",
23
+ "/api/web-sessions/route": "app/api/web-sessions/route.js",
24
+ "/api/sessions/[sessionId]/route": "app/api/sessions/[sessionId]/route.js",
25
+ "/api/feedback/route": "app/api/feedback/route.js",
26
+ "/api/workspace/browse/route": "app/api/workspace/browse/route.js",
27
+ "/api/cron/runs/search-transcript/route": "app/api/cron/runs/search-transcript/route.js",
28
+ "/api/workspace/context/route": "app/api/workspace/context/route.js",
29
29
  "/api/workspace/file/route": "app/api/workspace/file/route.js",
30
- "/api/workspace/list/route": "app/api/workspace/list/route.js",
30
+ "/api/workspace/copy/route": "app/api/workspace/copy/route.js",
31
31
  "/api/workspace/db/query/route": "app/api/workspace/db/query/route.js",
32
- "/api/workspace/context/route": "app/api/workspace/context/route.js",
32
+ "/api/workspace/list/route": "app/api/workspace/list/route.js",
33
33
  "/api/workspace/mkdir/route": "app/api/workspace/mkdir/route.js",
34
- "/api/web-sessions/[id]/route": "app/api/web-sessions/[id]/route.js",
35
34
  "/api/workspace/move/route": "app/api/workspace/move/route.js",
36
- "/api/cron/runs/search-transcript/route": "app/api/cron/runs/search-transcript/route.js",
37
- "/api/workspace/objects/[name]/entries/bulk-delete/route": "app/api/workspace/objects/[name]/entries/bulk-delete/route.js",
38
35
  "/api/workspace/init/route": "app/api/workspace/init/route.js",
39
- "/api/workspace/objects/[name]/entries/options/route": "app/api/workspace/objects/[name]/entries/options/route.js",
36
+ "/api/workspace/objects/[name]/entries/bulk-delete/route": "app/api/workspace/objects/[name]/entries/bulk-delete/route.js",
37
+ "/api/workspace/objects/[name]/display-field/route": "app/api/workspace/objects/[name]/display-field/route.js",
40
38
  "/api/workspace/objects/[name]/entries/route": "app/api/workspace/objects/[name]/entries/route.js",
41
- "/api/workspace/objects/[name]/fields/[fieldId]/route": "app/api/workspace/objects/[name]/fields/[fieldId]/route.js",
39
+ "/api/workspace/objects/[name]/entries/options/route": "app/api/workspace/objects/[name]/entries/options/route.js",
40
+ "/api/workspace/delete/route": "app/api/workspace/delete/route.js",
42
41
  "/api/workspace/objects/[name]/fields/reorder/route": "app/api/workspace/objects/[name]/fields/reorder/route.js",
43
- "/api/workspace/objects/[name]/display-field/route": "app/api/workspace/objects/[name]/display-field/route.js",
44
- "/api/workspace/objects/[name]/entries/[id]/route": "app/api/workspace/objects/[name]/entries/[id]/route.js",
45
- "/api/sessions/route": "app/api/sessions/route.js",
46
- "/api/workspace/path-info/route": "app/api/workspace/path-info/route.js",
47
- "/api/workspace/query/route": "app/api/workspace/query/route.js",
42
+ "/api/workspace/objects/[name]/fields/[fieldId]/route": "app/api/workspace/objects/[name]/fields/[fieldId]/route.js",
48
43
  "/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route": "app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route.js",
44
+ "/api/workspace/path-info/route": "app/api/workspace/path-info/route.js",
45
+ "/api/web-sessions/[id]/route": "app/api/web-sessions/[id]/route.js",
49
46
  "/api/workspace/open-file/route": "app/api/workspace/open-file/route.js",
47
+ "/api/workspace/query/route": "app/api/workspace/query/route.js",
50
48
  "/api/workspace/rename/route": "app/api/workspace/rename/route.js",
51
- "/api/workspace/raw-file/route": "app/api/workspace/raw-file/route.js",
49
+ "/api/workspace/switch/route": "app/api/workspace/switch/route.js",
52
50
  "/api/workspace/reports/execute/route": "app/api/workspace/reports/execute/route.js",
51
+ "/api/workspace/raw-file/route": "app/api/workspace/raw-file/route.js",
53
52
  "/api/workspace/thumbnail/route": "app/api/workspace/thumbnail/route.js",
54
- "/api/workspace/switch/route": "app/api/workspace/switch/route.js",
53
+ "/api/workspace/objects/[name]/entries/[id]/route": "app/api/workspace/objects/[name]/entries/[id]/route.js",
55
54
  "/api/workspace/upload/route": "app/api/workspace/upload/route.js",
56
55
  "/api/workspace/search-index/route": "app/api/workspace/search-index/route.js",
56
+ "/api/workspace/write-binary/route": "app/api/workspace/write-binary/route.js",
57
57
  "/api/workspace/virtual-file/route": "app/api/workspace/virtual-file/route.js",
58
+ "/api/workspace/db/introspect/route": "app/api/workspace/db/introspect/route.js",
59
+ "/api/workspace/objects/[name]/route": "app/api/workspace/objects/[name]/route.js",
58
60
  "/api/workspace/tree/route": "app/api/workspace/tree/route.js",
59
61
  "/api/workspace/suggest-files/route": "app/api/workspace/suggest-files/route.js",
60
- "/api/workspace/write-binary/route": "app/api/workspace/write-binary/route.js",
61
62
  "/api/workspace/watch/route": "app/api/workspace/watch/route.js",
62
- "/api/workspace/objects/[name]/route": "app/api/workspace/objects/[name]/route.js",
63
63
  "/workspace/page": "app/workspace/page.js",
64
64
  "/page": "app/page.js"
65
65
  }
@@ -1 +1 @@
1
- exports.id=6924,exports.ids=[6924],exports.modules={9962:()=>{},13768:(a,b,c)=>{"use strict";let d;c.d(b,{$9:()=>P,$A:()=>al,AI:()=>X,Ag:()=>ao,Bk:()=>U,Co:()=>O,Dr:()=>S,Dv:()=>ab,Ed:()=>M,GC:()=>A,GY:()=>R,IL:()=>N,Ih:()=>C,Jv:()=>V,LM:()=>af,MM:()=>ad,NI:()=>ap,O8:()=>z,RO:()=>$,TN:()=>ah,TY:()=>G,VM:()=>K,We:()=>B,XL:()=>W,Yn:()=>Q,Zr:()=>ag,b:()=>T,b2:()=>Y,eI:()=>aa,fO:()=>Z,hM:()=>ae,sL:()=>aq,u4:()=>_,up:()=>ak,vP:()=>D});var e=c(73024),f=c(51455),g=c(31421),h=c(57975),i=c(76760),j=c(48161),k=c(22137),l=c(44388);let m=(0,h.promisify)(g.exec);async function n(a){try{return await (0,f.access)(a),!0}catch{return!1}}let o="workspace-",p="workspace",q=/^[a-z0-9][a-z0-9_-]{0,63}$/i,r="default";function s(a){let b=a?.trim()||null;return b&&q.test(b)?b:null}function t(a){return a===p?r:a.startsWith(o)?s(a.slice(o.length)):null}function u(a){let b=B();if(a===r){let c=(0,i.join)(b,p);if((0,e.existsSync)(c))return c;let d=(0,i.join)(b,`${o}${a}`);return(0,e.existsSync)(d)?d:c}return(0,i.join)(b,`${o}${a}`)}function v(){return(0,i.join)(B(),".dench-ui-state.json")}function w(){try{let a=(0,e.readFileSync)(v(),"utf-8");return JSON.parse(a)}catch{return{}}}function x(a){if(!a)return null;let b=(0,i.resolve)(function(a){let b=a.trim();return b&&b.startsWith("~")?(0,i.join)((0,j.homedir)(),b.slice(1)):b}(a)),c=(0,i.resolve)(B()),d=(0,i.relative)(c,b);if(!d||d.startsWith(".."))return null;let e=d.split(/[\\/]/)[0];return e?t(e):null}function y(a){try{let b=(0,e.readdirSync)(a,{withFileTypes:!0}).filter(a=>a.isDirectory()).map(a=>t(a.name)).filter(a=>!!a);return[...new Set(b)].toSorted((a,b)=>a.localeCompare(b))}catch{return[]}}function z(){let a=y(B()),b=b=>!!(b&&a.includes(b)),c=x(process.env.OPENCLAW_WORKSPACE?.trim());if(b(c))return c;if(null===d)return null;if(b(d))return d;let e=s(w().activeWorkspace);return b(e)?e:a[0]??null}function A(a){let b=s(a);d=b;var c={...w(),activeWorkspace:b};let f=v(),g=(0,i.join)(f,"..");(0,e.existsSync)(g)||(0,e.mkdirSync)(g,{recursive:!0}),(0,e.writeFileSync)(f,JSON.stringify(c,null,2)+"\n")}function B(){return(0,i.join)(process.env.OPENCLAW_HOME?.trim()||(0,j.homedir)(),".openclaw-dench")}function C(){let a=B(),b=z(),c=[];for(let d of y(a)){let f=u(d);c.push({name:d,stateDir:a,workspaceDir:(0,e.existsSync)(f)?f:null,isActive:b===d,hasConfig:(0,e.existsSync)((0,i.join)(a,"openclaw.json"))})}return c.sort((a,b)=>a.name.localeCompare(b.name)),!c.some(a=>a.isActive)&&c.length>0&&(c[0]={...c[0],isActive:!0}),c}function D(a){return null!==s(a)}let E="main";function F(a){return a===r?E:a}function G(){return F(z()??r)}function H(){return(0,i.join)(B(),"openclaw.json")}function I(){let a=H();if(!(0,e.existsSync)(a))return{};try{return JSON.parse((0,e.readFileSync)(a,"utf-8"))}catch{return{}}}function J(a){let b=H(),c=(0,i.join)(b,"..");(0,e.existsSync)(c)||(0,e.mkdirSync)(c,{recursive:!0}),(0,e.writeFileSync)(b,JSON.stringify(a,null,2)+"\n","utf-8")}function K(a,b){let c=I();c.agents||(c.agents={});let d=F(a);if(!Array.isArray(c.agents.list)){c.agents.list=[];let a=c.agents.defaults?.workspace;a&&c.agents.list.push({id:E,workspace:a})}let e=c.agents.list.find(a=>a.id===d);for(let a of(e?e.workspace=b:c.agents.list.push({id:d,workspace:b}),c.agents.list))a.id===d?a.default=!0:delete a.default;J(c)}let L="chat-slot-";function M(a,b,c=5){let d=I();d.agents||(d.agents={}),Array.isArray(d.agents.list)||(d.agents.list=[]);let e=F(a),f=!1;for(let a=1;a<=c;a++){let c=`${L}${e}-${a}`,g=d.agents.list.find(a=>a.id===c);g?g.workspace!==b&&(g.workspace=b,f=!0):(d.agents.list.push({id:c,workspace:b}),f=!0)}f&&J(d)}function N(a){let b=I(),c=b.agents?.list;if(!Array.isArray(c))return[];let d=F(a??z()??r),e=`${L}${d}-`;return c.filter(a=>a.id.startsWith(e)).map(a=>a.id)}function O(a){let b=I(),c=b.agents?.list;if(!Array.isArray(c)||0===c.length)return;let d=F(a);if(c.find(a=>a.id===d)){for(let a of c)a.id===d?a.default=!0:delete a.default;J(b)}}function P(a){let b=s(a);if(!b)throw Error("Invalid workspace name.");return u(b)}function Q(){let a=x(process.env.OPENCLAW_WORKSPACE?.trim());if(a){let b=u(a);if((0,e.existsSync)(b))return b}let b=z();if(b){let a=u(b);if((0,e.existsSync)(a))return a}let c=C();return c.find(a=>a.isActive)?.workspaceDir??null}function R(){let a=Q();if(a)return(0,i.join)(a,".openclaw","web-chat");let b=z();return b?(0,i.join)(u(b),".openclaw","web-chat"):(0,i.join)(u(r),".openclaw","web-chat")}function S(){let a=Q();if(!a)return null;if(a.startsWith("/")){let b=process.cwd(),c=b.endsWith((0,i.join)("apps","web"))?(0,i.resolve)(b,"..",".."):b,d=(0,i.relative)(c,a);return d.startsWith("..")?a:d||a}return a}function T(a){let b=a??Q();if(!b)return[];let c=[];return!function a(b,d){let f=(0,i.join)(b,"workspace.duckdb");(0,e.existsSync)(f)&&c.push({path:f,depth:d});try{for(let c of(0,e.readdirSync)(b,{withFileTypes:!0}))!c.isDirectory()||c.name.startsWith(".")||"tmp"!==c.name&&"exports"!==c.name&&"node_modules"!==c.name&&a((0,i.join)(b,c.name),d+1)}catch{}}(b,0),c.sort((a,b)=>a.depth-b.depth),c.map(a=>a.path)}async function U(a){let b=a??Q();if(!b)return[];let c=[];async function d(a,b){let e=(0,i.join)(a,"workspace.duckdb");await n(e)&&c.push({path:e,depth:b});try{for(let c of(await (0,f.readdir)(a,{withFileTypes:!0})))!c.isDirectory()||c.name.startsWith(".")||"tmp"!==c.name&&"exports"!==c.name&&"node_modules"!==c.name&&await d((0,i.join)(a,c.name),b+1)}catch{}}return await d(b,0),c.sort((a,b)=>a.depth-b.depth),c.map(a=>a.path)}async function V(){let a=Q();if(!a)return null;let b=(0,i.join)(a,"workspace.duckdb");if(await n(b))return b;let c=await U(a);return c.length>0?c[0]:null}function W(){let a=(0,j.homedir)();for(let b of[(0,i.join)(a,".duckdb","cli","latest","duckdb"),(0,i.join)(a,".local","bin","duckdb"),"/opt/homebrew/bin/duckdb","/usr/local/bin/duckdb","/usr/bin/duckdb"])if((0,e.existsSync)(b))return b;try{return(0,g.execSync)("which duckdb",{encoding:"utf-8",timeout:2e3}),"duckdb"}catch{return null}}async function X(a){let b=await V();if(!b)return[];let c=W();if(!c)return[];try{let d=a.replace(/'/g,"'\\''"),{stdout:e}=await m(`'${c}' -json '${b}' '${d}'`,{encoding:"utf-8",timeout:1e4,maxBuffer:0xa00000,shell:"/bin/sh"}),f=e.trim();if(!f||"[]"===f)return[];return JSON.parse(f)}catch{return[]}}async function Y(a,b){let c=await U();if(0===c.length)return[];let d=W();if(!d)return[];let e=new Set,f=[];for(let g of c)try{let c=a.replace(/'/g,"'\\''"),{stdout:h}=await m(`'${d}' -json '${g}' '${c}'`,{encoding:"utf-8",timeout:1e4,maxBuffer:0xa00000,shell:"/bin/sh"}),i=h.trim();if(!i||"[]"===i)continue;for(let a of JSON.parse(i)){if(b){let c=a[b];if(e.has(c))continue;e.add(c)}f.push(a)}}catch{}return f}function Z(a){let b=T();if(0===b.length)return null;let c=W();if(!c)return null;let d=`SELECT id FROM objects WHERE name = '${a.replace(/'/g,"''")}' LIMIT 1`.replace(/'/g,"'\\''");for(let a of b)try{let b=(0,g.execSync)(`'${c}' -json '${a}' '${d}'`,{encoding:"utf-8",timeout:5e3,maxBuffer:1048576,shell:"/bin/sh"}).trim();if(b&&"[]"!==b)return a}catch{}return null}async function $(a){let b=await U();if(0===b.length)return null;let c=W();if(!c)return null;let d=`SELECT id FROM objects WHERE name = '${a.replace(/'/g,"''")}' LIMIT 1`.replace(/'/g,"'\\''");for(let a of b)try{let{stdout:b}=await m(`'${c}' -json '${a}' '${d}'`,{encoding:"utf-8",timeout:5e3,maxBuffer:1048576,shell:"/bin/sh"}),e=b.trim();if(e&&"[]"!==e)return a}catch{}return null}function _(a,b){let c=W();if(!c)return!1;try{let d=b.replace(/'/g,"'\\''");return(0,g.execSync)(`'${c}' '${a}' '${d}'`,{encoding:"utf-8",timeout:1e4,shell:"/bin/sh"}),!0}catch{return!1}}async function aa(a,b){let c=W();if(!c)return!1;try{let d=b.replace(/'/g,"'\\''");return await m(`'${c}' '${a}' '${d}'`,{encoding:"utf-8",timeout:1e4,shell:"/bin/sh"}),!0}catch{return!1}}function ab(a){if(!a)return[];let b=a.trim();if(!b)return[];if(b.startsWith("["))try{let a=JSON.parse(b);if(Array.isArray(a))return a.map(String).filter(Boolean)}catch{}return[b]}let ac=new Set(["duckdb","sqlite","sqlite3","db","postgres"]);function ad(a){let b=a.split(".").pop()?.toLowerCase();return!!b&&ac.has(b)}function ae(a,b){let c=W();if(!c)return[];try{let d=b.replace(/'/g,"'\\''"),e=(0,g.execSync)(`'${c}' -json '${a}' '${d}'`,{encoding:"utf-8",timeout:15e3,maxBuffer:0xa00000,shell:"/bin/sh"}).trim();if(!e||"[]"===e)return[];return JSON.parse(e)}catch{return[]}}async function af(a,b){let c=W();if(!c)return[];try{let d=b.replace(/'/g,"'\\''"),{stdout:e}=await m(`'${c}' -json '${a}' '${d}'`,{encoding:"utf-8",timeout:15e3,maxBuffer:0xa00000,shell:"/bin/sh"}),f=e.trim();if(!f||"[]"===f)return[];return JSON.parse(f)}catch{return[]}}function ag(a){let b=Q();if(!b)return null;let c=(0,i.normalize)(a);if(c.startsWith("..")||c.includes("/../"))return null;let d=(0,i.resolve)(b,c);return d.startsWith((0,i.resolve)(b))&&(0,e.existsSync)(d)?d:null}function ah(a){let b={};for(let c of a.split("\n")){if(c.trim().startsWith("#")||!c.trim())continue;let a=c.match(/^(\w[\w_-]*)\s*:\s*(.+)/);if(a){let c=a[1],d=a[2].trim();"string"==typeof d&&(d.startsWith('"')&&d.endsWith('"')||d.startsWith("'")&&d.endsWith("'"))&&(d=d.slice(1,-1)),"true"===d?d=!0:"false"===d?d=!1:"null"===d?d=null:"string"==typeof d&&/^-?\d+(\.\d+)?$/.test(d)&&(d=Number(d)),b[c]=d}}return b}function ai(a){try{let b=k.parse(a);if(!b||"object"!=typeof b)return{};return b}catch{return ah(a)}}function aj(a){let b=Q();if(!b)return null;let c=(0,i.join)(b,a);if((0,e.existsSync)(c)&&(0,e.existsSync)((0,i.join)(c,".object.yaml")))return c;let d=new Set(["node_modules",".git",".next","tmp","exports"]);return function b(c,f){if(f>4)return null;try{for(let g of(0,e.readdirSync)(c,{withFileTypes:!0})){if(!g.isDirectory()||g.name.startsWith(".")||d.has(g.name))continue;let h=(0,i.join)(c,g.name);if(g.name===a&&(0,e.existsSync)((0,i.join)(h,".object.yaml")))return h;let j=b(h,f+1);if(j)return j}}catch{}return null}(b,1)}function ak(a){let b=aj(a);if(!b)return{views:[],activeView:void 0,viewSettings:void 0};let c=function(a){let b=(0,i.join)(a,".object.yaml");return(0,e.existsSync)(b)?ai((0,e.readFileSync)(b,"utf-8")):null}(b);return c?{views:(c.views??[]).map(a=>({...a,filters:a.filters?(0,l.rR)(a.filters):void 0})),activeView:c.active_view,viewSettings:c.view_settings}:{views:[],activeView:void 0,viewSettings:void 0}}function al(a,b,c,d){let f=aj(a);if(!f)return!1;let g={views:b.length>0?b:void 0,active_view:c};d&&(g.view_settings=d);let h=(0,i.join)(f,".object.yaml"),j={};if((0,e.existsSync)(h))try{j=ai((0,e.readFileSync)(h,"utf-8"))}catch{j={}}let l={...j,...g};for(let a of Object.keys(l))void 0===l[a]&&delete l[a];let m=k.stringify(l,{indent:2,lineWidth:0});return(0,e.writeFileSync)(h,m,"utf-8"),!0}let am=[/^\.object\.yaml$/,/\.wal$/,/\.tmp$/],an=[/^workspace\.duckdb/,/^workspace_context\.yaml$/];function ao(a){let b=a.split("/").pop()??"";return!!am.some(a=>a.test(b))||!a.includes("/")&&an.some(a=>a.test(b))}function ap(a){let b=Q();if(!b)return null;let c=(0,i.normalize)(a);if(c.startsWith("..")||c.includes("/../"))return null;let d=(0,i.resolve)(b,c);return d.startsWith((0,i.resolve)(b))?d:null}function aq(a){let b=ag(a);if(!b)return null;try{let c=(0,e.readFileSync)(b,"utf-8"),d=a.split(".").pop()?.toLowerCase(),f="text";return"md"===d||"mdx"===d?f="markdown":("yaml"===d||"yml"===d)&&(f="yaml"),{content:c,type:f}}catch{return null}}},44388:(a,b,c)=>{"use strict";c.d(b,{Dc:()=>o,XF:()=>n,hv:()=>m,rR:()=>function a(b){return{...b,rules:b.rules.map(b=>e(b)?a(b):f.has(b.operator)&&Array.isArray(b.value)&&b.value.length>=2&&null==b.valueTo?{...b,value:b.value[0],valueTo:b.value[1]}:b)}}});let d=[{value:"is_empty",label:"is empty"},{value:"is_not_empty",label:"is not empty"}];function e(a){return"conjunction"in a&&"rules"in a}[...d],[...d],[...d],[...d],[...d],[...d],[...d];let f=new Set(["date_between","between"]);function g(a){return null==a?"":"string"==typeof a?a:"object"==typeof a?JSON.stringify(a):"symbol"==typeof a||"function"==typeof a?"":String(a)}function h(a){if(null==a)return null;let b=Number(a);return Number.isNaN(b)?null:b}function i(a,b,c){let d=new Date,e="past"===c?-1:1;switch(b){case"days":d.setDate(d.getDate()+e*a);break;case"weeks":d.setDate(d.getDate()+e*a*7);break;case"months":d.setMonth(d.getMonth()+e*a)}return d}function j(a){return a.toISOString().slice(0,10)}function k(a){return a.replace(/'/g,"''")}function l(a){if(!/^[\w\s-]+$/.test(a))throw Error(`Invalid field name: ${a}`);return`"${a.replace(/"/g,'""')}"`}function m(a,b){return a&&0!==a.rules.length?function a(b,c){let d=[];for(let f of b.rules){let b=e(f)?a(f,c):function(a,b){if(!b.find(b=>b.name===a.field))return null;let c=l(a.field),d=a.operator;if("is_empty"===d)return`(${c} IS NULL OR CAST(${c} AS VARCHAR) = '' OR CAST(${c} AS VARCHAR) = '[]')`;if("is_not_empty"===d)return`(${c} IS NOT NULL AND CAST(${c} AS VARCHAR) != '' AND CAST(${c} AS VARCHAR) != '[]')`;if("is_true"===d)return`(LOWER(CAST(${c} AS VARCHAR)) IN ('true', '1', 'yes'))`;if("is_false"===d)return`(LOWER(CAST(${c} AS VARCHAR)) IN ('false', '0', 'no', ''))`;if("contains"===d)return`(LOWER(CAST(${c} AS VARCHAR)) LIKE '%${k(g(a.value).toLowerCase())}%')`;if("not_contains"===d)return`(LOWER(CAST(${c} AS VARCHAR)) NOT LIKE '%${k(g(a.value).toLowerCase())}%')`;if("equals"===d)return`(LOWER(CAST(${c} AS VARCHAR)) = '${k(g(a.value).toLowerCase())}')`;if("not_equals"===d)return`(LOWER(CAST(${c} AS VARCHAR)) != '${k(g(a.value).toLowerCase())}')`;if("starts_with"===d)return`(LOWER(CAST(${c} AS VARCHAR)) LIKE '${k(g(a.value).toLowerCase())}%')`;if("ends_with"===d)return`(LOWER(CAST(${c} AS VARCHAR)) LIKE '%${k(g(a.value).toLowerCase())}')`;let e=h(a.value);if("eq"===d&&null!=e)return`(CAST(${c} AS DOUBLE) = ${e})`;if("neq"===d&&null!=e)return`(CAST(${c} AS DOUBLE) != ${e})`;if("gt"===d&&null!=e)return`(CAST(${c} AS DOUBLE) > ${e})`;if("gte"===d&&null!=e)return`(CAST(${c} AS DOUBLE) >= ${e})`;if("lt"===d&&null!=e)return`(CAST(${c} AS DOUBLE) < ${e})`;if("lte"===d&&null!=e)return`(CAST(${c} AS DOUBLE) <= ${e})`;if("between"===d){let b=Array.isArray(a.value)?a.value:null,d=h(b?b[0]:a.value),e=h(b?b[1]:a.valueTo);if(null!=d&&null!=e)return`(CAST(${c} AS DOUBLE) BETWEEN ${d} AND ${e})`}if("on"===d){let b="today"===a.value?j(new Date):g(a.value);return`(CAST(${c} AS VARCHAR) LIKE '${k(b)}%')`}if("before"===d){let b="today"===a.value?j(new Date):g(a.value);return`(CAST(${c} AS DATE) < '${k(b)}')`}if("after"===d){let b="today"===a.value?j(new Date):g(a.value);return`(CAST(${c} AS DATE) > '${k(b)}')`}if("date_between"===d){let b=Array.isArray(a.value)?a.value:null,d=g(b?b[0]:a.value),e=g(b?b[1]:a.valueTo);return`(CAST(${c} AS DATE) BETWEEN '${k(d)}' AND '${k(e)}')`}if("relative_past"===d){let b=j(i(a.relativeAmount??7,a.relativeUnit??"days","past")),d=j(new Date);return`(CAST(${c} AS DATE) BETWEEN '${k(b)}' AND '${k(d)}')`}if("relative_next"===d){let b=j(i(a.relativeAmount??7,a.relativeUnit??"days","next")),d=j(new Date);return`(CAST(${c} AS DATE) BETWEEN '${k(d)}' AND '${k(b)}')`}if("is"===d)return`(CAST(${c} AS VARCHAR) = '${k(g(a.value))}')`;if("is_not"===d)return`(CAST(${c} AS VARCHAR) != '${k(g(a.value))}')`;if("is_any_of"===d){let b=(Array.isArray(a.value)?a.value:[g(a.value)]).map(a=>`'${k(String(a))}'`).join(", ");return`(CAST(${c} AS VARCHAR) IN (${b}))`}if("is_none_of"===d){let b=(Array.isArray(a.value)?a.value:[g(a.value)]).map(a=>`'${k(String(a))}'`).join(", ");return`(CAST(${c} AS VARCHAR) NOT IN (${b}))`}if("has_any"===d){let b=(Array.isArray(a.value)?a.value:[g(a.value)]).map(a=>`CAST(${c} AS VARCHAR) LIKE '%${k(String(a))}%'`);return`(${b.join(" OR ")})`}if("has_none"===d){let b=(Array.isArray(a.value)?a.value:[g(a.value)]).map(a=>`CAST(${c} AS VARCHAR) NOT LIKE '%${k(String(a))}%'`);return`(${b.join(" AND ")})`}if("has_all"===d){let b=(Array.isArray(a.value)?a.value:[g(a.value)]).map(a=>`CAST(${c} AS VARCHAR) LIKE '%${k(String(a))}%'`);return`(${b.join(" AND ")})`}return null}(f,c);b&&d.push(b)}if(0===d.length)return null;let f="and"===b.conjunction?" AND ":" OR ";return`(${d.join(f)})`}(a,b):null}function n(a){return a&&0!==a.length?a.map(a=>`${l(a.field)} ${"desc"===a.direction?"DESC":"ASC"}`).join(", "):null}function o(a){try{return JSON.parse(atob(a))}catch{return null}}},49714:()=>{}};
1
+ exports.id=6924,exports.ids=[6924],exports.modules={9962:()=>{},13768:(a,b,c)=>{"use strict";let d;c.d(b,{$9:()=>P,$A:()=>al,AI:()=>X,Ag:()=>ao,Bk:()=>U,Co:()=>O,Dr:()=>S,Dv:()=>ab,Ed:()=>M,GC:()=>A,GY:()=>R,IL:()=>N,Ih:()=>C,Jv:()=>V,LM:()=>af,MM:()=>ad,NI:()=>ap,O8:()=>z,RO:()=>$,TN:()=>ah,TY:()=>G,VM:()=>K,We:()=>B,XL:()=>W,Yn:()=>Q,Zr:()=>ag,b:()=>T,b2:()=>Y,eI:()=>aa,fO:()=>Z,hM:()=>ae,sL:()=>aq,u4:()=>_,up:()=>ak,vP:()=>D});var e=c(73024),f=c(51455),g=c(31421),h=c(57975),i=c(76760),j=c(48161),k=c(22137),l=c(44388);let m=(0,h.promisify)(g.exec);async function n(a){try{return await (0,f.access)(a),!0}catch{return!1}}let o="workspace-",p="workspace",q=/^[a-z0-9][a-z0-9_-]{0,63}$/i,r="default";function s(a){let b=a?.trim()||null;return b&&q.test(b)?b:null}function t(a){return a===p?r:a.startsWith(o)?s(a.slice(o.length)):null}function u(a){let b=B();if(a===r){let c=(0,i.join)(b,p);if((0,e.existsSync)(c))return c;let d=(0,i.join)(b,`${o}${a}`);return(0,e.existsSync)(d)?d:c}return(0,i.join)(b,`${o}${a}`)}function v(){return(0,i.join)(B(),".dench-ui-state.json")}function w(){try{let a=(0,e.readFileSync)(v(),"utf-8");return JSON.parse(a)}catch{return{}}}function x(a){if(!a)return null;let b=(0,i.resolve)(function(a){let b=a.trim();return b&&b.startsWith("~")?(0,i.join)((0,j.homedir)(),b.slice(1)):b}(a)),c=(0,i.resolve)(B()),d=(0,i.relative)(c,b);if(!d||d.startsWith(".."))return null;let e=d.split(/[\\/]/)[0];return e?t(e):null}function y(a){try{let b=(0,e.readdirSync)(a,{withFileTypes:!0}).filter(a=>a.isDirectory()).map(a=>t(a.name)).filter(a=>!!a);return[...new Set(b)].toSorted((a,b)=>a.localeCompare(b))}catch{return[]}}function z(){let a=y(B()),b=b=>!!(b&&a.includes(b)),c=x(process.env.OPENCLAW_WORKSPACE?.trim());if(b(c))return c;if(null===d)return null;if(b(d))return d;let e=s(w().activeWorkspace);return b(e)?e:a[0]??null}function A(a){let b=s(a);d=b;var c={...w(),activeWorkspace:b};let f=v(),g=(0,i.join)(f,"..");(0,e.existsSync)(g)||(0,e.mkdirSync)(g,{recursive:!0}),(0,e.writeFileSync)(f,JSON.stringify(c,null,2)+"\n")}function B(){return(0,i.join)(process.env.OPENCLAW_HOME?.trim()||(0,j.homedir)(),".openclaw-dench")}function C(){let a=B(),b=z(),c=[];for(let d of y(a)){let f=u(d);c.push({name:d,stateDir:a,workspaceDir:(0,e.existsSync)(f)?f:null,isActive:b===d,hasConfig:(0,e.existsSync)((0,i.join)(a,"openclaw.json"))})}return c.sort((a,b)=>a.name.localeCompare(b.name)),!c.some(a=>a.isActive)&&c.length>0&&(c[0]={...c[0],isActive:!0}),c}function D(a){return null!==s(a)}let E="main";function F(a){return a===r?E:a}function G(){return F(z()??r)}function H(){return(0,i.join)(B(),"openclaw.json")}function I(){let a=H();if(!(0,e.existsSync)(a))return{};try{return JSON.parse((0,e.readFileSync)(a,"utf-8"))}catch{return{}}}function J(a){let b=H(),c=(0,i.join)(b,"..");(0,e.existsSync)(c)||(0,e.mkdirSync)(c,{recursive:!0}),(0,e.writeFileSync)(b,JSON.stringify(a,null,2)+"\n","utf-8")}function K(a,b){let c=I();c.agents||(c.agents={});let d=F(a);if(!Array.isArray(c.agents.list)){c.agents.list=[];let a=c.agents.defaults?.workspace;a&&c.agents.list.push({id:E,workspace:a})}let e=c.agents.list.find(a=>a.id===d);for(let a of(e?e.workspace=b:c.agents.list.push({id:d,workspace:b}),c.agents.list))a.id===d?a.default=!0:delete a.default;J(c)}let L="chat-slot-";function M(a,b,c=5){let d=I();d.agents||(d.agents={}),Array.isArray(d.agents.list)||(d.agents.list=[]);let e=F(a),f=!1;for(let a=1;a<=c;a++){let c=`${L}${e}-${a}`,g=d.agents.list.find(a=>a.id===c);g?g.workspace!==b&&(g.workspace=b,f=!0):(d.agents.list.push({id:c,workspace:b}),f=!0)}f&&J(d)}function N(a){let b=I(),c=b.agents?.list;if(!Array.isArray(c))return[];let d=F(a??z()??r),e=`${L}${d}-`;return c.filter(a=>a.id.startsWith(e)).map(a=>a.id)}function O(a){let b=I(),c=b.agents?.list;if(!Array.isArray(c)||0===c.length)return;let d=F(a);if(c.find(a=>a.id===d)){for(let a of c)a.id===d?a.default=!0:delete a.default;J(b)}}function P(a){let b=s(a);if(!b)throw Error("Invalid workspace name.");return u(b)}function Q(){let a=x(process.env.OPENCLAW_WORKSPACE?.trim());if(a){let b=u(a);if((0,e.existsSync)(b))return b}let b=z();if(b){let a=u(b);if((0,e.existsSync)(a))return a}let c=C();return c.find(a=>a.isActive)?.workspaceDir??null}function R(){let a=Q();if(a)return(0,i.join)(a,".openclaw","web-chat");let b=z();return b?(0,i.join)(u(b),".openclaw","web-chat"):(0,i.join)(u(r),".openclaw","web-chat")}function S(){let a=Q();if(!a)return null;if(a.startsWith("/")){let b=process.cwd(),c=b.endsWith((0,i.join)("apps","web"))?(0,i.resolve)(b,"..",".."):b,d=(0,i.relative)(c,a);return d.startsWith("..")?a:d||a}return a}function T(a){let b=a??Q();if(!b)return[];let c=[];return!function a(b,d){let f=(0,i.join)(b,"workspace.duckdb");(0,e.existsSync)(f)&&c.push({path:f,depth:d});try{for(let c of(0,e.readdirSync)(b,{withFileTypes:!0}))!c.isDirectory()||c.name.startsWith(".")||"tmp"!==c.name&&"exports"!==c.name&&"node_modules"!==c.name&&a((0,i.join)(b,c.name),d+1)}catch{}}(b,0),c.sort((a,b)=>a.depth-b.depth),c.map(a=>a.path)}async function U(a){let b=a??Q();if(!b)return[];let c=[];async function d(a,b){let e=(0,i.join)(a,"workspace.duckdb");await n(e)&&c.push({path:e,depth:b});try{for(let c of(await (0,f.readdir)(a,{withFileTypes:!0})))!c.isDirectory()||c.name.startsWith(".")||"tmp"!==c.name&&"exports"!==c.name&&"node_modules"!==c.name&&await d((0,i.join)(a,c.name),b+1)}catch{}}return await d(b,0),c.sort((a,b)=>a.depth-b.depth),c.map(a=>a.path)}async function V(){let a=Q();if(!a)return null;let b=(0,i.join)(a,"workspace.duckdb");if(await n(b))return b;let c=await U(a);return c.length>0?c[0]:null}function W(){let a=(0,j.homedir)();for(let b of[(0,i.join)(a,".duckdb","cli","latest","duckdb"),(0,i.join)(a,".local","bin","duckdb"),"/opt/homebrew/bin/duckdb","/usr/local/bin/duckdb","/usr/bin/duckdb"])if((0,e.existsSync)(b))return b;try{return(0,g.execSync)("which duckdb",{encoding:"utf-8",timeout:2e3}),"duckdb"}catch{return null}}async function X(a){let b=await V();if(!b)return[];let c=W();if(!c)return[];try{let d=a.replace(/'/g,"'\\''"),{stdout:e}=await m(`'${c}' -json '${b}' '${d}'`,{encoding:"utf-8",timeout:1e4,maxBuffer:0xa00000,shell:"/bin/sh"}),f=e.trim();if(!f||"[]"===f)return[];return JSON.parse(f)}catch{return[]}}async function Y(a,b){let c=await U();if(0===c.length)return[];let d=W();if(!d)return[];let e=new Set,f=[];for(let g of c)try{let c=a.replace(/'/g,"'\\''"),{stdout:h}=await m(`'${d}' -json '${g}' '${c}'`,{encoding:"utf-8",timeout:1e4,maxBuffer:0xa00000,shell:"/bin/sh"}),i=h.trim();if(!i||"[]"===i)continue;for(let a of JSON.parse(i)){if(b){let c=a[b];if(e.has(c))continue;e.add(c)}f.push(a)}}catch{}return f}function Z(a){let b=T();if(0===b.length)return null;let c=W();if(!c)return null;let d=`SELECT id FROM objects WHERE name = '${a.replace(/'/g,"''")}' LIMIT 1`.replace(/'/g,"'\\''");for(let a of b)try{let b=(0,g.execSync)(`'${c}' -json '${a}' '${d}'`,{encoding:"utf-8",timeout:5e3,maxBuffer:1048576,shell:"/bin/sh"}).trim();if(b&&"[]"!==b)return a}catch{}return null}async function $(a){let b=await U();if(0===b.length)return null;let c=W();if(!c)return null;let d=`SELECT id FROM objects WHERE name = '${a.replace(/'/g,"''")}' LIMIT 1`.replace(/'/g,"'\\''");for(let a of b)try{let{stdout:b}=await m(`'${c}' -json '${a}' '${d}'`,{encoding:"utf-8",timeout:5e3,maxBuffer:1048576,shell:"/bin/sh"}),e=b.trim();if(e&&"[]"!==e)return a}catch{}return null}function _(a,b){let c=W();if(!c)return!1;try{let d=b.replace(/'/g,"'\\''");return(0,g.execSync)(`'${c}' '${a}' '${d}'`,{encoding:"utf-8",timeout:1e4,shell:"/bin/sh"}),!0}catch{return!1}}async function aa(a,b){let c=W();if(!c)return!1;try{let d=b.replace(/'/g,"'\\''");return await m(`'${c}' '${a}' '${d}'`,{encoding:"utf-8",timeout:1e4,shell:"/bin/sh"}),!0}catch{return!1}}function ab(a){if(!a)return[];let b=a.trim();if(!b)return[];if(b.startsWith("["))try{let a=JSON.parse(b);if(Array.isArray(a))return a.map(String).filter(Boolean)}catch{}return[b]}let ac=new Set(["duckdb","sqlite","sqlite3","db","postgres"]);function ad(a){let b=a.split(".").pop()?.toLowerCase();return!!b&&ac.has(b)}function ae(a,b){let c=W();if(!c)return[];try{let d=b.replace(/'/g,"'\\''"),e=(0,g.execSync)(`'${c}' -json '${a}' '${d}'`,{encoding:"utf-8",timeout:15e3,maxBuffer:0xa00000,shell:"/bin/sh"}).trim();if(!e||"[]"===e)return[];return JSON.parse(e)}catch{return[]}}async function af(a,b){let c=W();if(!c)return[];try{let d=b.replace(/'/g,"'\\''"),{stdout:e}=await m(`'${c}' -json '${a}' '${d}'`,{encoding:"utf-8",timeout:15e3,maxBuffer:0xa00000,shell:"/bin/sh"}),f=e.trim();if(!f||"[]"===f)return[];return JSON.parse(f)}catch{return[]}}function ag(a){let b=Q();if(!b)return null;let c=(0,i.normalize)(a);if(c.startsWith("..")||c.includes("/../"))return null;let d=(0,i.resolve)(b,c);return d.startsWith((0,i.resolve)(b))&&(0,e.existsSync)(d)?d:null}function ah(a){let b={},c=a.split("\n"),d=null;for(let a of c){if(a.trim().startsWith("#")||!a.trim())continue;let c=a.match(/^(\w[\w_-]*)\s*:\s*(.*)/);if(c){d=null;let a=c[1],e=c[2].trim();if(""===e){d=a,b[a]=[];continue}"string"==typeof e&&(e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1)),"true"===e?e=!0:"false"===e?e=!1:"null"===e?e=null:"string"==typeof e&&/^-?\d+(\.\d+)?$/.test(e)&&(e=Number(e)),b[a]=e;continue}if(d){let c=a.match(/^\s+-\s+(.*)/);if(c){let a=c[1].trim();"string"==typeof a&&(a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'"))&&(a=a.slice(1,-1)),b[d].push(a)}else d=null}}return b}function ai(a){try{let b=k.parse(a);if(!b||"object"!=typeof b)return{};return b}catch{return ah(a)}}function aj(a){let b=Q();if(!b)return null;let c=(0,i.join)(b,a);if((0,e.existsSync)(c)&&(0,e.existsSync)((0,i.join)(c,".object.yaml")))return c;let d=new Set(["node_modules",".git",".next","tmp","exports"]);return function b(c,f){if(f>4)return null;try{for(let g of(0,e.readdirSync)(c,{withFileTypes:!0})){if(!g.isDirectory()||g.name.startsWith(".")||d.has(g.name))continue;let h=(0,i.join)(c,g.name);if(g.name===a&&(0,e.existsSync)((0,i.join)(h,".object.yaml")))return h;let j=b(h,f+1);if(j)return j}}catch{}return null}(b,1)}function ak(a){let b=aj(a);if(!b)return{views:[],activeView:void 0,viewSettings:void 0};let c=function(a){let b=(0,i.join)(a,".object.yaml");return(0,e.existsSync)(b)?ai((0,e.readFileSync)(b,"utf-8")):null}(b);return c?{views:(c.views??[]).map(a=>({...a,filters:a.filters?(0,l.rR)(a.filters):void 0})),activeView:c.active_view,viewSettings:c.view_settings}:{views:[],activeView:void 0,viewSettings:void 0}}function al(a,b,c,d){let f=aj(a);if(!f)return!1;let g={views:b.length>0?b:void 0,active_view:c};d&&(g.view_settings=d);let h=(0,i.join)(f,".object.yaml"),j={};if((0,e.existsSync)(h))try{j=ai((0,e.readFileSync)(h,"utf-8"))}catch{j={}}let l={...j,...g};for(let a of Object.keys(l))void 0===l[a]&&delete l[a];let m=k.stringify(l,{indent:2,lineWidth:0});return(0,e.writeFileSync)(h,m,"utf-8"),!0}let am=[/^\.object\.yaml$/,/\.wal$/,/\.tmp$/],an=[/^workspace\.duckdb/,/^workspace_context\.yaml$/];function ao(a){let b=a.split("/").pop()??"";return!!am.some(a=>a.test(b))||!a.includes("/")&&an.some(a=>a.test(b))}function ap(a){let b=Q();if(!b)return null;let c=(0,i.normalize)(a);if(c.startsWith("..")||c.includes("/../"))return null;let d=(0,i.resolve)(b,c);return d.startsWith((0,i.resolve)(b))?d:null}function aq(a){let b=ag(a);if(!b)return null;try{let c=(0,e.readFileSync)(b,"utf-8"),d=a.split(".").pop()?.toLowerCase(),f="text";return"md"===d||"mdx"===d?f="markdown":("yaml"===d||"yml"===d)&&(f="yaml"),{content:c,type:f}}catch{return null}}},44388:(a,b,c)=>{"use strict";c.d(b,{Dc:()=>o,XF:()=>n,hv:()=>m,rR:()=>function a(b){return{...b,rules:b.rules.map(b=>e(b)?a(b):f.has(b.operator)&&Array.isArray(b.value)&&b.value.length>=2&&null==b.valueTo?{...b,value:b.value[0],valueTo:b.value[1]}:b)}}});let d=[{value:"is_empty",label:"is empty"},{value:"is_not_empty",label:"is not empty"}];function e(a){return"conjunction"in a&&"rules"in a}[...d],[...d],[...d],[...d],[...d],[...d],[...d];let f=new Set(["date_between","between"]);function g(a){return null==a?"":"string"==typeof a?a:"object"==typeof a?JSON.stringify(a):"symbol"==typeof a||"function"==typeof a?"":String(a)}function h(a){if(null==a)return null;let b=Number(a);return Number.isNaN(b)?null:b}function i(a,b,c){let d=new Date,e="past"===c?-1:1;switch(b){case"days":d.setDate(d.getDate()+e*a);break;case"weeks":d.setDate(d.getDate()+e*a*7);break;case"months":d.setMonth(d.getMonth()+e*a)}return d}function j(a){return a.toISOString().slice(0,10)}function k(a){return a.replace(/'/g,"''")}function l(a){if(!/^[\w\s-]+$/.test(a))throw Error(`Invalid field name: ${a}`);return`"${a.replace(/"/g,'""')}"`}function m(a,b){return a&&0!==a.rules.length?function a(b,c){let d=[];for(let f of b.rules){let b=e(f)?a(f,c):function(a,b){if(!b.find(b=>b.name===a.field))return null;let c=l(a.field),d=a.operator;if("is_empty"===d)return`(${c} IS NULL OR CAST(${c} AS VARCHAR) = '' OR CAST(${c} AS VARCHAR) = '[]')`;if("is_not_empty"===d)return`(${c} IS NOT NULL AND CAST(${c} AS VARCHAR) != '' AND CAST(${c} AS VARCHAR) != '[]')`;if("is_true"===d)return`(LOWER(CAST(${c} AS VARCHAR)) IN ('true', '1', 'yes'))`;if("is_false"===d)return`(LOWER(CAST(${c} AS VARCHAR)) IN ('false', '0', 'no', ''))`;if("contains"===d)return`(LOWER(CAST(${c} AS VARCHAR)) LIKE '%${k(g(a.value).toLowerCase())}%')`;if("not_contains"===d)return`(LOWER(CAST(${c} AS VARCHAR)) NOT LIKE '%${k(g(a.value).toLowerCase())}%')`;if("equals"===d)return`(LOWER(CAST(${c} AS VARCHAR)) = '${k(g(a.value).toLowerCase())}')`;if("not_equals"===d)return`(LOWER(CAST(${c} AS VARCHAR)) != '${k(g(a.value).toLowerCase())}')`;if("starts_with"===d)return`(LOWER(CAST(${c} AS VARCHAR)) LIKE '${k(g(a.value).toLowerCase())}%')`;if("ends_with"===d)return`(LOWER(CAST(${c} AS VARCHAR)) LIKE '%${k(g(a.value).toLowerCase())}')`;let e=h(a.value);if("eq"===d&&null!=e)return`(CAST(${c} AS DOUBLE) = ${e})`;if("neq"===d&&null!=e)return`(CAST(${c} AS DOUBLE) != ${e})`;if("gt"===d&&null!=e)return`(CAST(${c} AS DOUBLE) > ${e})`;if("gte"===d&&null!=e)return`(CAST(${c} AS DOUBLE) >= ${e})`;if("lt"===d&&null!=e)return`(CAST(${c} AS DOUBLE) < ${e})`;if("lte"===d&&null!=e)return`(CAST(${c} AS DOUBLE) <= ${e})`;if("between"===d){let b=Array.isArray(a.value)?a.value:null,d=h(b?b[0]:a.value),e=h(b?b[1]:a.valueTo);if(null!=d&&null!=e)return`(CAST(${c} AS DOUBLE) BETWEEN ${d} AND ${e})`}if("on"===d){let b="today"===a.value?j(new Date):g(a.value);return`(CAST(${c} AS VARCHAR) LIKE '${k(b)}%')`}if("before"===d){let b="today"===a.value?j(new Date):g(a.value);return`(CAST(${c} AS DATE) < '${k(b)}')`}if("after"===d){let b="today"===a.value?j(new Date):g(a.value);return`(CAST(${c} AS DATE) > '${k(b)}')`}if("date_between"===d){let b=Array.isArray(a.value)?a.value:null,d=g(b?b[0]:a.value),e=g(b?b[1]:a.valueTo);return`(CAST(${c} AS DATE) BETWEEN '${k(d)}' AND '${k(e)}')`}if("relative_past"===d){let b=j(i(a.relativeAmount??7,a.relativeUnit??"days","past")),d=j(new Date);return`(CAST(${c} AS DATE) BETWEEN '${k(b)}' AND '${k(d)}')`}if("relative_next"===d){let b=j(i(a.relativeAmount??7,a.relativeUnit??"days","next")),d=j(new Date);return`(CAST(${c} AS DATE) BETWEEN '${k(d)}' AND '${k(b)}')`}if("is"===d)return`(CAST(${c} AS VARCHAR) = '${k(g(a.value))}')`;if("is_not"===d)return`(CAST(${c} AS VARCHAR) != '${k(g(a.value))}')`;if("is_any_of"===d){let b=(Array.isArray(a.value)?a.value:[g(a.value)]).map(a=>`'${k(String(a))}'`).join(", ");return`(CAST(${c} AS VARCHAR) IN (${b}))`}if("is_none_of"===d){let b=(Array.isArray(a.value)?a.value:[g(a.value)]).map(a=>`'${k(String(a))}'`).join(", ");return`(CAST(${c} AS VARCHAR) NOT IN (${b}))`}if("has_any"===d){let b=(Array.isArray(a.value)?a.value:[g(a.value)]).map(a=>`CAST(${c} AS VARCHAR) LIKE '%${k(String(a))}%'`);return`(${b.join(" OR ")})`}if("has_none"===d){let b=(Array.isArray(a.value)?a.value:[g(a.value)]).map(a=>`CAST(${c} AS VARCHAR) NOT LIKE '%${k(String(a))}%'`);return`(${b.join(" AND ")})`}if("has_all"===d){let b=(Array.isArray(a.value)?a.value:[g(a.value)]).map(a=>`CAST(${c} AS VARCHAR) LIKE '%${k(String(a))}%'`);return`(${b.join(" AND ")})`}return null}(f,c);b&&d.push(b)}if(0===d.length)return null;let f="and"===b.conjunction?" AND ":" OR ";return`(${d.join(f)})`}(a,b):null}function n(a){return a&&0!==a.length?a.map(a=>`${l(a.field)} ${"desc"===a.direction?"DESC":"ASC"}`).join(", "):null}function o(a){try{return JSON.parse(atob(a))}catch{return null}}},49714:()=>{}};
@@ -1,52 +1,52 @@
1
1
  {
2
2
  "version": 1,
3
3
  "functions": {
4
- "/api/apps": {},
5
4
  "/api/apps/serve/[...path]": {},
5
+ "/api/apps": {},
6
6
  "/api/chat": {},
7
- "/api/chat/stop": {},
8
7
  "/api/chat/subagents": {},
9
8
  "/api/chat/active": {},
10
9
  "/api/chat/stream": {},
11
- "/api/profiles/switch": {},
10
+ "/api/chat/stop": {},
12
11
  "/api/feedback": {},
13
12
  "/api/profiles": {},
14
- "/api/workspace/context": {},
13
+ "/api/profiles/switch": {},
15
14
  "/api/workspace/browse": {},
16
- "/api/workspace/db/introspect": {},
15
+ "/api/workspace/context": {},
17
16
  "/api/workspace/assets/[...path]": {},
18
- "/api/workspace/db/query": {},
17
+ "/api/workspace/browse-file": {},
18
+ "/api/workspace/db/introspect": {},
19
19
  "/api/workspace/copy": {},
20
+ "/api/workspace/db/query": {},
21
+ "/api/workspace/delete": {},
20
22
  "/api/workspace/file": {},
21
23
  "/api/workspace/mkdir": {},
24
+ "/api/workspace/list": {},
22
25
  "/api/workspace/move": {},
23
- "/api/workspace/delete": {},
24
- "/api/workspace/init": {},
25
- "/api/workspace/objects/[name]/entries/bulk-delete": {},
26
26
  "/api/workspace/objects/[name]/display-field": {},
27
- "/api/workspace/list": {},
27
+ "/api/workspace/objects/[name]/entries/bulk-delete": {},
28
28
  "/api/workspace/objects/[name]/entries/options": {},
29
- "/api/workspace/objects/[name]/fields/reorder": {},
29
+ "/api/workspace/objects/[name]/entries": {},
30
+ "/api/workspace/objects/[name]/fields/[fieldId]/enum-rename": {},
30
31
  "/api/workspace/objects/[name]/fields/[fieldId]": {},
32
+ "/api/workspace/objects/[name]/fields/reorder": {},
31
33
  "/api/workspace/objects/[name]": {},
34
+ "/api/workspace/open-file": {},
35
+ "/api/workspace/init": {},
32
36
  "/api/workspace/objects/[name]/entries/[id]": {},
33
37
  "/api/workspace/path-info": {},
38
+ "/api/workspace/rename": {},
34
39
  "/api/workspace/query": {},
35
40
  "/api/workspace/reports/execute": {},
36
- "/api/workspace/objects/[name]/fields/[fieldId]/enum-rename": {},
37
- "/api/workspace/open-file": {},
38
- "/api/workspace/objects/[name]/entries": {},
39
41
  "/api/workspace/raw-file": {},
42
+ "/api/workspace/switch": {},
40
43
  "/api/workspace/tree": {},
41
- "/api/workspace/browse-file": {},
44
+ "/api/workspace/thumbnail": {},
42
45
  "/api/workspace/search-index": {},
43
- "/api/workspace/suggest-files": {},
44
46
  "/api/workspace/upload": {},
45
- "/api/workspace/switch": {},
46
- "/api/workspace/thumbnail": {},
47
- "/api/workspace/rename": {},
47
+ "/api/workspace/suggest-files": {},
48
48
  "/api/workspace/write-binary": {},
49
- "/api/workspace/virtual-file": {},
50
- "/api/workspace/watch": {}
49
+ "/api/workspace/watch": {},
50
+ "/api/workspace/virtual-file": {}
51
51
  }
52
52
  }
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-11b130b100839707.js" defer=""></script><script src="/_next/static/chunks/framework-63182ecd18a3b3c9.js" defer=""></script><script src="/_next/static/chunks/main-35c7ea2227b70752.js" defer=""></script><script src="/_next/static/chunks/pages/_app-3501412d1f7ffe78.js" defer=""></script><script src="/_next/static/chunks/pages/_error-0217f5ed9b41c682.js" defer=""></script><script src="/_next/static/GMcg5LmEckjlPN9JnIiUs/_buildManifest.js" defer=""></script><script src="/_next/static/GMcg5LmEckjlPN9JnIiUs/_ssgManifest.js" defer=""></script></head><body><div id="__next"><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="line-height:48px"><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-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"GMcg5LmEckjlPN9JnIiUs","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-11b130b100839707.js" defer=""></script><script src="/_next/static/chunks/framework-63182ecd18a3b3c9.js" defer=""></script><script src="/_next/static/chunks/main-35c7ea2227b70752.js" defer=""></script><script src="/_next/static/chunks/pages/_app-3501412d1f7ffe78.js" defer=""></script><script src="/_next/static/chunks/pages/_error-0217f5ed9b41c682.js" defer=""></script><script src="/_next/static/Q0YgF3jTj-9sjWtpRymRl/_buildManifest.js" defer=""></script><script src="/_next/static/Q0YgF3jTj-9sjWtpRymRl/_ssgManifest.js" defer=""></script></head><body><div id="__next"><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="line-height:48px"><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-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"Q0YgF3jTj-9sjWtpRymRl","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "denchclaw",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "Fully Managed OpenClaw Framework for managing your CRM, Sales Automation and Outreach agents. The only local productivity tool you need.",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/DenchHQ/DenchClaw#readme",
package/dist/entry.js CHANGED
@@ -1144,7 +1144,7 @@ if (!ensureExperimentalWarningSuppressed()) {
1144
1144
  const appliedProfile = applyCliProfileEnv({ profile: parsed.profile ?? void 0 });
1145
1145
  if (appliedProfile.warning) console.warn(`[denchclaw] ${appliedProfile.warning}`);
1146
1146
  process$1.argv = parsed.argv;
1147
- import("./run-main-BF0xKDV2.js").then(({ runCli }) => runCli(process$1.argv)).then(() => import("./telemetry-DgtS6PHg.js").then((n) => n.n).then(({ shutdownTelemetry }) => shutdownTelemetry())).catch((error) => {
1147
+ import("./run-main-CexhuDHD.js").then(({ runCli }) => runCli(process$1.argv)).then(() => import("./telemetry-DgtS6PHg.js").then((n) => n.n).then(({ shutdownTelemetry }) => shutdownTelemetry())).catch((error) => {
1148
1148
  console.error("[denchclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
1149
1149
  process$1.exitCode = 1;
1150
1150
  });
@@ -1299,10 +1299,7 @@ async function runCommandWithTimeout(argv, options) {
1299
1299
  return await new Promise((resolve, reject) => {
1300
1300
  const child = spawn(resolveCommandForPlatform(command), args, {
1301
1301
  cwd: options.cwd,
1302
- env: options.env ? {
1303
- ...process$1.env,
1304
- ...options.env
1305
- } : process$1.env,
1302
+ env: options.env ?? process$1.env,
1306
1303
  stdio
1307
1304
  });
1308
1305
  let stdout = "";
@@ -1780,6 +1777,22 @@ function createOpenClawSetupProgress(params) {
1780
1777
  }
1781
1778
  };
1782
1779
  }
1780
+ /**
1781
+ * Returns a copy of `process.env` with `npm_config_*`, `npm_package_*`, and
1782
+ * npm lifecycle variables stripped. When denchclaw is launched via `npx`, npm
1783
+ * injects environment variables (most critically `npm_config_prefix`) that
1784
+ * redirect `npm install -g` and `npm ls -g` to a temporary npx-managed
1785
+ * prefix instead of the user's real global npm directory. Stripping these
1786
+ * ensures child npm processes use the user's actual configuration.
1787
+ */
1788
+ function cleanNpmGlobalEnv() {
1789
+ const cleaned = {};
1790
+ for (const [key, value] of Object.entries(process$1.env)) {
1791
+ if (key.startsWith("npm_config_") || key.startsWith("npm_package_") || key === "npm_lifecycle_event" || key === "npm_lifecycle_script") continue;
1792
+ cleaned[key] = value;
1793
+ }
1794
+ return cleaned;
1795
+ }
1783
1796
  async function detectGlobalOpenClawInstall(onOutputLine) {
1784
1797
  const result = await runCommandWithTimeout([
1785
1798
  "npm",
@@ -1791,7 +1804,8 @@ async function detectGlobalOpenClawInstall(onOutputLine) {
1791
1804
  "--silent"
1792
1805
  ], {
1793
1806
  timeoutMs: 15e3,
1794
- onOutputLine
1807
+ onOutputLine,
1808
+ env: cleanNpmGlobalEnv()
1795
1809
  }).catch(() => null);
1796
1810
  const installedVersion = (parseJsonPayload(result?.stdout ?? result?.stderr)?.dependencies)?.openclaw?.version;
1797
1811
  if (typeof installedVersion === "string" && installedVersion.length > 0) return {
@@ -1807,6 +1821,7 @@ async function resolveNpmGlobalBinDir(onOutputLine) {
1807
1821
  "-g"
1808
1822
  ], {
1809
1823
  timeoutMs: 8e3,
1824
+ env: cleanNpmGlobalEnv(),
1810
1825
  onOutputLine
1811
1826
  }).catch(() => null);
1812
1827
  if (!result || result.code !== 0) return;
@@ -1870,6 +1885,7 @@ async function ensureOpenClawCliAvailable(params) {
1870
1885
  "openclaw@latest"
1871
1886
  ], {
1872
1887
  timeoutMs: 10 * 6e4,
1888
+ env: cleanNpmGlobalEnv(),
1873
1889
  onOutputLine: (line) => {
1874
1890
  progress.output(`npm install: ${line}`);
1875
1891
  }
@@ -1929,12 +1945,16 @@ async function ensureOpenClawCliAvailable(params) {
1929
1945
  };
1930
1946
  }
1931
1947
  async function probeGateway(openclawCommand, profile, gatewayPort) {
1948
+ const env = gatewayPort ? {
1949
+ ...process$1.env,
1950
+ OPENCLAW_GATEWAY_PORT: String(gatewayPort)
1951
+ } : void 0;
1932
1952
  const result = await runOpenClaw(openclawCommand, [
1933
1953
  "--profile",
1934
1954
  profile,
1935
1955
  "health",
1936
1956
  "--json"
1937
- ], 12e3, "capture", gatewayPort ? { OPENCLAW_GATEWAY_PORT: String(gatewayPort) } : void 0).catch((error) => {
1957
+ ], 12e3, "capture", env).catch((error) => {
1938
1958
  return {
1939
1959
  code: 1,
1940
1960
  stdout: "",
@@ -219,7 +219,7 @@ async function runCli(argv = process$1.argv) {
219
219
  process$1.exitCode = await delegateToGlobalOpenClaw(parseArgv);
220
220
  return;
221
221
  }
222
- const { buildProgram } = await import("./program-VYLGlGTu.js");
222
+ const { buildProgram } = await import("./program-BBvFj08o.js");
223
223
  await buildProgram().parseAsync(parseArgv);
224
224
  }
225
225
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "denchclaw",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "Fully Managed OpenClaw Framework for managing your CRM, Sales Automation and Outreach agents. The only local productivity tool you need.",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/DenchHQ/DenchClaw#readme",