@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,4 +1,4 @@
|
|
|
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, D as getConfig, i as sanitizeText, F as cleanAndMerge, G as defaultConfig_default, L as getThemeVariables3, M as band, N as computeDimensionOfText, K as linear, O as line } from "./index-
|
|
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, D as getConfig, i as sanitizeText, F as cleanAndMerge, G as defaultConfig_default, L as getThemeVariables3, M as band, N as computeDimensionOfText, K as linear, O as line } from "./index-3bI-dJm8.js";
|
|
2
2
|
var parser = (function() {
|
|
3
3
|
var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
|
|
4
4
|
for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
|
package/out/renderer/index.html
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
21
21
|
<meta name="apple-mobile-web-app-title" content="AiderDesk">
|
|
22
22
|
<link rel="apple-touch-icon" href="/icon-192.png">
|
|
23
|
-
<script type="module" crossorigin src="./assets/index-
|
|
24
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
23
|
+
<script type="module" crossorigin src="./assets/index-3bI-dJm8.js"></script>
|
|
24
|
+
<link rel="stylesheet" crossorigin href="./assets/index-B62bIfbt.css">
|
|
25
25
|
</head>
|
|
26
26
|
|
|
27
27
|
<body>
|
|
@@ -44,20 +44,14 @@
|
|
|
44
44
|
border-radius: 12px;
|
|
45
45
|
padding: 32px;
|
|
46
46
|
width: 100%;
|
|
47
|
+
aspect-ratio: 500 / 330;
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
justify-content: flex-end;
|
|
47
51
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
|
48
52
|
-webkit-app-region: no-drag;
|
|
49
53
|
}
|
|
50
54
|
|
|
51
|
-
.container::before {
|
|
52
|
-
content: '';
|
|
53
|
-
position: absolute;
|
|
54
|
-
inset: 0;
|
|
55
|
-
background: rgba(34, 36, 49, 0.7);
|
|
56
|
-
border-radius: 12px;
|
|
57
|
-
pointer-events: none;
|
|
58
|
-
z-index: 1;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
55
|
#splash-video {
|
|
62
56
|
position: absolute;
|
|
63
57
|
inset: 0;
|
|
@@ -69,29 +63,6 @@
|
|
|
69
63
|
z-index: 0;
|
|
70
64
|
}
|
|
71
65
|
|
|
72
|
-
.brand {
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
align-items: center;
|
|
76
|
-
gap: 16px;
|
|
77
|
-
margin-bottom: 32px;
|
|
78
|
-
position: relative;
|
|
79
|
-
z-index: 1;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.brand-icon {
|
|
83
|
-
width: 72px;
|
|
84
|
-
height: 72px;
|
|
85
|
-
border-radius: 14px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.brand-name {
|
|
89
|
-
font-size: 20px;
|
|
90
|
-
font-weight: 600;
|
|
91
|
-
color: #f1f3f5;
|
|
92
|
-
letter-spacing: -0.3px;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
66
|
.detail {
|
|
96
67
|
font-size: 13px;
|
|
97
68
|
font-weight: 400;
|
|
@@ -203,13 +174,6 @@
|
|
|
203
174
|
<body>
|
|
204
175
|
<div class="container">
|
|
205
176
|
<video id="splash-video" autoplay muted loop></video>
|
|
206
|
-
<div class="brand">
|
|
207
|
-
<div class="brand-icon-wrapper">
|
|
208
|
-
<img class="brand-icon" id="brand-icon" src="" alt="AiderDesk">
|
|
209
|
-
</div>
|
|
210
|
-
<span class="brand-name">AiderDesk</span>
|
|
211
|
-
</div>
|
|
212
|
-
|
|
213
177
|
<div class="detail">
|
|
214
178
|
<span class="detail-text" id="detail-text">Initializing...</span>
|
|
215
179
|
</div>
|
|
@@ -224,19 +188,11 @@
|
|
|
224
188
|
<script>
|
|
225
189
|
const { ipcRenderer } = require('electron');
|
|
226
190
|
|
|
227
|
-
ipcRenderer.on('set-icon-path', (_, iconPath) => {
|
|
228
|
-
document.getElementById('brand-icon').src = iconPath;
|
|
229
|
-
});
|
|
230
|
-
|
|
231
191
|
ipcRenderer.on('set-splash-image', (_, imagePath) => {
|
|
232
192
|
const video = document.getElementById('splash-video');
|
|
233
193
|
video.src = imagePath;
|
|
234
194
|
});
|
|
235
195
|
|
|
236
|
-
ipcRenderer.on('set-title', (_, title) => {
|
|
237
|
-
// Title is no longer displayed, but keep handler for compatibility
|
|
238
|
-
});
|
|
239
|
-
|
|
240
196
|
ipcRenderer.on('set-detail', (_, value) => {
|
|
241
197
|
const detailTextEl = document.getElementById('detail-text');
|
|
242
198
|
|
|
@@ -448,7 +448,9 @@ async def run_editor_coder_stream(architect_coder, connector, prompt_context):
|
|
|
448
448
|
|
|
449
449
|
class ConnectorInputOutput(InputOutput):
|
|
450
450
|
def __init__(self, connector=None, prompt_context=None, **kwargs):
|
|
451
|
-
|
|
451
|
+
# Aider's InputOutput initializer can call overridable output hooks.
|
|
452
|
+
# Initialize AiderDesk state first so early hook calls do not hit missing
|
|
453
|
+
# attributes and leave the connector stuck during startup or tool handling.
|
|
452
454
|
self.connector = connector
|
|
453
455
|
self.prompt_context = prompt_context
|
|
454
456
|
self.running_shell_command = False
|
|
@@ -456,19 +458,20 @@ class ConnectorInputOutput(InputOutput):
|
|
|
456
458
|
self.current_command = None
|
|
457
459
|
self.add_command_to_context = True
|
|
458
460
|
self.cancelled = False
|
|
461
|
+
super().__init__(**kwargs)
|
|
459
462
|
|
|
460
463
|
def add_to_input_history(self, input_text):
|
|
461
464
|
# handled by AiderDesk
|
|
462
465
|
pass
|
|
463
466
|
|
|
464
467
|
def tool_output(self, *messages, log_only=False, bold=False):
|
|
465
|
-
if self
|
|
468
|
+
if getattr(self, 'cancelled', False):
|
|
466
469
|
return
|
|
467
470
|
super().tool_output(*messages, log_only=log_only, bold=bold)
|
|
468
|
-
if self
|
|
471
|
+
if getattr(self, 'running_shell_command', False):
|
|
469
472
|
for message in messages:
|
|
470
473
|
# Extract current command from "Running" messages
|
|
471
|
-
if message.startswith("Running ") and not self
|
|
474
|
+
if message.startswith("Running ") and not getattr(self, 'current_command', None):
|
|
472
475
|
async def send_use_command_output():
|
|
473
476
|
await self.connector.send_action({
|
|
474
477
|
"action": "use-command-output",
|
|
@@ -492,7 +495,7 @@ class ConnectorInputOutput(InputOutput):
|
|
|
492
495
|
return False
|
|
493
496
|
|
|
494
497
|
def tool_warning(self, message="", strip=True):
|
|
495
|
-
if self
|
|
498
|
+
if getattr(self, 'cancelled', False):
|
|
496
499
|
return
|
|
497
500
|
super().tool_warning(message, strip)
|
|
498
501
|
if self.connector and not self.is_warning_ignored(message):
|
|
@@ -513,7 +516,7 @@ class ConnectorInputOutput(InputOutput):
|
|
|
513
516
|
return False
|
|
514
517
|
|
|
515
518
|
def tool_error(self, message="", strip=True):
|
|
516
|
-
if self
|
|
519
|
+
if getattr(self, 'cancelled', False):
|
|
517
520
|
return
|
|
518
521
|
super().tool_error(message, strip)
|
|
519
522
|
if self.connector and not self.is_error_ignored(message):
|
|
@@ -1511,6 +1514,11 @@ def setup_telemetry():
|
|
|
1511
1514
|
os.environ["LANGFUSE_HOST"] = langfuse_host
|
|
1512
1515
|
litellm.callbacks = ["langfuse_otel"]
|
|
1513
1516
|
|
|
1517
|
+
posthog_api_key = os.getenv("POSTHOG_API_KEY")
|
|
1518
|
+
if posthog_api_key:
|
|
1519
|
+
litellm.success_callback.append("posthog")
|
|
1520
|
+
litellm.failure_callback.append("posthog")
|
|
1521
|
+
|
|
1514
1522
|
# Set OpenRouter site and app name
|
|
1515
1523
|
os.environ["OR_SITE_URL"] = 'https://aiderdesk.hotovo.com'
|
|
1516
1524
|
os.environ["OR_APP_NAME"] = 'AiderDesk'
|