@happyvertical/smrt-svelte 0.55.8 → 0.55.10

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 (70) hide show
  1. package/AGENTS.md +1 -1
  2. package/agents/overview-surfaces.md +122 -17
  3. package/agents/workspace.md +6 -0
  4. package/dist/components/activity/ActivityList.svelte +35 -0
  5. package/dist/components/activity/ActivityList.svelte.d.ts +11 -0
  6. package/dist/components/activity/ActivityList.svelte.d.ts.map +1 -0
  7. package/dist/components/activity/index.d.ts +3 -0
  8. package/dist/components/activity/index.d.ts.map +1 -0
  9. package/dist/components/activity/index.js +1 -0
  10. package/dist/components/activity/safe-href.d.ts +3 -0
  11. package/dist/components/activity/safe-href.d.ts.map +1 -0
  12. package/dist/components/activity/safe-href.js +12 -0
  13. package/dist/components/activity/types.d.ts +9 -0
  14. package/dist/components/activity/types.d.ts.map +1 -0
  15. package/dist/components/activity/types.js +1 -0
  16. package/dist/components/notifications/LocalizedNotifications.fixture.svelte +16 -0
  17. package/dist/components/notifications/LocalizedNotifications.fixture.svelte.d.ts +11 -0
  18. package/dist/components/notifications/LocalizedNotifications.fixture.svelte.d.ts.map +1 -0
  19. package/dist/components/notifications/NotificationBell.svelte +136 -0
  20. package/dist/components/notifications/NotificationBell.svelte.d.ts +13 -0
  21. package/dist/components/notifications/NotificationBell.svelte.d.ts.map +1 -0
  22. package/dist/components/notifications/index.d.ts +3 -0
  23. package/dist/components/notifications/index.d.ts.map +1 -0
  24. package/dist/components/notifications/index.js +1 -0
  25. package/dist/components/notifications/types.d.ts +27 -0
  26. package/dist/components/notifications/types.d.ts.map +1 -0
  27. package/dist/components/notifications/types.js +1 -0
  28. package/dist/components/overview/OverviewAssistantUndo.svelte +77 -0
  29. package/dist/components/overview/OverviewAssistantUndo.svelte.d.ts +13 -0
  30. package/dist/components/overview/OverviewAssistantUndo.svelte.d.ts.map +1 -0
  31. package/dist/components/overview/assistant-surface.d.ts +90 -0
  32. package/dist/components/overview/assistant-surface.d.ts.map +1 -0
  33. package/dist/components/overview/assistant-surface.js +65 -0
  34. package/dist/components/overview/assistant.svelte.d.ts +115 -0
  35. package/dist/components/overview/assistant.svelte.d.ts.map +1 -0
  36. package/dist/components/overview/assistant.svelte.js +260 -0
  37. package/dist/components/overview/controller.svelte.d.ts +8 -0
  38. package/dist/components/overview/controller.svelte.d.ts.map +1 -1
  39. package/dist/components/overview/controller.svelte.js +76 -13
  40. package/dist/components/overview/index.d.ts +2 -0
  41. package/dist/components/overview/index.d.ts.map +1 -1
  42. package/dist/components/overview/index.js +2 -0
  43. package/dist/components/overview/operations.d.ts +169 -0
  44. package/dist/components/overview/operations.d.ts.map +1 -0
  45. package/dist/components/overview/operations.js +358 -0
  46. package/dist/components/overview/server.d.ts +2 -0
  47. package/dist/components/overview/server.d.ts.map +1 -1
  48. package/dist/components/overview/server.js +2 -0
  49. package/dist/components/workspace/admin-shell/settings-delta.d.ts +21 -0
  50. package/dist/components/workspace/admin-shell/settings-delta.d.ts.map +1 -0
  51. package/dist/components/workspace/admin-shell/settings-delta.js +142 -0
  52. package/dist/components/workspace/index.d.ts +1 -0
  53. package/dist/components/workspace/index.d.ts.map +1 -1
  54. package/dist/components/workspace/index.js +1 -0
  55. package/dist/components/workspace/server/index.d.ts +6 -2
  56. package/dist/components/workspace/server/index.d.ts.map +1 -1
  57. package/dist/components/workspace/server/index.js +5 -2
  58. package/dist/i18n/server.d.ts +1 -0
  59. package/dist/i18n/server.d.ts.map +1 -1
  60. package/dist/i18n/server.js +1 -0
  61. package/dist/i18n/strings.notifications.d.ts +12 -0
  62. package/dist/i18n/strings.notifications.d.ts.map +1 -0
  63. package/dist/i18n/strings.notifications.js +13 -0
  64. package/dist/i18n/strings.overview.d.ts +6 -0
  65. package/dist/i18n/strings.overview.d.ts.map +1 -1
  66. package/dist/i18n/strings.overview.js +7 -0
  67. package/dist/index.d.ts +2 -0
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +2 -0
  70. package/package.json +20 -14
