@agent-native/core-corpus 0.209.0-nightly-20261014153330 → 0.209.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 (90) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/templates/analytics/.agents/skills/dashboard-management/SKILL.md +17 -0
  3. package/corpus/templates/analytics/CHANGELOG.md +23 -0
  4. package/corpus/templates/analytics/app/components/dashboard/SqlChart.tsx +361 -86
  5. package/corpus/templates/analytics/app/i18n/en-US.ts +3 -0
  6. package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/types.ts +2 -0
  7. package/corpus/templates/analytics/changelog/2026-10-11-bar-charts-now-label-every-category-at-an-angle-stacked-char.md +6 -0
  8. package/corpus/templates/analytics/changelog/2026-10-11-each-agent-native-app-keeps-one-color-in-every-chart.md +6 -0
  9. package/corpus/templates/analytics/changelog/2026-10-11-sessions-by-agent-native-app-counts-sessions-under-their-app.md +6 -0
  10. package/corpus/templates/analytics/seeds/dashboards/agent-native-templates-first-party.json +1 -1
  11. package/corpus/templates/analytics/server/lib/canonical-first-party-dashboard-repair.ts +12 -0
  12. package/corpus/templates/analytics/server/lib/dashboard-panel-verification.ts +9 -1
  13. package/corpus/templates/analytics/server/lib/dashboard-report-render.ts +34 -16
  14. package/corpus/templates/analytics/server/lib/first-party-metric-catalog.ts +6 -3
  15. package/corpus/templates/analytics/server/lib/first-party-unbounded-panel-repair.ts +6 -1
  16. package/corpus/templates/analytics/server/lib/report-chart-svg.ts +49 -50
  17. package/corpus/templates/analytics/shared/chart-axis-labels.ts +264 -0
  18. package/corpus/templates/analytics/shared/panel-render-contract.ts +229 -26
  19. package/corpus/templates/analytics/shared/tokens/app-series-colors.ts +47 -0
  20. package/corpus/templates/brain/CHANGELOG.md +4 -0
  21. package/corpus/templates/clips/CHANGELOG.md +22 -0
  22. package/corpus/templates/clips/actions/burn-recording-redactions.ts +8 -10
  23. package/corpus/templates/clips/actions/create-screenshot.ts +2 -2
  24. package/corpus/templates/clips/actions/lib/native-media.ts +10 -2
  25. package/corpus/templates/clips/actions/lib/storage-setup-error.ts +10 -0
  26. package/corpus/templates/clips/actions/remove-filler-words.ts +15 -1
  27. package/corpus/templates/clips/actions/save-screenshot-edits.ts +3 -3
  28. package/corpus/templates/clips/app/components/editor/editor-layout.tsx +29 -5
  29. package/corpus/templates/clips/app/components/library/library-layout.tsx +52 -5
  30. package/corpus/templates/clips/app/components/player/screenshot-editor.tsx +6 -3
  31. package/corpus/templates/clips/app/hooks/use-library.ts +2 -0
  32. package/corpus/templates/clips/app/hooks/use-screenshot-capture.tsx +13 -3
  33. package/corpus/templates/clips/app/i18n/en-US.ts +6 -3
  34. package/corpus/templates/clips/app/lib/storage-setup-error-message.ts +35 -0
  35. package/corpus/templates/clips/app/routes/_app.r.$recordingId.tsx +27 -23
  36. package/corpus/templates/clips/changelog/2026-10-14-clips-explains-how-to-connect-storage-when-saving-screenshot.md +6 -0
  37. package/corpus/templates/clips/changelog/2026-10-14-clips-hides-unsupported-loom-edits-keeps-empty-state-suggest.md +6 -0
  38. package/corpus/templates/clips/changelog/2026-10-14-clips-suggestions-are-shorter-and-match-the-active-view.md +6 -0
  39. package/corpus/templates/clips/chrome-extension/src/styles.css +13 -7
  40. package/corpus/templates/clips/server/lib/redaction-burn-progress.ts +9 -1
  41. package/corpus/templates/design/CHANGELOG.md +33 -1
  42. package/corpus/templates/design/actions/_design-tracking.ts +0 -22
  43. package/corpus/templates/design/actions/_generation-tracking.ts +1 -1
  44. package/corpus/templates/design/actions/clone-creative-context-design-native.ts +6 -9
  45. package/corpus/templates/design/actions/create-design.ts +1 -1
  46. package/corpus/templates/design/actions/export-design-as-figma-svg.ts +63 -18
  47. package/corpus/templates/design/actions/export-png.ts +4 -0
  48. package/corpus/templates/design/actions/open-visual-edit.ts +8 -11
  49. package/corpus/templates/design/actions/present-design-variants.ts +2 -0
  50. package/corpus/templates/design/app/components/editor/HomeImportButton.tsx +20 -0
  51. package/corpus/templates/design/app/lib/agent-run-status.ts +51 -0
  52. package/corpus/templates/design/app/lib/design-funnel-tracking.ts +131 -100
  53. package/corpus/templates/design/app/lib/design-import.ts +5 -4
  54. package/corpus/templates/design/app/pages/design-editor/domains/use-editor-generation-and-access.ts +0 -4
  55. package/corpus/templates/design/changelog/2026-10-14-show-figma-fidelity-warnings-in-home-url-imports.md +6 -0
  56. package/corpus/templates/design/server/lib/design-export-tracking.ts +1 -0
  57. package/corpus/templates/design/server/lib/design-tracking.ts +13 -14
  58. package/corpus/templates/dispatch/.agents/skills/turn-into-app/references/attachments.md +1 -3
  59. package/corpus/templates/dispatch/.agents/skills/turn-into-app/references/fresh-project.md +13 -8
  60. package/corpus/templates/dispatch/.agents/skills/turn-into-app/references/source-brief.md +2 -2
  61. package/corpus/templates/factory/.agents/skills/turn-into-app/references/attachments.md +1 -3
  62. package/corpus/templates/factory/.agents/skills/turn-into-app/references/fresh-project.md +13 -8
  63. package/corpus/templates/factory/.agents/skills/turn-into-app/references/source-brief.md +2 -2
  64. package/corpus/templates/slides/.agents/skills/slide-editing/SKILL.md +1 -1
  65. package/corpus/templates/slides/.agents/skills/slide-editing/references/{style-only-edits.md → restyling.md} +14 -22
  66. package/corpus/templates/slides/CHANGELOG.md +20 -0
  67. package/corpus/templates/slides/actions/patch-deck.ts +28 -76
  68. package/corpus/templates/slides/actions/update-slide.ts +7 -42
  69. package/corpus/templates/slides/app/lib/create-deck-generation.ts +2 -2
  70. package/corpus/templates/slides/app/lib/normalize-slide-padding.ts +15 -9
  71. package/corpus/templates/slides/app/pages/Index.tsx +1 -1
  72. package/corpus/templates/slides/changelog/2026-10-13-color-and-style-fixes-across-slides-no-longer-fail-partway-t.md +6 -0
  73. package/corpus/templates/slides/changelog/2026-10-14-prompting-the-agent-no-longer-occasionally-strips-all-stylin.md +6 -0
  74. package/corpus/templates/slides/server/plugins/agent-chat.ts +10 -12
  75. package/package.json +1 -1
  76. package/corpus/templates/analytics/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  77. package/corpus/templates/assets/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  78. package/corpus/templates/brain/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  79. package/corpus/templates/calendar/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  80. package/corpus/templates/chat/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  81. package/corpus/templates/clips/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  82. package/corpus/templates/content/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  83. package/corpus/templates/crm/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  84. package/corpus/templates/design/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  85. package/corpus/templates/dispatch/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  86. package/corpus/templates/forms/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  87. package/corpus/templates/mail/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  88. package/corpus/templates/plan/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  89. package/corpus/templates/slides/.deploy-tmp/agent-native-provided-plugins.mjs +0 -10
  90. package/corpus/templates/slides/shared/slide-style-only.ts +0 -426
