@aiderdesk/aiderdesk 0.62.0 → 0.66.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 +1 -0
- package/out/{open-telemetry-CcefKvbB.js → open-telemetry-baOvr6sK.js} +1 -1
- package/out/renderer/assets/{arc-TuVjX2tH.js → arc-BXuUWHai.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-Q4EWVU46-CnAcyRvO.js → architectureDiagram-3BPJPVTR-Bm9oFTP_.js} +11 -9
- package/out/renderer/assets/{blockDiagram-DXYQGD6D-DBoJhGAM.js → blockDiagram-GPEHLZMM-DQ2DevZl.js} +218 -30
- package/out/renderer/assets/{c4Diagram-AHTNJAMY-BzW0gKwX.js → c4Diagram-AAUBKEIU-BdR46VbA.js} +2 -2
- package/out/renderer/assets/{channel-CqR4FAVX.js → channel-DUdp1NJ7.js} +1 -1
- package/out/renderer/assets/{chunk-EDXVE4YY-DRk838hn.js → chunk-2J33WTMH-Dzi-idRV.js} +1 -1
- package/out/renderer/assets/{chunk-4BX2VUAB-DQjg_Naa.js → chunk-4BX2VUAB-DEyFpixF.js} +1 -1
- package/out/renderer/assets/{chunk-55IACEB6-pFPEMTmI.js → chunk-55IACEB6-DyyQMIZa.js} +1 -1
- package/out/renderer/assets/{chunk-4TB4RGXK-DkcI1yaW.js → chunk-727SXJPM-vXEiesCP.js} +245 -149
- package/out/renderer/assets/{chunk-OYMX7WX6-DOGJ-XHp.js → chunk-AQP2D5EJ-B0SWmbrS.js} +92 -78
- package/out/renderer/assets/{chunk-FMBD7UC4-BagQdd5u.js → chunk-FMBD7UC4-CoPwvBCa.js} +1 -1
- package/out/renderer/assets/{chunk-YZCP3GAM-BKZRTlUj.js → chunk-ND2GUHAM-ku5t5SwP.js} +1 -1
- package/out/renderer/assets/{chunk-QZHKN3VN-CdzjbbBk.js → chunk-QZHKN3VN-DBGBAqit.js} +1 -1
- package/out/renderer/assets/{classDiagram-6PBFFD2Q-CjVhmlxb.js → classDiagram-4FO5ZUOK-DTyjsHX9.js} +6 -6
- package/out/renderer/assets/{classDiagram-v2-HSJHXN6E-CjVhmlxb.js → classDiagram-v2-Q7XG4LA2-DTyjsHX9.js} +6 -6
- package/out/renderer/assets/{cose-bilkent-S5V4N54A-CZLRecVB.js → cose-bilkent-S5V4N54A-wGfE9wIx.js} +1 -1
- package/out/renderer/assets/{dagre-KV5264BT-BUAzC7Um.js → dagre-BM42HDAG-cwyj1-l0.js} +17 -6
- package/out/renderer/assets/{diagram-MMDJMWI5-B5H49OVD.js → diagram-2AECGRRQ-BYvCxkOs.js} +3 -5
- package/out/renderer/assets/{diagram-5BDNPKRD-DNQEDszc.js → diagram-5GNKFQAL--ZlqvgmY.js} +4 -6
- package/out/renderer/assets/diagram-KO2AKTUF-CoPNrPhx.js +632 -0
- package/out/renderer/assets/{diagram-TYMM5635-Bw7r467p.js → diagram-LMA3HP47-wjhxYTWf.js} +3 -5
- package/out/renderer/assets/{diagram-G4DWMVQ6-D9YY6W2O.js → diagram-OG6HWLK6-DhYpewbd.js} +4 -6
- package/out/renderer/assets/{erDiagram-SMLLAGMA-Bz4ALNLp.js → erDiagram-TEJ5UH35-DolRLBng.js} +4 -4
- package/out/renderer/assets/{flowDiagram-DWJPFMVM-Uqg1ZeN2.js → flowDiagram-I6XJVG4X-DjAbl_XC.js} +6 -6
- package/out/renderer/assets/{ganttDiagram-T4ZO3ILL-Dm0tRLCH.js → ganttDiagram-6RSMTGT7-AF7-XgtX.js} +7 -1
- package/out/renderer/assets/{gitGraphDiagram-UUTBAWPF-R8imfIrj.js → gitGraphDiagram-PVQCEYII-BMZLakzH.js} +4 -6
- package/out/renderer/assets/{graph-B5YWEnt0.js → graph-B_ifajWk.js} +490 -135
- package/out/renderer/assets/{index-D7Xi0GX5.js → index-3bI-dJm8.js} +12818 -8179
- package/out/renderer/assets/{index-B6Zj03wk.css → index-B62bIfbt.css} +234 -11
- package/out/renderer/assets/{infoDiagram-42DDH7IO-CWPYNP1k.js → infoDiagram-5YYISTIA-0f7Qxxvp.js} +3 -5
- package/out/renderer/assets/{ishikawaDiagram-UXIWVN3A-CFTrc-S6.js → ishikawaDiagram-YF4QCWOH-BX_EIAMn.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-VCZTEJTY-Dfd-piIf.js → journeyDiagram-JHISSGLW-Dmitv8wD.js} +4 -4
- package/out/renderer/assets/{kanban-definition-6JOO6SKY-BocrfAtb.js → kanban-definition-UN3LZRKU-By2GFUNB.js} +2 -2
- package/out/renderer/assets/{layout-DHzrXVin.js → layout-DAkKffy1.js} +459 -32
- package/out/renderer/assets/{mindmap-definition-QFDTVHPH-D9cyK1Gb.js → mindmap-definition-RKZ34NQL-yIrV1m0y.js} +3 -3
- package/out/renderer/assets/{pieDiagram-DEJITSTG-LUWwVJA5.js → pieDiagram-4H26LBE5-PV9y5rw_.js} +4 -6
- package/out/renderer/assets/{quadrantDiagram-34T5L4WZ-DdWTi9yW.js → quadrantDiagram-W4KKPZXB-DeX0zTCp.js} +22 -20
- package/out/renderer/assets/{requirementDiagram-MS252O5E-BoLT3tay.js → requirementDiagram-4Y6WPE33-Bzfk_KE-.js} +3 -3
- package/out/renderer/assets/{sankeyDiagram-XADWPNL6-B4gY_QI-.js → sankeyDiagram-5OEKKPKP-BuCv8QIY.js} +80 -11
- package/out/renderer/assets/{sequenceDiagram-FGHM5R23-B-JJvxQW.js → sequenceDiagram-3UESZ5HK-Zg7Ukud8.js} +21 -9
- package/out/renderer/assets/{stateDiagram-FHFEXIEX-BntwOBUs.js → stateDiagram-AJRCARHV-CLaqfYR8.js} +6 -8
- package/out/renderer/assets/{stateDiagram-v2-QKLJ7IA2-C__eWVIe.js → stateDiagram-v2-BHNVJYJU-Cmm1ljQ4.js} +4 -4
- package/out/renderer/assets/{timeline-definition-GMOUNBTQ-C7ch2INk.js → timeline-definition-PNZ67QCA-DQBaAVcC.js} +2 -2
- package/out/renderer/assets/{vennDiagram-DHZGUBPP-CQ__NSue.js → vennDiagram-CIIHVFJN-CuplbU_R.js} +1 -1
- package/out/renderer/assets/{wardley-RL74JXVD-Kh6mNiRV.js → wardley-L42UT6IY-BiqfHMim.js} +25605 -19118
- package/out/renderer/assets/{wardleyDiagram-NUSXRM2D-CfRYzJMU.js → wardleyDiagram-YWT4CUSO-BaV0FnUu.js} +112 -38
- package/out/renderer/assets/worker-CfJUABHG.js +12626 -0
- package/out/renderer/assets/{xychartDiagram-5P7HB3ND-BFq2zIne.js → xychartDiagram-2RQKCTM6-DA_Miw-n.js} +1 -1
- package/out/renderer/index.html +2 -2
- package/out/renderer/progress.html +4 -48
- package/out/resources/connector/connector.py +14 -6
- package/out/resources/mcp-server/aider-desk-mcp-server.js +1051 -501
- package/out/resources/skills/extension-creator/references/config-components.md +6 -6
- package/out/runner.js +2815 -537
- package/package.json +29 -21
- package/patches/@ai-sdk+deepseek+1.0.37.patch +150 -0
- package/scripts/generate-package.mjs +10 -2
- package/out/renderer/assets/_baseUniq-B7TxjYgy.js +0 -381
- package/out/renderer/assets/clone-B-kqpcr4.js +0 -8
- package/out/renderer/assets/min-D6g96v7R.js +0 -41
- package/out/resources/linux/probe +0 -0
- package/out/resources/linux-x64/probe +0 -0
- /package/patches/{ai+5.0.172.patch → ai+5.0.179.patch} +0 -0
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { s as setAccDescription, g as getAccDescription, q as getDiagramTitle, p as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, l as log, I as selectSvgElement, e as configureSvgSize, z as clear, c as getConfig2
|
|
2
|
-
import { p as populateCommonDb } from "./chunk-4BX2VUAB-
|
|
3
|
-
import { p as parse } from "./wardley-
|
|
4
|
-
import "./min-D6g96v7R.js";
|
|
5
|
-
import "./_baseUniq-B7TxjYgy.js";
|
|
1
|
+
import { s as setAccDescription, g as getAccDescription, q as getDiagramTitle, p as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, L as getThemeVariables3, D as getConfig, F as cleanAndMerge, l as log, I as selectSvgElement, e as configureSvgSize, z as clear, c as getConfig2 } from "./index-3bI-dJm8.js";
|
|
2
|
+
import { p as populateCommonDb } from "./chunk-4BX2VUAB-DEyFpixF.js";
|
|
3
|
+
import { p as parse } from "./wardley-L42UT6IY-BiqfHMim.js";
|
|
6
4
|
var toPercent = /* @__PURE__ */ __name((value, context) => {
|
|
7
5
|
const normalized = value <= 1 ? value * 100 : value;
|
|
8
6
|
if (normalized < 0 || normalized > 100) {
|
|
@@ -129,7 +127,7 @@ var populateDb = /* @__PURE__ */ __name((ast, db) => {
|
|
|
129
127
|
}
|
|
130
128
|
const annotation = link.linkLabel;
|
|
131
129
|
const label = flowLabel ?? annotation;
|
|
132
|
-
db.addLink(link.from, link.to, isDashed, label, flow);
|
|
130
|
+
db.addLink(db.resolveNodeId(link.from), db.resolveNodeId(link.to), isDashed, label, flow);
|
|
133
131
|
});
|
|
134
132
|
ast.evolves.forEach((evolve) => {
|
|
135
133
|
const node = db.getNode(evolve.component);
|
|
@@ -253,6 +251,22 @@ var WardleyBuilder = class {
|
|
|
253
251
|
getNode(id) {
|
|
254
252
|
return this.nodes.get(id);
|
|
255
253
|
}
|
|
254
|
+
/**
|
|
255
|
+
* Resolve a name to a node ID. Tries exact ID match first,
|
|
256
|
+
* then falls back to finding a node whose label matches the name
|
|
257
|
+
* (handles pipeline components which have synthetic IDs like "Parent_Child").
|
|
258
|
+
*/
|
|
259
|
+
resolveNodeId(name) {
|
|
260
|
+
if (this.nodes.has(name)) {
|
|
261
|
+
return name;
|
|
262
|
+
}
|
|
263
|
+
for (const [id, node] of this.nodes) {
|
|
264
|
+
if (node.label === name) {
|
|
265
|
+
return id;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
return name;
|
|
269
|
+
}
|
|
256
270
|
build() {
|
|
257
271
|
const nodes = [];
|
|
258
272
|
for (const node of this.nodes.values()) {
|
|
@@ -290,19 +304,14 @@ var WardleyBuilder = class {
|
|
|
290
304
|
}
|
|
291
305
|
};
|
|
292
306
|
var builder = new WardleyBuilder();
|
|
293
|
-
function
|
|
294
|
-
|
|
295
|
-
return sanitizeText(text.trim(), config);
|
|
307
|
+
function getConfig3() {
|
|
308
|
+
return getConfig2()["wardley-beta"];
|
|
296
309
|
}
|
|
297
|
-
__name(
|
|
298
|
-
function getConfig2() {
|
|
299
|
-
return getConfig2$1()["wardley-beta"];
|
|
300
|
-
}
|
|
301
|
-
__name(getConfig2, "getConfig");
|
|
310
|
+
__name(getConfig3, "getConfig");
|
|
302
311
|
function addNode(id, label, x, y, className, labelOffsetX, labelOffsetY, inertia, sourceStrategy) {
|
|
303
312
|
builder.addNode({
|
|
304
313
|
id,
|
|
305
|
-
label
|
|
314
|
+
label,
|
|
306
315
|
x,
|
|
307
316
|
y,
|
|
308
317
|
className,
|
|
@@ -314,7 +323,13 @@ function addNode(id, label, x, y, className, labelOffsetX, labelOffsetY, inertia
|
|
|
314
323
|
}
|
|
315
324
|
__name(addNode, "addNode");
|
|
316
325
|
function addLink(sourceId, targetId, dashed = false, label, flow) {
|
|
317
|
-
builder.addLink({
|
|
326
|
+
builder.addLink({
|
|
327
|
+
source: sourceId,
|
|
328
|
+
target: targetId,
|
|
329
|
+
dashed,
|
|
330
|
+
label,
|
|
331
|
+
flow
|
|
332
|
+
});
|
|
318
333
|
}
|
|
319
334
|
__name(addLink, "addLink");
|
|
320
335
|
function addTrend(nodeId, targetX, targetY) {
|
|
@@ -325,13 +340,13 @@ function addAnnotation(number, coordinates, text) {
|
|
|
325
340
|
builder.addAnnotation({
|
|
326
341
|
number,
|
|
327
342
|
coordinates,
|
|
328
|
-
text
|
|
343
|
+
text
|
|
329
344
|
});
|
|
330
345
|
}
|
|
331
346
|
__name(addAnnotation, "addAnnotation");
|
|
332
347
|
function addNote(text, x, y) {
|
|
333
348
|
builder.addNote({
|
|
334
|
-
text
|
|
349
|
+
text,
|
|
335
350
|
x,
|
|
336
351
|
y
|
|
337
352
|
});
|
|
@@ -339,7 +354,7 @@ function addNote(text, x, y) {
|
|
|
339
354
|
__name(addNote, "addNote");
|
|
340
355
|
function addAccelerator(name, x, y) {
|
|
341
356
|
builder.addAccelerator({
|
|
342
|
-
name
|
|
357
|
+
name,
|
|
343
358
|
x,
|
|
344
359
|
y
|
|
345
360
|
});
|
|
@@ -347,7 +362,7 @@ function addAccelerator(name, x, y) {
|
|
|
347
362
|
__name(addAccelerator, "addAccelerator");
|
|
348
363
|
function addDeaccelerator(name, x, y) {
|
|
349
364
|
builder.addDeaccelerator({
|
|
350
|
-
name
|
|
365
|
+
name,
|
|
351
366
|
x,
|
|
352
367
|
y
|
|
353
368
|
});
|
|
@@ -370,26 +385,17 @@ function addPipelineComponent(pipelineNodeId, componentId) {
|
|
|
370
385
|
}
|
|
371
386
|
__name(addPipelineComponent, "addPipelineComponent");
|
|
372
387
|
function updateAxes(partial) {
|
|
373
|
-
|
|
374
|
-
if (partial.xLabel) {
|
|
375
|
-
sanitized.xLabel = textSanitizer(partial.xLabel);
|
|
376
|
-
}
|
|
377
|
-
if (partial.yLabel) {
|
|
378
|
-
sanitized.yLabel = textSanitizer(partial.yLabel);
|
|
379
|
-
}
|
|
380
|
-
if (partial.stages) {
|
|
381
|
-
sanitized.stages = partial.stages.map((stage) => textSanitizer(stage));
|
|
382
|
-
}
|
|
383
|
-
if (partial.stageBoundaries) {
|
|
384
|
-
sanitized.stageBoundaries = partial.stageBoundaries;
|
|
385
|
-
}
|
|
386
|
-
builder.setAxes(sanitized);
|
|
388
|
+
builder.setAxes(partial);
|
|
387
389
|
}
|
|
388
390
|
__name(updateAxes, "updateAxes");
|
|
389
391
|
function getNode(id) {
|
|
390
392
|
return builder.getNode(id);
|
|
391
393
|
}
|
|
392
394
|
__name(getNode, "getNode");
|
|
395
|
+
function resolveNodeId(name) {
|
|
396
|
+
return builder.resolveNodeId(name);
|
|
397
|
+
}
|
|
398
|
+
__name(resolveNodeId, "resolveNodeId");
|
|
393
399
|
function getWardleyData() {
|
|
394
400
|
return builder.build();
|
|
395
401
|
}
|
|
@@ -400,7 +406,7 @@ function clear2() {
|
|
|
400
406
|
}
|
|
401
407
|
__name(clear2, "clear");
|
|
402
408
|
var wardleyDb_default = {
|
|
403
|
-
getConfig:
|
|
409
|
+
getConfig: getConfig3,
|
|
404
410
|
addNode,
|
|
405
411
|
addLink,
|
|
406
412
|
addTrend,
|
|
@@ -414,6 +420,7 @@ var wardleyDb_default = {
|
|
|
414
420
|
addPipelineComponent,
|
|
415
421
|
updateAxes,
|
|
416
422
|
getNode,
|
|
423
|
+
resolveNodeId,
|
|
417
424
|
getWardleyData,
|
|
418
425
|
clear: clear2,
|
|
419
426
|
setAccTitle,
|
|
@@ -425,7 +432,7 @@ var wardleyDb_default = {
|
|
|
425
432
|
};
|
|
426
433
|
var DEFAULT_STAGES = ["Genesis", "Custom Built", "Product", "Commodity"];
|
|
427
434
|
var getTheme = /* @__PURE__ */ __name(() => {
|
|
428
|
-
const { themeVariables } = getConfig2
|
|
435
|
+
const { themeVariables } = getConfig2();
|
|
429
436
|
return {
|
|
430
437
|
backgroundColor: themeVariables.wardley?.backgroundColor ?? themeVariables.background ?? "#fff",
|
|
431
438
|
axisColor: themeVariables.wardley?.axisColor ?? "#000",
|
|
@@ -442,7 +449,7 @@ var getTheme = /* @__PURE__ */ __name(() => {
|
|
|
442
449
|
};
|
|
443
450
|
}, "getTheme");
|
|
444
451
|
var getConfigValues = /* @__PURE__ */ __name(() => {
|
|
445
|
-
const wardleyConfig = getConfig2
|
|
452
|
+
const wardleyConfig = getConfig2()["wardley-beta"];
|
|
446
453
|
return {
|
|
447
454
|
width: wardleyConfig?.width ?? 900,
|
|
448
455
|
height: wardleyConfig?.height ?? 600,
|
|
@@ -890,11 +897,78 @@ var draw = /* @__PURE__ */ __name((text, id, _version, diagObj) => {
|
|
|
890
897
|
var wardleyRenderer_default = {
|
|
891
898
|
draw
|
|
892
899
|
};
|
|
900
|
+
var styles = /* @__PURE__ */ __name(({
|
|
901
|
+
wardley
|
|
902
|
+
} = {}) => {
|
|
903
|
+
const defaultThemeVariables = getThemeVariables3();
|
|
904
|
+
const currentConfig = getConfig();
|
|
905
|
+
const themeVariables = cleanAndMerge(defaultThemeVariables, currentConfig.themeVariables);
|
|
906
|
+
const w = cleanAndMerge(themeVariables.wardley, wardley);
|
|
907
|
+
return `
|
|
908
|
+
.wardley-background {
|
|
909
|
+
fill: ${w.backgroundColor};
|
|
910
|
+
}
|
|
911
|
+
.wardley-axes line, .wardley-axes path {
|
|
912
|
+
stroke: ${w.axisColor};
|
|
913
|
+
}
|
|
914
|
+
.wardley-axis-label {
|
|
915
|
+
fill: ${w.axisTextColor};
|
|
916
|
+
}
|
|
917
|
+
.wardley-stage-label {
|
|
918
|
+
fill: ${w.axisTextColor};
|
|
919
|
+
}
|
|
920
|
+
.wardley-grid line {
|
|
921
|
+
stroke: ${w.gridColor};
|
|
922
|
+
}
|
|
923
|
+
.wardley-node circle {
|
|
924
|
+
fill: ${w.componentFill};
|
|
925
|
+
stroke: ${w.componentStroke};
|
|
926
|
+
}
|
|
927
|
+
.wardley-node-label {
|
|
928
|
+
fill: ${w.componentLabelColor};
|
|
929
|
+
}
|
|
930
|
+
.wardley-link {
|
|
931
|
+
stroke: ${w.linkStroke};
|
|
932
|
+
}
|
|
933
|
+
.wardley-link--dashed {
|
|
934
|
+
stroke-dasharray: 4 4;
|
|
935
|
+
}
|
|
936
|
+
.wardley-link-label {
|
|
937
|
+
fill: ${w.axisTextColor};
|
|
938
|
+
}
|
|
939
|
+
.wardley-trend line {
|
|
940
|
+
stroke: ${w.evolutionStroke};
|
|
941
|
+
}
|
|
942
|
+
.wardley-annotation-line {
|
|
943
|
+
stroke: ${w.annotationStroke};
|
|
944
|
+
}
|
|
945
|
+
.wardley-annotation circle {
|
|
946
|
+
fill: ${w.annotationFill};
|
|
947
|
+
stroke: ${w.annotationStroke};
|
|
948
|
+
}
|
|
949
|
+
.wardley-annotation text {
|
|
950
|
+
fill: ${w.annotationTextColor};
|
|
951
|
+
}
|
|
952
|
+
.wardley-annotations-box rect {
|
|
953
|
+
fill: ${w.annotationFill};
|
|
954
|
+
stroke: ${w.annotationStroke};
|
|
955
|
+
}
|
|
956
|
+
.wardley-annotations-box text {
|
|
957
|
+
fill: ${w.annotationTextColor};
|
|
958
|
+
}
|
|
959
|
+
.wardley-pipeline-box {
|
|
960
|
+
stroke: ${w.componentStroke};
|
|
961
|
+
}
|
|
962
|
+
.wardley-notes text {
|
|
963
|
+
fill: ${w.axisTextColor};
|
|
964
|
+
}
|
|
965
|
+
`;
|
|
966
|
+
}, "styles");
|
|
893
967
|
var diagram = {
|
|
894
968
|
parser,
|
|
895
969
|
db: wardleyDb_default,
|
|
896
970
|
renderer: wardleyRenderer_default,
|
|
897
|
-
styles
|
|
971
|
+
styles
|
|
898
972
|
};
|
|
899
973
|
export {
|
|
900
974
|
diagram
|