fleetlens 0.1.1 → 0.1.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.
- package/app/apps/web/.next/BUILD_ID +1 -1
- package/app/apps/web/.next/build-manifest.json +3 -3
- package/app/apps/web/.next/prerender-manifest.json +3 -3
- package/app/apps/web/.next/server/app/_global-error.html +1 -1
- package/app/apps/web/.next/server/app/_global-error.rsc +1 -1
- package/app/apps/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/app/apps/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/app/apps/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/app/apps/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/app/apps/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/app/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/parallelism/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/projects/[slug]/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/sessions/[id]/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/usage/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__0pm~ki3._.js +3 -3
- package/app/apps/web/.next/server/chunks/ssr/_0yyvgac._.js +1 -1
- package/app/apps/web/.next/server/chunks/ssr/apps_web_components_06j3c.0._.js +1 -1
- package/app/apps/web/.next/server/middleware-build-manifest.js +3 -3
- package/app/apps/web/.next/server/pages/500.html +1 -1
- package/app/apps/web/.next/server/server-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/server-reference-manifest.json +1 -1
- package/app/apps/web/.next/static/chunks/{0dohpu.c0i6xx.js → 0ipd1ph4bgubq.js} +1 -1
- package/app/apps/web/app/api/ask/route.ts +1 -1
- package/app/apps/web/app/layout.tsx +2 -2
- package/app/apps/web/components/sidebar.tsx +1 -1
- package/app/apps/web/package.json +1 -1
- package/app/apps/web/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +19 -15
- package/package.json +1 -1
- /package/app/apps/web/.next/static/{IHvkhA13HrMq3uK2CWSbJ → xYJud5MeHVY9ZFuYH3d2a}/_buildManifest.js +0 -0
- /package/app/apps/web/.next/static/{IHvkhA13HrMq3uK2CWSbJ → xYJud5MeHVY9ZFuYH3d2a}/_clientMiddlewareManifest.js +0 -0
- /package/app/apps/web/.next/static/{IHvkhA13HrMq3uK2CWSbJ → xYJud5MeHVY9ZFuYH3d2a}/_ssgManifest.js +0 -0
package/dist/index.js
CHANGED
|
@@ -196,7 +196,7 @@ function runNpmInstall() {
|
|
|
196
196
|
function reExec() {
|
|
197
197
|
const result = spawnSync(process.argv[0], process.argv.slice(1), {
|
|
198
198
|
stdio: "inherit",
|
|
199
|
-
env: { ...process.env,
|
|
199
|
+
env: { ...process.env, __FLEETLENS_UPDATED: "1" }
|
|
200
200
|
});
|
|
201
201
|
process.exit(result.status ?? 0);
|
|
202
202
|
}
|
|
@@ -206,29 +206,33 @@ function isDevMode() {
|
|
|
206
206
|
}
|
|
207
207
|
async function checkForUpdate() {
|
|
208
208
|
if (isDevMode()) return;
|
|
209
|
-
if (process.env.__CCLENS_UPDATED === "1") return;
|
|
209
|
+
if (process.env.__FLEETLENS_UPDATED === "1" || process.env.__CCLENS_UPDATED === "1") return;
|
|
210
210
|
const latest = await fetchLatestVersion();
|
|
211
211
|
if (latest === null) return;
|
|
212
|
-
const current = "0.1.
|
|
212
|
+
const current = "0.1.3";
|
|
213
213
|
if (!shouldUpdate(current, latest)) return;
|
|
214
|
-
console.log(`Updating
|
|
214
|
+
console.log(`Updating ${PACKAGE_NAME} ${current} \u2192 ${latest}...`);
|
|
215
215
|
const ok = runNpmInstall();
|
|
216
216
|
if (ok) {
|
|
217
217
|
console.log("Updated successfully. Restarting...");
|
|
218
218
|
reExec();
|
|
219
219
|
} else {
|
|
220
|
-
console.warn(
|
|
220
|
+
console.warn(
|
|
221
|
+
`Update failed. Starting with current version.
|
|
222
|
+
\u2192 Try manually: npm install -g ${PACKAGE_NAME}@latest
|
|
223
|
+
\u2192 Or with sudo if your global npm prefix needs it.`
|
|
224
|
+
);
|
|
221
225
|
}
|
|
222
226
|
}
|
|
223
227
|
async function forceUpdate() {
|
|
224
228
|
const latest = await fetchLatestVersion();
|
|
225
|
-
const current = "0.1.
|
|
229
|
+
const current = "0.1.3";
|
|
226
230
|
if (latest === null) {
|
|
227
231
|
console.error("Could not reach npm registry. Check your network.");
|
|
228
232
|
process.exit(1);
|
|
229
233
|
}
|
|
230
234
|
if (shouldUpdate(current, latest)) {
|
|
231
|
-
console.log(`Updating
|
|
235
|
+
console.log(`Updating ${PACKAGE_NAME} ${current} \u2192 ${latest}...`);
|
|
232
236
|
} else {
|
|
233
237
|
console.log(`Already on latest (${current}). Reinstalling...`);
|
|
234
238
|
}
|
|
@@ -265,15 +269,15 @@ async function start(args2) {
|
|
|
265
269
|
const status = getServerStatus();
|
|
266
270
|
if (status.running) {
|
|
267
271
|
const url = `http://localhost:${status.port}`;
|
|
268
|
-
console.log(`
|
|
272
|
+
console.log(`fleetlens is already running on ${url} (PID ${status.pid})`);
|
|
269
273
|
if (!noOpen) openBrowser(url);
|
|
270
274
|
return;
|
|
271
275
|
}
|
|
272
|
-
console.log("Starting
|
|
276
|
+
console.log("Starting fleetlens...");
|
|
273
277
|
try {
|
|
274
278
|
const result = await startServer({ port });
|
|
275
279
|
const url = `http://localhost:${result.port}`;
|
|
276
|
-
console.log(`
|
|
280
|
+
console.log(`fleetlens running on ${url} (PID ${result.pid})`);
|
|
277
281
|
if (!noOpen) openBrowser(url);
|
|
278
282
|
} catch (err) {
|
|
279
283
|
console.error(`Failed to start: ${err.message}`);
|
|
@@ -296,12 +300,12 @@ __export(stop_exports, {
|
|
|
296
300
|
async function stop() {
|
|
297
301
|
const status = getServerStatus();
|
|
298
302
|
if (!status.running) {
|
|
299
|
-
console.log("
|
|
303
|
+
console.log("fleetlens is not running.");
|
|
300
304
|
return;
|
|
301
305
|
}
|
|
302
306
|
const result = stopServer();
|
|
303
307
|
if (result.stopped) {
|
|
304
|
-
console.log(`Stopped
|
|
308
|
+
console.log(`Stopped fleetlens (PID ${result.pid})`);
|
|
305
309
|
}
|
|
306
310
|
}
|
|
307
311
|
var init_stop = __esm({
|
|
@@ -328,11 +332,11 @@ async function web(args2) {
|
|
|
328
332
|
if (!noOpen) openBrowser(url);
|
|
329
333
|
return;
|
|
330
334
|
}
|
|
331
|
-
console.log("
|
|
335
|
+
console.log("fleetlens is not running. Starting server...");
|
|
332
336
|
try {
|
|
333
337
|
const result = await startServer({});
|
|
334
338
|
const url = `http://localhost:${result.port}${path2}`;
|
|
335
|
-
console.log(`
|
|
339
|
+
console.log(`fleetlens running on ${url} (PID ${result.pid})`);
|
|
336
340
|
if (!noOpen) openBrowser(url);
|
|
337
341
|
} catch (err) {
|
|
338
342
|
console.error(`Failed to start: ${err.message}`);
|
|
@@ -1527,7 +1531,7 @@ async function main() {
|
|
|
1527
1531
|
case "version":
|
|
1528
1532
|
case "--version":
|
|
1529
1533
|
case "-v":
|
|
1530
|
-
console.log(`fleetlens ${"0.1.
|
|
1534
|
+
console.log(`fleetlens ${"0.1.3"}`);
|
|
1531
1535
|
break;
|
|
1532
1536
|
case "help":
|
|
1533
1537
|
case "--help":
|
package/package.json
CHANGED
/package/app/apps/web/.next/static/{IHvkhA13HrMq3uK2CWSbJ → xYJud5MeHVY9ZFuYH3d2a}/_buildManifest.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/app/apps/web/.next/static/{IHvkhA13HrMq3uK2CWSbJ → xYJud5MeHVY9ZFuYH3d2a}/_ssgManifest.js
RENAMED
|
File without changes
|