synabun 2.4.5 → 2.4.6

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 (95) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +1 -1
  3. package/docs/whatsapp.md +17 -1
  4. package/hooks/claude-code/session-start.mjs +21 -18
  5. package/lib/claude-global-config.js +214 -0
  6. package/lib/client-config-repair.js +17 -3
  7. package/mcp-server/dist/index.d.ts.map +1 -1
  8. package/mcp-server/dist/index.js +6 -1
  9. package/mcp-server/dist/index.js.map +1 -1
  10. package/mcp-server/dist/services/tool-catalog.js +1 -1
  11. package/mcp-server/dist/services/tool-catalog.js.map +1 -1
  12. package/mcp-server/dist/tools/agents.d.ts +2 -0
  13. package/mcp-server/dist/tools/agents.d.ts.map +1 -1
  14. package/mcp-server/dist/tools/agents.js +11 -5
  15. package/mcp-server/dist/tools/agents.js.map +1 -1
  16. package/mcp-server/dist/tools/skill-tools.d.ts +24 -5
  17. package/mcp-server/dist/tools/skill-tools.d.ts.map +1 -1
  18. package/mcp-server/dist/tools/skill-tools.js +88 -8
  19. package/mcp-server/dist/tools/skill-tools.js.map +1 -1
  20. package/mcp-server/dist/tools/tool-groups.d.ts.map +1 -1
  21. package/mcp-server/dist/tools/tool-groups.js +19 -4
  22. package/mcp-server/dist/tools/tool-groups.js.map +1 -1
  23. package/mcp-server/package-lock.json +2 -2
  24. package/mcp-server/package.json +1 -1
  25. package/mcp-server/src/index.ts +6 -1
  26. package/mcp-server/src/services/tool-catalog.ts +1 -1
  27. package/mcp-server/src/tools/agents.ts +11 -5
  28. package/mcp-server/src/tools/skill-tools.ts +82 -9
  29. package/mcp-server/src/tools/tool-groups.ts +19 -4
  30. package/neural-interface/i18n/en.json +135 -10
  31. package/neural-interface/i18n/pt-BR.json +135 -10
  32. package/neural-interface/lib/antigravity/panel-bridge.js +7 -3
  33. package/neural-interface/lib/assistant-dispatch.js +15 -1
  34. package/neural-interface/lib/assistant-runtime.js +79 -8
  35. package/neural-interface/lib/assistant-user-context.js +7 -3
  36. package/neural-interface/lib/claude-agent-bridge.js +13 -2
  37. package/neural-interface/lib/codex-thread-history.js +144 -7
  38. package/neural-interface/lib/codex-worker-app-server.js +84 -30
  39. package/neural-interface/lib/db.js +26 -0
  40. package/neural-interface/lib/greeting/sources.js +7 -3
  41. package/neural-interface/lib/jsonl-lines.js +10 -11
  42. package/neural-interface/lib/line-buffer.js +88 -0
  43. package/neural-interface/lib/loop-stall.js +15 -1
  44. package/neural-interface/lib/memory-list-read.js +105 -0
  45. package/neural-interface/lib/memory-timers.js +4 -1
  46. package/neural-interface/lib/native-loop-runtime.js +7 -3
  47. package/neural-interface/lib/provider-panel-api-key-auth.js +33 -6
  48. package/neural-interface/lib/skills/api-v2.js +18 -3
  49. package/neural-interface/lib/skills/bundle.js +2 -2
  50. package/neural-interface/lib/skills/deploy.js +169 -34
  51. package/neural-interface/lib/skills/digest.js +57 -3
  52. package/neural-interface/lib/skills/health.js +55 -1
  53. package/neural-interface/lib/skills/known-bridge-digests.json +12 -0
  54. package/neural-interface/lib/skills/runtime-checks.js +7 -4
  55. package/neural-interface/lib/skills/scan-shell.js +56 -7
  56. package/neural-interface/lib/skills/scan.js +13 -12
  57. package/neural-interface/lib/skills/service.js +7 -2
  58. package/neural-interface/lib/skills/telemetry.js +2 -2
  59. package/neural-interface/lib/teams/README.md +12 -5
  60. package/neural-interface/lib/teams/api.js +15 -4
  61. package/neural-interface/lib/teams/index.js +2 -0
  62. package/neural-interface/lib/teams/landing.js +195 -75
  63. package/neural-interface/lib/teams/scheduler.js +31 -32
  64. package/neural-interface/lib/terminal-token-redaction.js +228 -58
  65. package/neural-interface/lib/terminal-tokens.js +18 -0
  66. package/neural-interface/lib/whatsapp/brain.js +21 -0
  67. package/neural-interface/lib/whatsapp/bridge.js +40 -4
  68. package/neural-interface/package-lock.json +2 -2
  69. package/neural-interface/package.json +1 -1
  70. package/neural-interface/public/index.html +117 -37
  71. package/neural-interface/public/shared/agents/studio/ax-api.js +11 -0
  72. package/neural-interface/public/shared/agents/studio/ax-create-view.js +1 -1
  73. package/neural-interface/public/shared/agents/studio/ax-icons.js +1 -0
  74. package/neural-interface/public/shared/agents/studio/ax-library-view.js +3 -2
  75. package/neural-interface/public/shared/agents/studio/ax-main.js +127 -41
  76. package/neural-interface/public/shared/agents/studio/ax-review-view.js +3 -2
  77. package/neural-interface/public/shared/agents/studio/ax-teams-view.js +137 -39
  78. package/neural-interface/public/shared/agents/studio/ax-teams.js +219 -4
  79. package/neural-interface/public/shared/agents/studio/ax-ui.js +31 -0
  80. package/neural-interface/public/shared/agents/studio/ax-views.js +67 -69
  81. package/neural-interface/public/shared/agents/studio/ax-work-answer.js +86 -0
  82. package/neural-interface/public/shared/agents/studio/ax-work-view.js +305 -0
  83. package/neural-interface/public/shared/agents/studio/ax-work.css +74 -0
  84. package/neural-interface/public/shared/agents/studio/ax-work.js +300 -0
  85. package/neural-interface/public/shared/cdx/cdx-deferred.js +90 -0
  86. package/neural-interface/public/shared/cdx/cdx-render.js +18 -7
  87. package/neural-interface/public/shared/cdx/cdx-tabs.js +2 -1
  88. package/neural-interface/public/shared/loading-diagnostic-entry.js +16 -1
  89. package/neural-interface/public/shared/skills/studio/sx-operations-view.js +5 -0
  90. package/neural-interface/public/shared/skills/studio/sx-plan.js +42 -3
  91. package/neural-interface/public/shared/skills/studio/sx-publish-view.js +20 -4
  92. package/neural-interface/server.js +316 -252
  93. package/npm-shrinkwrap.json +2 -2
  94. package/package.json +2 -1
  95. package/skills/skill-forge/SKILL.md +7 -3
