@aiderdesk/aiderdesk 0.72.0 → 0.74.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.
Files changed (81) hide show
  1. package/out/cli.js +982 -13
  2. package/out/renderer/assets/{AgentSettings-CEw1Tgyu.js → AgentSettings-B-793Wr6.js} +4561 -3203
  3. package/out/renderer/assets/{InfoIcon-B6bij_VJ.js → InfoIcon-cuLXzJtV.js} +1 -1
  4. package/out/renderer/assets/{Onboarding-C2CtQOko.js → Onboarding-xrPWRnXm.js} +4 -4
  5. package/out/renderer/assets/{ProviderHeader-BCrdzdGT.js → ProviderHeader-CMVyqpPa.js} +226 -275
  6. package/out/renderer/assets/{SettingsPage-CNCsKRS7.js → SettingsPage-BBtDhv80.js} +17 -11
  7. package/out/renderer/assets/{UsageDashboard-DtZ8GTj6.js → UsageDashboard-CGI4iwCD.js} +3 -3
  8. package/out/renderer/assets/{arc-DnyT8oZ2.js → arc-CFENq1wJ.js} +1 -1
  9. package/out/renderer/assets/{architectureDiagram-3BPJPVTR-Dus_2n--.js → architectureDiagram-3BPJPVTR-BRG_9Mao.js} +3 -3
  10. package/out/renderer/assets/{blockDiagram-GPEHLZMM-A3REgcbw.js → blockDiagram-GPEHLZMM-B3c7WMY4.js} +4 -4
  11. package/out/renderer/assets/{c4Diagram-AAUBKEIU-DksErR7z.js → c4Diagram-AAUBKEIU-BYQrxMcW.js} +2 -2
  12. package/out/renderer/assets/{channel-DkjNDJNa.js → channel-DPxL1rpa.js} +1 -1
  13. package/out/renderer/assets/{chunk-2J33WTMH-CrUC6pnQ.js → chunk-2J33WTMH-C-kk05Nj.js} +1 -1
  14. package/out/renderer/assets/{chunk-4BX2VUAB-BulXGa1B.js → chunk-4BX2VUAB-BV8PWxnG.js} +1 -1
  15. package/out/renderer/assets/{chunk-55IACEB6-pQjPbAe9.js → chunk-55IACEB6-Cj6KHkUp.js} +1 -1
  16. package/out/renderer/assets/{chunk-727SXJPM-BcqphFMh.js → chunk-727SXJPM-BaIkuSPr.js} +5 -5
  17. package/out/renderer/assets/{chunk-AQP2D5EJ-DCREtqoW.js → chunk-AQP2D5EJ-DVZR_bfB.js} +3 -3
  18. package/out/renderer/assets/{chunk-FMBD7UC4-LFUgit2t.js → chunk-FMBD7UC4-CNrb2a0a.js} +1 -1
  19. package/out/renderer/assets/{chunk-ND2GUHAM-Bkunzp-9.js → chunk-ND2GUHAM-ClOnPDjy.js} +1 -1
  20. package/out/renderer/assets/{chunk-QZHKN3VN-foWYS4_y.js → chunk-QZHKN3VN-B2sJx9j2.js} +1 -1
  21. package/out/renderer/assets/{classDiagram-4FO5ZUOK-CVbKiC6R.js → classDiagram-4FO5ZUOK-ZzwWMcLO.js} +6 -6
  22. package/out/renderer/assets/{classDiagram-v2-Q7XG4LA2-CVbKiC6R.js → classDiagram-v2-Q7XG4LA2-ZzwWMcLO.js} +6 -6
  23. package/out/renderer/assets/{cose-bilkent-S5V4N54A-Bw7reEuM.js → cose-bilkent-S5V4N54A-DBx-UiMU.js} +1 -1
  24. package/out/renderer/assets/{dagre-BM42HDAG-oGURKg82.js → dagre-BM42HDAG-B_vMvYpz.js} +3 -3
  25. package/out/renderer/assets/{diagram-2AECGRRQ-kaoJ1YpU.js → diagram-2AECGRRQ-Do-w2xXO.js} +3 -3
  26. package/out/renderer/assets/{diagram-5GNKFQAL-EvoHkNwk.js → diagram-5GNKFQAL-JzG77sgb.js} +4 -4
  27. package/out/renderer/assets/{diagram-KO2AKTUF-D5N5hwBV.js → diagram-KO2AKTUF-CGMx2nPP.js} +3 -3
  28. package/out/renderer/assets/{diagram-LMA3HP47-kKi9mSGe.js → diagram-LMA3HP47-BqXnQeNu.js} +3 -3
  29. package/out/renderer/assets/{diagram-OG6HWLK6-BWJ9L5AP.js → diagram-OG6HWLK6-BR4e0lIb.js} +4 -4
  30. package/out/renderer/assets/{erDiagram-TEJ5UH35-d1W9ONuu.js → erDiagram-TEJ5UH35-B7QK0XSy.js} +4 -4
  31. package/out/renderer/assets/{flowDiagram-I6XJVG4X-u5Xk-TTj.js → flowDiagram-I6XJVG4X-BOySqejA.js} +6 -6
  32. package/out/renderer/assets/{ganttDiagram-6RSMTGT7-DiheBMSM.js → ganttDiagram-6RSMTGT7-BORAleML.js} +3 -3
  33. package/out/renderer/assets/{gitGraphDiagram-PVQCEYII-B7hUlCNM.js → gitGraphDiagram-PVQCEYII-DTReLiJT.js} +4 -4
  34. package/out/renderer/assets/{graph-D7JlCUW0.js → graph-Bf8U9r0n.js} +1 -1
  35. package/out/renderer/assets/{index-ClS76F34.js → index-5i67azF0.js} +1 -1
  36. package/out/renderer/assets/{index-DJwDiyPe.css → index-7NwOg_q_.css} +8 -40
  37. package/out/renderer/assets/{index-BgXUknVd.js → index-BOQBc3Qj.js} +6 -4
  38. package/out/renderer/assets/{index-DcFrLBMu.js → index-BS5vy5uH.js} +1 -1
  39. package/out/renderer/assets/{index-gnQtDa4r.js → index-COyr1I0o.js} +1 -1
  40. package/out/renderer/assets/{index-D8P2TG70.js → index-CmQY2QKE.js} +1 -1
  41. package/out/renderer/assets/{index-CzGef_M5.js → index-D3R9tjiT.js} +1 -1
  42. package/out/renderer/assets/{index-DOl0MdBC.js → index-D6b3rMtW.js} +1 -1
  43. package/out/renderer/assets/{index-3OKQF96N.js → index-DUoUqcJ_.js} +1 -1
  44. package/out/renderer/assets/{index-biM8l5ZN.js → index-Dq3ldCAy.js} +10286 -2422
  45. package/out/renderer/assets/{index-Duwg55fn.js → index-Dtxgil7l.js} +1 -1
  46. package/out/renderer/assets/{infoDiagram-5YYISTIA-BNOwcP8d.js → infoDiagram-5YYISTIA-Ryv-Emth.js} +2 -2
  47. package/out/renderer/assets/{ishikawaDiagram-YF4QCWOH-DZGvMXcI.js → ishikawaDiagram-YF4QCWOH-Blzp6JLN.js} +1 -1
  48. package/out/renderer/assets/{journeyDiagram-JHISSGLW-BF-SCAHN.js → journeyDiagram-JHISSGLW--KB4ASET.js} +4 -4
  49. package/out/renderer/assets/{jsx-dev-runtime-BZnUoQef.js → jsx-dev-runtime-DAzw_Red.js} +1 -1
  50. package/out/renderer/assets/{kanban-definition-UN3LZRKU-Cp9SfO9v.js → kanban-definition-UN3LZRKU-BzNpCu_x.js} +2 -2
  51. package/out/renderer/assets/{layout-BxWwRUTm.js → layout-BQu4M-KW.js} +2 -2
  52. package/out/renderer/assets/{linear-Cpdxqlgb.js → linear-DNZEF2Al.js} +1 -1
  53. package/out/renderer/assets/{mindmap-definition-RKZ34NQL-BtGsJF8k.js → mindmap-definition-RKZ34NQL-CxQjZIps.js} +3 -3
  54. package/out/renderer/assets/{pieDiagram-4H26LBE5-choZS41J.js → pieDiagram-4H26LBE5-qJt7eGwM.js} +4 -4
  55. package/out/renderer/assets/{quadrantDiagram-W4KKPZXB-CSEwIgFD.js → quadrantDiagram-W4KKPZXB-mMOhLjN_.js} +2 -2
  56. package/out/renderer/assets/{requirementDiagram-4Y6WPE33-sCdLoMf0.js → requirementDiagram-4Y6WPE33-GLhMtLW7.js} +3 -3
  57. package/out/renderer/assets/{sankeyDiagram-5OEKKPKP-DunA5v4o.js → sankeyDiagram-5OEKKPKP-Kcd8qR8y.js} +1 -1
  58. package/out/renderer/assets/{sequenceDiagram-3UESZ5HK-Cwz8rZA1.js → sequenceDiagram-3UESZ5HK-CpmBIgMJ.js} +3 -3
  59. package/out/renderer/assets/{stateDiagram-AJRCARHV-VCMhb3e-.js → stateDiagram-AJRCARHV-D00qZ9cQ.js} +6 -6
  60. package/out/renderer/assets/{stateDiagram-v2-BHNVJYJU-B9OcfdsH.js → stateDiagram-v2-BHNVJYJU-CkEgNJrB.js} +4 -4
  61. package/out/renderer/assets/{time-CtsiuOCL.js → time-CQSoUo1N.js} +1 -1
  62. package/out/renderer/assets/{timeline-definition-PNZ67QCA-B36Hc_gQ.js → timeline-definition-PNZ67QCA-CmydTbH6.js} +2 -2
  63. package/out/renderer/assets/{vennDiagram-CIIHVFJN-Dt2oWHz0.js → vennDiagram-CIIHVFJN-B4QGhnvI.js} +1 -1
  64. package/out/renderer/assets/{wardley-L42UT6IY-DkWaUY9X.js → wardley-L42UT6IY-B-mpW52K.js} +1 -1
  65. package/out/renderer/assets/{wardleyDiagram-YWT4CUSO-BHFM3JNH.js → wardleyDiagram-YWT4CUSO-Cz1pK1MY.js} +3 -3
  66. package/out/renderer/assets/{xychartDiagram-2RQKCTM6-2wqqMVJ7.js → xychartDiagram-2RQKCTM6-H-Q9Zv48.js} +2 -2
  67. package/out/renderer/index.html +2 -2
  68. package/out/resources/skills/agent-creator/SKILL.md +223 -0
  69. package/out/resources/skills/agent-creator/assets/examples/sample-profile.json +47 -0
  70. package/out/resources/skills/agent-creator/assets/templates/config.json.template +47 -0
  71. package/out/resources/skills/agent-creator/references/agent-profile-schema.md +294 -0
  72. package/out/resources/skills/agent-creator/references/profile-examples.md +490 -0
  73. package/out/resources/skills/agent-creator/references/subagent-guide.md +317 -0
  74. package/out/resources/skills/agent-creator/references/tool-approval-guide.md +484 -0
  75. package/out/resources/skills/extension-creator/SKILL.md +5 -5
  76. package/out/resources/skills/extension-creator/references/in-repo-flow.md +4 -4
  77. package/out/resources/skills/extension-creator/references/install-targets.md +2 -2
  78. package/out/resources/skills/extension-creator/references/project-global-flow.md +1 -1
  79. package/out/runner.js +10879 -10158
  80. package/package.json +3 -2
  81. package/scripts/generate-package.mjs +1 -0
