@aiderdesk/aiderdesk 0.73.0 → 0.75.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/{open-telemetry-baOvr6sK.js → open-telemetry-B7yROZIC.js} +3 -0
- package/out/renderer/assets/{AgentSettings-B8NFKgLb.js → AgentSettings-DX34HLFv.js} +4561 -3203
- package/out/renderer/assets/{InfoIcon-DhMP8XnB.js → InfoIcon-DzyZQ7Ye.js} +1 -1
- package/out/renderer/assets/{Onboarding-CmlEw4fh.js → Onboarding-FwXfKZ8B.js} +4 -4
- package/out/renderer/assets/{ProviderHeader-DMNcKpGs.js → ProviderHeader-Cii9aAmV.js} +418 -197
- package/out/renderer/assets/{SettingsPage-CmOR4wA1.js → SettingsPage-XanGltUZ.js} +13 -7
- package/out/renderer/assets/{UsageDashboard-BGAWd1b2.js → UsageDashboard-eHbvZTZC.js} +3795 -2366
- package/out/renderer/assets/{arc-Jg3VSYdu.js → arc-CVfdiTl1.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-3BPJPVTR-BhT1Ad0h.js → architectureDiagram-3BPJPVTR-DsLLo_Ek.js} +3 -3
- package/out/renderer/assets/{blockDiagram-GPEHLZMM-BZuMX6U_.js → blockDiagram-GPEHLZMM-eWy47S0_.js} +4 -4
- package/out/renderer/assets/{c4Diagram-AAUBKEIU-QL7T5rpZ.js → c4Diagram-AAUBKEIU-BH9b_e6y.js} +2 -2
- package/out/renderer/assets/{channel-K2W31OE5.js → channel-D1z_mPGJ.js} +1 -1
- package/out/renderer/assets/{chunk-2J33WTMH-LumY2cbE.js → chunk-2J33WTMH-DK0Yw_7f.js} +1 -1
- package/out/renderer/assets/{chunk-4BX2VUAB-GLhRzKG1.js → chunk-4BX2VUAB-DIGR8Y5b.js} +1 -1
- package/out/renderer/assets/{chunk-55IACEB6-B3B3AcnH.js → chunk-55IACEB6-DoCkLI5e.js} +1 -1
- package/out/renderer/assets/{chunk-727SXJPM-DMyZUEKf.js → chunk-727SXJPM-C2gQLzLi.js} +5 -5
- package/out/renderer/assets/{chunk-AQP2D5EJ-CQsD5TCd.js → chunk-AQP2D5EJ-D83_SlRR.js} +3 -3
- package/out/renderer/assets/{chunk-FMBD7UC4-x4SmU5Oe.js → chunk-FMBD7UC4-CyiPoUsC.js} +1 -1
- package/out/renderer/assets/{chunk-ND2GUHAM-pT6s9nFT.js → chunk-ND2GUHAM-DfGsUYDD.js} +1 -1
- package/out/renderer/assets/{chunk-QZHKN3VN-Cv8umQxL.js → chunk-QZHKN3VN-BhnTFlht.js} +1 -1
- package/out/renderer/assets/{classDiagram-4FO5ZUOK-DmOcXaER.js → classDiagram-4FO5ZUOK-Dy7E8tVe.js} +6 -6
- package/out/renderer/assets/{classDiagram-v2-Q7XG4LA2-DmOcXaER.js → classDiagram-v2-Q7XG4LA2-Dy7E8tVe.js} +6 -6
- package/out/renderer/assets/{cose-bilkent-S5V4N54A-Bi6ESdxa.js → cose-bilkent-S5V4N54A-Dsl61WN3.js} +1 -1
- package/out/renderer/assets/{dagre-BM42HDAG-BK2slT53.js → dagre-BM42HDAG-D-u18G94.js} +3 -3
- package/out/renderer/assets/{diagram-2AECGRRQ-DkgLH6e2.js → diagram-2AECGRRQ-BumP49Qp.js} +3 -3
- package/out/renderer/assets/{diagram-5GNKFQAL-BwAieVd0.js → diagram-5GNKFQAL-VpUN87Sw.js} +4 -4
- package/out/renderer/assets/{diagram-KO2AKTUF-D6Km_LB9.js → diagram-KO2AKTUF-CXCWwzRa.js} +3 -3
- package/out/renderer/assets/{diagram-LMA3HP47-BhWSHEeO.js → diagram-LMA3HP47-vlOcStwn.js} +3 -3
- package/out/renderer/assets/{diagram-OG6HWLK6-zoN4RvNr.js → diagram-OG6HWLK6-DS1BscxN.js} +4 -4
- package/out/renderer/assets/{erDiagram-TEJ5UH35-DooZS_mc.js → erDiagram-TEJ5UH35-DPi6-CLL.js} +4 -4
- package/out/renderer/assets/{flowDiagram-I6XJVG4X-CmZPvaDJ.js → flowDiagram-I6XJVG4X-BYlX12Cd.js} +6 -6
- package/out/renderer/assets/{ganttDiagram-6RSMTGT7-Bx6OJzRM.js → ganttDiagram-6RSMTGT7-BJQl-A9d.js} +3 -3
- package/out/renderer/assets/{gitGraphDiagram-PVQCEYII-BPUT8Ht7.js → gitGraphDiagram-PVQCEYII-CUFXx3IZ.js} +4 -4
- package/out/renderer/assets/{graph-CwC0h_b8.js → graph-CbFubTTc.js} +1 -1
- package/out/renderer/assets/{index-DOOlJc12.js → index-9GNr8q1O.js} +1 -1
- package/out/renderer/assets/{index-BSFaA4XQ.js → index-B6R_BNfE.js} +1 -1
- package/out/renderer/assets/{index-PGLvyST0.js → index-B9iW9QmT.js} +1 -1
- package/out/renderer/assets/{index-DqiktxfT.js → index-BkdacTnN.js} +1 -1
- package/out/renderer/assets/{index-ChKmR4QP.js → index-C7885gEz.js} +1 -1
- package/out/renderer/assets/{index-CXq4cCbe.js → index-Cg7tn967.js} +576 -251
- package/out/renderer/assets/{index-B3o44aT2.css → index-DCILJy4w.css} +50 -16
- package/out/renderer/assets/{index-CI0IUNzz.js → index-DNlMJMPg.js} +4194 -3241
- package/out/renderer/assets/{index-BrZFlbuf.js → index-DYKLRIHT.js} +1 -1
- package/out/renderer/assets/{index-Ds5GQdTm.js → index-DeoI6jti.js} +1 -1
- package/out/renderer/assets/{index-xI0MsLE8.js → index-fD843lMX.js} +1 -1
- package/out/renderer/assets/{infoDiagram-5YYISTIA-C77gIx1a.js → infoDiagram-5YYISTIA-IWJLFUYz.js} +2 -2
- package/out/renderer/assets/{ishikawaDiagram-YF4QCWOH-DZ8xk7_N.js → ishikawaDiagram-YF4QCWOH-BuNfm7cB.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-JHISSGLW-BLPdv_c5.js → journeyDiagram-JHISSGLW-CfceKUHO.js} +4 -4
- package/out/renderer/assets/{jsx-dev-runtime-1M6DZ35g.js → jsx-dev-runtime-DT3FTts0.js} +1 -1
- package/out/renderer/assets/{kanban-definition-UN3LZRKU-CMHVN7c3.js → kanban-definition-UN3LZRKU-Bb6YnEgS.js} +2 -2
- package/out/renderer/assets/{layout-BJqshyQm.js → layout-BkrDn6V9.js} +2 -2
- package/out/renderer/assets/{linear-CbEhS1qE.js → linear-jxO_dc8P.js} +1 -1
- package/out/renderer/assets/{mindmap-definition-RKZ34NQL-C8Cz7pQU.js → mindmap-definition-RKZ34NQL-BPRx7p9A.js} +3 -3
- package/out/renderer/assets/{pieDiagram-4H26LBE5-Bx5tSw6i.js → pieDiagram-4H26LBE5-CPR4AuPM.js} +4 -4
- package/out/renderer/assets/{quadrantDiagram-W4KKPZXB-CX6DcDEk.js → quadrantDiagram-W4KKPZXB-BKzlAr7m.js} +2 -2
- package/out/renderer/assets/{requirementDiagram-4Y6WPE33-qBp8nKy9.js → requirementDiagram-4Y6WPE33-CUan3EZI.js} +3 -3
- package/out/renderer/assets/{sankeyDiagram-5OEKKPKP-B5zYIsBo.js → sankeyDiagram-5OEKKPKP-y8X8qnX2.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-3UESZ5HK-C57DtTdH.js → sequenceDiagram-3UESZ5HK-B4xv8iDW.js} +3 -3
- package/out/renderer/assets/{stateDiagram-AJRCARHV-CGRyr6CG.js → stateDiagram-AJRCARHV-DTPE2Z4L.js} +6 -6
- package/out/renderer/assets/{stateDiagram-v2-BHNVJYJU-3hvBe5lv.js → stateDiagram-v2-BHNVJYJU-BmZ9o6q3.js} +4 -4
- package/out/renderer/assets/{time-B3bXse3U.js → time-D391Z6zp.js} +1 -1
- package/out/renderer/assets/{timeline-definition-PNZ67QCA-Dpq0iPd0.js → timeline-definition-PNZ67QCA-DVLUB2HD.js} +2 -2
- package/out/renderer/assets/{vennDiagram-CIIHVFJN-_jSNuVb5.js → vennDiagram-CIIHVFJN-BGGBlVN1.js} +1 -1
- package/out/renderer/assets/{wardley-L42UT6IY-DixmVaQZ.js → wardley-L42UT6IY-ZVVSjQUD.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-YWT4CUSO-DMK4zc32.js → wardleyDiagram-YWT4CUSO-CRAH-LRw.js} +3 -3
- package/out/renderer/assets/{xychartDiagram-2RQKCTM6-DKPuWmAF.js → xychartDiagram-2RQKCTM6-DQqvm7M3.js} +2 -2
- package/out/renderer/index.html +2 -2
- package/out/resources/linux/probe +0 -0
- package/out/resources/linux-x64/probe +0 -0
- package/out/resources/skills/agent-creator/SKILL.md +223 -0
- package/out/resources/skills/agent-creator/assets/examples/sample-profile.json +47 -0
- package/out/resources/skills/agent-creator/assets/templates/config.json.template +47 -0
- package/out/resources/skills/agent-creator/references/agent-profile-schema.md +294 -0
- package/out/resources/skills/agent-creator/references/profile-examples.md +490 -0
- package/out/resources/skills/agent-creator/references/subagent-guide.md +317 -0
- package/out/resources/skills/agent-creator/references/tool-approval-guide.md +484 -0
- package/out/resources/skills/extension-creator/SKILL.md +71 -7
- package/out/resources/skills/extension-creator/references/event-types.md +543 -40
- package/out/resources/skills/extension-creator/references/examples-gallery.md +23 -14
- package/out/resources/skills/extension-creator/references/extension-interface.md +1111 -171
- package/out/resources/skills/extension-creator/references/ui-components.md +34 -6
- package/out/runner.js +11164 -10392
- package/package.json +21 -19
- package/patches/@requesty+ai-sdk+3.5.0.patch +84 -0
- package/patches/ai+7.0.28.patch +33 -0
- package/patches/ai+5.0.195.patch +0 -33
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GenIcon } from "./index-
|
|
1
|
+
import { G as GenIcon } from "./index-DNlMJMPg.js";
|
|
2
2
|
function DiAndroid(props) {
|
|
3
3
|
return GenIcon({ "attr": { "version": "1.1", "viewBox": "0 0 32 32" }, "child": [{ "tag": "path", "attr": { "d": "M6.802 20.283c0 1.23-0.857 2.237-1.904 2.237s-1.905-1.006-1.905-2.237v-7.321c0-1.23 0.857-2.237 1.905-2.237s1.904 1.007 1.904 2.237v7.321zM29.007 20.283c0 1.23-0.857 2.237-1.905 2.237s-1.905-1.006-1.905-2.237v-7.321c0-1.23 0.857-2.237 1.905-2.237s1.905 1.007 1.905 2.237v7.321zM20.164 3.649l1.222-2.193c0.1-0.179 0.070-0.388-0.065-0.463s-0.329 0.009-0.428 0.188l-1.25 2.244c-1.115-0.439-2.364-0.684-3.684-0.684-1.33 0-2.588 0.25-3.71 0.695l-1.256-2.254c-0.1-0.179-0.293-0.264-0.428-0.188s-0.165 0.284-0.065 0.463l1.228 2.204c-2.555 1.2-4.276 3.453-4.276 6.035 0 0.262 0.019 0.521 0.053 0.776h16.909c0.035-0.255 0.053-0.513 0.053-0.776 0-2.59-1.732-4.849-4.301-6.046zM12.097 7.477c-0.411 0-0.744-0.333-0.744-0.744s0.333-0.744 0.744-0.744 0.744 0.333 0.744 0.744c0 0.411-0.333 0.744-0.744 0.744zM19.861 7.477c-0.411 0-0.744-0.333-0.744-0.744s0.333-0.744 0.744-0.744 0.744 0.333 0.744 0.744c0 0.411-0.333 0.744-0.744 0.744zM7.45 11.211v12.471h0.007c0.087 1.053 1.056 1.89 2.23 1.89h12.541c1.173 0 2.142-0.837 2.23-1.89h0.007v-12.471h-17.014zM14.74 25.51v3.858c0 1.23-0.857 2.237-1.905 2.237s-1.904-1.007-1.904-2.237v-3.855zM21.088 25.508v3.86c0 1.23-0.857 2.237-1.905 2.237s-1.905-1.007-1.905-2.237v-3.86z" }, "child": [] }] })(props);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GenIcon } from "./index-
|
|
1
|
+
import { G as GenIcon } from "./index-DNlMJMPg.js";
|
|
2
2
|
function WiAlien(props) {
|
|
3
3
|
return GenIcon({ "attr": { "version": "1.1", "id": "Layer_1", "x": "0px", "y": "0px", "viewBox": "0 0 30 30", "style": "enable-background:new 0 0 30 30;" }, "child": [{ "tag": "path", "attr": { "d": "M8.75,15.54c-1.12-2.4-0.95-4.66,0.52-6.79c1.03-1.48,2.6-2.39,4.73-2.72c0.16-0.04,0.34-0.07,0.54-0.08h0.63\n c2.91,0.09,5.05,1.38,6.4,3.88c0.64,1.18,0.8,2.48,0.48,3.91c-0.26,1.13-0.68,2.19-1.28,3.17c-1.29,2.01-2.63,3.64-4,4.88\n c-0.07,0.07-0.17,0.16-0.3,0.26c-0.46,0.35-0.89,0.53-1.28,0.54s-0.83-0.14-1.31-0.45c-0.29-0.17-0.53-0.37-0.74-0.59\n C11.18,19.55,9.71,17.55,8.75,15.54z M8.86,13.33c0.02,0.11,0.05,0.25,0.09,0.44s0.07,0.32,0.09,0.4c0.28,1.26,0.86,2.23,1.73,2.93\n c0.88,0.7,1.96,1.11,3.26,1.23c0.29,0.03,0.46,0.02,0.51-0.03s0.08-0.23,0.09-0.52c-0.01-0.08-0.03-0.21-0.05-0.39\n c-0.02-0.18-0.04-0.31-0.06-0.39c-0.25-1.34-0.88-2.32-1.9-2.93c-0.18-0.11-0.39-0.22-0.62-0.34s-0.44-0.2-0.61-0.27\n c-0.17-0.07-0.4-0.16-0.69-0.27c-0.29-0.11-0.5-0.19-0.63-0.25c-0.16-0.06-0.42-0.1-0.8-0.11C8.95,12.83,8.81,13,8.86,13.33z\n M15.66,17.73c-0.02,0.31,0,0.49,0.06,0.56c0.07,0.07,0.25,0.08,0.55,0.04c0.38-0.04,0.78-0.12,1.2-0.22\n c1.07-0.27,1.94-0.84,2.62-1.71c0.34-0.41,0.6-0.86,0.77-1.34s0.34-1.05,0.47-1.72c0.05-0.23,0.04-0.38-0.03-0.46\n c-0.07-0.08-0.22-0.11-0.44-0.08c-0.59,0.1-1.12,0.23-1.59,0.4c-1.15,0.43-2.02,1.01-2.62,1.74C16.05,15.68,15.72,16.6,15.66,17.73z\n " }, "child": [] }] })(props);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GenIcon } from "./index-
|
|
1
|
+
import { G as GenIcon } from "./index-DNlMJMPg.js";
|
|
2
2
|
function FcAbout(props) {
|
|
3
3
|
return GenIcon({ "attr": { "version": "1", "viewBox": "0 0 48 48", "enableBackground": "new 0 0 48 48" }, "child": [{ "tag": "path", "attr": { "fill": "#2196F3", "d": "M37,40H11l-6,6V12c0-3.3,2.7-6,6-6h26c3.3,0,6,2.7,6,6v22C43,37.3,40.3,40,37,40z" }, "child": [] }, { "tag": "g", "attr": { "fill": "#fff" }, "child": [{ "tag": "rect", "attr": { "x": "22", "y": "20", "width": "4", "height": "11" }, "child": [] }, { "tag": "circle", "attr": { "cx": "24", "cy": "15", "r": "2" }, "child": [] }] }] })(props);
|
|
4
4
|
}
|
package/out/renderer/assets/{infoDiagram-5YYISTIA-C77gIx1a.js → infoDiagram-5YYISTIA-IWJLFUYz.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as __name, O as log, an as selectSvgElement, Q as configureSvgSize } from "./index-
|
|
2
|
-
import { p as parse } from "./wardley-L42UT6IY-
|
|
1
|
+
import { _ as __name, O as log, an as selectSvgElement, Q as configureSvgSize } from "./index-DNlMJMPg.js";
|
|
2
|
+
import { p as parse } from "./wardley-L42UT6IY-ZVVSjQUD.js";
|
|
3
3
|
var parser = {
|
|
4
4
|
parse: /* @__PURE__ */ __name(async (input) => {
|
|
5
5
|
const ast = await parse("info", input);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __name, L as getConfig2, aI as parseFontSize, an as selectSvgElement, a_ as at, ac as clear, Z as common_default, a5 as setDiagramTitle, J as getAccTitle, K as setAccTitle, H as getAccDescription, C as setAccDescription, a6 as getDiagramTitle, Q as configureSvgSize } from "./index-
|
|
1
|
+
import { _ as __name, L as getConfig2, aI as parseFontSize, an as selectSvgElement, a_ as at, ac as clear, Z as common_default, a5 as setDiagramTitle, J as getAccTitle, K as setAccTitle, H as getAccDescription, C as setAccDescription, a6 as getDiagramTitle, Q as configureSvgSize } from "./index-DNlMJMPg.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) ;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as getIconStyles } from "./chunk-FMBD7UC4-
|
|
2
|
-
import { a as drawBackgroundRect, g as getNoteRect, h as drawText, d as drawRect } from "./chunk-ND2GUHAM-
|
|
3
|
-
import { H as getAccDescription, C as setAccDescription, J as getAccTitle, K as setAccTitle, a6 as getDiagramTitle, a5 as setDiagramTitle, _ as __name, L as getConfig2, N as select, Q as configureSvgSize, ac as clear } from "./index-
|
|
4
|
-
import { d as d3arc } from "./arc-
|
|
1
|
+
import { g as getIconStyles } from "./chunk-FMBD7UC4-CyiPoUsC.js";
|
|
2
|
+
import { a as drawBackgroundRect, g as getNoteRect, h as drawText, d as drawRect } from "./chunk-ND2GUHAM-DfGsUYDD.js";
|
|
3
|
+
import { H as getAccDescription, C as setAccDescription, J as getAccTitle, K as setAccTitle, a6 as getDiagramTitle, a5 as setDiagramTitle, _ as __name, L as getConfig2, N as select, Q as configureSvgSize, ac as clear } from "./index-DNlMJMPg.js";
|
|
4
|
+
import { d as d3arc } from "./arc-CVfdiTl1.js";
|
|
5
5
|
var parser = (function() {
|
|
6
6
|
var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
|
|
7
7
|
for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as __name, O as log, L as getConfig2, an as selectSvgElement, aW as insertCluster, aX as insertNode, aY as positionNode, aS as setupGraphViewbox, al as defaultConfig_default, W as sanitizeText, a7 as load, a8 as JSON_SCHEMA, aP as isDark, aQ as lighten, aR as darken } from "./index-
|
|
2
|
-
import { g as getIconStyles } from "./chunk-FMBD7UC4-
|
|
1
|
+
import { _ as __name, O as log, L as getConfig2, an as selectSvgElement, aW as insertCluster, aX as insertNode, aY as positionNode, aS as setupGraphViewbox, al as defaultConfig_default, W as sanitizeText, a7 as load, a8 as JSON_SCHEMA, aP as isDark, aQ as lighten, aR as darken } from "./index-DNlMJMPg.js";
|
|
2
|
+
import { g as getIconStyles } from "./chunk-FMBD7UC4-CyiPoUsC.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,5 +1,5 @@
|
|
|
1
|
-
import { d as defineProperty, b as baseRest, a as baseFlatten, s as setToString, o as overRest, c as arrayEach, e as isArrayLikeObject, f as baseFor, g as baseIteratee, h as baseFindIndex, j as baseEach, k as arrayMap, l as castFunction, m as baseForOwn, n as hasPath, p as identity, q as castPath, t as toKey, r as baseGet, u as hasIn, v as toString, G as Graph, w as forEach, x as constant, i as isUndefined, y as filter, z as values, A as reduce } from "./graph-
|
|
2
|
-
import {
|
|
1
|
+
import { d as defineProperty, b as baseRest, a as baseFlatten, s as setToString, o as overRest, c as arrayEach, e as isArrayLikeObject, f as baseFor, g as baseIteratee, h as baseFindIndex, j as baseEach, k as arrayMap, l as castFunction, m as baseForOwn, n as hasPath, p as identity, q as castPath, t as toKey, r as baseGet, u as hasIn, v as toString, G as Graph, w as forEach, x as constant, i as isUndefined, y as filter, z as values, A as reduce } from "./graph-CbFubTTc.js";
|
|
2
|
+
import { fh as toNumber, eU as isObject, fi as eq, eY as isArrayLike, eX as isIndex, f2 as isPrototype, fj as arrayLikeKeys, fk as overArg, eZ as isObjectLike, fl as baseGetTag, eV as keys, fm as root, fn as getSymbols, fo as stubArray, eR as arrayPush, fp as baseGetAllKeys, fq as Uint8Array, eN as Symbol$1, f1 as getTag, fr as baseUnary, fs as nodeUtil, e$ as isBuffer, eS as Stack, eL as isArray, ft as getAllKeys, f0 as isTypedArray, eQ as isArguments, f8 as isFunction, eM as isSymbol } from "./index-DNlMJMPg.js";
|
|
3
3
|
var INFINITY = 1 / 0, MAX_INTEGER = 17976931348623157e292;
|
|
4
4
|
function toFinite(value) {
|
|
5
5
|
if (!value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dw as constant, dx as interpolateNumber, dy as color, dz as interpolateRgb, dA as interpolateString } from "./index-
|
|
1
|
+
import { dw as constant, dx as interpolateNumber, dy as color, dz as interpolateRgb, dA as interpolateString } from "./index-DNlMJMPg.js";
|
|
2
2
|
import { i as initRange } from "./init-CTO7spbL.js";
|
|
3
3
|
import { e as exponent, f as formatSpecifier, a as formatPrefix, b as format } from "./defaultLocale-B2RvLBDe.js";
|
|
4
4
|
function ascending(a, b) {
|
|
@@ -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, a2 as getRegisteredLayoutAlgorithm, a3 as render, ai as getConfig, al as defaultConfig_default, L as getConfig2, W as sanitizeText, aU as getUserDefinedConfig, aV as v4, aP as isDark, aQ as lighten, aR as darken } from "./index-
|
|
1
|
+
import { g as getDiagramElement } from "./chunk-55IACEB6-DoCkLI5e.js";
|
|
2
|
+
import { s as setupViewPortForSVG } from "./chunk-2J33WTMH-DK0Yw_7f.js";
|
|
3
|
+
import { _ as __name, O as log, a2 as getRegisteredLayoutAlgorithm, a3 as render, ai as getConfig, al as defaultConfig_default, L as getConfig2, W as sanitizeText, aU as getUserDefinedConfig, aV as v4, aP as isDark, aQ as lighten, aR as darken } from "./index-DNlMJMPg.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) ;
|
package/out/renderer/assets/{pieDiagram-4H26LBE5-Bx5tSw6i.js → pieDiagram-4H26LBE5-CPR4AuPM.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { az as constant, ar as tau, bV as array, H as getAccDescription, C as setAccDescription, J as getAccTitle, K as setAccTitle, a6 as getDiagramTitle, a5 as setDiagramTitle, _ as __name, O as log, L as getConfig2$1, ak as cleanAndMerge, an as selectSvgElement, aI as parseFontSize, Q as configureSvgSize, ac as clear, al as defaultConfig_default } from "./index-
|
|
2
|
-
import { p as populateCommonDb } from "./chunk-4BX2VUAB-
|
|
3
|
-
import { p as parse } from "./wardley-L42UT6IY-
|
|
4
|
-
import { d as d3arc } from "./arc-
|
|
1
|
+
import { az as constant, ar as tau, bV as array, H as getAccDescription, C as setAccDescription, J as getAccTitle, K as setAccTitle, a6 as getDiagramTitle, a5 as setDiagramTitle, _ as __name, O as log, L as getConfig2$1, ak as cleanAndMerge, an as selectSvgElement, aI as parseFontSize, Q as configureSvgSize, ac as clear, al as defaultConfig_default } from "./index-DNlMJMPg.js";
|
|
2
|
+
import { p as populateCommonDb } from "./chunk-4BX2VUAB-DIGR8Y5b.js";
|
|
3
|
+
import { p as parse } from "./wardley-L42UT6IY-ZVVSjQUD.js";
|
|
4
|
+
import { d as d3arc } from "./arc-CVfdiTl1.js";
|
|
5
5
|
import { o as ordinal } from "./ordinal-BD3Y6v77.js";
|
|
6
6
|
import "./init-CTO7spbL.js";
|
|
7
7
|
function descending(a, b) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as setAccDescription, H as getAccDescription, a6 as getDiagramTitle, a5 as setDiagramTitle, J as getAccTitle, K as setAccTitle, _ as __name, L as getConfig2, O as log, N as select, Q as configureSvgSize, ac as clear, al as defaultConfig_default, W as sanitizeText, aD as getThemeVariables3 } from "./index-
|
|
2
|
-
import { l as linear } from "./linear-
|
|
1
|
+
import { C as setAccDescription, H as getAccDescription, a6 as getDiagramTitle, a5 as setDiagramTitle, J as getAccTitle, K as setAccTitle, _ as __name, L as getConfig2, O as log, N as select, Q as configureSvgSize, ac as clear, al as defaultConfig_default, W as sanitizeText, aD as getThemeVariables3 } from "./index-DNlMJMPg.js";
|
|
2
|
+
import { l as linear } from "./linear-jxO_dc8P.js";
|
|
3
3
|
import "./init-CTO7spbL.js";
|
|
4
4
|
import "./defaultLocale-B2RvLBDe.js";
|
|
5
5
|
var parser = (function() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as getDiagramElement } from "./chunk-55IACEB6-
|
|
2
|
-
import { s as setupViewPortForSVG } from "./chunk-2J33WTMH-
|
|
3
|
-
import { _ as __name, ai as getConfig, K as setAccTitle, J as getAccTitle, C as setAccDescription, H as getAccDescription, a5 as setDiagramTitle, a6 as getDiagramTitle, L as getConfig2, O as log, ac as clear, ah as __export, a2 as getRegisteredLayoutAlgorithm, a3 as render, a4 as utils_default } from "./index-
|
|
1
|
+
import { g as getDiagramElement } from "./chunk-55IACEB6-DoCkLI5e.js";
|
|
2
|
+
import { s as setupViewPortForSVG } from "./chunk-2J33WTMH-DK0Yw_7f.js";
|
|
3
|
+
import { _ as __name, ai as getConfig, K as setAccTitle, J as getAccTitle, C as setAccDescription, H as getAccDescription, a5 as setDiagramTitle, a6 as getDiagramTitle, L as getConfig2, O as log, ac as clear, ah as __export, a2 as getRegisteredLayoutAlgorithm, a3 as render, a4 as utils_default } from "./index-DNlMJMPg.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 { a5 as setDiagramTitle, a6 as getDiagramTitle, C as setAccDescription, H as getAccDescription, K as setAccTitle, J as getAccTitle, _ as __name, L as getConfig2, ad as defaultConfig2, N as select, aS as setupGraphViewbox, ac as clear, Z as common_default } from "./index-
|
|
1
|
+
import { a5 as setDiagramTitle, a6 as getDiagramTitle, C as setAccDescription, H as getAccDescription, K as setAccTitle, J as getAccTitle, _ as __name, L as getConfig2, ad as defaultConfig2, N as select, aS as setupGraphViewbox, ac as clear, Z as common_default } from "./index-DNlMJMPg.js";
|
|
2
2
|
import { o as ordinal } from "./ordinal-BD3Y6v77.js";
|
|
3
3
|
import "./init-CTO7spbL.js";
|
|
4
4
|
function colors(specifier) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __name, a1 as setConfig2, L as getConfig2, N as select, O as log, X as distExports, Q as configureSvgSize, T as assignWithDepth_default, Z as common_default, K as setAccTitle, C as setAccDescription, a5 as setDiagramTitle, J as getAccTitle, H as getAccDescription, a6 as getDiagramTitle, a7 as load, a8 as JSON_SCHEMA, ac as clear, W as sanitizeText, a4 as utils_default, aG as hasKatex, aH as calculateMathMLDimensions, aI as parseFontSize, aJ as ZERO_WIDTH_SPACE, ai as getConfig, aK as getUrl, aL as renderKatexSanitized } from "./index-
|
|
2
|
-
import { a as drawBackgroundRect, b as getTextObj, g as getNoteRect, d as drawRect, e as drawEmbeddedImage, f as drawImage } from "./chunk-ND2GUHAM-
|
|
3
|
-
import { I as ImperativeState } from "./chunk-QZHKN3VN-
|
|
1
|
+
import { _ as __name, a1 as setConfig2, L as getConfig2, N as select, O as log, X as distExports, Q as configureSvgSize, T as assignWithDepth_default, Z as common_default, K as setAccTitle, C as setAccDescription, a5 as setDiagramTitle, J as getAccTitle, H as getAccDescription, a6 as getDiagramTitle, a7 as load, a8 as JSON_SCHEMA, ac as clear, W as sanitizeText, a4 as utils_default, aG as hasKatex, aH as calculateMathMLDimensions, aI as parseFontSize, aJ as ZERO_WIDTH_SPACE, ai as getConfig, aK as getUrl, aL as renderKatexSanitized } from "./index-DNlMJMPg.js";
|
|
2
|
+
import { a as drawBackgroundRect, b as getTextObj, g as getNoteRect, d as drawRect, e as drawEmbeddedImage, f as drawImage } from "./chunk-ND2GUHAM-DfGsUYDD.js";
|
|
3
|
+
import { I as ImperativeState } from "./chunk-QZHKN3VN-BhnTFlht.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) ;
|
package/out/renderer/assets/{stateDiagram-AJRCARHV-CGRyr6CG.js → stateDiagram-AJRCARHV-DTPE2Z4L.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as styles_default, a as stateDiagram_default, S as StateDB } from "./chunk-AQP2D5EJ-
|
|
2
|
-
import { _ as __name, L as getConfig2, N as select, O as log, Q as configureSvgSize, Z as common_default, aF as shapeLine, aN as curveBasis, aK as getUrl, a4 as utils_default } from "./index-
|
|
3
|
-
import { G as Graph } from "./graph-
|
|
4
|
-
import { l as layout } from "./layout-
|
|
5
|
-
import "./chunk-55IACEB6-
|
|
6
|
-
import "./chunk-2J33WTMH-
|
|
1
|
+
import { s as styles_default, a as stateDiagram_default, S as StateDB } from "./chunk-AQP2D5EJ-D83_SlRR.js";
|
|
2
|
+
import { _ as __name, L as getConfig2, N as select, O as log, Q as configureSvgSize, Z as common_default, aF as shapeLine, aN as curveBasis, aK as getUrl, a4 as utils_default } from "./index-DNlMJMPg.js";
|
|
3
|
+
import { G as Graph } from "./graph-CbFubTTc.js";
|
|
4
|
+
import { l as layout } from "./layout-BkrDn6V9.js";
|
|
5
|
+
import "./chunk-55IACEB6-DoCkLI5e.js";
|
|
6
|
+
import "./chunk-2J33WTMH-DK0Yw_7f.js";
|
|
7
7
|
var drawStartState = /* @__PURE__ */ __name((g) => g.append("circle").attr("class", "start-state").attr("r", getConfig2().state.sizeUnit).attr("cx", getConfig2().state.padding + getConfig2().state.sizeUnit).attr("cy", getConfig2().state.padding + getConfig2().state.sizeUnit), "drawStartState");
|
|
8
8
|
var drawDivider = /* @__PURE__ */ __name((g) => g.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", getConfig2().state.textHeight).attr("class", "divider").attr("x2", getConfig2().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider");
|
|
9
9
|
var drawSimpleState = /* @__PURE__ */ __name((g, stateDef) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as styles_default, b as stateRenderer_v3_unified_default, a as stateDiagram_default, S as StateDB } from "./chunk-AQP2D5EJ-
|
|
2
|
-
import { _ as __name } from "./index-
|
|
3
|
-
import "./chunk-55IACEB6-
|
|
4
|
-
import "./chunk-2J33WTMH-
|
|
1
|
+
import { s as styles_default, b as stateRenderer_v3_unified_default, a as stateDiagram_default, S as StateDB } from "./chunk-AQP2D5EJ-D83_SlRR.js";
|
|
2
|
+
import { _ as __name } from "./index-DNlMJMPg.js";
|
|
3
|
+
import "./chunk-55IACEB6-DoCkLI5e.js";
|
|
4
|
+
import "./chunk-2J33WTMH-DK0Yw_7f.js";
|
|
5
5
|
var diagram = {
|
|
6
6
|
parser: stateDiagram_default,
|
|
7
7
|
get db() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as bisector, t as tickStep, c as continuous, a as copy } from "./linear-
|
|
1
|
+
import { b as bisector, t as tickStep, c as continuous, a as copy } from "./linear-jxO_dc8P.js";
|
|
2
2
|
import { i as initRange } from "./init-CTO7spbL.js";
|
|
3
3
|
function max(values, valueof) {
|
|
4
4
|
let max2;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as __name, ai as getConfig, aP as isDark, aQ as lighten, aR as darken, L as getConfig2, O as log, an as selectSvgElement, aI as parseFontSize, aS as setupGraphViewbox, N as select, ah as __export, aT as commonDb_exports, ac as clear } from "./index-
|
|
2
|
-
import { d as d3arc } from "./arc-
|
|
1
|
+
import { _ as __name, ai as getConfig, aP as isDark, aQ as lighten, aR as darken, L as getConfig2, O as log, an as selectSvgElement, aI as parseFontSize, aS as setupGraphViewbox, N as select, ah as __export, aT as commonDb_exports, ac as clear } from "./index-DNlMJMPg.js";
|
|
2
|
+
import { d as d3arc } from "./arc-CVfdiTl1.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) ;
|
package/out/renderer/assets/{vennDiagram-CIIHVFJN-_jSNuVb5.js → vennDiagram-CIIHVFJN-BGGBlVN1.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bL as adjustChannel, C as setAccDescription, H as getAccDescription, a6 as getDiagramTitle, a5 as setDiagramTitle, J as getAccTitle, K as setAccTitle, _ as __name, ai as getConfig, an as selectSvgElement, N as select, a_ as at, aP as isDark, aQ as lighten, aR as darken, Q as configureSvgSize, ac as clear, ak as cleanAndMerge, al as defaultConfig_default } from "./index-
|
|
1
|
+
import { bL as adjustChannel, C as setAccDescription, H as getAccDescription, a6 as getDiagramTitle, a5 as setDiagramTitle, J as getAccTitle, K as setAccTitle, _ as __name, ai as getConfig, an as selectSvgElement, N as select, a_ as at, aP as isDark, aQ as lighten, aR as darken, Q as configureSvgSize, ac as clear, ak as cleanAndMerge, al as defaultConfig_default } from "./index-DNlMJMPg.js";
|
|
2
2
|
const transparentize = (color, amount) => {
|
|
3
3
|
return adjustChannel(color, "a", -amount);
|
|
4
4
|
};
|
|
@@ -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, aD as getThemeVariables3, ai as getConfig, ak as cleanAndMerge, O as log, an as selectSvgElement, Q as configureSvgSize, ac as clear, L as getConfig2 } 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, aD as getThemeVariables3, ai as getConfig, ak as cleanAndMerge, O as log, an as selectSvgElement, Q as configureSvgSize, ac as clear, L as getConfig2 } from "./index-DNlMJMPg.js";
|
|
2
|
+
import { p as populateCommonDb } from "./chunk-4BX2VUAB-DIGR8Y5b.js";
|
|
3
|
+
import { p as parse } from "./wardley-L42UT6IY-ZVVSjQUD.js";
|
|
4
4
|
var toPercent = /* @__PURE__ */ __name((value, context) => {
|
|
5
5
|
const normalized = value <= 1 ? value * 100 : value;
|
|
6
6
|
if (normalized < 0 || normalized > 100) {
|
|
@@ -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, O as log, an as selectSvgElement, Q as configureSvgSize, ac as clear, ai as getConfig, W as sanitizeText, ak as cleanAndMerge, al as defaultConfig_default, aD as getThemeVariables3, aE as computeDimensionOfText, aF as shapeLine } from "./index-
|
|
1
|
+
import { C as setAccDescription, H as getAccDescription, a6 as getDiagramTitle, a5 as setDiagramTitle, J as getAccTitle, K as setAccTitle, _ as __name, O as log, an as selectSvgElement, Q as configureSvgSize, ac as clear, ai as getConfig, W as sanitizeText, ak as cleanAndMerge, al as defaultConfig_default, aD as getThemeVariables3, aE as computeDimensionOfText, aF as shapeLine } from "./index-DNlMJMPg.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-jxO_dc8P.js";
|
|
4
4
|
import "./init-CTO7spbL.js";
|
|
5
5
|
import "./ordinal-BD3Y6v77.js";
|
|
6
6
|
import "./defaultLocale-B2RvLBDe.js";
|
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-DNlMJMPg.js"></script>
|
|
24
|
+
<link rel="stylesheet" crossorigin href="./assets/index-DCILJy4w.css">
|
|
25
25
|
</head>
|
|
26
26
|
|
|
27
27
|
<body>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent-creator
|
|
3
|
+
description: Create and configure AiderDesk agent profiles by defining tool groups, approval rules, system prompts, subagent settings, subagent filtering, and provider/model selection. Use when setting up a new agent, creating a profile, or configuring agent tools, permissions, and subagent behavior.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agent Profile Creator
|
|
7
|
+
|
|
8
|
+
Create agent profiles stored as `config.json` in `~/.aider-desk/agents/{name}/` (global) or `{project}/.aider-desk/agents/{name}/` (project-level).
|
|
9
|
+
|
|
10
|
+
Read all reference files before proposing a profile to ensure accuracy:
|
|
11
|
+
- `references/agent-profile-schema.md` — Complete property reference
|
|
12
|
+
- `references/subagent-guide.md` — Subagent config, system prompts, context memory, filtering
|
|
13
|
+
- `references/tool-approval-guide.md` — All tool groups, correct tool keys, approval strategies
|
|
14
|
+
- `references/profile-examples.md` — Complete working examples
|
|
15
|
+
|
|
16
|
+
## Q&A Process
|
|
17
|
+
|
|
18
|
+
Gather complete requirements before proposing a profile. Ask focused questions, propose internally, and present **one** final summary for approval.
|
|
19
|
+
|
|
20
|
+
### Step 1: Purpose & Behavior
|
|
21
|
+
|
|
22
|
+
Ask: "Describe the agent's purpose and what it should do."
|
|
23
|
+
|
|
24
|
+
Based on the response, internally propose:
|
|
25
|
+
- Name (derived from purpose)
|
|
26
|
+
- Max iterations (default `0` = unlimited; use a finite value like 250 for bounded tasks, or lower for focused tasks like review/analysis: 150)
|
|
27
|
+
- Tool groups (based on purpose — see Step 3)
|
|
28
|
+
- Custom instructions (free-text guidance appended to the system prompt)
|
|
29
|
+
- **System prompt** — does the agent need a fully custom system prompt that replaces the default built-in one? If the user describes specific behavioral constraints, role, or identity, propose a `systemPrompt`.
|
|
30
|
+
- **Subagent config** — should this profile be usable as a subagent? If yes, gather subagent-specific system prompt, invocation mode, color, description, and context memory mode.
|
|
31
|
+
|
|
32
|
+
### Step 2: Provider & Model
|
|
33
|
+
|
|
34
|
+
Ask: "Which provider/model? (format: provider/model, e.g., anthropic/claude-sonnet-5)"
|
|
35
|
+
|
|
36
|
+
- Split by first slash to get provider and model
|
|
37
|
+
- Use as-is (correct obvious typos only)
|
|
38
|
+
- If the user does not specify, **default to `anthropic` / `claude-sonnet-5`** (matching `DEFAULT_AGENT_PROFILE` / `DEFAULT_PROVIDER_MODELS` in `packages/common/src/agent.ts`). You may ask the user for their preferred provider/model, but if none is given, use these defaults.
|
|
39
|
+
- Optionally ask about `temperature` and `maxTokens` if the purpose implies precision (low temp) or creativity (high temp)
|
|
40
|
+
|
|
41
|
+
### Step 3: Tool Groups & Approvals
|
|
42
|
+
|
|
43
|
+
Based on the purpose, propose tool groups to enable. Present each group with a brief rationale:
|
|
44
|
+
|
|
45
|
+
| Tool Group Flag | Description | When to Enable |
|
|
46
|
+
|----------------|-------------|----------------|
|
|
47
|
+
| `usePowerTools` | File read/write/edit, glob, grep, bash, semantic_search, fetch | Most agents needing file or system access |
|
|
48
|
+
| `useAiderTools` | Aider AI code generation context management and run | Code generation/refactoring agents |
|
|
49
|
+
| `useTodoTools` | Todo list management | Agents tracking multi-step work |
|
|
50
|
+
| `useSubagents` | Delegate tasks to subagents | Orchestrator/manager agents |
|
|
51
|
+
| `useTaskTools` | Create/list/get/delete/search tasks, run prompts | Project management agents |
|
|
52
|
+
| `useMemoryTools` | Store/retrieve persisted knowledge | Most agents (disabled for stateless ones) |
|
|
53
|
+
| `useSkillsTools` | Activate skills | Agents that benefit from specialized skills |
|
|
54
|
+
| `useExtensionTools` | Tools provided by installed extensions (default: true) | Most agents; disable for sandboxed/isolated profiles |
|
|
55
|
+
|
|
56
|
+
For each enabled group, propose tool approval defaults (`always`, `ask`, `never`). Only include tools in `toolApprovals` that deviate from the default `"ask"`.
|
|
57
|
+
|
|
58
|
+
If `useSubagents` is enabled, ask: "Should this agent use all available subagents or only specific ones?" — set `enabledSubagentIds` if filtering is needed (omit for all).
|
|
59
|
+
|
|
60
|
+
### Step 4: Subagent Configuration
|
|
61
|
+
|
|
62
|
+
Ask: "Should this profile be usable as a subagent by other agents?"
|
|
63
|
+
|
|
64
|
+
If yes, gather:
|
|
65
|
+
- **Subagent system prompt** — specialized prompt for subagent role (distinct from the main agent `systemPrompt`)
|
|
66
|
+
- **Invocation mode** — automatic (needs a clear description) or on-demand
|
|
67
|
+
- **Context memory** — off (default), last-message, or full-context
|
|
68
|
+
- **Color** — visual identifier
|
|
69
|
+
- **Description** — required for automatic invocation; should contain domain keywords
|
|
70
|
+
|
|
71
|
+
### Step 5: Advanced Settings (Optional)
|
|
72
|
+
|
|
73
|
+
**Only ask if user mentioned** any of these:
|
|
74
|
+
- Temperature (0.1-1.0)
|
|
75
|
+
- Max tokens
|
|
76
|
+
- Min time between tool calls (rate limiting, in ms)
|
|
77
|
+
- MCP servers to enable (`enabledServers`)
|
|
78
|
+
- Rule files (markdown files placed in `~/.aider-desk/agents/{name}/rules/`)
|
|
79
|
+
- Auto-compaction overrides (`autoCompactThresholdPercentage`, `autoCompactThresholdTokens`, `autoCompactionType`)
|
|
80
|
+
- Bash tool settings (`allowedPattern` / `deniedPattern` regex)
|
|
81
|
+
|
|
82
|
+
If not mentioned, skip this step entirely.
|
|
83
|
+
|
|
84
|
+
### Step 6: Location
|
|
85
|
+
|
|
86
|
+
Ask: "Global profile (all projects) or project-specific? (default: global)"
|
|
87
|
+
|
|
88
|
+
### Step 7: Review & Confirm
|
|
89
|
+
|
|
90
|
+
Present **one complete summary** with all proposed properties:
|
|
91
|
+
|
|
92
|
+
- Name, provider/model, temperature/maxTokens (if set)
|
|
93
|
+
- Tool groups enabled with rationale
|
|
94
|
+
- Tool approvals (which are "never", which are "always"; rest default to "ask")
|
|
95
|
+
- System prompt (if any)
|
|
96
|
+
- Custom instructions (if any)
|
|
97
|
+
- Subagent config (if enabled)
|
|
98
|
+
- Subagent filtering (`enabledSubagentIds`, if applicable)
|
|
99
|
+
- Rule files (if any)
|
|
100
|
+
- Location (global/project)
|
|
101
|
+
|
|
102
|
+
Ask: "Here's your agent profile. Should I create it?"
|
|
103
|
+
|
|
104
|
+
**Do not ask for confirmations on individual items.** Only one final approval.
|
|
105
|
+
|
|
106
|
+
### Step 8: Create
|
|
107
|
+
|
|
108
|
+
On confirmation:
|
|
109
|
+
1. Choose a unique, readable `id` (e.g., `code-reviewer`, `security-auditor`). No UUID is required — readable names matching the examples are fine, as long as it is unique.
|
|
110
|
+
2. Build the complete `config.json` — verify structure against `references/profile-examples.md`
|
|
111
|
+
3. Do **not** include `ruleFiles` in config.json — rule files are dynamically discovered from the `rules/` subdirectory
|
|
112
|
+
4. Do **not** include `isSubagent` — it's a runtime flag
|
|
113
|
+
5. Create the directory and write `config.json`
|
|
114
|
+
6. If rule files were requested, create them as `.md` files in a `rules/` subdirectory next to `config.json`
|
|
115
|
+
|
|
116
|
+
## Tool Approval Strategy
|
|
117
|
+
|
|
118
|
+
**Keys: `{group}---{tool}`** (three dashes as separator)
|
|
119
|
+
|
|
120
|
+
**Default is "ask"**. Only explicitly set:
|
|
121
|
+
- **"never"**: Tools completely irrelevant to the agent's purpose
|
|
122
|
+
- **"always"**: Safe, essential, read-only operations
|
|
123
|
+
|
|
124
|
+
Do not include tools that should remain at default ("ask").
|
|
125
|
+
|
|
126
|
+
Only include tool keys that exist in `references/tool-approval-guide.md`.
|
|
127
|
+
|
|
128
|
+
## System Prompt Strategy
|
|
129
|
+
|
|
130
|
+
Two distinct system prompt fields exist:
|
|
131
|
+
|
|
132
|
+
1. **Top-level `systemPrompt`** — overrides the default built-in system prompt when this profile runs as the **main agent**. Rules files and `customInstructions` are still appended. Use when the agent needs a completely different identity or behavioral framework.
|
|
133
|
+
|
|
134
|
+
2. **`subagent.systemPrompt`** — used when this profile runs as a **subagent**. Passed directly to the subagent's LLM. If empty, falls back to the top-level `systemPrompt`.
|
|
135
|
+
|
|
136
|
+
**When to use which:**
|
|
137
|
+
- Agent works only as main agent → set top-level `systemPrompt`
|
|
138
|
+
- Agent works only as subagent → set `subagent.systemPrompt`
|
|
139
|
+
- Agent works in both roles → set both; they can differ for context-appropriate behavior
|
|
140
|
+
- Agent doesn't need custom prompts → leave both empty; default system prompt is used
|
|
141
|
+
|
|
142
|
+
## Subagent Configuration
|
|
143
|
+
|
|
144
|
+
Every agent **can** be a subagent. Set `subagent.enabled: true` to allow delegation.
|
|
145
|
+
|
|
146
|
+
**Context memory modes:**
|
|
147
|
+
- `"off"` — fresh each time (default for most agents)
|
|
148
|
+
- `"last-message"` — receives last result from previous runs
|
|
149
|
+
- `"full-context"` — full conversation history (for complex iterative analysis)
|
|
150
|
+
|
|
151
|
+
**Subagent filtering:** `enabledSubagentIds?: string[]` on the **parent** profile controls which subagents it can use. Omit to allow all. Set to an array of profile `id` values to restrict. Note: `enabledSubagentIds` holds **profile `id` values** (the same `id` field set on each profile), not directory names — they only match when a directory name happens to equal the profile `id`.
|
|
152
|
+
|
|
153
|
+
See `references/subagent-guide.md` for detailed guidance.
|
|
154
|
+
|
|
155
|
+
## Minimal config.json Structure
|
|
156
|
+
|
|
157
|
+
```json
|
|
158
|
+
{
|
|
159
|
+
"id": "my-agent",
|
|
160
|
+
"name": "my-agent",
|
|
161
|
+
"provider": "anthropic",
|
|
162
|
+
"model": "claude-sonnet-5",
|
|
163
|
+
"maxIterations": 0,
|
|
164
|
+
"minTimeBetweenToolCalls": 0,
|
|
165
|
+
"enabledServers": [],
|
|
166
|
+
"toolApprovals": {
|
|
167
|
+
"power---file_read": "always",
|
|
168
|
+
"power---bash": "ask"
|
|
169
|
+
},
|
|
170
|
+
"toolSettings": {},
|
|
171
|
+
"includeContextFiles": false,
|
|
172
|
+
"includeRepoMap": false,
|
|
173
|
+
"usePowerTools": true,
|
|
174
|
+
"useAiderTools": false,
|
|
175
|
+
"useTodoTools": true,
|
|
176
|
+
"useSubagents": false,
|
|
177
|
+
"useTaskTools": false,
|
|
178
|
+
"useMemoryTools": true,
|
|
179
|
+
"useSkillsTools": true,
|
|
180
|
+
"useExtensionTools": true,
|
|
181
|
+
"disabledExtensionTools": [],
|
|
182
|
+
"customInstructions": "",
|
|
183
|
+
"subagent": {
|
|
184
|
+
"enabled": true,
|
|
185
|
+
"contextMemory": "off",
|
|
186
|
+
"systemPrompt": "",
|
|
187
|
+
"invocationMode": "on-demand",
|
|
188
|
+
"color": "#3368a8",
|
|
189
|
+
"description": ""
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
**Note on defaults shown above:** `id` is any unique readable string (no UUID needed). When the user does not specify provider/model, default to `anthropic` / `claude-sonnet-5`. `maxIterations: 0` means unlimited. `includeContextFiles` and `includeRepoMap` both default to `false` — the values above are defaults; set them to `true` only when you want context files / repo map included. The subagent `color` default is `#3368a8`.
|
|
195
|
+
|
|
196
|
+
## Validation Checklist
|
|
197
|
+
|
|
198
|
+
Before writing `config.json`:
|
|
199
|
+
|
|
200
|
+
- [ ] Unique name
|
|
201
|
+
- [ ] Unique, readable `id` (no UUID required)
|
|
202
|
+
- [ ] Provider/model present (use as-is; default to `anthropic`/`claude-sonnet-5` if unspecified)
|
|
203
|
+
- [ ] Tool keys use `{group}---{tool}` format with three dashes
|
|
204
|
+
- [ ] Tool approval values are "always", "ask", or "never"
|
|
205
|
+
- [ ] Only tools from `references/tool-approval-guide.md` are in `toolApprovals`
|
|
206
|
+
- [ ] `systemPrompt` set only if custom behavior is needed
|
|
207
|
+
- [ ] `subagent.enabled` reflects whether this profile should be delegable
|
|
208
|
+
- [ ] If `subagent.invocationMode` is "automatic", `description` is non-empty
|
|
209
|
+
- [ ] If `useSubagents` is true and filtering needed, `enabledSubagentIds` is set
|
|
210
|
+
- [ ] `useExtensionTools` and `disabledExtensionTools` included (default: true / [])
|
|
211
|
+
- [ ] `ruleFiles` NOT in config.json (dynamically discovered)
|
|
212
|
+
- [ ] `isSubagent` NOT in config.json (runtime flag)
|
|
213
|
+
- [ ] All boolean tool group flags present
|
|
214
|
+
- [ ] Directory location matches user preference (global/project)
|
|
215
|
+
|
|
216
|
+
## Resources
|
|
217
|
+
|
|
218
|
+
- `references/agent-profile-schema.md` — Complete schema with all properties and types
|
|
219
|
+
- `references/subagent-guide.md` — Subagent config, context memory, filtering, system prompts
|
|
220
|
+
- `references/tool-approval-guide.md` — All tool groups and correct tool keys
|
|
221
|
+
- `references/profile-examples.md` — Complete working examples
|
|
222
|
+
- `assets/templates/config.json.template` — Template
|
|
223
|
+
- `assets/examples/sample-profile.json` — Example profile
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "sample-agent",
|
|
3
|
+
"name": "Sample Agent Profile",
|
|
4
|
+
"provider": "anthropic",
|
|
5
|
+
"model": "claude-sonnet-5",
|
|
6
|
+
"maxIterations": 0,
|
|
7
|
+
"minTimeBetweenToolCalls": 0,
|
|
8
|
+
"enabledServers": [],
|
|
9
|
+
"toolApprovals": {
|
|
10
|
+
"power---file_read": "always",
|
|
11
|
+
"power---glob": "always",
|
|
12
|
+
"power---grep": "always",
|
|
13
|
+
"power---semantic_search": "always",
|
|
14
|
+
"power---file_write": "ask",
|
|
15
|
+
"power---file_edit": "ask",
|
|
16
|
+
"power---bash": "ask",
|
|
17
|
+
"power---fetch": "ask",
|
|
18
|
+
"memory---store_memory": "always",
|
|
19
|
+
"memory---retrieve_memory": "always",
|
|
20
|
+
"skills---activate_skill": "always",
|
|
21
|
+
"todo---set_items": "always",
|
|
22
|
+
"todo---get_items": "always",
|
|
23
|
+
"todo---update_item_completion": "always",
|
|
24
|
+
"todo---clear_items": "always"
|
|
25
|
+
},
|
|
26
|
+
"toolSettings": {},
|
|
27
|
+
"includeContextFiles": false,
|
|
28
|
+
"includeRepoMap": false,
|
|
29
|
+
"usePowerTools": true,
|
|
30
|
+
"useAiderTools": false,
|
|
31
|
+
"useTodoTools": true,
|
|
32
|
+
"useSubagents": false,
|
|
33
|
+
"useTaskTools": false,
|
|
34
|
+
"useMemoryTools": true,
|
|
35
|
+
"useSkillsTools": true,
|
|
36
|
+
"useExtensionTools": true,
|
|
37
|
+
"disabledExtensionTools": [],
|
|
38
|
+
"customInstructions": "This is a sample agent profile. Customize the customInstructions field to provide specific guidance to the agent.",
|
|
39
|
+
"subagent": {
|
|
40
|
+
"enabled": false,
|
|
41
|
+
"contextMemory": "off",
|
|
42
|
+
"systemPrompt": "",
|
|
43
|
+
"invocationMode": "on-demand",
|
|
44
|
+
"color": "#3368a8",
|
|
45
|
+
"description": ""
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "{{id}}",
|
|
3
|
+
"name": "{{profile-name}}",
|
|
4
|
+
"provider": "{{provider}}",
|
|
5
|
+
"model": "{{model}}",
|
|
6
|
+
"maxIterations": {{max-iterations}},
|
|
7
|
+
"minTimeBetweenToolCalls": {{min-time-between-tool-calls}},
|
|
8
|
+
{{#if max-tokens}}"maxTokens": {{max-tokens}},{{/if}}
|
|
9
|
+
{{#if temperature}}"temperature": {{temperature}},{{/if}}
|
|
10
|
+
"enabledServers": [
|
|
11
|
+
{{#each enabled-servers}}"{{this}}"{{#unless @last}},{{/unless}}{{/each}}
|
|
12
|
+
],
|
|
13
|
+
"toolApprovals": {
|
|
14
|
+
{{#each tool-approvals}}"{{@key}}": "{{this}}"{{#unless @last}},{{/unless}}{{/each}}
|
|
15
|
+
},
|
|
16
|
+
"toolSettings": {
|
|
17
|
+
{{#if bash-allowed-pattern}}"power---bash": {
|
|
18
|
+
"allowedPattern": "{{bash-allowed-pattern}}",
|
|
19
|
+
"deniedPattern": "{{bash-denied-pattern}}"
|
|
20
|
+
}{{/if}}
|
|
21
|
+
},
|
|
22
|
+
"includeContextFiles": {{include-context-files}},
|
|
23
|
+
"includeRepoMap": {{include-repo-map}},
|
|
24
|
+
"usePowerTools": {{use-power-tools}},
|
|
25
|
+
"useAiderTools": {{use-aider-tools}},
|
|
26
|
+
"useTodoTools": {{use-todo-tools}},
|
|
27
|
+
"useSubagents": {{use-subagents}},
|
|
28
|
+
"useTaskTools": {{use-task-tools}},
|
|
29
|
+
"useMemoryTools": {{use-memory-tools}},
|
|
30
|
+
"useSkillsTools": {{use-skills-tools}},
|
|
31
|
+
"useExtensionTools": {{use-extension-tools}},
|
|
32
|
+
"disabledExtensionTools": {{disabled-extension-tools}},
|
|
33
|
+
{{#if system-prompt}}"systemPrompt": "{{system-prompt}}",{{/if}}
|
|
34
|
+
{{#if enabled-subagent-ids}}"enabledSubagentIds": [{{#each enabled-subagent-ids}}"{{this}}"{{#unless @last}},{{/unless}}{{/each}}],{{/if}}
|
|
35
|
+
{{#if auto-compact-threshold-percentage}}"autoCompactThresholdPercentage": {{auto-compact-threshold-percentage}},{{/if}}
|
|
36
|
+
{{#if auto-compact-threshold-tokens}}"autoCompactThresholdTokens": {{auto-compact-threshold-tokens}},{{/if}}
|
|
37
|
+
{{#if auto-compaction-type}}"autoCompactionType": "{{auto-compaction-type}}",{{/if}}
|
|
38
|
+
"customInstructions": "{{custom-instructions}}",
|
|
39
|
+
"subagent": {
|
|
40
|
+
"enabled": {{subagent-enabled}},
|
|
41
|
+
"contextMemory": "{{subagent-context-memory}}",
|
|
42
|
+
"systemPrompt": "{{subagent-system-prompt}}",
|
|
43
|
+
"invocationMode": "{{subagent-invocation-mode}}",
|
|
44
|
+
"color": "{{subagent-color}}",
|
|
45
|
+
"description": "{{subagent-description}}"
|
|
46
|
+
}
|
|
47
|
+
}
|