@@ -25,7 +25,7 @@
25
25
  <link rel="preload" href="/synabun.png?v=2" as="image">
26
26
  <link rel="stylesheet" href="/shared/styles.css">
27
27
  <!-- three.js is vendored (scripts/build-vendor.mjs); only the map renderer imports it.
28
- The import map must come before any module load, the preload included. -->
28
+ The import map must come before any module load. -->
29
29
  <script type="importmap">
30
30
  {
31
31
  "imports": {
@@ -33,32 +33,43 @@
33
33
  }
34
34
  }
35
35
  </script>
36
- <!-- What the first frame (the loading overlay) needs: variant/3d/main.js and every module it imports, asked for at
37
- once instead of one import level after another. The rest of the app (variant/3d/app.js) is imported by main.js
38
- once the overlay shows. tests/boot-critical-path.test.mjs keeps this list equal to main.js's imports. -->
39
- <link rel="modulepreload" href="/shared/page-session.js">
40
- <link rel="modulepreload" href="/variant/3d/main.js">
41
- <link rel="modulepreload" href="/shared/storage.js">
42
- <link rel="modulepreload" href="/shared/registry.js">
43
- <link rel="modulepreload" href="/shared/html-shell.js">
44
- <link rel="modulepreload" href="/shared/view-variant.js">
45
- <link rel="modulepreload" href="/shared/i18n.js">
46
- <link rel="modulepreload" href="/shared/ui-loading.js">
47
- <link rel="modulepreload" href="/shared/memory-list.js">
48
- <link rel="modulepreload" href="/shared/ui-sidepanel-runtime.js">
49
- <link rel="modulepreload" href="/shared/storage-retry.js">
50
- <link rel="modulepreload" href="/shared/app-frame.js">
51
- <link rel="modulepreload" href="/shared/constants.js">
52
- <link rel="modulepreload" href="/shared/api.js">
53
- <link rel="modulepreload" href="/shared/state.js">
54
- <link rel="modulepreload" href="/shared/loading-teardown.js">
55
- <link rel="modulepreload" href="/shared/start-bridge.js">
56
- <link rel="modulepreload" href="/shared/server-presence.js">
57
- <link rel="modulepreload" href="/shared/synabun-mascot.js">
58
- <link rel="modulepreload" href="/shared/desktop-bridge.js">
59
- <link rel="modulepreload" href="/shared/synabun-ticker.js">
60
- <link rel="modulepreload" href="/shared/synabun-mascot-assets.js">
61
- <link rel="modulepreload" href="/vendor/three/three-0.169.0.min.js">
36
+ <!-- What the first frame (the loading overlay) needs: variant/3d/main.js and every module it imports. The rest of
37
+ the app (variant/3d/app.js) is imported by main.js once the overlay shows.
38
+ No modulepreload hints, on purpose. They were here from 2026-11-15 to 2026-11-28 ("asked for at once instead of
39
+ one import level after another"). In WebKit (the owner's Safari web app) a hinted module whose load fails once,
40
+ because the server was away or a connection dropped, is kept as failed in memory: the next loads of the page
41
+ replay that failure without asking the server, reload after reload, with or without the hints in the later
42
+ documents, while every module answers a plain fetch (tests/startup-recovery.browser.mjs: without the hints the
43
+ very next reload loads). On a local server the hints saved nothing that could be measured (66 against 67 ms to
44
+ the first frame in WebKit, 33 against 35 in Chromium).
45
+ The list below is data, not a hint: what index.html asks for again, plainly, when the first frame's modules
46
+ failed (the probe in startup-recovery). tests/boot-critical-path.test.mjs keeps it equal to main.js's imports. -->
47
+ <script type="application/json" id="first-frame-modules">
48
+ [
49
+ "/shared/page-session.js",
50
+ "/variant/3d/main.js",
51
+ "/shared/storage.js",
52
+ "/shared/registry.js",
53
+ "/shared/html-shell.js",
54
+ "/shared/view-variant.js",
55
+ "/shared/i18n.js",
56
+ "/shared/ui-loading.js",
57
+ "/shared/memory-list.js",
58
+ "/shared/ui-sidepanel-runtime.js",
59
+ "/shared/storage-retry.js",
60
+ "/shared/app-frame.js",
61
+ "/shared/constants.js",
62
+ "/shared/api.js",
63
+ "/shared/state.js",
64
+ "/shared/loading-teardown.js",
65
+ "/shared/start-bridge.js",
66
+ "/shared/server-presence.js",
67
+ "/shared/synabun-mascot.js",
68
+ "/shared/desktop-bridge.js",
69
+ "/shared/synabun-ticker.js",
70
+ "/shared/synabun-mascot-assets.js"
71
+ ]
72
+ </script>
62
73
  <style>
63
74
  /* ═══════════════════════════════════════════
64
75
  3D VARIANT — Memory map
@@ -268,25 +279,70 @@
268
279
  let sawOffline = false;
269
280
  let entryFailed = false;
270
281
  let reloadScheduled = false;
282
+ let retryTimer = null;
283
+ let appFailed = false;
271
284
  let lastStatus = '';
272
285
  function reportStatus(reason) {
273
286
  if (lastStatus !== reason) globalThis.synabunLoadingDiagnostics?.record('startup-status', { reason });
274
287
  lastStatus = reason;
275
288
  }
289
+ // What failed, for the log: every module of the first frame is asked for once more, plainly, and the answer is
290
+ // recorded as counts and one of SynaBun's own file names (shared/loading-diagnostic-entry.js). On 2026-11-28 the
291
+ // owner's web app failed this graph load after load against a healthy server, and nothing said which request.
292
+ let probed = false;
293
+ async function probeEntry() {
294
+ if (probed) return;
295
+ probed = true;
296
+ try {
297
+ const asked = JSON.parse(document.getElementById('first-frame-modules').textContent)
298
+ .filter(href => typeof href === 'string' && /^\/[^/\\]/.test(href)).slice(0, 40);
299
+ const answers = await Promise.all(asked.map(async href => {
300
+ try {
301
+ const response = await fetch(href, { cache: 'no-store', signal: AbortSignal.timeout(8000) });
302
+ if (!response.ok) return { href, reason: 'status', status: response.status };
303
+ if (!/javascript/i.test(response.headers.get('Content-Type') || '')) return { href, reason: 'type', status: response.status };
304
+ await response.arrayBuffer(); // a body cut short is a failure too
305
+ return null;
306
+ } catch (error) {
307
+ return { href, reason: error?.name === 'TimeoutError' ? 'timeout' : 'network', status: 0 };
308
+ }
309
+ }));
310
+ const failed = answers.filter(Boolean);
311
+ const name = failed[0] ? failed[0].href.split('/').pop() : '';
312
+ const navigation = performance.getEntriesByType('navigation')[0];
313
+ record('import-probe', {
314
+ module: 'entry',
315
+ navigation: ['navigate', 'reload', 'back_forward', 'prerender'].includes(navigation?.type) ? navigation.type : 'unknown',
316
+ document: !Number.isFinite(navigation?.transferSize) ? 'unknown' : navigation.transferSize > 0 ? 'network' : 'cache',
317
+ worker: !('serviceWorker' in navigator) ? 'unsupported' : navigator.serviceWorker.controller ? 'controlled' : 'none',
318
+ asked: asked.length, failed: failed.length,
319
+ first: /^[a-z0-9][a-z0-9.-]{0,47}\.js$/.test(name) ? name : '',
320
+ reason: failed[0]?.reason || 'none', status: failed[0]?.status || 0,
321
+ });
322
+ } catch { /* Observation must not interrupt recovery. */ }
323
+ }
276
324
  // A module graph that failed to load stays failed in this document, even if