@@ -27,6 +27,7 @@ import './strings.forms.js';
27
27
  import './strings.board.js';
28
28
  import './strings.sortable.js';
29
29
  import './strings.audit.js';
30
+ import './strings.notifications.js';
30
31
  import './strings.import-export.js';
31
32
  import './strings.workspace.js';
32
33
  import './strings.screens.js';
@@ -0,0 +1,12 @@
1
+ export declare const M: {
2
+ readonly 'ui.notification_bell.label': "ui.notification_bell.label";
3
+ readonly 'ui.notification_bell.unread': "ui.notification_bell.unread";
4
+ readonly 'ui.notification_bell.mark_all': "ui.notification_bell.mark_all";
5
+ readonly 'ui.notification_bell.mark_one': "ui.notification_bell.mark_one";
6
+ readonly 'ui.notification_bell.loading': "ui.notification_bell.loading";
7
+ readonly 'ui.notification_bell.empty': "ui.notification_bell.empty";
8
+ readonly 'ui.notification_bell.unavailable': "ui.notification_bell.unavailable";
9
+ readonly 'ui.notification_bell.mark_error': "ui.notification_bell.mark_error";
10
+ readonly 'ui.notification_bell.live_error': "ui.notification_bell.live_error";
11
+ };
12
+ //# sourceMappingURL=strings.notifications.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strings.notifications.d.ts","sourceRoot":"","sources":["../../src/i18n/strings.notifications.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,CAAC;;;;;;;;;;CAUZ,CAAC"}
@@ -0,0 +1,13 @@
1
+ /** English defaults for the provider-backed notification bell. */
2
+ import { defineMessages } from '@happyvertical/smrt-ui/i18n';
3
+ export const M = defineMessages({
4
+ 'ui.notification_bell.label': 'Notifications',
5
+ 'ui.notification_bell.unread': '{count} unread',
6
+ 'ui.notification_bell.mark_all': 'Mark all read',
7
+ 'ui.notification_bell.mark_one': 'Mark read',
8
+ 'ui.notification_bell.loading': 'Loading notifications',
9
+ 'ui.notification_bell.empty': 'No notifications.',
10
+ 'ui.notification_bell.unavailable': 'Notifications are unavailable.',
11
+ 'ui.notification_bell.mark_error': 'Could not mark notifications read.',
12
+ 'ui.notification_bell.live_error': 'Live notifications are unavailable.',
13
+ });
@@ -23,6 +23,12 @@ export declare const M: {
23
23
  readonly 'ui.overview.announce_configured': "ui.overview.announce_configured";
24
24
  readonly 'ui.overview.announce_reset': "ui.overview.announce_reset";
25
25
  readonly 'ui.overview.announce_denied': "ui.overview.announce_denied";
26
+ readonly 'ui.overview.assistant_applied': "ui.overview.assistant_applied";
27
+ readonly 'ui.overview.assistant_undo': "ui.overview.assistant_undo";
28
+ readonly 'ui.overview.assistant_dismiss': "ui.overview.assistant_dismiss";
29
+ readonly 'ui.overview.assistant_undone': "ui.overview.assistant_undone";
30
+ readonly 'ui.overview.assistant_changed_since': "ui.overview.assistant_changed_since";
31
+ readonly 'ui.overview.assistant_undo_failed': "ui.overview.assistant_undo_failed";
26
32
  readonly 'ui.overview.loading': "ui.overview.loading";
27
33
  readonly 'ui.overview.error': "ui.overview.error";
28
34
  readonly 'ui.overview.retry': "ui.overview.retry";
@@ -1 +1 @@
1
- {"version":3,"file":"strings.overview.d.ts","sourceRoot":"","sources":["../../src/i18n/strings.overview.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqHZ,CAAC"}
1
+ {"version":3,"file":"strings.overview.d.ts","sourceRoot":"","sources":["../../src/i18n/strings.overview.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8HZ,CAAC"}
@@ -26,6 +26,13 @@ export const M = defineMessages({
26
26
  'ui.overview.announce_configured': 'Updated {widget}.',
27
27
  'ui.overview.announce_reset': 'Overview reset to its default.',
28
28
  'ui.overview.announce_denied': 'You cannot change this overview.',
29
+ // Assistant changes (phase 4)
30
+ 'ui.overview.assistant_applied': 'The assistant updated this overview.',
31
+ 'ui.overview.assistant_undo': 'Undo',
32
+ 'ui.overview.assistant_dismiss': 'Dismiss',
33
+ 'ui.overview.assistant_undone': 'The assistant change was undone.',
34
+ 'ui.overview.assistant_changed_since': 'The overview changed after the assistant edit, so it was not undone.',
35
+ 'ui.overview.assistant_undo_failed': 'The assistant change could not be undone.',
29
36
  // Widget states
30
37
  'ui.overview.loading': 'Loading',
31
38
  'ui.overview.error': 'This widget could not be loaded.',
package/dist/index.d.ts CHANGED
@@ -11,9 +11,11 @@
11
11
  * agent-admin shells (AgentAdminPanel / AgentAdminTabs / AgentSettingsShell)
12
12
  * moved to `@happyvertical/smrt-agents/svelte`.
13
13
  */
14
+ export * from './components/activity/index.js';
14
15
  export * from './components/audit/index.js';
15
16
  export * from './components/forms/index.js';
16
17
  export * from './components/module/index.js';
18
+ export * from './components/notifications/index.js';
17
19
  export * from './data-surface.js';
18
20
  export * from './hooks/index.js';
19
21
  export { default as Provider } from './Provider.svelte';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AAEH,cAAc,6BAA6B,CAAC;AAE5C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,8BAA8B,CAAC;AAE7C,cAAc,mBAAmB,CAAC;AAElC,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAExD,cAAc,kBAAkB,CAAC;AAGjC,OAAO,EACL,KAAK,oBAAoB,EACzB,aAAa,EACb,KAAK,kBAAkB,GACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC5E,YAAY,EACV,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,4BAA4B,EACjC,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,cAAc,EACd,WAAW,EACX,KAAK,eAAe,GACrB,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AAEH,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AAEpD,cAAc,mBAAmB,CAAC;AAElC,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAExD,cAAc,kBAAkB,CAAC;AAGjC,OAAO,EACL,KAAK,oBAAoB,EACzB,aAAa,EACb,KAAK,kBAAkB,GACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC5E,YAAY,EACV,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,4BAA4B,EACjC,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,cAAc,EACd,WAAW,EACX,KAAK,eAAe,GACrB,MAAM,4BAA4B,CAAC"}
package/dist/index.js CHANGED
@@ -12,11 +12,13 @@
12
12
  * agent-admin shells (AgentAdminPanel / AgentAdminTabs / AgentSettingsShell)
13
13
  * moved to `@happyvertical/smrt-agents/svelte`.
14
14
  */
15
+ export * from './components/activity/index.js';
15
16
  export * from './components/audit/index.js';
16
17
  // Form components
17
18
  export * from './components/forms/index.js';
18
19
  // Module components (for dynamic module UI rendering)
19
20
  export * from './components/module/index.js';
21
+ export * from './components/notifications/index.js';
20
22
  // Authenticated browser-side data-surface command/ack/event bridge
21
23
  export * from './data-surface.js';
22
24
  // Hooks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-svelte",
3
- "version": "0.55.8",
3
+ "version": "0.55.10",
4
4
  "smrtJsdoc": "strict",
5
5
  "description": "Svelte 5 components for SMRT user management - auth, users, tenants, roles, permissions, groups",
6
6
  "type": "module",
@@ -21,6 +21,12 @@
21
21
  "import": "./dist/components/forms/index.js",
22
22
  "default": "./dist/components/forms/index.js"
23
23
  },
24
+ "./notifications": {
25
+ "types": "./dist/components/notifications/index.d.ts",
26
+ "svelte": "./dist/components/notifications/index.js",
27
+ "import": "./dist/components/notifications/index.js",
28
+ "default": "./dist/components/notifications/index.js"
29
+ },
24
30
  "./settings": {
25
31
  "types": "./dist/components/settings/index.d.ts",
26
32
  "svelte": "./dist/components/settings/index.js",
@@ -188,11 +194,11 @@
188
194
  },
189
195
  "dependencies": {
190
196
  "@happyvertical/logger": "^0.103.1",
191
- "@happyvertical/smrt-languages": "0.55.8",
192
- "@happyvertical/smrt-mcp-apps": "0.55.8",
193
- "@happyvertical/smrt-types": "0.55.8",
194
- "@happyvertical/smrt-ui": "0.55.8",
195
- "@happyvertical/smrt-web": "0.55.8",
197
+ "@happyvertical/smrt-languages": "0.55.10",
198
+ "@happyvertical/smrt-mcp-apps": "0.55.10",
199
+ "@happyvertical/smrt-types": "0.55.10",
200
+ "@happyvertical/smrt-ui": "0.55.10",
201
+ "@happyvertical/smrt-web": "0.55.10",
196
202
  "@tanstack/db": "^0.6.14",
197
203
  "@tanstack/svelte-db": "^0.1.91",
198
204
  "esm-env": "^1.2.2"
@@ -227,14 +233,14 @@
227
233
  }
228
234
  },
229
235
  "devDependencies": {
230
- "@happyvertical/smrt-agents": "0.55.8",
231
- "@happyvertical/smrt-chat": "0.55.8",
232
- "@happyvertical/smrt-content": "0.55.8",
233
- "@happyvertical/smrt-core": "0.55.8",
234
- "@happyvertical/smrt-reports": "0.55.8",
235
- "@happyvertical/smrt-scanner": "0.55.8",
236
- "@happyvertical/smrt-tenancy": "0.55.8",
237
- "@happyvertical/smrt-users": "0.55.8",
236
+ "@happyvertical/smrt-agents": "0.55.10",
237
+ "@happyvertical/smrt-chat": "0.55.10",
238
+ "@happyvertical/smrt-content": "0.55.10",
239
+ "@happyvertical/smrt-core": "0.55.10",
240
+ "@happyvertical/smrt-reports": "0.55.10",
241
+ "@happyvertical/smrt-scanner": "0.55.10",
242
+ "@happyvertical/smrt-tenancy": "0.55.10",
243
+ "@happyvertical/smrt-users": "0.55.10",
238
244
  "@happyvertical/speech": "^0.103.1",
239
245
  "@sveltejs/package": "^2.5.8",
240
246
  "@sveltejs/vite-plugin-svelte": "^7.3.0",