@aiderdesk/aiderdesk 0.76.0 → 0.77.0
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/out/cli.js +124 -17
- package/out/renderer/assets/{AgentSettings-Dc8h1zSI.js → AgentSettings-B73lGg-P.js} +2 -2
- package/out/renderer/assets/{InfoIcon-BuABw5oZ.js → InfoIcon-BaDK-htg.js} +1 -1
- package/out/renderer/assets/{Onboarding-lX23sGcW.js → Onboarding-CttlAepw.js} +4 -4
- package/out/renderer/assets/{ProviderHeader-s7JSikLR.js → ProviderHeader-B0-K9908.js} +2 -2
- package/out/renderer/assets/{SettingsPage-CcsH6kmE.js → SettingsPage-BtyX7Wv1.js} +40 -11
- package/out/renderer/assets/{UsageDashboard-oAQNYvYh.js → UsageDashboard-CKuev9SP.js} +3 -3
- package/out/renderer/assets/{arc-BiaIwS79.js → arc-CDCMm4PF.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-3BPJPVTR-d7fu6X13.js → architectureDiagram-3BPJPVTR-DoyTFQYe.js} +3 -3
- package/out/renderer/assets/{blockDiagram-GPEHLZMM-CWD8GVpw.js → blockDiagram-GPEHLZMM-CophuS51.js} +4 -4
- package/out/renderer/assets/{c4Diagram-AAUBKEIU-b5nYOm14.js → c4Diagram-AAUBKEIU-Dc3YxNWW.js} +2 -2
- package/out/renderer/assets/{channel-B99g0IUF.js → channel-cZzRDUFG.js} +1 -1
- package/out/renderer/assets/{chunk-2J33WTMH-DmrXuNY-.js → chunk-2J33WTMH-YV6ZtOyU.js} +1 -1
- package/out/renderer/assets/{chunk-4BX2VUAB-4Soxfj2i.js → chunk-4BX2VUAB-DKNGjk29.js} +1 -1
- package/out/renderer/assets/{chunk-55IACEB6-BtS727h4.js → chunk-55IACEB6-MkIW5gHI.js} +1 -1
- package/out/renderer/assets/{chunk-727SXJPM-CVxcBF7D.js → chunk-727SXJPM-CPUXDO_8.js} +5 -5
- package/out/renderer/assets/{chunk-AQP2D5EJ-m8ArTZfD.js → chunk-AQP2D5EJ-CYCp3XBh.js} +3 -3
- package/out/renderer/assets/{chunk-FMBD7UC4-yWO_9Kky.js → chunk-FMBD7UC4-DIj-DOVN.js} +1 -1
- package/out/renderer/assets/{chunk-ND2GUHAM-BkVCmcvx.js → chunk-ND2GUHAM-BWiS_Ttp.js} +1 -1
- package/out/renderer/assets/{chunk-QZHKN3VN-DwLbWeqf.js → chunk-QZHKN3VN-4NHol9Dz.js} +1 -1
- package/out/renderer/assets/{classDiagram-4FO5ZUOK-B3t9RWJZ.js → classDiagram-4FO5ZUOK-C1yfJEIb.js} +6 -6
- package/out/renderer/assets/{classDiagram-v2-Q7XG4LA2-B3t9RWJZ.js → classDiagram-v2-Q7XG4LA2-C1yfJEIb.js} +6 -6
- package/out/renderer/assets/{cose-bilkent-S5V4N54A-W70GNPEp.js → cose-bilkent-S5V4N54A-B8D60fQa.js} +1 -1
- package/out/renderer/assets/{dagre-BM42HDAG-D_Val_ih.js → dagre-BM42HDAG-5_V5lQc0.js} +3 -3
- package/out/renderer/assets/{diagram-2AECGRRQ-Z7UeOtJN.js → diagram-2AECGRRQ-Bb4cbiKY.js} +3 -3
- package/out/renderer/assets/{diagram-5GNKFQAL-DY9Yifty.js → diagram-5GNKFQAL-DQ_vjlxb.js} +4 -4
- package/out/renderer/assets/{diagram-KO2AKTUF-CGi0HZww.js → diagram-KO2AKTUF-So0t9fVd.js} +3 -3
- package/out/renderer/assets/{diagram-LMA3HP47-bdoVxL2p.js → diagram-LMA3HP47-CbSRJgt4.js} +3 -3
- package/out/renderer/assets/{diagram-OG6HWLK6-2K829auL.js → diagram-OG6HWLK6-Bls2tZCJ.js} +4 -4
- package/out/renderer/assets/{erDiagram-TEJ5UH35-D4sO1GH8.js → erDiagram-TEJ5UH35-CESbOlvh.js} +4 -4
- package/out/renderer/assets/{flowDiagram-I6XJVG4X-DQNz4Jg_.js → flowDiagram-I6XJVG4X-B-35DKDx.js} +6 -6
- package/out/renderer/assets/{ganttDiagram-6RSMTGT7-B3dUFX1p.js → ganttDiagram-6RSMTGT7-BL1OQkTj.js} +3 -3
- package/out/renderer/assets/{gitGraphDiagram-PVQCEYII-B95Lrq_7.js → gitGraphDiagram-PVQCEYII-SJkGLAAz.js} +4 -4
- package/out/renderer/assets/{graph-7kCtdoo_.js → graph-BSxR7Gef.js} +1 -1
- package/out/renderer/assets/{index-B2TL7Kll.js → index-BVOpoJw8.js} +1 -1
- package/out/renderer/assets/{index-58fbbmhI.js → index-BqZxyppq.js} +1 -1
- package/out/renderer/assets/{index-CNgsMipO.js → index-Cmn9J2p1.js} +4692 -1953
- package/out/renderer/assets/{index-BnFS7uhp.js → index-DFODyrlX.js} +3 -3
- package/out/renderer/assets/{index-BoogYopJ.js → index-DGcKtfCM.js} +1 -1
- package/out/renderer/assets/{index-DcD881Q1.css → index-DVEVSdXO.css} +21 -0
- package/out/renderer/assets/{index-pvhejocY.js → index-DgDxO_E3.js} +1 -1
- package/out/renderer/assets/{index-CRfveI6m.js → index-HJk8ZKtm.js} +1 -1
- package/out/renderer/assets/{index-Bihcg0ql.js → index-NF_MxNl9.js} +1 -1
- package/out/renderer/assets/{index-BHaWBJe9.js → index-VX8ukL4o.js} +1 -1
- package/out/renderer/assets/{index-GRVDmgjb.js → index-xCqv98zj.js} +1 -1
- package/out/renderer/assets/{infoDiagram-5YYISTIA-C0OH2to7.js → infoDiagram-5YYISTIA-lRTvqfXx.js} +2 -2
- package/out/renderer/assets/{ishikawaDiagram-YF4QCWOH-DsgR-cKp.js → ishikawaDiagram-YF4QCWOH-CtsU-ctO.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-JHISSGLW-Bg6okgzG.js → journeyDiagram-JHISSGLW-3MrLeKXj.js} +4 -4
- package/out/renderer/assets/{jsx-dev-runtime-DLJNe6VM.js → jsx-dev-runtime-BTcJ8PkQ.js} +1 -1
- package/out/renderer/assets/{kanban-definition-UN3LZRKU-1UvLCrWk.js → kanban-definition-UN3LZRKU-CinUVJ12.js} +2 -2
- package/out/renderer/assets/{layout-9w0fH2nL.js → layout-C9eRMSnE.js} +2 -2
- package/out/renderer/assets/{linear-WTE7GZY2.js → linear-WwW43_Ig.js} +1 -1
- package/out/renderer/assets/{mindmap-definition-RKZ34NQL-BlxjYw-a.js → mindmap-definition-RKZ34NQL-B-K0dkdA.js} +3 -3
- package/out/renderer/assets/{pieDiagram-4H26LBE5-C4jZuzAH.js → pieDiagram-4H26LBE5-eotxzUOT.js} +4 -4
- package/out/renderer/assets/pierre-dark-BL-l9r39.js +4 -0
- package/out/renderer/assets/pierre-dark-protanopia-deuteranopia-BBjGuJQU.js +4 -0
- package/out/renderer/assets/pierre-dark-soft-B6TBhICr.js +4 -0
- package/out/renderer/assets/pierre-dark-tritanopia-f-j_EX9A.js +4 -0
- package/out/renderer/assets/pierre-dark-vibrant-yElMGqZN.js +4 -0
- package/out/renderer/assets/pierre-light-BUzWTcjO.js +4 -0
- package/out/renderer/assets/pierre-light-protanopia-deuteranopia-DlvVSCaI.js +4 -0
- package/out/renderer/assets/pierre-light-soft-CCMU-Zh0.js +4 -0
- package/out/renderer/assets/pierre-light-tritanopia-v4xacE1C.js +4 -0
- package/out/renderer/assets/pierre-light-vibrant-BRUbQnMc.js +4 -0
- package/out/renderer/assets/{quadrantDiagram-W4KKPZXB-BLG4PrcM.js → quadrantDiagram-W4KKPZXB-BtKKvYmW.js} +2 -2
- package/out/renderer/assets/{requirementDiagram-4Y6WPE33-CTTFFDvR.js → requirementDiagram-4Y6WPE33-k_JQl4AM.js} +3 -3
- package/out/renderer/assets/{sankeyDiagram-5OEKKPKP-CjDlOfXf.js → sankeyDiagram-5OEKKPKP-BVDWaFSn.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-3UESZ5HK-6PJo_0SQ.js → sequenceDiagram-3UESZ5HK-dpVnolZO.js} +3 -3
- package/out/renderer/assets/{stateDiagram-AJRCARHV-Cnhm9mmx.js → stateDiagram-AJRCARHV-DYd-R9tJ.js} +6 -6
- package/out/renderer/assets/{stateDiagram-v2-BHNVJYJU-BxKTEg-3.js → stateDiagram-v2-BHNVJYJU-CyE2HX6z.js} +4 -4
- package/out/renderer/assets/{time-YGhgEMYh.js → time-Claj2vse.js} +1 -1
- package/out/renderer/assets/{timeline-definition-PNZ67QCA-ooi5Tti4.js → timeline-definition-PNZ67QCA-0vKYrH6S.js} +2 -2
- package/out/renderer/assets/{vennDiagram-CIIHVFJN-B_kwCHhU.js → vennDiagram-CIIHVFJN-op3DVQGG.js} +1 -1
- package/out/renderer/assets/{wardley-L42UT6IY-Dnx4ZTc4.js → wardley-L42UT6IY-CsNzYaF9.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-YWT4CUSO-cqZcXF7R.js → wardleyDiagram-YWT4CUSO-D3jK8kAv.js} +3 -3
- package/out/renderer/assets/{worker-BdXuKH1Q.js → worker-CdcPcIJG.js} +322 -102
- package/out/renderer/assets/{xychartDiagram-2RQKCTM6-BBUpFNY4.js → xychartDiagram-2RQKCTM6-C9wPvZAU.js} +2 -2
- package/out/renderer/index.html +2 -2
- package/out/resources/connector/connector.py +3 -1
- package/out/resources/prompts/init-project.hbs +16 -42
- package/out/resources/prompts/system-prompt.hbs +25 -60
- package/out/resources/prompts/workflow.hbs +17 -52
- package/out/resources/skills/extension-creator/SKILL.md +1 -0
- package/out/resources/skills/extension-creator/references/event-types.md +13 -1
- package/out/runner.js +819 -156
- package/package.json +2 -2
- package/out/renderer/assets/pierre-dark-C-Drv5KU.js +0 -4
- package/out/renderer/assets/pierre-dark-soft-Cd74uQaL.js +0 -4
- package/out/renderer/assets/pierre-light-CfQnmt6J.js +0 -4
- package/out/renderer/assets/pierre-light-soft-DMVdU74b.js +0 -4
package/out/cli.js
CHANGED
|
@@ -1260,6 +1260,31 @@ const formatJSONLine = (type, raw) => {
|
|
|
1260
1260
|
const { taskId, baseDir, ...data } = raw;
|
|
1261
1261
|
return JSON.stringify({ type, taskId, projectDir: baseDir, data }) + "\n";
|
|
1262
1262
|
};
|
|
1263
|
+
const waitForServerReady = async (host, port, timeoutMs) => {
|
|
1264
|
+
const startTime = Date.now();
|
|
1265
|
+
const pollInterval = 100;
|
|
1266
|
+
while (Date.now() - startTime < timeoutMs) {
|
|
1267
|
+
try {
|
|
1268
|
+
const health = await fetchJSON$1(host, port, "/api/health", "GET");
|
|
1269
|
+
if (health.status === 200 && health.data.status === "ok") {
|
|
1270
|
+
return true;
|
|
1271
|
+
}
|
|
1272
|
+
} catch {
|
|
1273
|
+
}
|
|
1274
|
+
await new Promise((resolve) => setTimeout(resolve, pollInterval));
|
|
1275
|
+
}
|
|
1276
|
+
return false;
|
|
1277
|
+
};
|
|
1278
|
+
const killProcess = (child) => {
|
|
1279
|
+
if (!child.killed) {
|
|
1280
|
+
child.kill("SIGTERM");
|
|
1281
|
+
setTimeout(() => {
|
|
1282
|
+
if (!child.killed) {
|
|
1283
|
+
child.kill("SIGKILL");
|
|
1284
|
+
}
|
|
1285
|
+
}, 5e3);
|
|
1286
|
+
}
|
|
1287
|
+
};
|
|
1263
1288
|
const runPrompt = async (messages, opts) => {
|
|
1264
1289
|
const port = resolvePort(opts.port ? parseInt(opts.port) : void 0);
|
|
1265
1290
|
const host = opts.host || DEFAULT_HOST;
|
|
@@ -1277,18 +1302,45 @@ ${stdinContent}` : stdinContent;
|
|
|
1277
1302
|
process.stderr.write("Error: No prompt provided. Pass a message or pipe stdin.\n");
|
|
1278
1303
|
process.exit(1);
|
|
1279
1304
|
}
|
|
1305
|
+
let spawnedProcess = null;
|
|
1306
|
+
let serverHealthy = false;
|
|
1280
1307
|
try {
|
|
1281
1308
|
const health = await fetchJSON$1(host, port, "/api/health", "GET");
|
|
1282
|
-
|
|
1283
|
-
process.stderr.write("Error: AiderDesk server is not healthy.\n");
|
|
1284
|
-
process.exit(1);
|
|
1285
|
-
}
|
|
1309
|
+
serverHealthy = health.status === 200 && health.data.status === "ok";
|
|
1286
1310
|
} catch {
|
|
1287
|
-
|
|
1288
|
-
|
|
1311
|
+
}
|
|
1312
|
+
if (!serverHealthy) {
|
|
1313
|
+
if (opts.autostart) {
|
|
1314
|
+
process.stderr.write(`Starting AiderDesk server on port ${port}...
|
|
1315
|
+
`);
|
|
1316
|
+
try {
|
|
1317
|
+
spawnedProcess = spawnRunnerProcess(port, ["ignore", "ignore", "ignore"]);
|
|
1318
|
+
spawnedProcess.on("error", (err) => {
|
|
1319
|
+
process.stderr.write(`Error: Failed to start server: ${err.message}
|
|
1320
|
+
`);
|
|
1321
|
+
process.exit(1);
|
|
1322
|
+
});
|
|
1323
|
+
const ready = await waitForServerReady(host, port, 3e4);
|
|
1324
|
+
if (!ready) {
|
|
1325
|
+
process.stderr.write("Error: Server failed to start within 30 seconds.\n");
|
|
1326
|
+
if (spawnedProcess) {
|
|
1327
|
+
killProcess(spawnedProcess);
|
|
1328
|
+
}
|
|
1329
|
+
process.exit(1);
|
|
1330
|
+
}
|
|
1331
|
+
process.stderr.write("Server is ready.\n");
|
|
1332
|
+
} catch (err) {
|
|
1333
|
+
process.stderr.write(`Error: Failed to start server: ${err.message}
|
|
1334
|
+
`);
|
|
1335
|
+
process.exit(1);
|
|
1336
|
+
}
|
|
1337
|
+
} else {
|
|
1338
|
+
process.stderr.write(
|
|
1339
|
+
`Error: AiderDesk server is not running on ${host}:${port}. Start it first with 'aiderdesk' or 'aiderdesk start', or use --autostart.
|
|
1289
1340
|
`
|
|
1290
|
-
|
|
1291
|
-
|
|
1341
|
+
);
|
|
1342
|
+
process.exit(1);
|
|
1343
|
+
}
|
|
1292
1344
|
}
|
|
1293
1345
|
const requestBody = { prompt, projectDir };
|
|
1294
1346
|
if (opts.model) {
|
|
@@ -1308,6 +1360,9 @@ ${stdinContent}` : stdinContent;
|
|
|
1308
1360
|
let interrupted = false;
|
|
1309
1361
|
const handleInterrupt = (tui) => {
|
|
1310
1362
|
if (interrupted) {
|
|
1363
|
+
if (spawnedProcess) {
|
|
1364
|
+
killProcess(spawnedProcess);
|
|
1365
|
+
}
|
|
1311
1366
|
process.exit(130);
|
|
1312
1367
|
}
|
|
1313
1368
|
interrupted = true;
|
|
@@ -1318,8 +1373,18 @@ ${stdinContent}` : stdinContent;
|
|
|
1318
1373
|
if (!reqClosed) {
|
|
1319
1374
|
sseResponse.stream.destroy();
|
|
1320
1375
|
}
|
|
1321
|
-
void callInterrupt$1(host, port, projectDir, taskId).then(() =>
|
|
1322
|
-
|
|
1376
|
+
void callInterrupt$1(host, port, projectDir, taskId).then(() => {
|
|
1377
|
+
if (spawnedProcess) {
|
|
1378
|
+
killProcess(spawnedProcess);
|
|
1379
|
+
}
|
|
1380
|
+
process.exit(130);
|
|
1381
|
+
});
|
|
1382
|
+
setTimeout(() => {
|
|
1383
|
+
if (spawnedProcess) {
|
|
1384
|
+
killProcess(spawnedProcess);
|
|
1385
|
+
}
|
|
1386
|
+
process.exit(130);
|
|
1387
|
+
}, 2e3);
|
|
1323
1388
|
};
|
|
1324
1389
|
process.on("SIGINT", () => handleInterrupt());
|
|
1325
1390
|
process.on("SIGTERM", () => handleInterrupt());
|
|
@@ -1336,6 +1401,9 @@ ${stdinContent}` : stdinContent;
|
|
|
1336
1401
|
onInterrupt: (tui) => handleInterrupt(tui),
|
|
1337
1402
|
onDone: (success) => {
|
|
1338
1403
|
reqClosed = true;
|
|
1404
|
+
if (spawnedProcess) {
|
|
1405
|
+
killProcess(spawnedProcess);
|
|
1406
|
+
}
|
|
1339
1407
|
process.exit(success ? 0 : 1);
|
|
1340
1408
|
}
|
|
1341
1409
|
});
|
|
@@ -1346,9 +1414,30 @@ ${stdinContent}` : stdinContent;
|
|
|
1346
1414
|
let lastResponseCompleted = null;
|
|
1347
1415
|
const seenToolStarts = /* @__PURE__ */ new Set();
|
|
1348
1416
|
const seenToolEnds = /* @__PURE__ */ new Set();
|
|
1417
|
+
let showingThinking = false;
|
|
1418
|
+
let responseStarted = false;
|
|
1419
|
+
const clearThinking = () => {
|
|
1420
|
+
if (showingThinking) {
|
|
1421
|
+
process.stdout.write("\r\x1B[K");
|
|
1422
|
+
showingThinking = false;
|
|
1423
|
+
}
|
|
1424
|
+
};
|
|
1425
|
+
const showThinking = () => {
|
|
1426
|
+
if (!showingThinking) {
|
|
1427
|
+
process.stdout.write("\x1B[33mThinking...\x1B[0m");
|
|
1428
|
+
showingThinking = true;
|
|
1429
|
+
if (process.stdout.isTTY) {
|
|
1430
|
+
process.stdout.write("");
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
};
|
|
1349
1434
|
if (format === "text" && !quiet) {
|
|
1350
|
-
process.
|
|
1435
|
+
process.stdout.write(`Running prompt in ${projectDir}
|
|
1436
|
+
`);
|
|
1437
|
+
process.stdout.write(`\x1B[36m🧑 ${prompt}\x1B[0m
|
|
1438
|
+
|
|
1351
1439
|
`);
|
|
1440
|
+
showThinking();
|
|
1352
1441
|
}
|
|
1353
1442
|
for await (const event of eventStream) {
|
|
1354
1443
|
const eventData = parseEventData$1(event.data);
|
|
@@ -1360,6 +1449,8 @@ ${stdinContent}` : stdinContent;
|
|
|
1360
1449
|
} else if (format === "text" && !quiet) {
|
|
1361
1450
|
const text = eventData.chunk || "";
|
|
1362
1451
|
if (text) {
|
|
1452
|
+
clearThinking();
|
|
1453
|
+
responseStarted = true;
|
|
1363
1454
|
process.stdout.write(text);
|
|
1364
1455
|
currentResponseText += text;
|
|
1365
1456
|
}
|
|
@@ -1367,6 +1458,7 @@ ${stdinContent}` : stdinContent;
|
|
|
1367
1458
|
break;
|
|
1368
1459
|
}
|
|
1369
1460
|
case "response-completed": {
|
|
1461
|
+
clearThinking();
|
|
1370
1462
|
if (format === "json" && !quiet) {
|
|
1371
1463
|
process.stdout.write(formatJSONLine("response-completed", eventData));
|
|
1372
1464
|
} else if (quiet) {
|
|
@@ -1388,6 +1480,7 @@ ${stdinContent}` : stdinContent;
|
|
|
1388
1480
|
break;
|
|
1389
1481
|
}
|
|
1390
1482
|
case "stream-end": {
|
|
1483
|
+
clearThinking();
|
|
1391
1484
|
if (quiet && lastResponseCompleted) {
|
|
1392
1485
|
if (format === "json") {
|
|
1393
1486
|
process.stdout.write(formatJSONLine("response-completed", lastResponseCompleted));
|
|
@@ -1416,7 +1509,7 @@ ${stdinContent}` : stdinContent;
|
|
|
1416
1509
|
process.stdout.write(formatJSONLine("tool-start", eventData));
|
|
1417
1510
|
} else if (format === "text" && !quiet) {
|
|
1418
1511
|
const argsSummary = formatToolArgs(eventData.args);
|
|
1419
|
-
process.
|
|
1512
|
+
process.stdout.write(` \x1B[2m⚙ ${eventData.toolName}${argsSummary}\x1B[0m
|
|
1420
1513
|
`);
|
|
1421
1514
|
}
|
|
1422
1515
|
} else {
|
|
@@ -1429,7 +1522,7 @@ ${stdinContent}` : stdinContent;
|
|
|
1429
1522
|
} else if (format === "text" && !quiet) {
|
|
1430
1523
|
const hasError = eventData.response === "error";
|
|
1431
1524
|
const symbol = hasError ? "✗" : "✓";
|
|
1432
|
-
process.
|
|
1525
|
+
process.stdout.write(` \x1B[2m${symbol} ${eventData.toolName}\x1B[0m
|
|
1433
1526
|
`);
|
|
1434
1527
|
}
|
|
1435
1528
|
}
|
|
@@ -1439,9 +1532,20 @@ ${stdinContent}` : stdinContent;
|
|
|
1439
1532
|
case "log": {
|
|
1440
1533
|
if (format === "json" && !quiet) {
|
|
1441
1534
|
process.stdout.write(formatJSONLine("log", eventData));
|
|
1442
|
-
} else if (format === "text" &&
|
|
1443
|
-
|
|
1535
|
+
} else if (format === "text" && !quiet) {
|
|
1536
|
+
if (eventData.level === "error" && eventData.message) {
|
|
1537
|
+
clearThinking();
|
|
1538
|
+
process.stderr.write(`\x1B[31mError: ${eventData.message}\x1B[0m
|
|
1539
|
+
`);
|
|
1540
|
+
} else if (eventData.level === "loading") {
|
|
1541
|
+
if (eventData.message) {
|
|
1542
|
+
clearThinking();
|
|
1543
|
+
process.stdout.write(`\x1B[33m${eventData.message}\x1B[0m
|
|
1444
1544
|
`);
|
|
1545
|
+
} else if (!responseStarted) {
|
|
1546
|
+
showThinking();
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1445
1549
|
}
|
|
1446
1550
|
break;
|
|
1447
1551
|
}
|
|
@@ -1449,7 +1553,7 @@ ${stdinContent}` : stdinContent;
|
|
|
1449
1553
|
if (format === "json" && !quiet) {
|
|
1450
1554
|
process.stdout.write(formatJSONLine("ask-question", eventData));
|
|
1451
1555
|
} else if (format === "text" && eventData.question) {
|
|
1452
|
-
process.
|
|
1556
|
+
process.stdout.write(`
|
|
1453
1557
|
? ${eventData.question}
|
|
1454
1558
|
`);
|
|
1455
1559
|
}
|
|
@@ -1467,6 +1571,9 @@ ${stdinContent}` : stdinContent;
|
|
|
1467
1571
|
}
|
|
1468
1572
|
}
|
|
1469
1573
|
reqClosed = true;
|
|
1574
|
+
if (spawnedProcess) {
|
|
1575
|
+
killProcess(spawnedProcess);
|
|
1576
|
+
}
|
|
1470
1577
|
process.exit(finished ? 0 : 1);
|
|
1471
1578
|
};
|
|
1472
1579
|
const runInteractiveStream = async (args) => {
|
|
@@ -1567,7 +1674,7 @@ const runInteractiveStream = async (args) => {
|
|
|
1567
1674
|
}
|
|
1568
1675
|
};
|
|
1569
1676
|
function registerRunCommand(program2) {
|
|
1570
|
-
program2.command("run [message...]").description("Run a prompt non-interactively and stream output").option("-p, --port <port>", "server port (env: AIDER_DESK_PORT)", parseInt).option("--host <host>", `server host (default: ${DEFAULT_HOST})`).option("-f, --format <format>", "output format: text (default) or json", "text").option("-q, --quiet", "suppress progress indicators").option("-m, --model <model>", "model to use (format: provider/model, e.g. openai/gpt-4o)").option("-a, --agent-profile <id>", "agent profile ID to use").option("-t, --task-id <id>", "run on an existing task instead of creating a new one").action((messages, opts) => {
|
|
1677
|
+
program2.command("run [message...]").description("Run a prompt non-interactively and stream output").option("-p, --port <port>", "server port (env: AIDER_DESK_PORT)", parseInt).option("--host <host>", `server host (default: ${DEFAULT_HOST})`).option("-f, --format <format>", "output format: text (default) or json", "text").option("-q, --quiet", "suppress progress indicators").option("-m, --model <model>", "model to use (format: provider/model, e.g. openai/gpt-4o)").option("-a, --agent-profile <id>", "agent profile ID to use").option("-t, --task-id <id>", "run on an existing task instead of creating a new one").option("--autostart", "automatically start the server if not running and stop it when done").action((messages, opts) => {
|
|
1571
1678
|
runPrompt(messages, opts);
|
|
1572
1679
|
});
|
|
1573
1680
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as compilerRuntimeExports, a as clsx, j as jsxRuntimeExports, b2 as useTranslation, b0 as reactExports, c7 as Checkbox, b7 as Button, dD as HiEye, c9 as Input, cr as TextArea, dE as Trans, ck as CodeInline, dF as SUPPORTED_LANGUAGES, c8 as Select, cC as Tooltip, dG as MdInfoOutline, dH as useClickOutside, dI as FaEllipsisVertical, dJ as BiCut, dK as BiTrash, ch as BiCopy, dL as useSortable, dM as CSS, c6 as Slider, I as IconButton, cv as FaTimes, cA as ContextCompactionType, dN as TOOL_GROUP_NAME_SEPARATOR, dO as ToolApprovalState, cb as useApi, di as Accordion, dP as extractIpcErrorMessage, dQ as FaPencilAlt, cl as FaTrash, dR as POWER_TOOL_GROUP_NAME, dS as POWER_TOOL_BASH, dT as AIDER_TOOL_GROUP_NAME, dU as TODO_TOOL_GROUP_NAME, dV as TASKS_TOOL_GROUP_NAME, dW as MEMORY_TOOL_GROUP_NAME, dX as SKILLS_TOOL_GROUP_NAME, dY as MEMORY_TOOL_DESCRIPTIONS, dZ as MEMORY_TOOL_STORE, d_ as MEMORY_TOOL_RETRIEVE, d$ as MEMORY_TOOL_LIST, e0 as MEMORY_TOOL_UPDATE, e1 as MEMORY_TOOL_DELETE, e2 as TASKS_TOOL_DESCRIPTIONS, e3 as TASKS_TOOL_LIST_TASKS, e4 as TASKS_TOOL_GET_TASK, e5 as TASKS_TOOL_GET_TASK_MESSAGE, e6 as TASKS_TOOL_CREATE_TASK, e7 as TASKS_TOOL_DELETE_TASK, e8 as TASKS_TOOL_SEARCH_TASK, e9 as TODO_TOOL_DESCRIPTIONS, ea as TODO_TOOL_SET_ITEMS, eb as TODO_TOOL_GET_ITEMS, ec as TODO_TOOL_UPDATE_ITEM_COMPLETION, ed as TODO_TOOL_CLEAR_ITEMS, ee as POWER_TOOL_DESCRIPTIONS, ef as POWER_TOOL_FILE_EDIT, eg as POWER_TOOL_FILE_READ, eh as POWER_TOOL_FILE_WRITE, ei as POWER_TOOL_GLOB, ej as POWER_TOOL_GREP, ek as POWER_TOOL_SEMANTIC_SEARCH, el as POWER_TOOL_FETCH, em as AIDER_TOOL_DESCRIPTIONS, en as AIDER_TOOL_GET_CONTEXT_FILES, eo as AIDER_TOOL_ADD_CONTEXT_FILES, ep as AIDER_TOOL_DROP_CONTEXT_FILES, eq as AIDER_TOOL_RUN_PROMPT, cf as FaSyncAlt, cw as FaPlus, er as _extends$1, es as React, et as _objectWithoutPropertiesLoose$1, eu as InvocationMode, ev as ContextMemoryMode, ew as DEFAULT_AGENT_PROFILE, a$ as useModelProviders, ex as DEFAULT_AGENT_PROFILES, ey as useSensors, ez as useSensor, eA as sortableKeyboardCoordinates, eB as KeyboardSensor, eC as PointerSensor, cB as getProviderModelId, cU as FaChevronLeft, cV as FaChevronRight, eD as DndContext, eE as closestCenter, eF as SortableContext, eG as verticalListSortingStrategy, eH as FaPaste, eI as BiReset, eJ as ModelSelector, eK as arrayMove, aV as v4, ba as showErrorNotification } from "./index-
|
|
2
|
-
import { I as InfoIcon } from "./InfoIcon-
|
|
1
|
+
import { c as compilerRuntimeExports, a as clsx, j as jsxRuntimeExports, b2 as useTranslation, b0 as reactExports, c7 as Checkbox, b7 as Button, dD as HiEye, c9 as Input, cr as TextArea, dE as Trans, ck as CodeInline, dF as SUPPORTED_LANGUAGES, c8 as Select, cC as Tooltip, dG as MdInfoOutline, dH as useClickOutside, dI as FaEllipsisVertical, dJ as BiCut, dK as BiTrash, ch as BiCopy, dL as useSortable, dM as CSS, c6 as Slider, I as IconButton, cv as FaTimes, cA as ContextCompactionType, dN as TOOL_GROUP_NAME_SEPARATOR, dO as ToolApprovalState, cb as useApi, di as Accordion, dP as extractIpcErrorMessage, dQ as FaPencilAlt, cl as FaTrash, dR as POWER_TOOL_GROUP_NAME, dS as POWER_TOOL_BASH, dT as AIDER_TOOL_GROUP_NAME, dU as TODO_TOOL_GROUP_NAME, dV as TASKS_TOOL_GROUP_NAME, dW as MEMORY_TOOL_GROUP_NAME, dX as SKILLS_TOOL_GROUP_NAME, dY as MEMORY_TOOL_DESCRIPTIONS, dZ as MEMORY_TOOL_STORE, d_ as MEMORY_TOOL_RETRIEVE, d$ as MEMORY_TOOL_LIST, e0 as MEMORY_TOOL_UPDATE, e1 as MEMORY_TOOL_DELETE, e2 as TASKS_TOOL_DESCRIPTIONS, e3 as TASKS_TOOL_LIST_TASKS, e4 as TASKS_TOOL_GET_TASK, e5 as TASKS_TOOL_GET_TASK_MESSAGE, e6 as TASKS_TOOL_CREATE_TASK, e7 as TASKS_TOOL_DELETE_TASK, e8 as TASKS_TOOL_SEARCH_TASK, e9 as TODO_TOOL_DESCRIPTIONS, ea as TODO_TOOL_SET_ITEMS, eb as TODO_TOOL_GET_ITEMS, ec as TODO_TOOL_UPDATE_ITEM_COMPLETION, ed as TODO_TOOL_CLEAR_ITEMS, ee as POWER_TOOL_DESCRIPTIONS, ef as POWER_TOOL_FILE_EDIT, eg as POWER_TOOL_FILE_READ, eh as POWER_TOOL_FILE_WRITE, ei as POWER_TOOL_GLOB, ej as POWER_TOOL_GREP, ek as POWER_TOOL_SEMANTIC_SEARCH, el as POWER_TOOL_FETCH, em as AIDER_TOOL_DESCRIPTIONS, en as AIDER_TOOL_GET_CONTEXT_FILES, eo as AIDER_TOOL_ADD_CONTEXT_FILES, ep as AIDER_TOOL_DROP_CONTEXT_FILES, eq as AIDER_TOOL_RUN_PROMPT, cf as FaSyncAlt, cw as FaPlus, er as _extends$1, es as React, et as _objectWithoutPropertiesLoose$1, eu as InvocationMode, ev as ContextMemoryMode, ew as DEFAULT_AGENT_PROFILE, a$ as useModelProviders, ex as DEFAULT_AGENT_PROFILES, ey as useSensors, ez as useSensor, eA as sortableKeyboardCoordinates, eB as KeyboardSensor, eC as PointerSensor, cB as getProviderModelId, cU as FaChevronLeft, cV as FaChevronRight, eD as DndContext, eE as closestCenter, eF as SortableContext, eG as verticalListSortingStrategy, eH as FaPaste, eI as BiReset, eJ as ModelSelector, eK as arrayMove, aV as v4, ba as showErrorNotification } from "./index-Cmn9J2p1.js";
|
|
2
|
+
import { I as InfoIcon } from "./InfoIcon-BaDK-htg.js";
|
|
3
3
|
const getPathBasename = (inputPath) => {
|
|
4
4
|
if (!inputPath) {
|
|
5
5
|
return inputPath;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as compilerRuntimeExports, a as clsx, t as twMerge, j as jsxRuntimeExports, F as FaInfoCircle, I as IconButton } from "./index-
|
|
1
|
+
import { c as compilerRuntimeExports, a as clsx, t as twMerge, j as jsxRuntimeExports, F as FaInfoCircle, I as IconButton } from "./index-Cmn9J2p1.js";
|
|
2
2
|
const InfoIcon = (t0) => {
|
|
3
3
|
const $ = compilerRuntimeExports.c(13);
|
|
4
4
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as compilerRuntimeExports, a$ as useModelProviders, b0 as reactExports, j as jsxRuntimeExports, b1 as HiCheck, a as clsx, b2 as useTranslation, b3 as useNavigate, b4 as useSettingsStore, b5 as useSaveSettings, b6 as useAgents, b7 as Button, b8 as HiArrowLeft, b9 as HiArrowRight, ba as showErrorNotification, bb as lodashExports, bc as showInfoNotification, bd as ROUTES } from "./index-
|
|
2
|
-
import { A as AgentSettings, a as AiderSettings, L as LanguageSelector } from "./AgentSettings-
|
|
3
|
-
import { P as ProviderProfileForm, a as ProviderSelection, b as ProviderHeader } from "./ProviderHeader-
|
|
4
|
-
import "./InfoIcon-
|
|
1
|
+
import { c as compilerRuntimeExports, a$ as useModelProviders, b0 as reactExports, j as jsxRuntimeExports, b1 as HiCheck, a as clsx, b2 as useTranslation, b3 as useNavigate, b4 as useSettingsStore, b5 as useSaveSettings, b6 as useAgents, b7 as Button, b8 as HiArrowLeft, b9 as HiArrowRight, ba as showErrorNotification, bb as lodashExports, bc as showInfoNotification, bd as ROUTES } from "./index-Cmn9J2p1.js";
|
|
2
|
+
import { A as AgentSettings, a as AiderSettings, L as LanguageSelector } from "./AgentSettings-B73lGg-P.js";
|
|
3
|
+
import { P as ProviderProfileForm, a as ProviderSelection, b as ProviderHeader } from "./ProviderHeader-B0-K9908.js";
|
|
4
|
+
import "./InfoIcon-BaDK-htg.js";
|
|
5
5
|
const OnboardingProviderSetup = () => {
|
|
6
6
|
const $ = compilerRuntimeExports.c(21);
|
|
7
7
|
const {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as compilerRuntimeExports, b2 as useTranslation, j as jsxRuntimeExports, c7 as Checkbox, b0 as reactExports, c9 as Input, c8 as Select, c6 as Slider, dh as ReasoningEffort, di as Accordion, cr as TextArea, I as IconButton, f9 as FiArrowLeft, fa as AVAILABLE_PROVIDERS, cb as useApi, b4 as useSettingsStore, b5 as useSaveSettings, cC as Tooltip, F as FaInfoCircle, fb as FaExternalLinkAlt, fc as FaCheck, b7 as Button, cw as FaPlus, dg as getDefaultProviderParams, aV as v4, cl as FaTrash, fd as useResponsive, a as clsx, fe as FiMic, dq as FiEdit2, dt as FiTrash2, cm as ConfirmDialog, ff as FiCpu, fg as FaExclamationCircle, dv as FiPlus } from "./index-
|
|
2
|
-
import { I as InfoIcon } from "./InfoIcon-
|
|
1
|
+
import { c as compilerRuntimeExports, b2 as useTranslation, j as jsxRuntimeExports, c7 as Checkbox, b0 as reactExports, c9 as Input, c8 as Select, c6 as Slider, dh as ReasoningEffort, di as Accordion, cr as TextArea, I as IconButton, f9 as FiArrowLeft, fa as AVAILABLE_PROVIDERS, cb as useApi, b4 as useSettingsStore, b5 as useSaveSettings, cC as Tooltip, F as FaInfoCircle, fb as FaExternalLinkAlt, fc as FaCheck, b7 as Button, cw as FaPlus, dg as getDefaultProviderParams, aV as v4, cl as FaTrash, fd as useResponsive, a as clsx, fe as FiMic, dq as FiEdit2, dt as FiTrash2, cm as ConfirmDialog, ff as FiCpu, fg as FaExclamationCircle, dv as FiPlus } from "./index-Cmn9J2p1.js";
|
|
2
|
+
import { I as InfoIcon } from "./InfoIcon-BaDK-htg.js";
|
|
3
3
|
const DisableStreaming = (t0) => {
|
|
4
4
|
const $ = compilerRuntimeExports.c(13);
|
|
5
5
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as compilerRuntimeExports, b2 as useTranslation, b_ as FONTS, b$ as THEMES, c0 as DiffViewMode, c1 as MessageViewMode, c2 as FileWatchMode, j as jsxRuntimeExports, c3 as ProjectStartMode, c4 as RadioButton, c5 as SuggestionMode, c6 as Slider, c7 as Checkbox, c8 as Select, c9 as Input, ca as useVersions, cb as useApi, b7 as Button, cc as FaFolderOpen, cd as B, ce as TbLogs, cf as FaSyncAlt, b0 as reactExports, cg as Chip, a as clsx, I as IconButton, ch as BiCopy, ci as useMount, cj as MemoryEmbeddingProgressPhase, ck as CodeInline, cl as FaTrash, cm as ConfirmDialog, a$ as useModelProviders, cn as useLocalStorage, co as DEFAULT_VOICE_SYSTEM_INSTRUCTIONS, cp as OpenAiVoiceModel, cq as GeminiVoiceModel, cr as TextArea, cs as isOpenAiProvider, ct as isGeminiProvider, cu as FaEdit, cv as FaTimes, cw as FaPlus, cx as useRecordHotkeys, cy as DEFAULT_HOTKEY_CONFIG, cz as ModelSelectorWrapper, cA as ContextCompactionType, cB as getProviderModelId, cC as Tooltip, cD as ItemSelector, cE as AiFillFolderOpen, cF as IoGitBranch, cG as useExtensions, cH as useReactIcons, cI as showSuccessNotification, ba as showErrorNotification, cJ as LoadingOverlay, cK as StringToReactComponent, cL as useOS, cM as FaCog, cN as FaSync, cO as Toggle, cP as FaDownload, cQ as FaChevronDown, cR as Markdown, cS as MARKDOWN_COMPONENTS, cT as REMARK_PLUGINS, cU as FaChevronLeft, cV as FaChevronRight, cW as FaSearch, cX as FaServer, cY as MdTerminal, cZ as FaRobot, c_ as LuClipboardList, c$ as FaBrain, d0 as FaMicrophone, d1 as FaKeyboard, d2 as FaPuzzlePiece, F as FaInfoCircle, b4 as useSettingsStore, b5 as useSaveSettings, b6 as useAgents, bb as lodashExports, d3 as setTheme, d4 as setFont, d5 as setFontSize, d6 as useHotkeys, d7 as ModalOverlayLayout } from "./index-
|
|
2
|
-
import { L as LanguageSelector, S as Section, g as getPathBasename, A as AgentSettings, a as AiderSettings } from "./AgentSettings-
|
|
3
|
-
import { I as InfoIcon } from "./InfoIcon-
|
|
1
|
+
import { c as compilerRuntimeExports, b2 as useTranslation, b_ as FONTS, b$ as THEMES, c0 as DiffViewMode, c1 as MessageViewMode, c2 as FileWatchMode, j as jsxRuntimeExports, c3 as ProjectStartMode, c4 as RadioButton, c5 as SuggestionMode, c6 as Slider, c7 as Checkbox, c8 as Select, c9 as Input, ca as useVersions, cb as useApi, b7 as Button, cc as FaFolderOpen, cd as B, ce as TbLogs, cf as FaSyncAlt, b0 as reactExports, cg as Chip, a as clsx, I as IconButton, ch as BiCopy, ci as useMount, cj as MemoryEmbeddingProgressPhase, ck as CodeInline, cl as FaTrash, cm as ConfirmDialog, a$ as useModelProviders, cn as useLocalStorage, co as DEFAULT_VOICE_SYSTEM_INSTRUCTIONS, cp as OpenAiVoiceModel, cq as GeminiVoiceModel, cr as TextArea, cs as isOpenAiProvider, ct as isGeminiProvider, cu as FaEdit, cv as FaTimes, cw as FaPlus, cx as useRecordHotkeys, cy as DEFAULT_HOTKEY_CONFIG, cz as ModelSelectorWrapper, cA as ContextCompactionType, cB as getProviderModelId, cC as Tooltip, cD as ItemSelector, cE as AiFillFolderOpen, cF as IoGitBranch, cG as useExtensions, cH as useReactIcons, cI as showSuccessNotification, ba as showErrorNotification, cJ as LoadingOverlay, cK as StringToReactComponent, cL as useOS, cM as FaCog, cN as FaSync, cO as Toggle, cP as FaDownload, cQ as FaChevronDown, cR as Markdown, cS as MARKDOWN_COMPONENTS, cT as REMARK_PLUGINS, cU as FaChevronLeft, cV as FaChevronRight, cW as FaSearch, cX as FaServer, cY as MdTerminal, cZ as FaRobot, c_ as LuClipboardList, c$ as FaBrain, d0 as FaMicrophone, d1 as FaKeyboard, d2 as FaPuzzlePiece, F as FaInfoCircle, b4 as useSettingsStore, b5 as useSaveSettings, b6 as useAgents, bb as lodashExports, d3 as setTheme, d4 as setFont, d5 as setFontSize, d6 as useHotkeys, d7 as ModalOverlayLayout } from "./index-Cmn9J2p1.js";
|
|
2
|
+
import { L as LanguageSelector, S as Section, g as getPathBasename, A as AgentSettings, a as AiderSettings } from "./AgentSettings-B73lGg-P.js";
|
|
3
|
+
import { I as InfoIcon } from "./InfoIcon-BaDK-htg.js";
|
|
4
4
|
const ZOOM_OPTIONS = [{
|
|
5
5
|
label: "80%",
|
|
6
6
|
value: "0.8"
|
|
@@ -2192,14 +2192,32 @@ const NetworkSettings = ({
|
|
|
2192
2192
|
setOperation(null);
|
|
2193
2193
|
}
|
|
2194
2194
|
};
|
|
2195
|
-
const
|
|
2195
|
+
const handleReadonlyChange = (checked_0) => {
|
|
2196
|
+
setSettings({
|
|
2197
|
+
...settings,
|
|
2198
|
+
server: {
|
|
2199
|
+
...settings.server,
|
|
2200
|
+
readonly: checked_0
|
|
2201
|
+
}
|
|
2202
|
+
});
|
|
2203
|
+
};
|
|
2204
|
+
const handleReadonlyExtensionUiChange = (checked_1) => {
|
|
2205
|
+
setSettings({
|
|
2206
|
+
...settings,
|
|
2207
|
+
server: {
|
|
2208
|
+
...settings.server,
|
|
2209
|
+
readonlyExtensionUi: checked_1
|
|
2210
|
+
}
|
|
2211
|
+
});
|
|
2212
|
+
};
|
|
2213
|
+
const handleBasicAuthEnabledChange = (checked_2) => {
|
|
2196
2214
|
setSettings({
|
|
2197
2215
|
...settings,
|
|
2198
2216
|
server: {
|
|
2199
2217
|
...settings.server,
|
|
2200
2218
|
basicAuth: {
|
|
2201
2219
|
...settings.server.basicAuth,
|
|
2202
|
-
enabled:
|
|
2220
|
+
enabled: checked_2
|
|
2203
2221
|
}
|
|
2204
2222
|
}
|
|
2205
2223
|
});
|
|
@@ -2228,14 +2246,14 @@ const NetworkSettings = ({
|
|
|
2228
2246
|
}
|
|
2229
2247
|
});
|
|
2230
2248
|
};
|
|
2231
|
-
const handleCorsEnabledChange = (
|
|
2249
|
+
const handleCorsEnabledChange = (checked_3) => {
|
|
2232
2250
|
setSettings({
|
|
2233
2251
|
...settings,
|
|
2234
2252
|
server: {
|
|
2235
2253
|
...settings.server,
|
|
2236
2254
|
cors: {
|
|
2237
2255
|
...settings.server.cors,
|
|
2238
|
-
enabled:
|
|
2256
|
+
enabled: checked_3
|
|
2239
2257
|
}
|
|
2240
2258
|
}
|
|
2241
2259
|
});
|
|
@@ -2336,17 +2354,25 @@ const NetworkSettings = ({
|
|
|
2336
2354
|
}
|
|
2337
2355
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-6", children: [
|
|
2338
2356
|
renderProxySection(),
|
|
2339
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Section, { id: "network-server", title: t("settings.tabs.server"), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-4 space-y-
|
|
2340
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-
|
|
2357
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Section, { id: "network-server", title: t("settings.tabs.server"), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-4 space-y-3", children: [
|
|
2358
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-3", children: [
|
|
2341
2359
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center", children: [
|
|
2342
2360
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { label: t("settings.server.enableBasicAuth"), checked: settings.server.basicAuth.enabled, onChange: handleBasicAuthEnabledChange, disabled: isServerRunning }),
|
|
2343
2361
|
/* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { tooltip: t("settings.server.enableBasicAuthDescription") })
|
|
2344
2362
|
] }),
|
|
2345
|
-
settings.server.basicAuth.enabled && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-2 gap-4", children: [
|
|
2363
|
+
settings.server.basicAuth.enabled && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-2 gap-4 pb-3", children: [
|
|
2346
2364
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs", children: t("settings.server.username") }), value: settings.server.basicAuth.username, onChange: handleUsernameChange, type: "text", placeholder: "admin" }),
|
|
2347
2365
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Input, { label: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs", children: t("settings.server.password") }), value: settings.server.basicAuth.password, onChange: handlePasswordChange, type: "password", placeholder: "password" })
|
|
2348
2366
|
] })
|
|
2349
2367
|
] }),
|
|
2368
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center", children: [
|
|
2369
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { label: t("settings.server.enableReadonly"), checked: settings.server.readonly, onChange: handleReadonlyChange, disabled: isServerRunning }),
|
|
2370
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { tooltip: t("settings.server.enableReadonlyDescription") })
|
|
2371
|
+
] }),
|
|
2372
|
+
settings.server.readonly && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center pl-6", children: [
|
|
2373
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox, { label: t("settings.server.enableReadonlyExtensionUi"), checked: settings.server.readonlyExtensionUi ?? true, onChange: handleReadonlyExtensionUiChange }),
|
|
2374
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(InfoIcon, { tooltip: t("settings.server.enableReadonlyExtensionUiDescription") })
|
|
2375
|
+
] }),
|
|
2350
2376
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "space-y-2", children: [
|
|
2351
2377
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center justify-between p-3 bg-bg-secondary rounded-md", children: [
|
|
2352
2378
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "text-sm text-text-muted", children: [
|
|
@@ -3496,6 +3522,9 @@ const VoiceSettings = (t0) => {
|
|
|
3496
3522
|
}, {
|
|
3497
3523
|
label: OpenAiVoiceModel.Gpt4oTranscribe,
|
|
3498
3524
|
value: OpenAiVoiceModel.Gpt4oTranscribe
|
|
3525
|
+
}, {
|
|
3526
|
+
label: OpenAiVoiceModel.GptLiveTranscribe,
|
|
3527
|
+
value: OpenAiVoiceModel.GptLiveTranscribe
|
|
3499
3528
|
}, {
|
|
3500
3529
|
label: OpenAiVoiceModel.GptRealtimeWhisper,
|
|
3501
3530
|
value: OpenAiVoiceModel.GptRealtimeWhisper
|
|
@@ -3624,7 +3653,7 @@ const VoiceSettings = (t0) => {
|
|
|
3624
3653
|
}
|
|
3625
3654
|
const handleGeminiTemperatureChange = t23;
|
|
3626
3655
|
const openAiProvider = selectedProfile?.provider.name === "openai" ? selectedProfile.provider : void 0;
|
|
3627
|
-
const openAiModel = openAiProvider?.voice?.model ?? OpenAiVoiceModel.
|
|
3656
|
+
const openAiModel = openAiProvider?.voice?.model ?? OpenAiVoiceModel.GptLiveTranscribe;
|
|
3628
3657
|
const openAiLanguage = openAiProvider?.voice?.language ?? "en";
|
|
3629
3658
|
const geminiProvider = selectedProfile?.provider.name === "gemini" ? selectedProfile.provider : void 0;
|
|
3630
3659
|
const geminiModel = geminiProvider?.voice?.model ?? GeminiVoiceModel.Gemini31FlashLivePreview;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ao as withPath, bV as array, az as constant, fu as curveLinear, fv as x, fw as y, aF as shapeLine, ar as tau, ax as sqrt$1, aw as pi, at as sin, as as cos, c as compilerRuntimeExports, b2 as useTranslation, b0 as reactExports, j as jsxRuntimeExports, dk as MdArrowUpward, dl as MdArrowDownward, bW as getDefaultExportFromCjs, a as clsx, fx as commonjsGlobal, fy as withSelectorExports, fz as reactDomExports, fA as stepBefore, fB as stepAfter, fC as curveStep, fD as curveNatural, fE as monotoneY, fF as monotoneX, fG as curveLinearClosed, fH as bumpY, fI as bumpX, aN as curveBasis, fJ as curveBasisOpen, fK as curveBasisClosed, a$ as useModelProviders, cB as getProviderModelId, cb as useApi, d7 as ModalOverlayLayout, fL as DatePicker, c8 as Select, fM as MultiSelect, I as IconButton, cN as FaSync, fN as FaTable, fO as FaChartBar, fP as CgSpinner } from "./index-
|
|
1
|
+
import { ao as withPath, bV as array, az as constant, fu as curveLinear, fv as x, fw as y, aF as shapeLine, ar as tau, ax as sqrt$1, aw as pi, at as sin, as as cos, c as compilerRuntimeExports, b2 as useTranslation, b0 as reactExports, j as jsxRuntimeExports, dk as MdArrowUpward, dl as MdArrowDownward, bW as getDefaultExportFromCjs, a as clsx, fx as commonjsGlobal, fy as withSelectorExports, fz as reactDomExports, fA as stepBefore, fB as stepAfter, fC as curveStep, fD as curveNatural, fE as monotoneY, fF as monotoneX, fG as curveLinearClosed, fH as bumpY, fI as bumpX, aN as curveBasis, fJ as curveBasisOpen, fK as curveBasisClosed, a$ as useModelProviders, cB as getProviderModelId, cb as useApi, d7 as ModalOverlayLayout, fL as DatePicker, c8 as Select, fM as MultiSelect, I as IconButton, cN as FaSync, fN as FaTable, fO as FaChartBar, fP as CgSpinner } from "./index-Cmn9J2p1.js";
|
|
2
2
|
import { b as band, p as point } from "./band-zXq5o_Ib.js";
|
|
3
|
-
import { d as ascending, n as numbers, e as number, i as interpolate$1, f as number$1, g as linearish, h as transformer$2, a as copy$1, j as ticks, k as identity$3, c as continuous, m as bisectRight, o as interpolateRound, l as linear, p as tickFormat } from "./linear-
|
|
3
|
+
import { d as ascending, n as numbers, e as number, i as interpolate$1, f as number$1, g as linearish, h as transformer$2, a as copy$1, j as ticks, k as identity$3, c as continuous, m as bisectRight, o as interpolateRound, l as linear, p as tickFormat } from "./linear-WwW43_Ig.js";
|
|
4
4
|
import { i as initRange, a as initInterpolator } from "./init-CTO7spbL.js";
|
|
5
|
-
import { m as min, a as max, p as nice, q as calendar, u as utcFormat, s as second, r as utcMinute, v as utcHour, w as utcDay, x as utcSunday, y as utcMonth, z as utcYear, A as utcTickInterval, B as utcTicks, t as time } from "./time-
|
|
5
|
+
import { m as min, a as max, p as nice, q as calendar, u as utcFormat, s as second, r as utcMinute, v as utcHour, w as utcDay, x as utcSunday, y as utcMonth, z as utcYear, A as utcTickInterval, B as utcTicks, t as time } from "./time-Claj2vse.js";
|
|
6
6
|
import { f as formatSpecifier, b as format } from "./defaultLocale-B2RvLBDe.js";
|
|
7
7
|
import { i as implicit, o as ordinal } from "./ordinal-BD3Y6v77.js";
|
|
8
8
|
function compareDefined(compare = ascending) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ao as withPath, ap as halfPi, aq as epsilon, ar as tau, as as cos, at as sin, au as min, av as abs, aw as pi, ax as sqrt, ay as atan2, az as constant, aA as asin, aB as acos, aC as max } from "./index-
|
|
1
|
+
import { ao as withPath, ap as halfPi, aq as epsilon, ar as tau, as as cos, at as sin, au as min, av as abs, aw as pi, ax as sqrt, ay as atan2, az as constant, aA as asin, aB as acos, aC as max } from "./index-Cmn9J2p1.js";
|
|
2
2
|
function arcInnerRadius(d) {
|
|
3
3
|
return d.innerRadius;
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bW as getDefaultExportFromCjs, _ as __name, an as selectSvgElement, aS as setupGraphViewbox, O as log, K as setAccTitle, J as getAccTitle, a5 as setDiagramTitle, a6 as getDiagramTitle, H as getAccDescription, C as setAccDescription, ac as clear, ak as cleanAndMerge, ai as getConfig, al as defaultConfig_default, L as getConfig2, bF as createText, bX as getIconSVG, W as sanitizeText, N as select, aa as getEdgeId, bY as registerIconPacks, bZ as unknownIcon } from "./index-
|
|
2
|
-
import { p as populateCommonDb } from "./chunk-4BX2VUAB-
|
|
3
|
-
import { p as parse } from "./wardley-L42UT6IY-
|
|
1
|
+
import { bW as getDefaultExportFromCjs, _ as __name, an as selectSvgElement, aS as setupGraphViewbox, O as log, K as setAccTitle, J as getAccTitle, a5 as setDiagramTitle, a6 as getDiagramTitle, H as getAccDescription, C as setAccDescription, ac as clear, ak as cleanAndMerge, ai as getConfig, al as defaultConfig_default, L as getConfig2, bF as createText, bX as getIconSVG, W as sanitizeText, N as select, aa as getEdgeId, bY as registerIconPacks, bZ as unknownIcon } from "./index-Cmn9J2p1.js";
|
|
2
|
+
import { p as populateCommonDb } from "./chunk-4BX2VUAB-DKNGjk29.js";
|
|
3
|
+
import { p as parse } from "./wardley-L42UT6IY-CsNzYaF9.js";
|
|
4
4
|
import { c as cytoscape$1 } from "./cytoscape.esm-BNSvh83I.js";
|
|
5
5
|
var cytoscapeFcose$1 = { exports: {} };
|
|
6
6
|
var coseBase$1 = { exports: {} };
|
package/out/renderer/assets/{blockDiagram-GPEHLZMM-CWD8GVpw.js → blockDiagram-GPEHLZMM-CophuS51.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as getIconStyles } from "./chunk-FMBD7UC4-
|
|
2
|
-
import { be as isPrimitive, bf as getTag, bg as isTypedArray, bh as arrayBufferTag, bi as dataViewTag, bj as booleanTag, bk as numberTag, bl as stringTag, bm as dateTag, bn as regexpTag, bo as symbolTag, bp as mapTag, bq as setTag, br as argumentsTag, bs as uint32ArrayTag, bt as uint16ArrayTag, bu as uint8ClampedArrayTag, bv as uint8ArrayTag, bw as objectTag, bx as int32ArrayTag, by as int16ArrayTag, bz as int8ArrayTag, bA as float64ArrayTag, bB as float32ArrayTag, bC as arrayTag, _ as __name, ai as getConfig, N as select, Q as configureSvgSize, O as log, ac as clear, ae as rgba, bD as getLineFunctionsWithOffset, aF as shapeLine, aN as curveBasis, L as getConfig2, aK as getUrl, bE as getEffectiveHtmlLabels, bF as createText, bG as computeLabelTransform, bH as getSubGraphTitleMargins, a4 as utils_default, Z as common_default, bI as getStylesFromArray, W as sanitizeText, bJ as decodeEntities, bK as configureLabelImages } from "./index-
|
|
3
|
-
import { G as Graph } from "./graph-
|
|
4
|
-
import { c as channel } from "./channel-
|
|
1
|
+
import { g as getIconStyles } from "./chunk-FMBD7UC4-DIj-DOVN.js";
|
|
2
|
+
import { be as isPrimitive, bf as getTag, bg as isTypedArray, bh as arrayBufferTag, bi as dataViewTag, bj as booleanTag, bk as numberTag, bl as stringTag, bm as dateTag, bn as regexpTag, bo as symbolTag, bp as mapTag, bq as setTag, br as argumentsTag, bs as uint32ArrayTag, bt as uint16ArrayTag, bu as uint8ClampedArrayTag, bv as uint8ArrayTag, bw as objectTag, bx as int32ArrayTag, by as int16ArrayTag, bz as int8ArrayTag, bA as float64ArrayTag, bB as float32ArrayTag, bC as arrayTag, _ as __name, ai as getConfig, N as select, Q as configureSvgSize, O as log, ac as clear, ae as rgba, bD as getLineFunctionsWithOffset, aF as shapeLine, aN as curveBasis, L as getConfig2, aK as getUrl, bE as getEffectiveHtmlLabels, bF as createText, bG as computeLabelTransform, bH as getSubGraphTitleMargins, a4 as utils_default, Z as common_default, bI as getStylesFromArray, W as sanitizeText, bJ as decodeEntities, bK as configureLabelImages } from "./index-Cmn9J2p1.js";
|
|
3
|
+
import { G as Graph } from "./graph-BSxR7Gef.js";
|
|
4
|
+
import { c as channel } from "./channel-cZzRDUFG.js";
|
|
5
5
|
function isArray(value) {
|
|
6
6
|
return Array.isArray(value);
|
|
7
7
|
}
|
package/out/renderer/assets/{c4Diagram-AAUBKEIU-b5nYOm14.js → c4Diagram-AAUBKEIU-Dc3YxNWW.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getNoteRect, d as drawRect } from "./chunk-ND2GUHAM-
|
|
2
|
-
import { C as setAccDescription, H as getAccDescription, J as getAccTitle, K as setAccTitle, _ as __name, L as getConfig2, N as select, O as log, Q as configureSvgSize, T as assignWithDepth_default, U as calculateTextWidth, W as sanitizeText, X as distExports, Y as wrapLabel, Z as common_default, $ as calculateTextHeight } from "./index-
|
|
1
|
+
import { g as getNoteRect, d as drawRect } from "./chunk-ND2GUHAM-BWiS_Ttp.js";
|
|
2
|
+
import { C as setAccDescription, H as getAccDescription, J as getAccTitle, K as setAccTitle, _ as __name, L as getConfig2, N as select, O as log, Q as configureSvgSize, T as assignWithDepth_default, U as calculateTextWidth, W as sanitizeText, X as distExports, Y as wrapLabel, Z as common_default, $ as calculateTextHeight } from "./index-Cmn9J2p1.js";
|
|
3
3
|
var parser = (function() {
|
|
4
4
|
var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
|
|
5
5
|
for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __name, Q as configureSvgSize, O as log } from "./index-
|
|
1
|
+
import { _ as __name, Q as configureSvgSize, O as log } from "./index-Cmn9J2p1.js";
|
|
2
2
|
var setupViewPortForSVG = /* @__PURE__ */ __name((svg, padding, cssDiagram, useMaxWidth) => {
|
|
3
3
|
svg.attr("class", cssDiagram);
|
|
4
4
|
const { width, height, x, y } = calculateDimensionsWithPadding(svg, padding);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as getIconStyles } from "./chunk-FMBD7UC4-
|
|
2
|
-
import { c as createTooltip } from "./chunk-ND2GUHAM-
|
|
3
|
-
import { g as getDiagramElement } from "./chunk-55IACEB6-
|
|
4
|
-
import { s as setupViewPortForSVG } from "./chunk-2J33WTMH-
|
|
5
|
-
import { _ as __name, O as log, L as getConfig2, a2 as getRegisteredLayoutAlgorithm, a3 as render, a4 as utils_default, N as select, ab as purify, K as setAccTitle, J as getAccTitle, C as setAccDescription, H as getAccDescription, a5 as setDiagramTitle, a6 as getDiagramTitle, Z as common_default, ac as clear, aa as getEdgeId, W as sanitizeText, aM as parseGenericTypes } from "./index-
|
|
1
|
+
import { g as getIconStyles } from "./chunk-FMBD7UC4-DIj-DOVN.js";
|
|
2
|
+
import { c as createTooltip } from "./chunk-ND2GUHAM-BWiS_Ttp.js";
|
|
3
|
+
import { g as getDiagramElement } from "./chunk-55IACEB6-MkIW5gHI.js";
|
|
4
|
+
import { s as setupViewPortForSVG } from "./chunk-2J33WTMH-YV6ZtOyU.js";
|
|
5
|
+
import { _ as __name, O as log, L as getConfig2, a2 as getRegisteredLayoutAlgorithm, a3 as render, a4 as utils_default, N as select, ab as purify, K as setAccTitle, J as getAccTitle, C as setAccDescription, H as getAccDescription, a5 as setDiagramTitle, a6 as getDiagramTitle, Z as common_default, ac as clear, aa as getEdgeId, W as sanitizeText, aM as parseGenericTypes } from "./index-Cmn9J2p1.js";
|
|
6
6
|
var parser = (function() {
|
|
7
7
|
var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
|
|
8
8
|
for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as getDiagramElement } from "./chunk-55IACEB6-
|
|
2
|
-
import { s as setupViewPortForSVG } from "./chunk-2J33WTMH-
|
|
3
|
-
import { _ as __name, O as log, L as getConfig2, a3 as render, a4 as utils_default, J as getAccTitle, K as setAccTitle, H as getAccDescription, C as setAccDescription, a5 as setDiagramTitle, a6 as getDiagramTitle, aO as generateId, Z as common_default, ac as clear } from "./index-
|
|
1
|
+
import { g as getDiagramElement } from "./chunk-55IACEB6-MkIW5gHI.js";
|
|
2
|
+
import { s as setupViewPortForSVG } from "./chunk-2J33WTMH-YV6ZtOyU.js";
|
|
3
|
+
import { _ as __name, O as log, L as getConfig2, a3 as render, a4 as utils_default, J as getAccTitle, K as setAccTitle, H as getAccDescription, C as setAccDescription, a5 as setDiagramTitle, a6 as getDiagramTitle, aO as generateId, Z as common_default, ac as clear } from "./index-Cmn9J2p1.js";
|
|
4
4
|
var parser = (function() {
|
|
5
5
|
var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
|
|
6
6
|
for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __name, N as select, a0 as lineBreakRegex, X as distExports } from "./index-
|
|
1
|
+
import { _ as __name, N as select, a0 as lineBreakRegex, X as distExports } from "./index-Cmn9J2p1.js";
|
|
2
2
|
var drawRect = /* @__PURE__ */ __name((element, rectData) => {
|
|
3
3
|
const rectElement = element.append("rect");
|
|
4
4
|
rectElement.attr("x", rectData.x);
|
package/out/renderer/assets/{classDiagram-4FO5ZUOK-B3t9RWJZ.js → classDiagram-4FO5ZUOK-C1yfJEIb.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from "./chunk-727SXJPM-
|
|
2
|
-
import { _ as __name } from "./index-
|
|
3
|
-
import "./chunk-FMBD7UC4-
|
|
4
|
-
import "./chunk-ND2GUHAM-
|
|
5
|
-
import "./chunk-55IACEB6-
|
|
6
|
-
import "./chunk-2J33WTMH-
|
|
1
|
+
import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from "./chunk-727SXJPM-CPUXDO_8.js";
|
|
2
|
+
import { _ as __name } from "./index-Cmn9J2p1.js";
|
|
3
|
+
import "./chunk-FMBD7UC4-DIj-DOVN.js";
|
|
4
|
+
import "./chunk-ND2GUHAM-BWiS_Ttp.js";
|
|
5
|
+
import "./chunk-55IACEB6-MkIW5gHI.js";
|
|
6
|
+
import "./chunk-2J33WTMH-YV6ZtOyU.js";
|
|
7
7
|
var diagram = {
|
|
8
8
|
parser: classDiagram_default,
|
|
9
9
|
get db() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from "./chunk-727SXJPM-
|
|
2
|
-
import { _ as __name } from "./index-
|
|
3
|
-
import "./chunk-FMBD7UC4-
|
|
4
|
-
import "./chunk-ND2GUHAM-
|
|
5
|
-
import "./chunk-55IACEB6-
|
|
6
|
-
import "./chunk-2J33WTMH-
|
|
1
|
+
import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from "./chunk-727SXJPM-CPUXDO_8.js";
|
|
2
|
+
import { _ as __name } from "./index-Cmn9J2p1.js";
|
|
3
|
+
import "./chunk-FMBD7UC4-DIj-DOVN.js";
|
|
4
|
+
import "./chunk-ND2GUHAM-BWiS_Ttp.js";
|
|
5
|
+
import "./chunk-55IACEB6-MkIW5gHI.js";
|
|
6
|
+
import "./chunk-2J33WTMH-YV6ZtOyU.js";
|
|
7
7
|
var diagram = {
|
|
8
8
|
parser: classDiagram_default,
|
|
9
9
|
get db() {
|
package/out/renderer/assets/{cose-bilkent-S5V4N54A-W70GNPEp.js → cose-bilkent-S5V4N54A-B8D60fQa.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bW as getDefaultExportFromCjs, _ as __name, O as log, N as select } from "./index-
|
|
1
|
+
import { bW as getDefaultExportFromCjs, _ as __name, O as log, N as select } from "./index-Cmn9J2p1.js";
|
|
2
2
|
import { c as cytoscape$1 } from "./cytoscape.esm-BNSvh83I.js";
|
|
3
3
|
var cytoscapeCoseBilkent$1 = { exports: {} };
|
|
4
4
|
var coseBase$1 = { exports: {} };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __name, bM as markers_default, bN as clear2, bO as clear, bP as clear$1, O as log, L as getConfig2, bQ as updateNodeBounds, bR as setNodeElem, aX as insertNode, bH as getSubGraphTitleMargins, aY as positionNode, aW as insertCluster, bS as insertEdge, bT as positionEdgeLabel, bU as insertEdgeLabel } from "./index-
|
|
2
|
-
import { i as isUndefined, G as Graph } from "./graph-
|
|
3
|
-
import { b as baseClone, m as map, l as layout } from "./layout-
|
|
1
|
+
import { _ as __name, bM as markers_default, bN as clear2, bO as clear, bP as clear$1, O as log, L as getConfig2, bQ as updateNodeBounds, bR as setNodeElem, aX as insertNode, bH as getSubGraphTitleMargins, aY as positionNode, aW as insertCluster, bS as insertEdge, bT as positionEdgeLabel, bU as insertEdgeLabel } from "./index-Cmn9J2p1.js";
|
|
2
|
+
import { i as isUndefined, G as Graph } from "./graph-BSxR7Gef.js";
|
|
3
|
+
import { b as baseClone, m as map, l as layout } from "./layout-C9eRMSnE.js";
|
|
4
4
|
var CLONE_SYMBOLS_FLAG = 4;
|
|
5
5
|
function clone(value) {
|
|
6
6
|
return baseClone(value, CLONE_SYMBOLS_FLAG);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as setAccDescription, H as getAccDescription, a6 as getDiagramTitle, a5 as setDiagramTitle, J as getAccTitle, K as setAccTitle, _ as __name, an as selectSvgElement, ac as clear, ak as cleanAndMerge, ai as getConfig, al as defaultConfig_default, O as log, aD as getThemeVariables3, Q as configureSvgSize } from "./index-
|
|
2
|
-
import { p as populateCommonDb } from "./chunk-4BX2VUAB-
|
|
3
|
-
import { p as parse } from "./wardley-L42UT6IY-
|
|
1
|
+
import { C as setAccDescription, H as getAccDescription, a6 as getDiagramTitle, a5 as setDiagramTitle, J as getAccTitle, K as setAccTitle, _ as __name, an as selectSvgElement, ac as clear, ak as cleanAndMerge, ai as getConfig, al as defaultConfig_default, O as log, aD as getThemeVariables3, Q as configureSvgSize } from "./index-Cmn9J2p1.js";
|
|
2
|
+
import { p as populateCommonDb } from "./chunk-4BX2VUAB-DKNGjk29.js";
|
|
3
|
+
import { p as parse } from "./wardley-L42UT6IY-CsNzYaF9.js";
|
|
4
4
|
var defaultOptions = {
|
|
5
5
|
showLegend: true,
|
|
6
6
|
ticks: 5,
|