277
325
  // the server has already recovered by the time the first probe runs.
278
326
  addEventListener('error', event => {
279
327
  if (event.target?.getAttribute?.('src') === '/variant/3d/main.js') {
280
328
  entryFailed = true;
281
329
  globalThis.synabunLoadingDiagnostics?.record('import-failed', { module: 'entry' });
330
+ probeEntry();
331
+ // Nothing of this document's graph is still on its way: the server is asked now, not in twelve seconds.
332
+ if (!adopted && !settled && checkTimer !== null) {
333
+ clearTimeout(checkTimer);
334
+ checkTimer = setTimeout(checkStartup, 1500);
335
+ }
282
336
  }
283
337
  }, true);
284
- // Both graphs share one retry across the failed reload chain. A completed boot
285
- // releases it immediately. After five minutes a fresh load can also retry.
338
+ // Both graphs share one chain of automatic reloads. A completed boot ends it
339
+ // immediately. Five minutes after its last reload a fresh load starts another.
286
340
  addEventListener('synabun:boot-complete', () => {
341
+ clearTimeout(retryTimer);
342
+ retryTimer = null;
287
343
  try {
288
- if (history.state?.startupRetried) {
289
- const { startupRetried, ...state } = history.state;
344
+ if (history.state?.startupRetried || history.state?.startupRetries) {
345
+ const { startupRetried, startupRetries, ...state } = history.state;
290
346
  history.replaceState(state, '');
291
347
  }
292
348
  } catch {}
@@ -305,25 +361,49 @@
305
361
  }
306
362
  record('boot-cleanup', { adopted, removed, hidden, aborted });
307
363
  });
