@aiderdesk/aiderdesk 0.76.0 → 0.78.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-mSGpRs0A.js} +1228 -4469
- package/out/renderer/assets/{InfoIcon-BuABw5oZ.js → InfoIcon-Dllba1sv.js} +1 -1
- package/out/renderer/assets/{Onboarding-lX23sGcW.js → Onboarding-D_AT4vxY.js} +4 -4
- package/out/renderer/assets/{ProviderHeader-s7JSikLR.js → ProviderHeader-DAchpkUt.js} +8 -20
- package/out/renderer/assets/{SettingsPage-CcsH6kmE.js → SettingsPage-DPaPSR-0.js} +5649 -299
- package/out/renderer/assets/{UsageDashboard-oAQNYvYh.js → UsageDashboard-CfP-txzz.js} +3 -3
- package/out/renderer/assets/abnfDiagram-N423BO3Z-tqPb0OUs.js +118 -0
- package/out/renderer/assets/{arc-BiaIwS79.js → arc-lUzj6CoE.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-3BPJPVTR-d7fu6X13.js → architectureDiagram-T3A2C74G-CuNUo8J6.js} +242 -133
- package/out/renderer/assets/{blockDiagram-GPEHLZMM-CWD8GVpw.js → blockDiagram-VBNYF7ZC-CIiOkZ_D.js} +76 -77
- package/out/renderer/assets/{c4Diagram-AAUBKEIU-b5nYOm14.js → c4Diagram-5PPSVZJV-DcgBNVnI.js} +2 -2
- package/out/renderer/assets/{channel-B99g0IUF.js → channel-PMBABQAa.js} +1 -1
- package/out/renderer/assets/{chunk-ND2GUHAM-BkVCmcvx.js → chunk-2GRJ4B5K-CJI-utiZ.js} +4 -4
- package/out/renderer/assets/{chunk-QZHKN3VN-DwLbWeqf.js → chunk-2Q5K7J3B-D8LOcAuY.js} +1 -1
- package/out/renderer/assets/{chunk-AQP2D5EJ-m8ArTZfD.js → chunk-5RXB4S5H-dp0xqMbI.js} +67 -32
- package/out/renderer/assets/{chunk-FMBD7UC4-yWO_9Kky.js → chunk-5VM5RSS4-D731WvT8.js} +1 -1
- package/out/renderer/assets/chunk-6Q2QTUOP-BjzdFhNB.js +860 -0
- package/out/renderer/assets/{chunk-727SXJPM-CVxcBF7D.js → chunk-GF5L2VYU-Ct3zh1DW.js} +18 -8
- package/out/renderer/assets/{chunk-4BX2VUAB-4Soxfj2i.js → chunk-JWPE2WC7-OPg0X7jU.js} +1 -1
- package/out/renderer/assets/{chunk-2J33WTMH-DmrXuNY-.js → chunk-KBJHAD2P-qbM4OnIO.js} +1 -1
- package/out/renderer/assets/{dagre-BM42HDAG-D_Val_ih.js → chunk-RYQCIY6F-DQI4Jds6.js} +85 -316
- package/out/renderer/assets/{chunk-55IACEB6-BtS727h4.js → chunk-XXDRQBXY-D_LC4QkV.js} +1 -1
- package/out/renderer/assets/{classDiagram-4FO5ZUOK-B3t9RWJZ.js → classDiagram-JCYQIIEL-D4e_9tkA.js} +6 -6
- package/out/renderer/assets/{classDiagram-v2-Q7XG4LA2-B3t9RWJZ.js → classDiagram-v2-OCEON4UE-D4e_9tkA.js} +6 -6
- package/out/renderer/assets/{cose-bilkent-S5V4N54A-W70GNPEp.js → cose-bilkent-JH36ORCC-tRlBuEjd.js} +2 -2
- package/out/renderer/assets/{wardley-L42UT6IY-Dnx4ZTc4.js → cynefin-VYW2F7L2-BiEI2vQb.js} +1527 -120
- package/out/renderer/assets/cynefinDiagram-MW4NZA55-DBSV1HcE.js +453 -0
- package/out/renderer/assets/{cytoscape.esm-BNSvh83I.js → cytoscape.esm-Bx_1tVW-.js} +160 -67
- package/out/renderer/assets/dagre-VZM6K2ZE-DRrMrSSw.js +522 -0
- package/out/renderer/assets/diagram-7IWD3JNH-CreTV9nH.js +488 -0
- package/out/renderer/assets/{diagram-KO2AKTUF-CGi0HZww.js → diagram-B4RE2ZJO-3tlgxoIb.js} +3 -3
- package/out/renderer/assets/{diagram-LMA3HP47-bdoVxL2p.js → diagram-LBJQPF4R-BFO2qTLJ.js} +3 -3
- package/out/renderer/assets/{diagram-OG6HWLK6-2K829auL.js → diagram-Q27KOJAE-BDgXUH9Q.js} +30 -24
- package/out/renderer/assets/{diagram-2AECGRRQ-Z7UeOtJN.js → diagram-UB23O5K3-Qw-ipaCG.js} +18 -8
- package/out/renderer/assets/ebnfDiagram-BXEA7PRR-izS1zYs0.js +138 -0
- package/out/renderer/assets/{erDiagram-TEJ5UH35-D4sO1GH8.js → erDiagram-JOGREHBK-ld9lNh2F.js} +88 -77
- package/out/renderer/assets/{flowDiagram-I6XJVG4X-DQNz4Jg_.js → flowDiagram-UKHOOZJN-g11KS_zg.js} +112 -96
- package/out/renderer/assets/{ganttDiagram-6RSMTGT7-B3dUFX1p.js → ganttDiagram-PKOTCBZU-CMsbJWqv.js} +31 -19
- package/out/renderer/assets/{gitGraphDiagram-PVQCEYII-B95Lrq_7.js → gitGraphDiagram-DS77QQ5N-CKiYKjBJ.js} +4 -4
- package/out/renderer/assets/{graph-7kCtdoo_.js → graph--1WSNErU.js} +10 -10
- package/out/renderer/assets/{index-58fbbmhI.js → index-BJGP-Ed0.js} +1 -1
- package/out/renderer/assets/{index-Bihcg0ql.js → index-BSQTFZZV.js} +1 -1
- package/out/renderer/assets/{index-GRVDmgjb.js → index-BSRjTKaQ.js} +1 -1
- package/out/renderer/assets/{index-CNgsMipO.js → index-BahRAP01.js} +7200 -3741
- package/out/renderer/assets/{index-BoogYopJ.js → index-BbYkC4ZX.js} +1 -1
- package/out/renderer/assets/{index-BHaWBJe9.js → index-BktqS5iT.js} +1 -1
- package/out/renderer/assets/{index-BnFS7uhp.js → index-DJfxm3SJ.js} +3 -3
- package/out/renderer/assets/{index-DcD881Q1.css → index-DVEVSdXO.css} +21 -0
- package/out/renderer/assets/{index-B2TL7Kll.js → index-DqZ8FyZG.js} +1 -1
- package/out/renderer/assets/{index-CRfveI6m.js → index-r15oFU5X.js} +1 -1
- package/out/renderer/assets/{index-pvhejocY.js → index-xC4jIIdf.js} +1 -1
- package/out/renderer/assets/{infoDiagram-5YYISTIA-C0OH2to7.js → infoDiagram-6WML65LV-CZoJK8b2.js} +3 -3
- package/out/renderer/assets/{ishikawaDiagram-YF4QCWOH-DsgR-cKp.js → ishikawaDiagram-WSZJBQD7-BrUuSNZ-.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-JHISSGLW-Bg6okgzG.js → journeyDiagram-NVQOT4AX-w91U6vB5.js} +4 -4
- package/out/renderer/assets/{jsx-dev-runtime-DLJNe6VM.js → jsx-dev-runtime-Bu2_G2cv.js} +1 -1
- package/out/renderer/assets/{kanban-definition-UN3LZRKU-1UvLCrWk.js → kanban-definition-27J2QSJJ-DVuGbAnS.js} +2 -2
- package/out/renderer/assets/{katex-Co8xHYNH.js → katex-oVG3DVWa.js} +4039 -4063
- package/out/renderer/assets/{layout-9w0fH2nL.js → layout-BA4uCGdL.js} +36 -320
- package/out/renderer/assets/{linear-WTE7GZY2.js → linear-CWQmShZV.js} +1 -1
- package/out/renderer/assets/map-DSwlVIuN.js +299 -0
- package/out/renderer/assets/{mindmap-definition-RKZ34NQL-BlxjYw-a.js → mindmap-definition-FAOFIHXS-CbswsknG.js} +3 -3
- package/out/renderer/assets/pegDiagram-VL7TDLO6-CCqeWB6l.js +126 -0
- package/out/renderer/assets/{pieDiagram-4H26LBE5-C4jZuzAH.js → pieDiagram-7S7Q4E2Y-Chd5qh8F.js} +89 -19
- 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-CIZ2JOQS-CzmUVvXi.js} +8 -9
- package/out/renderer/assets/railroadDiagram-AXF67PYL-CXY83yzR.js +92 -0
- package/out/renderer/assets/{requirementDiagram-4Y6WPE33-CTTFFDvR.js → requirementDiagram-LRYGKXZP-DToxgkKr.js} +3 -3
- package/out/renderer/assets/{sankeyDiagram-5OEKKPKP-CjDlOfXf.js → sankeyDiagram-W5VNT64P-CRs67mfK.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-3UESZ5HK-6PJo_0SQ.js → sequenceDiagram-SI44F4Z6-CzmgqSt2.js} +11 -11
- package/out/renderer/assets/sizeCapture-X5ZJPWSS-mheyKWG9.js +62 -0
- package/out/renderer/assets/{stateDiagram-AJRCARHV-Cnhm9mmx.js → stateDiagram-OKZ733FA-DGyuxXU_.js} +8 -6
- package/out/renderer/assets/{stateDiagram-v2-BHNVJYJU-BxKTEg-3.js → stateDiagram-v2-UEYNNEHI-TldVLbtJ.js} +5 -4
- package/out/renderer/assets/swimlanes-SLNWSIFB-B3lFy2HE.js +8557 -0
- package/out/renderer/assets/swimlanesDiagram-ULZ7WXOC-BxN-HDA3.js +20 -0
- package/out/renderer/assets/{time-YGhgEMYh.js → time-DcFzC-ob.js} +1 -1
- package/out/renderer/assets/{timeline-definition-PNZ67QCA-ooi5Tti4.js → timeline-definition-Z64GVDOM-DQ7vCcJR.js} +2 -2
- package/out/renderer/assets/{vennDiagram-CIIHVFJN-B_kwCHhU.js → vennDiagram-T6HMQDX7-MrgLWWY3.js} +32 -3
- package/out/renderer/assets/{wardleyDiagram-YWT4CUSO-cqZcXF7R.js → wardleyDiagram-T6FBY63Y-BCA6xyJ2.js} +3 -3
- package/out/renderer/assets/{worker-BdXuKH1Q.js → worker-CdcPcIJG.js} +322 -102
- package/out/renderer/assets/{xychartDiagram-2RQKCTM6-BBUpFNY4.js → xychartDiagram-ELKLHX3M-BZmPte5b.js} +125 -57
- package/out/renderer/index.html +2 -2
- package/out/renderer/sw.js +4 -0
- 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/resources/skills/extension-creator/references/extension-interface.md +3 -0
- package/out/runner.js +5735 -3379
- package/package.json +5 -4
- package/out/renderer/assets/diagram-5GNKFQAL-DY9Yifty.js +0 -169
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as setAccDescription, H as getAccDescription,
|
|
1
|
+
import { C as setAccDescription, H as getAccDescription, a4 as getDiagramTitle, a3 as setDiagramTitle, J as getAccTitle, K as setAccTitle, _ as __name, O as log, ah as selectSvgElement, Q as configureSvgSize, a5 as clear, ac as getConfig, W as sanitizeText, ae as cleanAndMerge, af as defaultConfig_default, ax as getThemeVariables3, ay as computeDimensionOfText, az as shapeLine } from "./index-BahRAP01.js";
|
|
2
2
|
import { b as band } from "./band-zXq5o_Ib.js";
|
|
3
|
-
import { l as linear } from "./linear-
|
|
3
|
+
import { l as linear } from "./linear-CWQmShZV.js";
|
|
4
4
|
import "./init-CTO7spbL.js";
|
|
5
5
|
import "./ordinal-BD3Y6v77.js";
|
|
6
6
|
import "./defaultLocale-B2RvLBDe.js";
|
|
@@ -8,14 +8,14 @@ var parser = (function() {
|
|
|
8
8
|
var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
|
|
9
9
|
for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
|
|
10
10
|
return o2;
|
|
11
|
-
}, "o"), $V0 = [1, 10, 12, 14, 16, 18, 19, 21, 23], $V1 = [2, 6], $V2 = [1, 3], $V3 = [1, 5], $V4 = [1, 6], $V5 = [1, 7], $V6 = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23,
|
|
11
|
+
}, "o"), $V0 = [1, 10, 12, 14, 16, 18, 19, 21, 23], $V1 = [2, 6], $V2 = [1, 3], $V3 = [1, 5], $V4 = [1, 6], $V5 = [1, 7], $V6 = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23, 36, 37, 38], $V7 = [1, 25], $V8 = [1, 26], $V9 = [1, 28], $Va = [1, 29], $Vb = [1, 30], $Vc = [1, 31], $Vd = [1, 32], $Ve = [1, 33], $Vf = [1, 34], $Vg = [1, 35], $Vh = [1, 36], $Vi = [1, 37], $Vj = [1, 43], $Vk = [1, 42], $Vl = [1, 47], $Vm = [1, 50], $Vn = [1, 10, 12, 14, 16, 18, 19, 21, 23, 36, 37, 38], $Vo = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 28, 29, 36, 37, 38], $Vp = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 28, 29, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51], $Vq = [1, 65], $Vr = [26, 28];
|
|
12
12
|
var parser2 = {
|
|
13
13
|
trace: /* @__PURE__ */ __name(function trace() {
|
|
14
14
|
}, "trace"),
|
|
15
15
|
yy: {},
|
|
16
|
-
symbols_: { "error": 2, "start": 3, "eol": 4, "XYCHART": 5, "chartConfig": 6, "document": 7, "CHART_ORIENTATION": 8, "statement": 9, "title": 10, "text": 11, "X_AXIS": 12, "parseXAxis": 13, "Y_AXIS": 14, "parseYAxis": 15, "LINE": 16, "plotData": 17, "BAR": 18, "acc_title": 19, "acc_title_value": 20, "acc_descr": 21, "acc_descr_value": 22, "acc_descr_multiline_value": 23, "SQUARE_BRACES_START": 24, "
|
|
17
|
-
terminals_: { 2: "error", 5: "XYCHART", 8: "CHART_ORIENTATION", 10: "title", 12: "X_AXIS", 14: "Y_AXIS", 16: "LINE", 18: "BAR", 19: "acc_title", 20: "acc_title_value", 21: "acc_descr", 22: "acc_descr_value", 23: "acc_descr_multiline_value", 24: "SQUARE_BRACES_START", 26: "SQUARE_BRACES_END",
|
|
18
|
-
productions_: [0, [3, 2], [3, 3], [3, 2], [3, 1], [6, 1], [7, 0], [7, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 3], [9, 2], [9, 3], [9, 2], [9, 2], [9, 1], [17, 3], [25, 3], [25, 1], [13, 1], [13, 2], [13, 1], [
|
|
16
|
+
symbols_: { "error": 2, "start": 3, "eol": 4, "XYCHART": 5, "chartConfig": 6, "document": 7, "CHART_ORIENTATION": 8, "statement": 9, "title": 10, "text": 11, "X_AXIS": 12, "parseXAxis": 13, "Y_AXIS": 14, "parseYAxis": 15, "LINE": 16, "plotData": 17, "BAR": 18, "acc_title": 19, "acc_title_value": 20, "acc_descr": 21, "acc_descr_value": 22, "acc_descr_multiline_value": 23, "SQUARE_BRACES_START": 24, "dataPoints": 25, "SQUARE_BRACES_END": 26, "dataPoint": 27, "COMMA": 28, "NUMBER_WITH_DECIMAL": 29, "STR": 30, "xAxisData": 31, "bandData": 32, "ARROW_DELIMITER": 33, "commaSeparatedTexts": 34, "yAxisData": 35, "NEWLINE": 36, "SEMI": 37, "EOF": 38, "alphaNum": 39, "MD_STR": 40, "alphaNumToken": 41, "AMP": 42, "NUM": 43, "ALPHA": 44, "PLUS": 45, "EQUALS": 46, "MULT": 47, "DOT": 48, "BRKT": 49, "MINUS": 50, "UNDERSCORE": 51, "$accept": 0, "$end": 1 },
|
|
17
|
+
terminals_: { 2: "error", 5: "XYCHART", 8: "CHART_ORIENTATION", 10: "title", 12: "X_AXIS", 14: "Y_AXIS", 16: "LINE", 18: "BAR", 19: "acc_title", 20: "acc_title_value", 21: "acc_descr", 22: "acc_descr_value", 23: "acc_descr_multiline_value", 24: "SQUARE_BRACES_START", 26: "SQUARE_BRACES_END", 28: "COMMA", 29: "NUMBER_WITH_DECIMAL", 30: "STR", 33: "ARROW_DELIMITER", 36: "NEWLINE", 37: "SEMI", 38: "EOF", 40: "MD_STR", 42: "AMP", 43: "NUM", 44: "ALPHA", 45: "PLUS", 46: "EQUALS", 47: "MULT", 48: "DOT", 49: "BRKT", 50: "MINUS", 51: "UNDERSCORE" },
|
|
18
|
+
productions_: [0, [3, 2], [3, 3], [3, 2], [3, 1], [6, 1], [7, 0], [7, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 3], [9, 2], [9, 3], [9, 2], [9, 2], [9, 1], [17, 3], [25, 3], [25, 1], [27, 2], [27, 1], [13, 1], [13, 2], [13, 1], [31, 1], [31, 3], [32, 3], [34, 3], [34, 1], [15, 1], [15, 2], [15, 1], [35, 3], [4, 1], [4, 1], [4, 1], [11, 1], [11, 1], [11, 1], [39, 1], [39, 2], [41, 1], [41, 1], [41, 1], [41, 1], [41, 1], [41, 1], [41, 1], [41, 1], [41, 1], [41, 1]],
|
|
19
19
|
performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
|
|
20
20
|
var $0 = $$.length - 1;
|
|
21
21
|
switch (yystate) {
|
|
@@ -50,66 +50,68 @@ var parser = (function() {
|
|
|
50
50
|
this.$ = $$[$0 - 1];
|
|
51
51
|
break;
|
|
52
52
|
case 20:
|
|
53
|
-
|
|
53
|
+
case 30:
|
|
54
|
+
this.$ = [$$[$0 - 2], ...$$[$0]];
|
|
54
55
|
break;
|
|
55
56
|
case 21:
|
|
56
|
-
|
|
57
|
+
case 31:
|
|
58
|
+
this.$ = [$$[$0]];
|
|
57
59
|
break;
|
|
58
60
|
case 22:
|
|
59
|
-
|
|
61
|
+
this.$ = { value: Number($$[$0 - 1]), label: $$[$0] };
|
|
60
62
|
break;
|
|
61
63
|
case 23:
|
|
62
|
-
|
|
64
|
+
this.$ = { value: Number($$[$0]), label: "" };
|
|
63
65
|
break;
|
|
64
66
|
case 24:
|
|
65
|
-
yy.setXAxisTitle(
|
|
67
|
+
yy.setXAxisTitle($$[$0]);
|
|
66
68
|
break;
|
|
67
69
|
case 25:
|
|
68
|
-
yy.
|
|
70
|
+
yy.setXAxisTitle($$[$0 - 1]);
|
|
69
71
|
break;
|
|
70
72
|
case 26:
|
|
71
|
-
yy.
|
|
73
|
+
yy.setXAxisTitle({ type: "text", text: "" });
|
|
72
74
|
break;
|
|
73
75
|
case 27:
|
|
74
|
-
|
|
76
|
+
yy.setXAxisBand($$[$0]);
|
|
75
77
|
break;
|
|
76
78
|
case 28:
|
|
77
|
-
|
|
79
|
+
yy.setXAxisRangeData(Number($$[$0 - 2]), Number($$[$0]));
|
|
78
80
|
break;
|
|
79
81
|
case 29:
|
|
80
|
-
this.$ =
|
|
82
|
+
this.$ = $$[$0 - 1];
|
|
81
83
|
break;
|
|
82
|
-
case
|
|
84
|
+
case 32:
|
|
83
85
|
yy.setYAxisTitle($$[$0]);
|
|
84
86
|
break;
|
|
85
|
-
case
|
|
87
|
+
case 33:
|
|
86
88
|
yy.setYAxisTitle($$[$0 - 1]);
|
|
87
89
|
break;
|
|
88
|
-
case
|
|
90
|
+
case 34:
|
|
89
91
|
yy.setYAxisTitle({ type: "text", text: "" });
|
|
90
92
|
break;
|
|
91
|
-
case
|
|
93
|
+
case 35:
|
|
92
94
|
yy.setYAxisRangeData(Number($$[$0 - 2]), Number($$[$0]));
|
|
93
95
|
break;
|
|
94
|
-
case
|
|
96
|
+
case 39:
|
|
95
97
|
this.$ = { text: $$[$0], type: "text" };
|
|
96
98
|
break;
|
|
97
|
-
case
|
|
99
|
+
case 40:
|
|
98
100
|
this.$ = { text: $$[$0], type: "text" };
|
|
99
101
|
break;
|
|
100
|
-
case
|
|
102
|
+
case 41:
|
|
101
103
|
this.$ = { text: $$[$0], type: "markdown" };
|
|
102
104
|
break;
|
|
103
|
-
case
|
|
105
|
+
case 42:
|
|
104
106
|
this.$ = $$[$0];
|
|
105
107
|
break;
|
|
106
|
-
case
|
|
108
|
+
case 43:
|
|
107
109
|
this.$ = $$[$0 - 1] + "" + $$[$0];
|
|
108
110
|
break;
|
|
109
111
|
}
|
|
110
112
|
}, "anonymous"),
|
|
111
|
-
table: [o($V0, $V1, { 3: 1, 4: 2, 7: 4, 5: $V2,
|
|
112
|
-
defaultActions: { 8: [2, 1], 10: [2, 3], 21: [2, 2],
|
|
113
|
+
table: [o($V0, $V1, { 3: 1, 4: 2, 7: 4, 5: $V2, 36: $V3, 37: $V4, 38: $V5 }), { 1: [3] }, o($V0, $V1, { 4: 2, 7: 4, 3: 8, 5: $V2, 36: $V3, 37: $V4, 38: $V5 }), o($V0, $V1, { 4: 2, 7: 4, 6: 9, 3: 10, 5: $V2, 8: [1, 11], 36: $V3, 37: $V4, 38: $V5 }), { 1: [2, 4], 9: 12, 10: [1, 13], 12: [1, 14], 14: [1, 15], 16: [1, 16], 18: [1, 17], 19: [1, 18], 21: [1, 19], 23: [1, 20] }, o($V6, [2, 36]), o($V6, [2, 37]), o($V6, [2, 38]), { 1: [2, 1] }, o($V0, $V1, { 4: 2, 7: 4, 3: 21, 5: $V2, 36: $V3, 37: $V4, 38: $V5 }), { 1: [2, 3] }, o($V6, [2, 5]), o($V0, [2, 7], { 4: 22, 36: $V3, 37: $V4, 38: $V5 }), { 11: 23, 30: $V7, 39: 24, 40: $V8, 41: 27, 42: $V9, 43: $Va, 44: $Vb, 45: $Vc, 46: $Vd, 47: $Ve, 48: $Vf, 49: $Vg, 50: $Vh, 51: $Vi }, { 11: 39, 13: 38, 24: $Vj, 29: $Vk, 30: $V7, 31: 40, 32: 41, 39: 24, 40: $V8, 41: 27, 42: $V9, 43: $Va, 44: $Vb, 45: $Vc, 46: $Vd, 47: $Ve, 48: $Vf, 49: $Vg, 50: $Vh, 51: $Vi }, { 11: 45, 15: 44, 29: $Vl, 30: $V7, 35: 46, 39: 24, 40: $V8, 41: 27, 42: $V9, 43: $Va, 44: $Vb, 45: $Vc, 46: $Vd, 47: $Ve, 48: $Vf, 49: $Vg, 50: $Vh, 51: $Vi }, { 11: 49, 17: 48, 24: $Vm, 30: $V7, 39: 24, 40: $V8, 41: 27, 42: $V9, 43: $Va, 44: $Vb, 45: $Vc, 46: $Vd, 47: $Ve, 48: $Vf, 49: $Vg, 50: $Vh, 51: $Vi }, { 11: 52, 17: 51, 24: $Vm, 30: $V7, 39: 24, 40: $V8, 41: 27, 42: $V9, 43: $Va, 44: $Vb, 45: $Vc, 46: $Vd, 47: $Ve, 48: $Vf, 49: $Vg, 50: $Vh, 51: $Vi }, { 20: [1, 53] }, { 22: [1, 54] }, o($Vn, [2, 18]), { 1: [2, 2] }, o($Vn, [2, 8]), o($Vn, [2, 9]), o($Vo, [2, 39], { 41: 55, 42: $V9, 43: $Va, 44: $Vb, 45: $Vc, 46: $Vd, 47: $Ve, 48: $Vf, 49: $Vg, 50: $Vh, 51: $Vi }), o($Vo, [2, 40]), o($Vo, [2, 41]), o($Vp, [2, 42]), o($Vp, [2, 44]), o($Vp, [2, 45]), o($Vp, [2, 46]), o($Vp, [2, 47]), o($Vp, [2, 48]), o($Vp, [2, 49]), o($Vp, [2, 50]), o($Vp, [2, 51]), o($Vp, [2, 52]), o($Vp, [2, 53]), o($Vn, [2, 10]), o($Vn, [2, 24], { 32: 41, 31: 56, 24: $Vj, 29: $Vk }), o($Vn, [2, 26]), o($Vn, [2, 27]), { 33: [1, 57] }, { 11: 59, 30: $V7, 34: 58, 39: 24, 40: $V8, 41: 27, 42: $V9, 43: $Va, 44: $Vb, 45: $Vc, 46: $Vd, 47: $Ve, 48: $Vf, 49: $Vg, 50: $Vh, 51: $Vi }, o($Vn, [2, 11]), o($Vn, [2, 32], { 35: 60, 29: $Vl }), o($Vn, [2, 34]), { 33: [1, 61] }, o($Vn, [2, 12]), { 17: 62, 24: $Vm }, { 25: 63, 27: 64, 29: $Vq }, o($Vn, [2, 14]), { 17: 66, 24: $Vm }, o($Vn, [2, 16]), o($Vn, [2, 17]), o($Vp, [2, 43]), o($Vn, [2, 25]), { 29: [1, 67] }, { 26: [1, 68] }, { 26: [2, 31], 28: [1, 69] }, o($Vn, [2, 33]), { 29: [1, 70] }, o($Vn, [2, 13]), { 26: [1, 71] }, { 26: [2, 21], 28: [1, 72] }, o($Vr, [2, 23], { 30: [1, 73] }), o($Vn, [2, 15]), o($Vn, [2, 28]), o($Vn, [2, 29]), { 11: 59, 30: $V7, 34: 74, 39: 24, 40: $V8, 41: 27, 42: $V9, 43: $Va, 44: $Vb, 45: $Vc, 46: $Vd, 47: $Ve, 48: $Vf, 49: $Vg, 50: $Vh, 51: $Vi }, o($Vn, [2, 35]), o($Vn, [2, 19]), { 25: 75, 27: 64, 29: $Vq }, o($Vr, [2, 22]), { 26: [2, 30] }, { 26: [2, 20] }],
|
|
114
|
+
defaultActions: { 8: [2, 1], 10: [2, 3], 21: [2, 2], 74: [2, 30], 75: [2, 20] },
|
|
113
115
|
parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
|
|
114
116
|
if (hash.recoverable) {
|
|
115
117
|
this.trace(str);
|
|
@@ -544,12 +546,12 @@ var parser = (function() {
|
|
|
544
546
|
break;
|
|
545
547
|
case 2:
|
|
546
548
|
this.popState();
|
|
547
|
-
return
|
|
549
|
+
return 36;
|
|
548
550
|
case 3:
|
|
549
551
|
this.popState();
|
|
550
|
-
return
|
|
552
|
+
return 36;
|
|
551
553
|
case 4:
|
|
552
|
-
return
|
|
554
|
+
return 36;
|
|
553
555
|
case 5:
|
|
554
556
|
break;
|
|
555
557
|
case 6:
|
|
@@ -590,7 +592,7 @@ var parser = (function() {
|
|
|
590
592
|
this.pushState("axis_band_data");
|
|
591
593
|
return 24;
|
|
592
594
|
case 20:
|
|
593
|
-
return
|
|
595
|
+
return 33;
|
|
594
596
|
case 21:
|
|
595
597
|
this.pushState("data");
|
|
596
598
|
return 16;
|
|
@@ -601,7 +603,7 @@ var parser = (function() {
|
|
|
601
603
|
this.pushState("data_inner");
|
|
602
604
|
return 24;
|
|
603
605
|
case 24:
|
|
604
|
-
return
|
|
606
|
+
return 29;
|
|
605
607
|
case 25:
|
|
606
608
|
this.popState();
|
|
607
609
|
return 26;
|
|
@@ -621,35 +623,35 @@ var parser = (function() {
|
|
|
621
623
|
case 31:
|
|
622
624
|
return 26;
|
|
623
625
|
case 32:
|
|
624
|
-
return
|
|
626
|
+
return 44;
|
|
625
627
|
case 33:
|
|
626
628
|
return "COLON";
|
|
627
629
|
case 34:
|
|
628
|
-
return
|
|
630
|
+
return 45;
|
|
629
631
|
case 35:
|
|
630
632
|
return 28;
|
|
631
633
|
case 36:
|
|
632
|
-
return 45;
|
|
633
|
-
case 37:
|
|
634
634
|
return 46;
|
|
635
|
+
case 37:
|
|
636
|
+
return 47;
|
|
635
637
|
case 38:
|
|
636
|
-
return
|
|
638
|
+
return 49;
|
|
637
639
|
case 39:
|
|
638
|
-
return
|
|
640
|
+
return 51;
|
|
639
641
|
case 40:
|
|
640
|
-
return
|
|
642
|
+
return 48;
|
|
641
643
|
case 41:
|
|
642
|
-
return
|
|
644
|
+
return 42;
|
|
643
645
|
case 42:
|
|
644
|
-
return
|
|
646
|
+
return 50;
|
|
645
647
|
case 43:
|
|
646
|
-
return
|
|
648
|
+
return 43;
|
|
647
649
|
case 44:
|
|
648
650
|
break;
|
|
649
651
|
case 45:
|
|
650
|
-
return
|
|
652
|
+
return 37;
|
|
651
653
|
case 46:
|
|
652
|
-
return
|
|
654
|
+
return 38;
|
|
653
655
|
}
|
|
654
656
|
}, "anonymous"),
|
|
655
657
|
rules: [/^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:(\r?\n))/i, /^(?:(\r?\n))/i, /^(?:[\n\r]+)/i, /^(?:%%[^\n]*)/i, /^(?:title\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:\})/i, /^(?:[^\}]*)/i, /^(?:xychart-beta\b)/i, /^(?:xychart\b)/i, /^(?:(?:vertical|horizontal))/i, /^(?:x-axis\b)/i, /^(?:y-axis\b)/i, /^(?:\[)/i, /^(?:-->)/i, /^(?:line\b)/i, /^(?:bar\b)/i, /^(?:\[)/i, /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i, /^(?:\])/i, /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:[A-Za-z]+)/i, /^(?::)/i, /^(?:\+)/i, /^(?:,)/i, /^(?:=)/i, /^(?:\*)/i, /^(?:#)/i, /^(?:[\_])/i, /^(?:\.)/i, /^(?:&)/i, /^(?:-)/i, /^(?:[0-9]+)/i, /^(?:\s+)/i, /^(?:;)/i, /^(?:$)/i],
|
|
@@ -727,9 +729,11 @@ var BaseAxis = class {
|
|
|
727
729
|
this.outerPadding = 0;
|
|
728
730
|
this.titleTextHeight = 0;
|
|
729
731
|
this.labelTextHeight = 0;
|
|
732
|
+
this.normalizedLabelRotationInRad = 0;
|
|
730
733
|
this.range = [0, 10];
|
|
731
734
|
this.boundingRect = { x: 0, y: 0, width: 0, height: 0 };
|
|
732
735
|
this.axisPosition = "left";
|
|
736
|
+
this.normalizedLabelRotationInRad = this.axisConfig.labelRotation >= -90 && this.axisConfig.labelRotation <= 90 ? this.axisConfig.labelRotation * Math.PI / 180 : 0;
|
|
733
737
|
}
|
|
734
738
|
static {
|
|
735
739
|
__name(this, "BaseAxis");
|
|
@@ -779,7 +783,14 @@ var BaseAxis = class {
|
|
|
779
783
|
const spaceRequired = this.getLabelDimension();
|
|
780
784
|
const maxPadding = MAX_OUTER_PADDING_PERCENT_FOR_WRT_LABEL * availableSpace.width;
|
|
781
785
|
this.outerPadding = Math.min(spaceRequired.width / 2, maxPadding);
|
|
782
|
-
|
|
786
|
+
let heightRequired = spaceRequired.height;
|
|
787
|
+
if (this.axisPosition === "bottom" && this.normalizedLabelRotationInRad !== 0) {
|
|
788
|
+
heightRequired = Math.max(
|
|
789
|
+
heightRequired,
|
|
790
|
+
Math.abs(Math.sin(this.normalizedLabelRotationInRad) * spaceRequired.width) + Math.abs(Math.cos(this.normalizedLabelRotationInRad) * spaceRequired.height)
|
|
791
|
+
);
|
|
792
|
+
}
|
|
793
|
+
heightRequired += this.axisConfig.labelPadding * 2;
|
|
783
794
|
this.labelTextHeight = spaceRequired.height;
|
|
784
795
|
if (heightRequired <= availableHeight) {
|
|
785
796
|
availableHeight -= heightRequired;
|
|
@@ -856,6 +867,13 @@ var BaseAxis = class {
|
|
|
856
867
|
this.boundingRect.x = point.x;
|
|
857
868
|
this.boundingRect.y = point.y;
|
|
858
869
|
}
|
|
870
|
+
calculateOffsetByRotation(reference) {
|
|
871
|
+
const rotation = this.normalizedLabelRotationInRad;
|
|
872
|
+
if (rotation === 0) {
|
|
873
|
+
return 0;
|
|
874
|
+
}
|
|
875
|
+
return Math.sin(rotation) * this.getLabelDimension()[reference] / 2;
|
|
876
|
+
}
|
|
859
877
|
getDrawableElementsForLeftAxis() {
|
|
860
878
|
const drawableElement = [];
|
|
861
879
|
if (this.showAxisLine) {
|
|
@@ -942,11 +960,11 @@ var BaseAxis = class {
|
|
|
942
960
|
groupTexts: ["bottom-axis", "label"],
|
|
943
961
|
data: this.getTickValues().map((tick) => ({
|
|
944
962
|
text: tick.toString(),
|
|
945
|
-
x: this.getScaleValue(tick),
|
|
946
|
-
y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
|
|
963
|
+
x: this.getScaleValue(tick) + this.calculateOffsetByRotation("height"),
|
|
964
|
+
y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0) + Math.abs(this.calculateOffsetByRotation("width")),
|
|
947
965
|
fill: this.axisThemeConfig.labelColor,
|
|
948
966
|
fontSize: this.axisConfig.labelFontSize,
|
|
949
|
-
rotation:
|
|
967
|
+
rotation: this.normalizedLabelRotationInRad * 180 / Math.PI,
|
|
950
968
|
verticalPos: "top",
|
|
951
969
|
horizontalPos: "center"
|
|
952
970
|
}))
|
|
@@ -1221,7 +1239,7 @@ var LinePlot = class {
|
|
|
1221
1239
|
if (!path) {
|
|
1222
1240
|
return [];
|
|
1223
1241
|
}
|
|
1224
|
-
|
|
1242
|
+
const elements = [
|
|
1225
1243
|
{
|
|
1226
1244
|
groupTexts: ["plot", `line-plot-${this.plotIndex}`],
|
|
1227
1245
|
type: "path",
|
|
@@ -1234,6 +1252,48 @@ var LinePlot = class {
|
|
|
1234
1252
|
]
|
|
1235
1253
|
}
|
|
1236
1254
|
];
|
|
1255
|
+
if (this.plotData.pointLabels && this.plotData.pointLabels.length > 0) {
|
|
1256
|
+
const labelOffset = 10;
|
|
1257
|
+
const fontSize = 12;
|
|
1258
|
+
const textData = [];
|
|
1259
|
+
for (const [i, [px, py]] of finalData.entries()) {
|
|
1260
|
+
const label = this.plotData.pointLabels[i];
|
|
1261
|
+
if (!label) {
|
|
1262
|
+
continue;
|
|
1263
|
+
}
|
|
1264
|
+
if (this.orientation === "horizontal") {
|
|
1265
|
+
textData.push({
|
|
1266
|
+
x: py + labelOffset,
|
|
1267
|
+
y: px,
|
|
1268
|
+
text: label,
|
|
1269
|
+
fill: this.plotData.strokeFill,
|
|
1270
|
+
verticalPos: "middle",
|
|
1271
|
+
horizontalPos: "left",
|
|
1272
|
+
fontSize,
|
|
1273
|
+
rotation: 0
|
|
1274
|
+
});
|
|
1275
|
+
} else {
|
|
1276
|
+
textData.push({
|
|
1277
|
+
x: px,
|
|
1278
|
+
y: py - labelOffset,
|
|
1279
|
+
text: label,
|
|
1280
|
+
fill: this.plotData.strokeFill,
|
|
1281
|
+
verticalPos: "middle",
|
|
1282
|
+
horizontalPos: "center",
|
|
1283
|
+
fontSize,
|
|
1284
|
+
rotation: 0
|
|
1285
|
+
});
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
if (textData.length > 0) {
|
|
1289
|
+
elements.push({
|
|
1290
|
+
groupTexts: ["plot", `line-plot-${this.plotIndex}`, "labels"],
|
|
1291
|
+
type: "text",
|
|
1292
|
+
data: textData
|
|
1293
|
+
});
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
return elements;
|
|
1237
1297
|
}
|
|
1238
1298
|
};
|
|
1239
1299
|
var BarPlot = class {
|
|
@@ -1641,6 +1701,9 @@ function transformDataWithoutCategory(data) {
|
|
|
1641
1701
|
const prevMaxValue = isLinearAxisData(xyChartData.xAxis) ? xyChartData.xAxis.max : -Infinity;
|
|
1642
1702
|
setXAxisRangeData(Math.min(prevMinValue, 1), Math.max(prevMaxValue, data.length));
|
|
1643
1703
|
}
|
|
1704
|
+
if (isBandAxisData(xyChartData.xAxis) && data.length > xyChartData.xAxis.categories.length) {
|
|
1705
|
+
data = data.slice(0, xyChartData.xAxis.categories.length);
|
|
1706
|
+
}
|
|
1644
1707
|
if (!hasSetYAxis) {
|
|
1645
1708
|
setYAxisRangeFromPlotData(data);
|
|
1646
1709
|
}
|
|
@@ -1650,12 +1713,12 @@ function transformDataWithoutCategory(data) {
|
|
|
1650
1713
|
if (isLinearAxisData(xyChartData.xAxis)) {
|
|
1651
1714
|
const min = xyChartData.xAxis.min;
|
|
1652
1715
|
const max = xyChartData.xAxis.max;
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1716
|
+
if (data.length === 1) {
|
|
1717
|
+
retData = [[`${min}`, data[0]]];
|
|
1718
|
+
} else {
|
|
1719
|
+
const step = (max - min) / (data.length - 1);
|
|
1720
|
+
retData = data.map((datum, index) => [`${min + index * step}`, datum]);
|
|
1657
1721
|
}
|
|
1658
|
-
retData = categories.map((c, i) => [c, data[i]]);
|
|
1659
1722
|
}
|
|
1660
1723
|
return retData;
|
|
1661
1724
|
}
|
|
@@ -1665,18 +1728,23 @@ function getPlotColorFromPalette(plotIndex2) {
|
|
|
1665
1728
|
}
|
|
1666
1729
|
__name(getPlotColorFromPalette, "getPlotColorFromPalette");
|
|
1667
1730
|
function setLineData(title, data) {
|
|
1668
|
-
const
|
|
1731
|
+
const values = data.map((d) => d.value);
|
|
1732
|
+
const labels = data.map((d) => d.label ? textSanitizer(d.label) : "");
|
|
1733
|
+
const plotData = transformDataWithoutCategory(values);
|
|
1734
|
+
const hasAnyLabel = labels.some((l) => l !== "");
|
|
1669
1735
|
xyChartData.plots.push({
|
|
1670
1736
|
type: "line",
|
|
1671
1737
|
strokeFill: getPlotColorFromPalette(plotIndex),
|
|
1672
1738
|
strokeWidth: 2,
|
|
1673
|
-
data: plotData
|
|
1739
|
+
data: plotData,
|
|
1740
|
+
...hasAnyLabel ? { pointLabels: labels } : {}
|
|
1674
1741
|
});
|
|
1675
1742
|
plotIndex++;
|
|
1676
1743
|
}
|
|
1677
1744
|
__name(setLineData, "setLineData");
|
|
1678
1745
|
function setBarData(title, data) {
|
|
1679
|
-
const
|
|
1746
|
+
const values = data.map((d) => d.value);
|
|
1747
|
+
const plotData = transformDataWithoutCategory(values);
|
|
1680
1748
|
xyChartData.plots.push({
|
|
1681
1749
|
type: "bar",
|
|
1682
1750
|
fill: getPlotColorFromPalette(plotIndex),
|
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-BahRAP01.js"></script>
|
|
24
|
+
<link rel="stylesheet" crossorigin href="./assets/index-DVEVSdXO.css">
|
|
25
25
|
</head>
|
|
26
26
|
|
|
27
27
|
<body>
|
package/out/renderer/sw.js
CHANGED
|
@@ -12,6 +12,10 @@ self.addEventListener('activate', (event) => {
|
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
// Pass through all fetch requests without caching
|
|
15
|
+
// Skip socket.io requests to avoid interfering with long-polling transport
|
|
15
16
|
self.addEventListener('fetch', (event) => {
|
|
17
|
+
if (event.request.url.includes('socket.io')) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
16
20
|
event.respondWith(fetch(event.request));
|
|
17
21
|
});
|
|
@@ -1097,7 +1097,9 @@ class Connector:
|
|
|
1097
1097
|
|
|
1098
1098
|
# Connect with explicit timeout. The default is 5 seconds which can
|
|
1099
1099
|
# be too short if the server is still initializing.
|
|
1100
|
-
|
|
1100
|
+
connector_token = os.getenv("AIDER_DESK_CONNECTOR_TOKEN")
|
|
1101
|
+
auth = {"connectorToken": connector_token} if connector_token else None
|
|
1102
|
+
await self.sio.connect(self.server_url, auth=auth)
|
|
1101
1103
|
|
|
1102
1104
|
# Explicitly call on_connect after successful connection
|
|
1103
1105
|
# This ensures init message is sent even if the event handler doesn't fire
|
|
@@ -1,62 +1,36 @@
|
|
|
1
1
|
<AiderDeskSystemPrompt version="1.0">
|
|
2
2
|
<Agent name="ProjectInitAgent">
|
|
3
|
-
<Objective>
|
|
3
|
+
<Objective>Create or refresh a concise, high-signal AGENTS.md that helps future agents work effectively in this repository.</Objective>
|
|
4
4
|
</Agent>
|
|
5
5
|
|
|
6
|
-
<Persona>
|
|
7
|
-
<Trait>Act as an expert, detail-oriented software engineer performing a thorough codebase audit.</Trait>
|
|
8
|
-
<Trait>Be methodical and exhaustive in your analysis — a rushed or incomplete analysis will permanently limit future agent effectiveness.</Trait>
|
|
9
|
-
<Trait>Be concise in your output, summarizing rather than copying verbatim.</Trait>
|
|
10
|
-
<Trait>Avoid unnecessary greetings, closings, or conversational filler.</Trait>
|
|
11
|
-
</Persona>
|
|
12
|
-
|
|
13
6
|
<CoreDirectives>
|
|
14
|
-
<Directive id="
|
|
15
|
-
<Directive id="
|
|
16
|
-
<Directive id="
|
|
17
|
-
<Directive id="use-tools">Use all available tools to build a comprehensive understanding. Do not guess — verify everything by reading actual files.</Directive>
|
|
7
|
+
<Directive id="preserve-existing">Read an existing AGENTS.md before editing it. Preserve accurate project-specific content and manually added guidance.</Directive>
|
|
8
|
+
<Directive id="grounded">Base guidance on the repository. Do not invent conventions, commands, or architecture.</Directive>
|
|
9
|
+
<Directive id="useful">Document non-obvious commands, architecture, conventions, and gotchas that future agents cannot reliably infer from a quick inspection.</Directive>
|
|
18
10
|
</CoreDirectives>
|
|
19
11
|
|
|
20
|
-
<ToolUsageGuidelines>
|
|
21
|
-
<Guideline id="semantic-search">Use semantic_search to locate code by concept and understand relationships between modules.</Guideline>
|
|
22
|
-
<Guideline id="file-read">Use file_read to inspect file contents when analyzing code patterns, configurations, and documentation.</Guideline>
|
|
23
|
-
<Guideline id="file-write">Use file_write to create or update the AGENTS.md file.</Guideline>
|
|
24
|
-
<Guideline id="glob">Use glob to discover files matching patterns and understand project structure.</Guideline>
|
|
25
|
-
<Guideline id="grep">Use grep to search for specific patterns, imports, and usage across the codebase.</Guideline>
|
|
26
|
-
<Guideline id="assess-need">Determine the information required before choosing a tool.</Guideline>
|
|
27
|
-
<Guideline id="iterative-tools">Use one tool at a time so the output of one informs the next.</Guideline>
|
|
28
|
-
</ToolUsageGuidelines>
|
|
29
|
-
|
|
30
12
|
<Workflow>
|
|
31
|
-
<Step number="1" title="
|
|
32
|
-
<Instruction>
|
|
13
|
+
<Step number="1" title="Inspect Existing Guidance">
|
|
14
|
+
<Instruction>Read AGENTS.md if present. Inspect repository-level instructions and configuration that affect agent work, such as package manifests, build configuration, editor settings, and AI-tool rule files.</Instruction>
|
|
33
15
|
</Step>
|
|
34
|
-
<Step number="2" title="
|
|
35
|
-
<Instruction>Use
|
|
36
|
-
- Source Code: All source files, their relationships, and common patterns.
|
|
37
|
-
- Project Structure: Directory organization and architectural patterns (e.g., MVC, monolithic, microservices).
|
|
38
|
-
- Build and Configuration: All configuration files (package.json, tsconfig.json, pyproject.toml, Cargo.toml, etc.), build systems, and dependency management.
|
|
39
|
-
- Commands and Scripts: The methods for building, linting, testing, and running the project.
|
|
40
|
-
- Documentation: README.md and any other existing documentation.
|
|
41
|
-
- Existing Rules: Key information from any existing rule files found in Step 1.</Instruction>
|
|
16
|
+
<Step number="2" title="Understand the Repository">
|
|
17
|
+
<Instruction>Use available tools to inspect the project structure, development commands, tests, and the source areas needed to describe the architecture. Investigate more deeply only where the initial inspection reveals important conventions or complexity.</Instruction>
|
|
42
18
|
</Step>
|
|
43
|
-
<Step number="3" title="
|
|
44
|
-
<Instruction>
|
|
19
|
+
<Step number="3" title="Create or Refresh AGENTS.md">
|
|
20
|
+
<Instruction>Write a concise AGENTS.md that preserves accurate existing guidance and adds only verified, high-value information.</Instruction>
|
|
45
21
|
</Step>
|
|
46
22
|
<Step number="4" title="Confirm">
|
|
47
|
-
<Instruction>Respond
|
|
23
|
+
<Instruction>Respond only with 'AGENTS.md has been created.' or 'AGENTS.md has been updated.' as appropriate.</Instruction>
|
|
48
24
|
</Step>
|
|
49
25
|
</Workflow>
|
|
50
26
|
|
|
51
27
|
<OutputRequirements>
|
|
52
|
-
<Rule id="mandatory-header">The file
|
|
28
|
+
<Rule id="mandatory-header">The file must begin with:
|
|
53
29
|
# AGENTS.md
|
|
54
30
|
This file provides guidance to various AI agents when working with code in this repository.</Rule>
|
|
55
|
-
<Rule id="
|
|
56
|
-
<Rule id="
|
|
57
|
-
<Rule id="
|
|
58
|
-
<Rule id="
|
|
59
|
-
<Rule id="no-file-listing">Do NOT list every file and folder. Focus only on what is necessary to understand the high-level structure.</Rule>
|
|
60
|
-
<Rule id="no-fabrication">Do NOT make up information or add generic sections like Tips for Development or Support and Documentation unless this information is explicitly found in the files you have analyzed.</Rule>
|
|
31
|
+
<Rule id="commands">Include the repository's verified commands for common development, build, lint, and test tasks when they are available.</Rule>
|
|
32
|
+
<Rule id="architecture">Include a high-level architecture summary only when it requires synthesis across the repository and will help future agents navigate it.</Rule>
|
|
33
|
+
<Rule id="focus">Prefer project-specific conventions and gotchas over generic software-development advice or exhaustive file listings.</Rule>
|
|
34
|
+
<Rule id="concise">Summarize rather than copy documentation. Omit sections that are unsupported by the repository or add no useful guidance.</Rule>
|
|
61
35
|
</OutputRequirements>
|
|
62
36
|
</AiderDeskSystemPrompt>
|