package/corpus/README.md CHANGED
@@ -32,4 +32,4 @@ rg -n "defineAction|useActionQuery" node_modules/@agent-native/core-corpus/corpu
32
32
 
33
33
  ## Generated Counts
34
34
 
35
- - template files: 12332
35
+ - template files: 12297
@@ -521,6 +521,23 @@ in the same `set({...})` call.
521
521
  - `config.pivot` (`{ xKey, seriesKey, valueKey }`) reshapes long-format rows into
522
522
  one series per `seriesKey` value and drops every other column. If the query now
523
523
  returns wide-format rows, remove `pivot` or the panel shows "No data".
524
+ - A stacked bar or area chart draws its largest series at the bottom and an
525
+ "Other"/"unknown" bucket on top; the legend and tooltip use the same order.
526
+ To fix the order, list series values in `config.pivot.seriesOrder` (they go
527
+ first, the rest follow by size) or list `config.yKeys` for wide rows.
528
+ - `config.colors` is matched to series in `config.pivot.seriesOrder` order, then
529
+ result order, never by stack position. When colors carry meaning (green for
530
+ positive), list those series in `seriesOrder` so row order cannot swap them.
531
+ - To split a chart by Agent-Native app, pivot by a column named `template` or
532
+ `app` that holds the lowercase app key. Then each app (`mail`, `slides`, ...)
533
+ takes its fixed color from `shared/tokens/app-series-colors.ts`, on every
534
+ dashboard and in emailed reports, and the chart's other series (`unknown`,
535
+ `docs`) are muted. Leave `config.colors` off such panels, or it replaces
536
+ those colors.
537
+ - A chart draws at most 400 points and says so under the chart. Line, area,
538
+ combo and heatmap charts keep their last rows, and bar charts their first;
539
+ over dates in date order (`YYYY-MM-DD`, `YYYYMMDD`, `Sep 30, 2026`, weeks, quarters) both
540
+ keep the newest. Aggregate or limit the SQL instead of returning more.
524
541
  - Config keys the renderer does not honor are ignored. `mutate-dashboard`