364
+ // A failed module graph against a healthy server is reloaded by itself, a few times and further apart each time,
365
+ // before the person is asked: on 2026-11-28 the owner's web app failed three loads in a row and loaded on the
366
+ // fourth, forty seconds after the first, and one automatic reload had left a "connection failed" screen over a
367
+ // server that was answering. RETRY_GAPS[n] is the least time since the chain's last reload before its reload
368
+ // n + 1. The chain is kept in the history state: `startupRetried` (when it last reloaded) and `startupRetries`
369
+ // (how often); a legacy boolean, a clock that went back or five quiet minutes start a new one.
370
+ const RETRY_GAPS = [0, 5000, 15000, 30000];
371
+ const RETRY_CHAIN_MS = 300000;
372
+ function retryChain(now) {
373
+ const last = history.state?.startupRetried;
374
+ if (!Number.isFinite(last) || now < last || now - last >= RETRY_CHAIN_MS) return { count: 0, last: 0 };
375
+ const count = history.state?.startupRetries;
376
+ return { count: Number.isInteger(count) && count > 0 ? count : 1, last };
377
+ }
308
378
  function retryHealthyStartup() {
309
- if (reloadScheduled) return;
379
+ retryTimer = null;
380
+ // A shell that took the overlay while this waited is booting, unless it said its own module failed.
381
+ if (reloadScheduled || settled || (adopted && !appFailed)) return;
310
382
  try {
311
- const last = history.state?.startupRetried;
312
383
  const now = Date.now();
313
- if (!Number.isFinite(last) || now < last || now - last >= 300000) {
314
- history.replaceState({ ...history.state, startupRetried: now }, '');
384
+ const { count, last } = retryChain(now);
385
+ if (count < RETRY_GAPS.length) {
386
+ const wait = last + RETRY_GAPS[count] - now;
387
+ if (wait > 0) {
388
+ // Too soon after the last reload: it says that it is still trying, and comes back. Retry stays in reach.
389
+ reportStatus('loading');
390
+ render('connecting', 'connectedLoading', true);
391
+ retryTimer = setTimeout(retryHealthyStartup, Math.min(wait, 1000));
392
+ return;
393
+ }
394
+ history.replaceState({ ...history.state, startupRetried: now, startupRetries: count + 1 }, '');
315
395
  if (entryFailed) globalThis.synabunLoadingDiagnostics?.record('import-retry', { module: 'entry' });
316
396
  globalThis.synabunLoadingDiagnostics?.record('reload-scheduled', { reason: 'startup' });
317
397
  reloadScheduled = true;
318
398
  location.reload();
319
399
  return;
320
400
  }
321
- } catch { /* Manual retry is still available if the guard cannot be saved. */ }
401
+ } catch { /* Manual retry is still available if the chain cannot be saved. */ }
322
402
  entryFailed = true;
323
403
  reportStatus('manual-retry');
324
404
  render('connectionFailed', 'somethingWrong', true);
325
405
  }