@@ -1,4 +1,4 @@
1
- import { G as GenIcon } from "./index-biM8l5ZN.js";
1
+ import { G as GenIcon } from "./index-Dq3ldCAy.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
  }
@@ -1,5 +1,5 @@
1
- import { _ as __name, O as log, an as selectSvgElement, Q as configureSvgSize } from "./index-biM8l5ZN.js";
2
- import { p as parse } from "./wardley-L42UT6IY-DkWaUY9X.js";
1
+ import { _ as __name, O as log, an as selectSvgElement, Q as configureSvgSize } from "./index-Dq3ldCAy.js";
2
+ import { p as parse } from "./wardley-L42UT6IY-B-mpW52K.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-biM8l5ZN.js";
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-Dq3ldCAy.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-LFUgit2t.js";
2
- import { a as drawBackgroundRect, g as getNoteRect, h as drawText, d as drawRect } from "./chunk-ND2GUHAM-Bkunzp-9.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-biM8l5ZN.js";
4
- import { d as d3arc } from "./arc-DnyT8oZ2.js";
1
+ import { g as getIconStyles } from "./chunk-FMBD7UC4-CNrb2a0a.js";
2
+ import { a as drawBackgroundRect, g as getNoteRect, h as drawText, d as drawRect } from "./chunk-ND2GUHAM-ClOnPDjy.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-Dq3ldCAy.js";
4
+ import { d as d3arc } from "./arc-CFENq1wJ.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,4 +1,4 @@
1
- import { bW as getDefaultExportFromCjs } from "./index-biM8l5ZN.js";
1
+ import { bW as getDefaultExportFromCjs } from "./index-Dq3ldCAy.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -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-biM8l5ZN.js";
2
- import { g as getIconStyles } from "./chunk-FMBD7UC4-LFUgit2t.js";
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-Dq3ldCAy.js";
2
+ import { g as getIconStyles } from "./chunk-FMBD7UC4-CNrb2a0a.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-D7JlCUW0.js";
2
- import { fq as toNumber, f1 as isObject, fr as eq, f5 as isArrayLike, f4 as isIndex, fb as isPrototype, fs as arrayLikeKeys, ft as overArg, f6 as isObjectLike, fu as baseGetTag, f2 as keys, fv as root, fw as getSymbols, fx as stubArray, e_ as arrayPush, fy as baseGetAllKeys, fz as Uint8Array, eW as Symbol$1, fa as getTag, fA as baseUnary, fB as nodeUtil, f8 as isBuffer, e$ as Stack, eU as isArray, fC as getAllKeys, f9 as isTypedArray, eZ as isArguments, fh as isFunction, eV as isSymbol } from "./index-biM8l5ZN.js";
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-Bf8U9r0n.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-Dq3ldCAy.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-biM8l5ZN.js";
1
+ import { dw as constant, dx as interpolateNumber, dy as color, dz as interpolateRgb, dA as interpolateString } from "./index-Dq3ldCAy.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-pQjPbAe9.js";
2
- import { s as setupViewPortForSVG } from "./chunk-2J33WTMH-CrUC6pnQ.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-biM8l5ZN.js";
1
+ import { g as getDiagramElement } from "./chunk-55IACEB6-Cj6KHkUp.js";
2
+ import { s as setupViewPortForSVG } from "./chunk-2J33WTMH-C-kk05Nj.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-Dq3ldCAy.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,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-biM8l5ZN.js";
2
- import { p as populateCommonDb } from "./chunk-4BX2VUAB-BulXGa1B.js";
3
- import { p as parse } from "./wardley-L42UT6IY-DkWaUY9X.js";
4
- import { d as d3arc } from "./arc-DnyT8oZ2.js";
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-Dq3ldCAy.js";
2
+ import { p as populateCommonDb } from "./chunk-4BX2VUAB-BV8PWxnG.js";
3
+ import { p as parse } from "./wardley-L42UT6IY-B-mpW52K.js";
4
+ import { d as d3arc } from "./arc-CFENq1wJ.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-biM8l5ZN.js";
2
- import { l as linear } from "./linear-Cpdxqlgb.js";
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-Dq3ldCAy.js";
2
+ import { l as linear } from "./linear-DNZEF2Al.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-pQjPbAe9.js";
2
- import { s as setupViewPortForSVG } from "./chunk-2J33WTMH-CrUC6pnQ.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-biM8l5ZN.js";
1
+ import { g as getDiagramElement } from "./chunk-55IACEB6-Cj6KHkUp.js";
2
+ import { s as setupViewPortForSVG } from "./chunk-2J33WTMH-C-kk05Nj.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-Dq3ldCAy.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-biM8l5ZN.js";
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-Dq3ldCAy.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-biM8l5ZN.js";
2
- import { a as drawBackgroundRect, b as getTextObj, g as getNoteRect, d as drawRect, e as drawEmbeddedImage, f as drawImage } from "./chunk-ND2GUHAM-Bkunzp-9.js";
3
- import { I as ImperativeState } from "./chunk-QZHKN3VN-foWYS4_y.js";
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-Dq3ldCAy.js";
2
+ import { a as drawBackgroundRect, b as getTextObj, g as getNoteRect, d as drawRect, e as drawEmbeddedImage, f as drawImage } from "./chunk-ND2GUHAM-ClOnPDjy.js";
3
+ import { I as ImperativeState } from "./chunk-QZHKN3VN-B2sJx9j2.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,9 +1,9 @@
1
- import { s as styles_default, a as stateDiagram_default, S as StateDB } from "./chunk-AQP2D5EJ-DCREtqoW.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-biM8l5ZN.js";
3
- import { G as Graph } from "./graph-D7JlCUW0.js";
4
- import { l as layout } from "./layout-BxWwRUTm.js";
5
- import "./chunk-55IACEB6-pQjPbAe9.js";
6
- import "./chunk-2J33WTMH-CrUC6pnQ.js";
1
+ import { s as styles_default, a as stateDiagram_default, S as StateDB } from "./chunk-AQP2D5EJ-DVZR_bfB.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-Dq3ldCAy.js";
3
+ import { G as Graph } from "./graph-Bf8U9r0n.js";
4
+ import { l as layout } from "./layout-BQu4M-KW.js";
5
+ import "./chunk-55IACEB6-Cj6KHkUp.js";
6
+ import "./chunk-2J33WTMH-C-kk05Nj.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-DCREtqoW.js";
2
- import { _ as __name } from "./index-biM8l5ZN.js";
3
- import "./chunk-55IACEB6-pQjPbAe9.js";
4
- import "./chunk-2J33WTMH-CrUC6pnQ.js";
1
+ import { s as styles_default, b as stateRenderer_v3_unified_default, a as stateDiagram_default, S as StateDB } from "./chunk-AQP2D5EJ-DVZR_bfB.js";
2
+ import { _ as __name } from "./index-Dq3ldCAy.js";
3
+ import "./chunk-55IACEB6-Cj6KHkUp.js";
4
+ import "./chunk-2J33WTMH-C-kk05Nj.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-Cpdxqlgb.js";
1
+ import { b as bisector, t as tickStep, c as continuous, a as copy } from "./linear-DNZEF2Al.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-biM8l5ZN.js";
2
- import { d as d3arc } from "./arc-DnyT8oZ2.js";
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-Dq3ldCAy.js";
2
+ import { d as d3arc } from "./arc-CFENq1wJ.js";
3
3
  var parser = (function() {
4
4
  var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
5
5
  for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
@@ -1,4 +1,4 @@
1
- import { 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-biM8l5ZN.js";
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-Dq3ldCAy.js";
2
2
  const transparentize = (color, amount) => {
3
3
  return adjustChannel(color, "a", -amount);
4
4
  };
@@ -1,4 +1,4 @@
1
- import { fZ as __vitePreload } from "./index-biM8l5ZN.js";
1
+ import { fQ as __vitePreload } from "./index-Dq3ldCAy.js";
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -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-biM8l5ZN.js";
2
- import { p as populateCommonDb } from "./chunk-4BX2VUAB-BulXGa1B.js";
3
- import { p as parse } from "./wardley-L42UT6IY-DkWaUY9X.js";
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-Dq3ldCAy.js";
2
+ import { p as populateCommonDb } from "./chunk-4BX2VUAB-BV8PWxnG.js";
3
+ import { p as parse } from "./wardley-L42UT6IY-B-mpW52K.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-biM8l5ZN.js";
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-Dq3ldCAy.js";
2
2
  import { b as band } from "./band-zXq5o_Ib.js";
3
- import { l as linear } from "./linear-Cpdxqlgb.js";
3
+ import { l as linear } from "./linear-DNZEF2Al.js";
4
4
  import "./init-CTO7spbL.js";
5
5
  import "./ordinal-BD3Y6v77.js";
6
6
  import "./defaultLocale-B2RvLBDe.js";
@@ -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-biM8l5ZN.js"></script>
24
- <link rel="stylesheet" crossorigin href="./assets/index-DJwDiyPe.css">
23
+ <script type="module" crossorigin src="./assets/index-Dq3ldCAy.js"></script>
24
+ <link rel="stylesheet" crossorigin href="./assets/index-7NwOg_q_.css">
25
25
  </head>
26
26
 
27
27
  <body>
@@ -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
+ }