525
542
  rejects them on the panels you change and lists the honored keys; read that
526
543
  error instead of retrying the same key.
@@ -3,6 +3,26 @@
3
3
  All notable user-facing changes to Agent-Native Analytics are documented here. Open it any
4
4
  time from the command menu (Cmd+K → "What's new") or from Settings.
5
5
 
6
+ ## 2026-10-13
7
+
8
+ ### Added
9
+
10
+ - Dashboard tiles have a Copy link option that opens the dashboard scrolled to and highlighting that tile.
11
+ - Scheduled dashboard reports can now post the summary and link to a Slack channel through an incoming webhook, instead of or as well as email.
12
+ - Table tiles can be edited directly: right-click a column header to format, rename, or hide it, and drag to resize or reorder columns.
13
+
14
+ ### Improved
15
+
16
+ - Ask answers now lead with the matching dashboard and show SQL only when you ask for it.
17
+ - BigQuery connections can use each analyst's Google account so query access follows their Google Cloud permissions.
18
+ - Dashboards now appear grouped by folder in the sidebar.
19
+
20
+ ### Fixed
21
+
22
+ - Analytics shows connection status only for sources shared with the app
23
+ - Negative currency values now show as -$7,505 instead of $-7,505 in tables, charts, and scheduled reports.
24
+ - SQL dashboards preserve typed filters when formatting queries.
25
+
6
26
  ## 2026-10-12
7
27
 
8
28
  ### Improved
@@ -19,10 +39,13 @@ time from the command menu (Cmd+K → "What's new") or from Settings.
19
39
 
20
40
  ### Improved
21
41
 
42
+ - Bar charts now label every category, angling the labels when they don't fit; stacked charts order series by size with Other last, long table text truncates with the full value on hover, and charts say when only part of the data is drawn.
43
+ - In charts split by app, each Agent-Native app now keeps one color on every dashboard and in emailed reports, so reordering a stack moves an app without changing its color.
22
44
  - Analytics finds data definitions faster and identifies user-organization relationships more clearly.
23
45
 
24
46
  ### Fixed
25
47
 
48
+ - Sessions by Agent-Native App counts sessions under their app even when the event's app field is empty, instead of as unknown
26
49
  - Create private Design storyboards for session replay screenshot exports.
27
50
  - Replay screenshots wait for the fonts used in the captured frame
28
51