326
- addEventListener('synabun:startup-module-failed', retryHealthyStartup);
406
+ addEventListener('synabun:startup-module-failed', () => { appFailed = true; retryHealthyStartup(); });
327
407
  async function checkStartup() {
328
408
  checkTimer = null;
329
409
  if (adopted || settled) return;
@@ -147,6 +147,17 @@ export function createAgentsApi({ fetch: fetchFn = (...args) => globalThis.fetch
147
147
  exportAll: ({ scope = null, project = null } = {}) => send('GET', `${base}/export${queryString({ scope, project })}`),
148
148
  resolve: (ref, cwd = null) => send('GET', `${base}/resolve${queryString({ ref, cwd })}`),
149
149
  runs: async (key, { limit = 50 } = {}) => send('GET', agentUrl(key, '/runs', { limit })),
150
+ workRuns: () => send('GET', '/api/assistant/runs?limit=500'),
151
+ async answerWorkerQuestion(runId, requestId, response) {
152
+ try {
153
+ return await send('POST', `/api/assistant/runs/${encodeURIComponent(runId)}/permission`, {
154
+ body: { ...response, requestId, origin: 'user' },
155
+ });
156
+ } catch (error) {
157
+ if (error.status === 409 && ['PERMISSION_ALREADY_RESOLVED', 'NO_PENDING_REQUEST'].includes(error.code)) return { stale: true };
158
+ throw error;
159
+ }
160
+ },
150
161
  // ── checks: nothing is stored ──
151
162
  validate: (definition) => send('POST', `${base}/validate`, { body: { definition } }),
152
163
  lint: (definition) => send('POST', `${base}/lint`, { body: { definition } }),
@@ -129,7 +129,7 @@ export function renderCreate(main, ctx, st) {
129
129
  const step = !mode ? startsHTML(ctx) : mode === 'import' ? importHTML(ctx, st.import) : mode === 'describe' ? describeHTML(ctx, st.describe) : STEP_HTML[mode](ctx);
130
130
  setHTML(main, html`<section class="sx-place ax-place" aria-labelledby="ax-create-title">
131
131
  <header class="sx-place-head">
132
- ${mode ? html`<button type="button" class="sx-link" data-act="back">${ICONS.back}${t('agentsStudio.rail.create')}</button>` : ''}
132
+ <button type="button" class="sx-link" data-act="back">${ICONS.back}${t(mode ? 'agentsStudio.rail.create' : 'agentsStudio.rail.library')}</button>
133
133
  <h3 class="sx-place-title" id="ax-create-title" tabindex="-1">${mode ? t(`agentsStudio.create.start.${mode}.name`) : t('agentsStudio.create.title')}</h3>
134
134
  <p class="sx-place-sub">${mode ? t(`agentsStudio.create.step.${mode}`) : t('agentsStudio.create.sub')}</p>
135
135
  </header>
@@ -70,6 +70,7 @@ export function toneOf(token) {
70
70
  /** The window's own icons that the Skills Studio set does not have. */
71
71
  export const AX_ICONS = Object.freeze({
72
72
  mark: svg(AGENT_ICON_PATHS.bot),
73
+ work: svg('<path d="M3 15l3-10h12l3 10v5H3zM3 15h5l2 2h4l2-2h5"/>'),
73
74
  teams: svg('<circle cx="9" cy="9" r="3"/><path d="M3.5 19a5.5 5.5 0 0 1 11 0"/><circle cx="17" cy="10" r="2.3"/><path d="M16 14.6a4.5 4.5 0 0 1 4.5 4.4"/>'),
74
75
  runs: svg('<circle cx="12" cy="12" r="8.5"/><path d="M10 8.5l5.5 3.5-5.5 3.5z"/>', 14),
75
76
  play: svg('<path d="M8 5.5l10 6.5-10 6.5z"/>', 14),
@@ -13,7 +13,7 @@ import { wireDropdowns } from '../../cc-dropdown.js';
13
13
  import { filterAgents, sortAgents, providersOf, projectsOf, SORTS, STATUS_FILTERS, DEFAULT_FILTERS } from './ax-library.js';
14
14
  import { keyOf, agentKeyText } from './ax-views.js';
15
15
  import { AX_ICONS } from './ax-icons.js';
16
- import { agentMark, standingLabels, scopeTag, timeTag, dropdown, loadingHTML, errorHTML, emptyHTML, wordOr, downloadText, errorText } from './ax-ui.js';
16
+ import { agentMark, standingLabels, scopeTag, timeTag, dropdown, loadingHTML, errorHTML, emptyHTML, wordOr, downloadText, errorText, agentSections } from './ax-ui.js';
17
17
 
18
18
  let life = null;
19
19
  let searchTimer = 0;
@@ -100,7 +100,7 @@ export function renderLibrary(main, ctx) {
100
100
  const { t, filters: f } = ctx;
101
101
  setHTML(main, html`<section class="sx-place ax-place" aria-labelledby="ax-lib-title">
102
102
  <header class="sx-place-head">
103
- <h3 class="sx-place-title" id="ax-lib-title" tabindex="-1">${t('agentsStudio.rail.library')}</h3>
103
+ <h3 class="sx-place-title" id="ax-lib-title" tabindex="-1">${t('agentsStudio.rail.agents')}</h3>
104
104
  <span class="sx-search">${ICONS.search}<input type="search" id="ax-lib-search" value="${f.q}" placeholder="${t('agentsStudio.library.search')}" aria-label="${t('agentsStudio.library.search')}" autocomplete="off" spellcheck="false" data-autofocus></span>
105
105
  <span class="sx-spacer"></span>
106
106
  <span class="sx-seg" role="group" aria-label="${t('agentsStudio.library.layout')}">
@@ -110,6 +110,7 @@ export function renderLibrary(main, ctx) {
110
110
  ${ctx.caps.has('export') && ctx.agents.length ? html`<button type="button" class="sx-btn" data-act="export-all" title="${t('agentsStudio.library.exportAllHelp')}">${ICONS.download}${t('agentsStudio.library.exportAll')}</button>` : ''}
111
111
  ${ctx.canDraft ? html`<button type="button" class="sx-btn sx-btn--primary" data-act="new-agent">${ICONS.plus}${t('agentsStudio.library.newAgent')}</button>` : ''}
112
112
  </header>
113
+ ${agentSections(ctx)}
113
114
  <div class="sx-place-head ax-filters" id="ax-lib-filters">${filtersHTML(ctx)}</div>
114
115
  <div class="sx-place-scroll" id="ax-lib-list">${listHTML(ctx)}</div>
115
116
  </section>`);