@aiderdesk/aiderdesk 0.85.0 → 0.87.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/renderer/assets/{AgentSettings-BMP3UKWz.js → AgentSettings-Cp7VI6CM.js} +640 -645
- package/out/renderer/assets/{InfoIcon-BTcW3DwS.js → InfoIcon-DesJ60KC.js} +1 -1
- package/out/renderer/assets/{Onboarding-BvHhiBYv.js → Onboarding-B2h7iatR.js} +253 -65
- package/out/renderer/assets/{ProviderHeader-BwWOiRGh.js → ProviderHeader-BvigqAWX.js} +2 -2
- package/out/renderer/assets/{SettingsPage-BaAI8Tx-.js → SettingsPage-CBonY1bv.js} +2211 -1903
- package/out/renderer/assets/{UsageDashboard-Bo0daoZs.js → UsageDashboard-DFgckoeT.js} +3 -3
- package/out/renderer/assets/{abnfDiagram-N423BO3Z-CbkNxaQL.js → abnfDiagram-N423BO3Z-DV7pjob8.js} +4 -4
- package/out/renderer/assets/{arc-BM6sCwHP.js → arc-C2NyJjKR.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-T3A2C74G-CfJJQtgN.js → architectureDiagram-T3A2C74G-BmG8PHmc.js} +3 -3
- package/out/renderer/assets/{blockDiagram-VBNYF7ZC-3vcClamu.js → blockDiagram-VBNYF7ZC-CJndPtzf.js} +4 -4
- package/out/renderer/assets/{c4Diagram-5PPSVZJV-CkseLJ2n.js → c4Diagram-5PPSVZJV-B9DY2Hnr.js} +2 -2
- package/out/renderer/assets/{channel-gPAI1wIH.js → channel-CCPkBLnh.js} +1 -1
- package/out/renderer/assets/{chunk-2GRJ4B5K-CxcjeFJR.js → chunk-2GRJ4B5K-Bt46bDfT.js} +1 -1
- package/out/renderer/assets/{chunk-2Q5K7J3B-BFTeoE2E.js → chunk-2Q5K7J3B-DkQwfKC2.js} +1 -1
- package/out/renderer/assets/{chunk-5RXB4S5H-g5htmVuv.js → chunk-5RXB4S5H-CFNEWvlR.js} +5 -5
- package/out/renderer/assets/{chunk-5VM5RSS4-DywF2hnK.js → chunk-5VM5RSS4-BNeZg_6d.js} +1 -1
- package/out/renderer/assets/{chunk-6Q2QTUOP-DCZFeOtw.js → chunk-6Q2QTUOP-BU5gT8Us.js} +1 -1
- package/out/renderer/assets/{chunk-GF5L2VYU-iY9cxh-a.js → chunk-GF5L2VYU-BNML5JwJ.js} +6 -6
- package/out/renderer/assets/{chunk-JWPE2WC7-BimLS0iI.js → chunk-JWPE2WC7-Dvih3ku3.js} +1 -1
- package/out/renderer/assets/{chunk-KBJHAD2P-hadsOZPK.js → chunk-KBJHAD2P-CMgAbRkQ.js} +1 -1
- package/out/renderer/assets/{chunk-RYQCIY6F-DKdQGhkz.js → chunk-RYQCIY6F-CAJ6Qldz.js} +3 -3
- package/out/renderer/assets/{chunk-XXDRQBXY-ZKqkjzLe.js → chunk-XXDRQBXY-BDZJ-WFV.js} +1 -1
- package/out/renderer/assets/{classDiagram-JCYQIIEL-CxXR4NXz.js → classDiagram-JCYQIIEL-BJCilkUQ.js} +6 -6
- package/out/renderer/assets/{classDiagram-v2-OCEON4UE-CxXR4NXz.js → classDiagram-v2-OCEON4UE-BJCilkUQ.js} +6 -6
- package/out/renderer/assets/{cose-bilkent-JH36ORCC-D5HdvM4m.js → cose-bilkent-JH36ORCC-D6MsqBP5.js} +1 -1
- package/out/renderer/assets/{cynefin-VYW2F7L2-zOqg8dXd.js → cynefin-VYW2F7L2-3kPlVPG0.js} +1 -1
- package/out/renderer/assets/{cynefinDiagram-MW4NZA55-EiZFpDAu.js → cynefinDiagram-MW4NZA55-6BlkJqWN.js} +3 -3
- package/out/renderer/assets/{dagre-VZM6K2ZE-CgPwcwor.js → dagre-VZM6K2ZE-Chj1W0as.js} +5 -5
- package/out/renderer/assets/{diagram-7IWD3JNH-BVepJy0l.js → diagram-7IWD3JNH-CHFj7vIm.js} +4 -4
- package/out/renderer/assets/{diagram-B4RE2ZJO-Vg2clNKC.js → diagram-B4RE2ZJO-BqOMO30m.js} +3 -3
- package/out/renderer/assets/{diagram-LBJQPF4R-QaITHxO5.js → diagram-LBJQPF4R-CkiuQM5K.js} +3 -3
- package/out/renderer/assets/{diagram-Q27KOJAE-W8fmOQHS.js → diagram-Q27KOJAE-WVbpb4Iq.js} +4 -4
- package/out/renderer/assets/{diagram-UB23O5K3-DP3rMv0T.js → diagram-UB23O5K3-B9Q0wQI3.js} +3 -3
- package/out/renderer/assets/{ebnfDiagram-BXEA7PRR-DT12edHS.js → ebnfDiagram-BXEA7PRR-BUhf1ZxU.js} +4 -4
- package/out/renderer/assets/{erDiagram-JOGREHBK-Q44y48fC.js → erDiagram-JOGREHBK-DGxWkssI.js} +4 -4
- package/out/renderer/assets/{flowDiagram-UKHOOZJN-P14Qv90X.js → flowDiagram-UKHOOZJN-D3ul5aGG.js} +7 -7
- package/out/renderer/assets/{ganttDiagram-PKOTCBZU-C8R9fDlj.js → ganttDiagram-PKOTCBZU-BD3VbhAZ.js} +3 -3
- package/out/renderer/assets/{gitGraphDiagram-DS77QQ5N-DIxsa8tB.js → gitGraphDiagram-DS77QQ5N-x-7NMw7v.js} +4 -4
- package/out/renderer/assets/{graph-CEfu_NAV.js → graph-BDbmSegI.js} +1 -1
- package/out/renderer/assets/{index-BrmgJvC7.js → index-47ZLfCU8.js} +5565 -3708
- package/out/renderer/assets/{index-BZqMZ3-m.js → index-B2jZTTYL.js} +1 -1
- package/out/renderer/assets/{index-CzR7-Vv8.js → index-B9bf5T9j.js} +1 -1
- package/out/renderer/assets/{index-BsIjQETq.js → index-BFhJk8dv.js} +2 -2
- package/out/renderer/assets/{index-BcYDonHd.js → index-BKmr7UTW.js} +1 -1
- package/out/renderer/assets/{index-CFwQ6Fc9.js → index-BP0q4HOE.js} +2 -2
- package/out/renderer/assets/{index-Mmy_5U8c.js → index-BZmjwrvJ.js} +1 -1
- package/out/renderer/assets/{index-BiXRHgjA.js → index-B_PkNLqT.js} +1 -1
- package/out/renderer/assets/{index-BziZrAuz.js → index-Bbv79qeB.js} +2 -2
- package/out/renderer/assets/{index-Bu5qPV73.js → index-Bh4xfAPL.js} +2 -2
- package/out/renderer/assets/{index-L9fYkN8h.js → index-BzOM6AUj.js} +2 -2
- package/out/renderer/assets/{index-4e1byBan.js → index-C1I2Idqy.js} +5 -5
- package/out/renderer/assets/{index-B4JLpCRN.js → index-C8TOzJWw.js} +4 -4
- package/out/renderer/assets/{index-BFnGhyh1.js → index-CasrGDb0.js} +2 -2
- package/out/renderer/assets/{index-DJNwXhu1.js → index-CenYyetH.js} +5 -5
- package/out/renderer/assets/{index-BMWvQc8E.js → index-CiIr--kg.js} +2 -2
- package/out/renderer/assets/{index-Dc1kx4Lr.js → index-CuQvDzzr.js} +1 -1
- package/out/renderer/assets/{index-CRT0TZcH.js → index-D-rE7YVD.js} +3 -3
- package/out/renderer/assets/{index-DkHfRxgq.js → index-D4dhIRp1.js} +5 -5
- package/out/renderer/assets/{index-D2bDNwOH.js → index-DE2koGci.js} +2 -2
- package/out/renderer/assets/{index-CQd24Tyu.js → index-DKNYbwcH.js} +3 -3
- package/out/renderer/assets/{index-Ci8-ak8w.js → index-DWZF-uSf.js} +5 -5
- package/out/renderer/assets/{index-C4i_4ut0.css → index-D_o1aMFn.css} +210 -33
- package/out/renderer/assets/{index-DON5PJfy.js → index-Dk4pOCFt.js} +5 -5
- package/out/renderer/assets/{index-DUE-Mnj9.js → index-DvSWnCZD.js} +2 -2
- package/out/renderer/assets/{index-fhkP3aQy.js → index-Dx6kKrXY.js} +3 -3
- package/out/renderer/assets/{index-HYV2sreZ.js → index-J-dLn6uq.js} +2 -2
- package/out/renderer/assets/{index-Bgv9-tx2.js → index-Z71oMk_m.js} +1 -1
- package/out/renderer/assets/{index-CwACy46u.js → index-bNFXvWqr.js} +2 -2
- package/out/renderer/assets/{index-DnLRUwoh.js → index-cO9XeYPQ.js} +5 -5
- package/out/renderer/assets/{index-DKsori8n.js → index-tNlkrDYM.js} +1 -1
- package/out/renderer/assets/{index-BaIJ3lxK.js → index-uAJ0Zw9K.js} +2 -2
- package/out/renderer/assets/{index-CLuws-2L.js → index-x_iC3w5N.js} +1 -1
- package/out/renderer/assets/{infoDiagram-6WML65LV-DwyfQVin.js → infoDiagram-6WML65LV-BMwbA6CU.js} +2 -2
- package/out/renderer/assets/{ishikawaDiagram-WSZJBQD7-Bpiz1fZ1.js → ishikawaDiagram-WSZJBQD7-Bx90Gz0s.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-NVQOT4AX-BxPLIsk9.js → journeyDiagram-NVQOT4AX-Dh4pUAU5.js} +4 -4
- package/out/renderer/assets/{jsx-dev-runtime-DnZqH0tq.js → jsx-dev-runtime-CtvYhMha.js} +1 -1
- package/out/renderer/assets/{kanban-definition-27J2QSJJ-CRAqvxTb.js → kanban-definition-27J2QSJJ-BZ_lX-ko.js} +2 -2
- package/out/renderer/assets/{layout-G-3f_IKM.js → layout-oaOUFeBM.js} +3 -3
- package/out/renderer/assets/{linear-Ba1lxMPN.js → linear-B2eGZpM_.js} +1 -1
- package/out/renderer/assets/{map-eBcpU64u.js → map-BijQCI9U.js} +2 -2
- package/out/renderer/assets/{mindmap-definition-FAOFIHXS-ClNPgmlj.js → mindmap-definition-FAOFIHXS-BeWZh5qg.js} +3 -3
- package/out/renderer/assets/{pegDiagram-VL7TDLO6-A_jJGGmL.js → pegDiagram-VL7TDLO6-BA6NzzN6.js} +4 -4
- package/out/renderer/assets/{pieDiagram-7S7Q4E2Y-U6UaIKzY.js → pieDiagram-7S7Q4E2Y-KJmT5t-P.js} +4 -4
- package/out/renderer/assets/{quadrantDiagram-CIZ2JOQS-DnNI_5Nb.js → quadrantDiagram-CIZ2JOQS-BdFz_bQU.js} +2 -2
- package/out/renderer/assets/{railroadDiagram-AXF67PYL-hCXvOVdo.js → railroadDiagram-AXF67PYL-CbH2ZZ1S.js} +4 -4
- package/out/renderer/assets/{requirementDiagram-LRYGKXZP-Dnli1Hq8.js → requirementDiagram-LRYGKXZP-BZXG5Vgf.js} +3 -3
- package/out/renderer/assets/{sankeyDiagram-W5VNT64P-DpPHC88x.js → sankeyDiagram-W5VNT64P-CV1Upv22.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-SI44F4Z6-OG4grSNn.js → sequenceDiagram-SI44F4Z6-Csbi3ivi.js} +3 -3
- package/out/renderer/assets/{sizeCapture-X5ZJPWSS-DK1z1pVn.js → sizeCapture-X5ZJPWSS-CaN4k1d3.js} +1 -1
- package/out/renderer/assets/{stateDiagram-OKZ733FA-BXVYIEda.js → stateDiagram-OKZ733FA-DSo1KeOQ.js} +8 -8
- package/out/renderer/assets/{stateDiagram-v2-UEYNNEHI-B3Mgh1Ip.js → stateDiagram-v2-UEYNNEHI-BhXw89HT.js} +5 -5
- package/out/renderer/assets/{swimlanes-SLNWSIFB-BKdeSpak.js → swimlanes-SLNWSIFB-p3GZ-wkU.js} +6 -6
- package/out/renderer/assets/{swimlanesDiagram-ULZ7WXOC-BAy00w4m.js → swimlanesDiagram-ULZ7WXOC-DGBdyiqy.js} +7 -7
- package/out/renderer/assets/{time-BJgewaFQ.js → time-4LaKa9ym.js} +1 -1
- package/out/renderer/assets/{timeline-definition-Z64GVDOM-D5xeNNZ8.js → timeline-definition-Z64GVDOM-DfY8hG5p.js} +2 -2
- package/out/renderer/assets/{vennDiagram-T6HMQDX7-D-ixbj5U.js → vennDiagram-T6HMQDX7-wp87GaTi.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-T6FBY63Y-DMh9eyxI.js → wardleyDiagram-T6FBY63Y-DNrC2vOI.js} +3 -3
- package/out/renderer/assets/{xychartDiagram-ELKLHX3M-B4oWxGQf.js → xychartDiagram-ELKLHX3M-Bn8J2SKt.js} +2 -2
- package/out/renderer/index.html +2 -2
- package/out/resources/skills/extension-creator/SKILL.md +7 -6
- package/out/resources/skills/extension-creator/references/event-types.md +26 -0
- package/out/resources/skills/extension-creator/references/extension-interface.md +82 -4
- package/out/runner.js +508 -286
- package/package.json +22 -22
- package/patches/ai+7.0.127.patch +29 -0
- package/patches/ai+7.0.60.patch +0 -33
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as getIconStyles } from "./chunk-5VM5RSS4-
|
|
2
|
-
import { a as drawBackgroundRect, g as getNoteRect, h as drawText, d as drawRect } from "./chunk-2GRJ4B5K-
|
|
3
|
-
import { v as getAccDescription, u as setAccDescription, w as getAccTitle, x as setAccTitle, W as getDiagramTitle, V as setDiagramTitle, _ as __name, y as getConfig2, z as select, B as configureSvgSize, X as clear } from "./index-
|
|
4
|
-
import { d as d3arc } from "./arc-
|
|
1
|
+
import { g as getIconStyles } from "./chunk-5VM5RSS4-BNeZg_6d.js";
|
|
2
|
+
import { a as drawBackgroundRect, g as getNoteRect, h as drawText, d as drawRect } from "./chunk-2GRJ4B5K-Bt46bDfT.js";
|
|
3
|
+
import { v as getAccDescription, u as setAccDescription, w as getAccTitle, x as setAccTitle, W as getDiagramTitle, V as setDiagramTitle, _ as __name, y as getConfig2, z as select, B as configureSvgSize, X as clear } from "./index-47ZLfCU8.js";
|
|
4
|
+
import { d as d3arc } from "./arc-C2NyJjKR.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, A as log, y as getConfig2, a8 as selectSvgElement, aL as insertCluster, aM as insertNode, aN as positionNode, aH as setupGraphViewbox, a6 as defaultConfig_default, J as sanitizeText, as as load, at as JSON_SCHEMA, aE as isDark, aF as lighten, aG as darken } from "./index-
|
|
2
|
-
import { g as getIconStyles } from "./chunk-5VM5RSS4-
|
|
1
|
+
import { _ as __name, A as log, y as getConfig2, a8 as selectSvgElement, aL as insertCluster, aM as insertNode, aN as positionNode, aH as setupGraphViewbox, a6 as defaultConfig_default, J as sanitizeText, as as load, at as JSON_SCHEMA, aE as isDark, aF as lighten, aG as darken } from "./index-47ZLfCU8.js";
|
|
2
|
+
import { g as getIconStyles } from "./chunk-5VM5RSS4-BNeZg_6d.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,6 +1,6 @@
|
|
|
1
|
-
import { f as baseRest, g as baseFlatten, s as setToString, o as overRest, h as isArrayLikeObject, j as baseFor, c as baseIteratee, k as baseFindIndex, l as castFunction, m as baseForOwn, n as hasPath, p as identity, q as castPath, t as toKey, r as baseGet, e as arrayMap, 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 {
|
|
3
|
-
import { g as getPrototype, b as baseClone, k as keysIn, a as baseAssignValue, c as copyObject, d as copyArray, e as cloneBuffer, f as cloneTypedArray, i as initCloneObject, h as assignValue, j as baseMap, m as map } from "./map-
|
|
1
|
+
import { f as baseRest, g as baseFlatten, s as setToString, o as overRest, h as isArrayLikeObject, j as baseFor, c as baseIteratee, k as baseFindIndex, l as castFunction, m as baseForOwn, n as hasPath, p as identity, q as castPath, t as toKey, r as baseGet, e as arrayMap, 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-BDbmSegI.js";
|
|
2
|
+
import { ge as toNumber, eA as isObject, eD as isArrayLike, g5 as isIndex, eB as eq, eO as isObjectLike, gf as baseGetTag, eS as isBuffer, g7 as isTypedArray, eU as isArray, g2 as isArguments, gd as isFunction, eT as Stack, eG as keys, f$ as isSymbol, eQ as baseUnary } from "./index-47ZLfCU8.js";
|
|
3
|
+
import { g as getPrototype, b as baseClone, k as keysIn, a as baseAssignValue, c as copyObject, d as copyArray, e as cloneBuffer, f as cloneTypedArray, i as initCloneObject, h as assignValue, j as baseMap, m as map } from "./map-BijQCI9U.js";
|
|
4
4
|
var INFINITY = 1 / 0, MAX_INTEGER = 17976931348623157e292;
|
|
5
5
|
function toFinite(value) {
|
|
6
6
|
if (!value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cN as constant, cO as interpolateNumber, cP as color, cQ as interpolateRgb, cR as interpolateString } from "./index-47ZLfCU8.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,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as defineProperty, a as arrayEach, b as baseEach, c as baseIteratee, e as arrayMap } from "./graph-
|
|
1
|
+
import { eA as isObject, eB as eq, eC as isPrototype, eD as isArrayLike, eE as arrayLikeKeys, eF as overArg, eG as keys, eH as root, eI as getSymbols, eJ as stubArray, eK as arrayPush, eL as baseGetAllKeys, eM as Uint8Array, eN as Symbol$1, eO as isObjectLike, eP as getTag, eQ as baseUnary, eR as nodeUtil, eS as isBuffer, eT as Stack, eU as isArray, eV as getAllKeys } from "./index-47ZLfCU8.js";
|
|
2
|
+
import { d as defineProperty, a as arrayEach, b as baseEach, c as baseIteratee, e as arrayMap } from "./graph-BDbmSegI.js";
|
|
3
3
|
var objectCreate = Object.create;
|
|
4
4
|
var baseCreate = /* @__PURE__ */ (function() {
|
|
5
5
|
function object() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as getDiagramElement } from "./chunk-XXDRQBXY-
|
|
2
|
-
import { s as setupViewPortForSVG } from "./chunk-KBJHAD2P-
|
|
3
|
-
import { _ as __name, A as log, a0 as getRegisteredLayoutAlgorithm, a1 as render, a3 as getConfig, a6 as defaultConfig_default, y as getConfig2, J as sanitizeText, aJ as getUserDefinedConfig, aK as v4, aE as isDark, aF as lighten, aG as darken } from "./index-
|
|
1
|
+
import { g as getDiagramElement } from "./chunk-XXDRQBXY-BDZJ-WFV.js";
|
|
2
|
+
import { s as setupViewPortForSVG } from "./chunk-KBJHAD2P-CMgAbRkQ.js";
|
|
3
|
+
import { _ as __name, A as log, a0 as getRegisteredLayoutAlgorithm, a1 as render, a3 as getConfig, a6 as defaultConfig_default, y as getConfig2, J as sanitizeText, aJ as getUserDefinedConfig, aK as v4, aE as isDark, aF as lighten, aG as darken } from "./index-47ZLfCU8.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/{pegDiagram-VL7TDLO6-A_jJGGmL.js → pegDiagram-VL7TDLO6-BA6NzzN6.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as getStyles, r as renderer, d as db } from "./chunk-6Q2QTUOP-
|
|
2
|
-
import { p as populateCommonDb } from "./chunk-JWPE2WC7-
|
|
3
|
-
import { _ as __name, A as log } from "./index-
|
|
4
|
-
import { M as MermaidParseError, d as createRailroadPegServices } from "./cynefin-VYW2F7L2-
|
|
1
|
+
import { g as getStyles, r as renderer, d as db } from "./chunk-6Q2QTUOP-BU5gT8Us.js";
|
|
2
|
+
import { p as populateCommonDb } from "./chunk-JWPE2WC7-Dvih3ku3.js";
|
|
3
|
+
import { _ as __name, A as log } from "./index-47ZLfCU8.js";
|
|
4
|
+
import { M as MermaidParseError, d as createRailroadPegServices } from "./cynefin-VYW2F7L2-3kPlVPG0.js";
|
|
5
5
|
var langiumParser = createRailroadPegServices().RailroadPeg.parser.LangiumParser;
|
|
6
6
|
var transformOrderedChoice = /* @__PURE__ */ __name((choice) => {
|
|
7
7
|
const alternatives = choice.alternatives.map(transformSequence);
|
package/out/renderer/assets/{pieDiagram-7S7Q4E2Y-U6UaIKzY.js → pieDiagram-7S7Q4E2Y-KJmT5t-P.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as populateCommonDb } from "./chunk-JWPE2WC7-
|
|
2
|
-
import { ak as constant, ac as tau,
|
|
3
|
-
import { p as parse } from "./cynefin-VYW2F7L2-
|
|
4
|
-
import { d as d3arc } from "./arc-
|
|
1
|
+
import { p as populateCommonDb } from "./chunk-JWPE2WC7-Dvih3ku3.js";
|
|
2
|
+
import { ak as constant, ac as tau, cB as array, v as getAccDescription, u as setAccDescription, w as getAccTitle, x as setAccTitle, W as getDiagramTitle, V as setDiagramTitle, _ as __name, A as log, y as getConfig2$1, a5 as cleanAndMerge, a8 as selectSvgElement, aw as parseFontSize, B as configureSvgSize, X as clear, a6 as defaultConfig_default } from "./index-47ZLfCU8.js";
|
|
3
|
+
import { p as parse } from "./cynefin-VYW2F7L2-3kPlVPG0.js";
|
|
4
|
+
import { d as d3arc } from "./arc-C2NyJjKR.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 { u as setAccDescription, v as getAccDescription, W as getDiagramTitle, V as setDiagramTitle, w as getAccTitle, x as setAccTitle, _ as __name, y as getConfig2, A as log, z as select, B as configureSvgSize, X as clear, a6 as defaultConfig_default, J as sanitizeText, ao as getThemeVariables3 } from "./index-
|
|
2
|
-
import { l as linear } from "./linear-
|
|
1
|
+
import { u as setAccDescription, v as getAccDescription, W as getDiagramTitle, V as setDiagramTitle, w as getAccTitle, x as setAccTitle, _ as __name, y as getConfig2, A as log, z as select, B as configureSvgSize, X as clear, a6 as defaultConfig_default, J as sanitizeText, ao as getThemeVariables3 } from "./index-47ZLfCU8.js";
|
|
2
|
+
import { l as linear } from "./linear-B2eGZpM_.js";
|
|
3
3
|
import "./init-CTO7spbL.js";
|
|
4
4
|
import "./defaultLocale-B2RvLBDe.js";
|
|
5
5
|
var parser = (function() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as getStyles, r as renderer, d as db } from "./chunk-6Q2QTUOP-
|
|
2
|
-
import { p as populateCommonDb } from "./chunk-JWPE2WC7-
|
|
3
|
-
import { _ as __name, A as log } from "./index-
|
|
4
|
-
import { M as MermaidParseError, c as createRailroadServices } from "./cynefin-VYW2F7L2-
|
|
1
|
+
import { g as getStyles, r as renderer, d as db } from "./chunk-6Q2QTUOP-BU5gT8Us.js";
|
|
2
|
+
import { p as populateCommonDb } from "./chunk-JWPE2WC7-Dvih3ku3.js";
|
|
3
|
+
import { _ as __name, A as log } from "./index-47ZLfCU8.js";
|
|
4
|
+
import { M as MermaidParseError, c as createRailroadServices } from "./cynefin-VYW2F7L2-3kPlVPG0.js";
|
|
5
5
|
var langiumParser = createRailroadServices().Railroad.parser.LangiumParser;
|
|
6
6
|
var transformExpression = /* @__PURE__ */ __name((expr) => {
|
|
7
7
|
switch (expr.$type) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as getDiagramElement } from "./chunk-XXDRQBXY-
|
|
2
|
-
import { s as setupViewPortForSVG } from "./chunk-KBJHAD2P-
|
|
3
|
-
import { _ as __name, a3 as getConfig, x as setAccTitle, w as getAccTitle, u as setAccDescription, v as getAccDescription, V as setDiagramTitle, W as getDiagramTitle, y as getConfig2, A as log, X as clear, $ as __export, a0 as getRegisteredLayoutAlgorithm, a1 as render, a2 as utils_default } from "./index-
|
|
1
|
+
import { g as getDiagramElement } from "./chunk-XXDRQBXY-BDZJ-WFV.js";
|
|
2
|
+
import { s as setupViewPortForSVG } from "./chunk-KBJHAD2P-CMgAbRkQ.js";
|
|
3
|
+
import { _ as __name, a3 as getConfig, x as setAccTitle, w as getAccTitle, u as setAccDescription, v as getAccDescription, V as setDiagramTitle, W as getDiagramTitle, y as getConfig2, A as log, X as clear, $ as __export, a0 as getRegisteredLayoutAlgorithm, a1 as render, a2 as utils_default } from "./index-47ZLfCU8.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 { V as setDiagramTitle, W as getDiagramTitle, u as setAccDescription, v as getAccDescription, x as setAccTitle, w as getAccTitle, _ as __name, y as getConfig2,
|
|
1
|
+
import { V as setDiagramTitle, W as getDiagramTitle, u as setAccDescription, v as getAccDescription, x as setAccTitle, w as getAccTitle, _ as __name, y as getConfig2, cE as defaultConfig2, z as select, aH as setupGraphViewbox, X as clear, O as common_default } from "./index-47ZLfCU8.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 { I as ImperativeState } from "./chunk-2Q5K7J3B-
|
|
2
|
-
import { _ as __name, ar as setConfig2, y as getConfig2, z as select, A as log, K as distExports, B as configureSvgSize, C as assignWithDepth_default, O as common_default, x as setAccTitle, u as setAccDescription, V as setDiagramTitle, w as getAccTitle, v as getAccDescription, W as getDiagramTitle, as as load, at as JSON_SCHEMA, X as clear, J as sanitizeText, a2 as utils_default, au as hasKatex, av as calculateMathMLDimensions, aw as parseFontSize, ax as ZERO_WIDTH_SPACE, a3 as getConfig, ay as getUrl, az as renderKatexSanitized } from "./index-
|
|
3
|
-
import { a as drawBackgroundRect, b as getTextObj, g as getNoteRect, d as drawRect, c as drawEmbeddedImage, e as drawImage } from "./chunk-2GRJ4B5K-
|
|
1
|
+
import { I as ImperativeState } from "./chunk-2Q5K7J3B-DkQwfKC2.js";
|
|
2
|
+
import { _ as __name, ar as setConfig2, y as getConfig2, z as select, A as log, K as distExports, B as configureSvgSize, C as assignWithDepth_default, O as common_default, x as setAccTitle, u as setAccDescription, V as setDiagramTitle, w as getAccTitle, v as getAccDescription, W as getDiagramTitle, as as load, at as JSON_SCHEMA, X as clear, J as sanitizeText, a2 as utils_default, au as hasKatex, av as calculateMathMLDimensions, aw as parseFontSize, ax as ZERO_WIDTH_SPACE, a3 as getConfig, ay as getUrl, az as renderKatexSanitized } from "./index-47ZLfCU8.js";
|
|
3
|
+
import { a as drawBackgroundRect, b as getTextObj, g as getNoteRect, d as drawRect, c as drawEmbeddedImage, e as drawImage } from "./chunk-2GRJ4B5K-Bt46bDfT.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-OKZ733FA-BXVYIEda.js → stateDiagram-OKZ733FA-DSo1KeOQ.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { s as styles_default, a as stateDiagram_default, S as StateDB } from "./chunk-5RXB4S5H-
|
|
2
|
-
import { _ as __name, y as getConfig2, z as select, A as log, B as configureSvgSize, O as common_default, aq as shapeLine, aC as curveBasis, ay as getUrl, a2 as utils_default } from "./index-
|
|
3
|
-
import { G as Graph } from "./graph-
|
|
4
|
-
import { l as layout } from "./layout-
|
|
5
|
-
import "./chunk-XXDRQBXY-
|
|
6
|
-
import "./chunk-KBJHAD2P-
|
|
7
|
-
import "./chunk-2GRJ4B5K-
|
|
8
|
-
import "./map-
|
|
1
|
+
import { s as styles_default, a as stateDiagram_default, S as StateDB } from "./chunk-5RXB4S5H-CFNEWvlR.js";
|
|
2
|
+
import { _ as __name, y as getConfig2, z as select, A as log, B as configureSvgSize, O as common_default, aq as shapeLine, aC as curveBasis, ay as getUrl, a2 as utils_default } from "./index-47ZLfCU8.js";
|
|
3
|
+
import { G as Graph } from "./graph-BDbmSegI.js";
|
|
4
|
+
import { l as layout } from "./layout-oaOUFeBM.js";
|
|
5
|
+
import "./chunk-XXDRQBXY-BDZJ-WFV.js";
|
|
6
|
+
import "./chunk-KBJHAD2P-CMgAbRkQ.js";
|
|
7
|
+
import "./chunk-2GRJ4B5K-Bt46bDfT.js";
|
|
8
|
+
import "./map-BijQCI9U.js";
|
|
9
9
|
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");
|
|
10
10
|
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");
|
|
11
11
|
var drawSimpleState = /* @__PURE__ */ __name((g, stateDef) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as styles_default, b as stateRenderer_v3_unified_default, a as stateDiagram_default, S as StateDB } from "./chunk-5RXB4S5H-
|
|
2
|
-
import { _ as __name } from "./index-
|
|
3
|
-
import "./chunk-XXDRQBXY-
|
|
4
|
-
import "./chunk-KBJHAD2P-
|
|
5
|
-
import "./chunk-2GRJ4B5K-
|
|
1
|
+
import { s as styles_default, b as stateRenderer_v3_unified_default, a as stateDiagram_default, S as StateDB } from "./chunk-5RXB4S5H-CFNEWvlR.js";
|
|
2
|
+
import { _ as __name } from "./index-47ZLfCU8.js";
|
|
3
|
+
import "./chunk-XXDRQBXY-BDZJ-WFV.js";
|
|
4
|
+
import "./chunk-KBJHAD2P-CMgAbRkQ.js";
|
|
5
|
+
import "./chunk-2GRJ4B5K-Bt46bDfT.js";
|
|
6
6
|
var diagram = {
|
|
7
7
|
parser: stateDiagram_default,
|
|
8
8
|
get db() {
|
package/out/renderer/assets/{swimlanes-SLNWSIFB-BKdeSpak.js → swimlanes-SLNWSIFB-p3GZ-wkU.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./sizeCapture-X5ZJPWSS-
|
|
2
|
-
import { bj as markers_default, bk as clear2, bl as clear, bm as clear$1, A as log, y as getConfig2, aM as insertNode, bt as __vitePreload, aL as insertCluster, aN as positionNode, bq as insertEdge, bs as insertEdgeLabel, a3 as getConfig, bp as getSubGraphTitleMargins, bu as edgeLabels, a2 as utils_default, bv as terminalLabels, _ as __name, bw as markerOffsets } from "./index-
|
|
3
|
-
import { c as clear$2 } from "./chunk-RYQCIY6F-
|
|
4
|
-
import { G as Graph } from "./graph-
|
|
5
|
-
import "./map-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./sizeCapture-X5ZJPWSS-CaN4k1d3.js","./index-47ZLfCU8.js","./index-D_o1aMFn.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { bj as markers_default, bk as clear2, bl as clear, bm as clear$1, A as log, y as getConfig2, aM as insertNode, bt as __vitePreload, aL as insertCluster, aN as positionNode, bq as insertEdge, bs as insertEdgeLabel, a3 as getConfig, bp as getSubGraphTitleMargins, bu as edgeLabels, a2 as utils_default, bv as terminalLabels, _ as __name, bw as markerOffsets } from "./index-47ZLfCU8.js";
|
|
3
|
+
import { c as clear$2 } from "./chunk-RYQCIY6F-CAJ6Qldz.js";
|
|
4
|
+
import { G as Graph } from "./graph-BDbmSegI.js";
|
|
5
|
+
import "./map-BijQCI9U.js";
|
|
6
6
|
async function createGraphWithElements(element, data4Layout) {
|
|
7
7
|
const graph = new Graph({
|
|
8
8
|
multigraph: true,
|
|
@@ -42,7 +42,7 @@ async function createGraphWithElements(element, data4Layout) {
|
|
|
42
42
|
}
|
|
43
43
|
if (globalThis.mermaidCaptureSizes) {
|
|
44
44
|
const { captureNodeSizes } = await __vitePreload(async () => {
|
|
45
|
-
const { captureNodeSizes: captureNodeSizes2 } = await import("./sizeCapture-X5ZJPWSS-
|
|
45
|
+
const { captureNodeSizes: captureNodeSizes2 } = await import("./sizeCapture-X5ZJPWSS-CaN4k1d3.js");
|
|
46
46
|
return { captureNodeSizes: captureNodeSizes2 };
|
|
47
47
|
}, true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
|
|
48
48
|
captureNodeSizes(element, data4Layout);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as createFlowDiagram, s as styles_default } from "./flowDiagram-UKHOOZJN-
|
|
2
|
-
import { _ as __name } from "./index-
|
|
3
|
-
import "./chunk-5VM5RSS4-
|
|
4
|
-
import "./chunk-XXDRQBXY-
|
|
5
|
-
import "./chunk-KBJHAD2P-
|
|
6
|
-
import "./chunk-2GRJ4B5K-
|
|
7
|
-
import "./channel-
|
|
1
|
+
import { c as createFlowDiagram, s as styles_default } from "./flowDiagram-UKHOOZJN-D3ul5aGG.js";
|
|
2
|
+
import { _ as __name } from "./index-47ZLfCU8.js";
|
|
3
|
+
import "./chunk-5VM5RSS4-BNeZg_6d.js";
|
|
4
|
+
import "./chunk-XXDRQBXY-BDZJ-WFV.js";
|
|
5
|
+
import "./chunk-KBJHAD2P-CMgAbRkQ.js";
|
|
6
|
+
import "./chunk-2GRJ4B5K-Bt46bDfT.js";
|
|
7
|
+
import "./channel-CCPkBLnh.js";
|
|
8
8
|
var getStyles = /* @__PURE__ */ __name((options) => `${styles_default(options)}
|
|
9
9
|
.swimlane.cluster rect {
|
|
10
10
|
stroke: ${options.clusterBorder} !important;
|
|
@@ -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-B2eGZpM_.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, a3 as getConfig, aE as isDark, aF as lighten, aG as darken, y as getConfig2, A as log, a8 as selectSvgElement, aw as parseFontSize, aH as setupGraphViewbox, z as select, $ as __export, aI as commonDb_exports, X as clear } from "./index-
|
|
2
|
-
import { d as d3arc } from "./arc-
|
|
1
|
+
import { _ as __name, a3 as getConfig, aE as isDark, aF as lighten, aG as darken, y as getConfig2, A as log, a8 as selectSvgElement, aw as parseFontSize, aH as setupGraphViewbox, z as select, $ as __export, aI as commonDb_exports, X as clear } from "./index-47ZLfCU8.js";
|
|
2
|
+
import { d as d3arc } from "./arc-C2NyJjKR.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-T6HMQDX7-D-ixbj5U.js → vennDiagram-T6HMQDX7-wp87GaTi.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ch as adjustChannel, u as setAccDescription, v as getAccDescription, W as getDiagramTitle, V as setDiagramTitle, w as getAccTitle, x as setAccTitle, _ as __name, a3 as getConfig, a8 as selectSvgElement, z as select, aR as at, aE as isDark, aF as lighten, aG as darken, B as configureSvgSize, X as clear, a5 as cleanAndMerge, a6 as defaultConfig_default } from "./index-47ZLfCU8.js";
|
|
2
2
|
const transparentize = (color, amount) => {
|
|
3
3
|
return adjustChannel(color, "a", -amount);
|
|
4
4
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as populateCommonDb } from "./chunk-JWPE2WC7-
|
|
2
|
-
import { u as setAccDescription, v as getAccDescription, W as getDiagramTitle, V as setDiagramTitle, w as getAccTitle, x as setAccTitle, _ as __name, ao as getThemeVariables3, a3 as getConfig, a5 as cleanAndMerge, A as log, a8 as selectSvgElement, B as configureSvgSize, X as clear, y as getConfig2 } from "./index-
|
|
3
|
-
import { p as parse } from "./cynefin-VYW2F7L2-
|
|
1
|
+
import { p as populateCommonDb } from "./chunk-JWPE2WC7-Dvih3ku3.js";
|
|
2
|
+
import { u as setAccDescription, v as getAccDescription, W as getDiagramTitle, V as setDiagramTitle, w as getAccTitle, x as setAccTitle, _ as __name, ao as getThemeVariables3, a3 as getConfig, a5 as cleanAndMerge, A as log, a8 as selectSvgElement, B as configureSvgSize, X as clear, y as getConfig2 } from "./index-47ZLfCU8.js";
|
|
3
|
+
import { p as parse } from "./cynefin-VYW2F7L2-3kPlVPG0.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 { u as setAccDescription, v as getAccDescription, W as getDiagramTitle, V as setDiagramTitle, w as getAccTitle, x as setAccTitle, _ as __name, A as log, a8 as selectSvgElement, B as configureSvgSize, X as clear, a3 as getConfig, J as sanitizeText, a5 as cleanAndMerge, a6 as defaultConfig_default, ao as getThemeVariables3, ap as computeDimensionOfText, aq as shapeLine } from "./index-
|
|
1
|
+
import { u as setAccDescription, v as getAccDescription, W as getDiagramTitle, V as setDiagramTitle, w as getAccTitle, x as setAccTitle, _ as __name, A as log, a8 as selectSvgElement, B as configureSvgSize, X as clear, a3 as getConfig, J as sanitizeText, a5 as cleanAndMerge, a6 as defaultConfig_default, ao as getThemeVariables3, ap as computeDimensionOfText, aq as shapeLine } from "./index-47ZLfCU8.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-B2eGZpM_.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-47ZLfCU8.js"></script>
|
|
24
|
+
<link rel="stylesheet" crossorigin href="./assets/index-D_o1aMFn.css">
|
|
25
25
|
</head>
|
|
26
26
|
|
|
27
27
|
<body>
|
|
@@ -401,21 +401,22 @@ After completing this skill, verify:
|
|
|
401
401
|
- When: Extension wants to persist knowledge across tasks (user preferences, code patterns, architectural decisions)
|
|
402
402
|
- Then: Use `context.getMemoryContext()` to access the Memory API
|
|
403
403
|
- Check: Always call `isMemoryEnabled()` before using memory operations
|
|
404
|
-
- Store: `memory.storeMemory(
|
|
405
|
-
- Retrieve: `memory.retrieveMemories(
|
|
404
|
+
- Store: `memory.storeMemory(scopeId, taskId, type, content)` — returns the created memory ID
|
|
405
|
+
- Retrieve: `memory.retrieveMemories(scopeId, query, limit?)` — returns semantically similar memories
|
|
406
406
|
- Types: Use `MemoryEntryType` enum ('task', 'user-preference', 'code-pattern')
|
|
407
|
-
-
|
|
407
|
+
- Scope: use the project directory (`context.getProjectDir()`) for project-scoped memories, or `agent-profile:{profileId}` to share memories across projects for agents with memory isolation (`useAgentMemoryScope`) enabled
|
|
408
|
+
- Note: Works outside of project/task scope — pass empty strings for `scopeId`/`taskId` if not applicable
|
|
408
409
|
- Example:
|
|
409
410
|
```typescript
|
|
410
411
|
async onAgentFinished(event: AgentFinishedEvent, context: ExtensionContext) {
|
|
411
412
|
const memory = context.getMemoryContext();
|
|
412
413
|
if (!memory.isMemoryEnabled()) return;
|
|
413
414
|
|
|
414
|
-
const
|
|
415
|
+
const scopeId = context.getProjectDir();
|
|
415
416
|
const taskId = context.getTaskContext()?.data.id ?? '';
|
|
416
417
|
|
|
417
|
-
await memory.storeMemory(
|
|
418
|
-
const memories = await memory.retrieveMemories(
|
|
418
|
+
await memory.storeMemory(scopeId, taskId, 'code-pattern', 'Always use clsx for conditional classes');
|
|
419
|
+
const memories = await memory.retrieveMemories(scopeId, 'React class naming');
|
|
419
420
|
context.log(`Found ${memories.length} relevant memories`, 'info');
|
|
420
421
|
}
|
|
421
422
|
```
|
|
@@ -33,6 +33,7 @@ Every Extension interface method dispatches a specific event type. All handlers
|
|
|
33
33
|
| `onToolApproval` | `ToolApprovalEvent` | ✅ Yes |
|
|
34
34
|
| `onToolCalled` | `ToolCalledEvent` | — |
|
|
35
35
|
| `onToolFinished` | `ToolFinishedEvent` | — |
|
|
36
|
+
| `onToolsetCreated` | `ToolsetCreatedEvent` | — |
|
|
36
37
|
| `onFilesAdded` | `FilesAddedEvent` | — |
|
|
37
38
|
| `onFilesDropped` | `FilesDroppedEvent` | — |
|
|
38
39
|
| `onRuleFilesRetrieved` | `RuleFilesRetrievedEvent` | — |
|
|
@@ -349,6 +350,31 @@ interface ToolFinishedEvent {
|
|
|
349
350
|
|
|
350
351
|
---
|
|
351
352
|
|
|
353
|
+
### ToolsetCreatedEvent
|
|
354
|
+
|
|
355
|
+
Dispatched after the complete toolset for an agent run has been assembled (built-in, MCP, and extension tools). Extensions can replace the `tools` record to add or remove tools before they are exposed to the model. Return a new record instead of mutating; when multiple extensions return `tools`, the last one wins.
|
|
356
|
+
|
|
357
|
+
```typescript
|
|
358
|
+
interface ToolsetCreatedEvent {
|
|
359
|
+
readonly mode: Mode;
|
|
360
|
+
readonly agentProfile: AgentProfile;
|
|
361
|
+
readonly providerProfile: ProviderProfile;
|
|
362
|
+
readonly model: string;
|
|
363
|
+
readonly promptContext?: PromptContext;
|
|
364
|
+
tools: Record<string, ToolsetToolEntry>;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
interface ToolsetToolEntry {
|
|
368
|
+
description?: string;
|
|
369
|
+
inputSchema?: unknown;
|
|
370
|
+
execute?(input: Record<string, unknown>, options?: unknown): Promise<unknown>;
|
|
371
|
+
}
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
Typical use case: hide tools from direct model calling while still invoking them programmatically (Code Mode pattern) — remove the tools from `tools` while keeping them accessible through your own extension tool.
|
|
375
|
+
|
|
376
|
+
---
|
|
377
|
+
|
|
352
378
|
## File Events
|
|
353
379
|
|
|
354
380
|
### FilesAddedEvent
|
|
@@ -328,6 +328,10 @@ interface ExtensionContext {
|
|
|
328
328
|
/** Get a specific setting value from global settings using dot-notation (e.g., 'general.theme'). */
|
|
329
329
|
getSetting(key: string): Promise<unknown>;
|
|
330
330
|
|
|
331
|
+
/** Get the configured provider profiles (LLM provider settings including API keys).
|
|
332
|
+
* Read-only snapshots from the ModelManager; empty array when not available. */
|
|
333
|
+
getProviders(): ProviderProfile[];
|
|
334
|
+
|
|
331
335
|
/** Update global settings by merging the provided partial updates. */
|
|
332
336
|
updateSettings(updates: Partial<SettingsData>): Promise<void>;
|
|
333
337
|
|
|
@@ -620,6 +624,20 @@ interface TaskContext {
|
|
|
620
624
|
/** Compact the conversation by summarizing history via a compact-conversation agent. */
|
|
621
625
|
compactConversation(instructions?: string): Promise<void>;
|
|
622
626
|
|
|
627
|
+
/**
|
|
628
|
+
* Run deterministic (rule-based) smart compaction on the task context.
|
|
629
|
+
* Passes: erroredTools, fileEdits, staleFileReads, fileReads, searches, semanticSearches,
|
|
630
|
+
* bash, fetch, otherTools, verboseToolCalls, reasoning. Omitted flags default to true.
|
|
631
|
+
* @param options.protectedMessageCount - Number of most-recent messages protected from compaction (default: 10)
|
|
632
|
+
* @param options.compactionLevel - Compaction level 1 (mild) to 5 (max). Omit to keep the automatic level.
|
|
633
|
+
* @param options.passes - Which compaction passes to run. Omitted = all passes enabled.
|
|
634
|
+
* @returns Message counts and estimated next-prompt token counts before and after compaction.
|
|
635
|
+
*/
|
|
636
|
+
smartCompact(options?: SmartCompactionOptions): Promise<SmartCompactionResult>;
|
|
637
|
+
|
|
638
|
+
/** Estimate the token count of the next agent prompt for this task. */
|
|
639
|
+
getEstimatedTokens(): Promise<number>;
|
|
640
|
+
|
|
623
641
|
/** Generate a markdown representation of the context messages. */
|
|
624
642
|
generateContextMarkdown(): Promise<string | null>;
|
|
625
643
|
|
|
@@ -750,11 +768,13 @@ Provides access to AiderDesk's memory system. Uses the same underlying vector st
|
|
|
750
768
|
|
|
751
769
|
```typescript
|
|
752
770
|
interface MemoryContext {
|
|
753
|
-
/** Store a new memory entry. Returns the ID of the created memory.
|
|
754
|
-
|
|
771
|
+
/** Store a new memory entry. Returns the ID of the created memory.
|
|
772
|
+
* @param scopeId - Memory scope: the project directory, or `agent-profile:{profileId}` when the agent profile has memory isolation (`useAgentMemoryScope`) enabled */
|
|
773
|
+
storeMemory(scopeId: string, taskId: string, type: MemoryEntryType, content: string): Promise<string>;
|
|
755
774
|
|
|
756
|
-
/** Retrieve memories by semantic similarity. Returns array ranked by relevance.
|
|
757
|
-
|
|
775
|
+
/** Retrieve memories by semantic similarity. Returns array ranked by relevance.
|
|
776
|
+
* @param scopeId - Memory scope: the project directory, or `agent-profile:{profileId}` when the agent profile has memory isolation (`useAgentMemoryScope`) enabled */
|
|
777
|
+
retrieveMemories(scopeId: string, query: string, limit?: number): Promise<MemoryEntry[]>;
|
|
758
778
|
|
|
759
779
|
/** Get a single memory by ID. */
|
|
760
780
|
getMemory(id: string): Promise<MemoryEntry | null>;
|
|
@@ -794,6 +814,7 @@ interface MemoryEntry {
|
|
|
794
814
|
content: string;
|
|
795
815
|
type: MemoryEntryType;
|
|
796
816
|
taskId?: string;
|
|
817
|
+
/** Memory scope: project directory path, or agent profile scope (`agent-profile:{id}`) */
|
|
797
818
|
projectId?: string;
|
|
798
819
|
timestamp: number;
|
|
799
820
|
}
|
|
@@ -888,6 +909,63 @@ interface QuestionOptions {
|
|
|
888
909
|
}
|
|
889
910
|
```
|
|
890
911
|
|
|
912
|
+
### SmartCompactionPasses
|
|
913
|
+
|
|
914
|
+
```typescript
|
|
915
|
+
interface SmartCompactionPasses {
|
|
916
|
+
/** Remove errored/no-op power tool calls */
|
|
917
|
+
erroredTools?: boolean;
|
|
918
|
+
/** Collapse repeated file edit/write calls into <file-edited> markers */
|
|
919
|
+
fileEdits?: boolean;
|
|
920
|
+
/** Remove file reads that precede later edits of the same file */
|
|
921
|
+
staleFileReads?: boolean;
|
|
922
|
+
/** Truncate/redact file read outputs */
|
|
923
|
+
fileReads?: boolean;
|
|
924
|
+
/** Remove glob/grep searches made obsolete by later edits */
|
|
925
|
+
searches?: boolean;
|
|
926
|
+
/** Remove/deduplicate semantic search results */
|
|
927
|
+
semanticSearches?: boolean;
|
|
928
|
+
/** Deduplicate bash commands and redact their outputs */
|
|
929
|
+
bash?: boolean;
|
|
930
|
+
/** Redact fetch outputs */
|
|
931
|
+
fetch?: boolean;
|
|
932
|
+
/** Truncate results of non-power (MCP/extension) tools */
|
|
933
|
+
otherTools?: boolean;
|
|
934
|
+
/** Remove tool calls with verbose inputs */
|
|
935
|
+
verboseToolCalls?: boolean;
|
|
936
|
+
/** Remove reasoning parts from assistant messages */
|
|
937
|
+
reasoning?: boolean;
|
|
938
|
+
}
|
|
939
|
+
```
|
|
940
|
+
|
|
941
|
+
### SmartCompactionOptions
|
|
942
|
+
|
|
943
|
+
```typescript
|
|
944
|
+
interface SmartCompactionOptions {
|
|
945
|
+
/** Number of most-recent messages protected from compaction (default: 10) */
|
|
946
|
+
protectedMessageCount?: number;
|
|
947
|
+
/** Compaction level 1 (mild) to 5 (max). Omit to keep the automatic level. */
|
|
948
|
+
compactionLevel?: number;
|
|
949
|
+
/** Which compaction passes to run. Omitted = all passes enabled. */
|
|
950
|
+
passes?: SmartCompactionPasses;
|
|
951
|
+
}
|
|
952
|
+
```
|
|
953
|
+
|
|
954
|
+
### SmartCompactionResult
|
|
955
|
+
|
|
956
|
+
```typescript
|
|
957
|
+
interface SmartCompactionResult {
|
|
958
|
+
/** Context message count before compaction */
|
|
959
|
+
messagesBefore: number;
|
|
960
|
+
/** Context message count after compaction */
|
|
961
|
+
messagesAfter: number;
|
|
962
|
+
/** Estimated next-prompt token count before compaction */
|
|
963
|
+
tokensBefore: number;
|
|
964
|
+
/** Estimated next-prompt token count after compaction */
|
|
965
|
+
tokensAfter: number;
|
|
966
|
+
}
|
|
967
|
+
```
|
|
968
|
+
|
|
891
969
|
### CreateTaskParams
|
|
892
970
|
|
|
893
971
|
```typescript
|