@ours.network/notifications 0.1.1

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 (107) hide show
  1. package/LICENSE +98 -0
  2. package/README.md +231 -0
  3. package/dist/cli.js +446 -0
  4. package/dist/config.js +104 -0
  5. package/dist/daemon.js +353 -0
  6. package/dist/http.js +31 -0
  7. package/dist/log-store.js +48 -0
  8. package/dist/presence.js +157 -0
  9. package/dist/provision.js +29 -0
  10. package/dist/push.js +6 -0
  11. package/dist/web-push-sender.js +41 -0
  12. package/mufl_code/20E39399689579D5AFA5132C59DEDDD328C3BCA1A74D546F2193B36585DDD283.muflo +0 -0
  13. package/mufl_code/config.mufl +21 -0
  14. package/mufl_code/core/.github/FUNDING.yml +3 -0
  15. package/mufl_code/core/.github/workflows/docs.yml +39 -0
  16. package/mufl_code/core/.github/workflows/tests.yml +66 -0
  17. package/mufl_code/core/COMMERCIAL-LICENCE.md +25 -0
  18. package/mufl_code/core/COMPATIBILITY.md +221 -0
  19. package/mufl_code/core/CONTRIBUTING.md +37 -0
  20. package/mufl_code/core/LICENSE +98 -0
  21. package/mufl_code/core/NOTIFICATIONS_CONTRACT.md +290 -0
  22. package/mufl_code/core/README.md +91 -0
  23. package/mufl_code/core/SECURITY.md +40 -0
  24. package/mufl_code/core/TRADEMARKS.md +24 -0
  25. package/mufl_code/core/a2a_capabilities.mm +449 -0
  26. package/mufl_code/core/a2a_cluster.mm +601 -0
  27. package/mufl_code/core/a2a_control.mm +90 -0
  28. package/mufl_code/core/a2a_messaging.mm +4817 -0
  29. package/mufl_code/core/a2a_monitoring.mm +94 -0
  30. package/mufl_code/core/a2a_notification_integration.mm +144 -0
  31. package/mufl_code/core/a2a_notifications.mm +1127 -0
  32. package/mufl_code/core/a2a_protocol.mm +246 -0
  33. package/mufl_code/core/a2a_versions.mm +801 -0
  34. package/mufl_code/core/config.mufl +29 -0
  35. package/mufl_code/core/docs/.vitepress/config.mts +58 -0
  36. package/mufl_code/core/docs/citations.json +688 -0
  37. package/mufl_code/core/docs/guide/01-vendor-the-core.md +50 -0
  38. package/mufl_code/core/docs/guide/02-configure-and-compile.md +100 -0
  39. package/mufl_code/core/docs/guide/03-wire-the-host.md +154 -0
  40. package/mufl_code/core/docs/guide/04-connect-and-message.md +156 -0
  41. package/mufl_code/core/docs/guide/05-test-your-app.md +75 -0
  42. package/mufl_code/core/docs/guide/index.md +63 -0
  43. package/mufl_code/core/docs/how-it-works/capabilities-and-control.md +77 -0
  44. package/mufl_code/core/docs/how-it-works/cluster.md +65 -0
  45. package/mufl_code/core/docs/how-it-works/identity.md +56 -0
  46. package/mufl_code/core/docs/how-it-works/invites-and-contacts.md +76 -0
  47. package/mufl_code/core/docs/how-it-works/messaging.md +55 -0
  48. package/mufl_code/core/docs/how-it-works/monitoring-and-config.md +72 -0
  49. package/mufl_code/core/docs/how-it-works/overview.md +45 -0
  50. package/mufl_code/core/docs/how-it-works/versioning.md +116 -0
  51. package/mufl_code/core/docs/index.md +27 -0
  52. package/mufl_code/core/docs/package-lock.json +3467 -0
  53. package/mufl_code/core/docs/package.json +15 -0
  54. package/mufl_code/core/docs/reference/contributing.md +26 -0
  55. package/mufl_code/core/docs/reference/glossary.md +108 -0
  56. package/mufl_code/core/docs/reference/implementations.md +23 -0
  57. package/mufl_code/core/docs/reference/modules.md +19 -0
  58. package/mufl_code/core/docs/scripts/check-citations.mjs +36 -0
  59. package/mufl_code/core/docs/scripts/check-denylist.mjs +30 -0
  60. package/mufl_code/core/docs/scripts/gen-llms.mjs +32 -0
  61. package/mufl_code/core/docs/workflows/cluster.md +89 -0
  62. package/mufl_code/core/docs/workflows/contact-exchange.md +60 -0
  63. package/mufl_code/core/docs/workflows/contact-restore.md +60 -0
  64. package/mufl_code/core/docs/workflows/control-verbs.md +70 -0
  65. package/mufl_code/core/docs/workflows/index.md +57 -0
  66. package/mufl_code/core/docs/workflows/introductions.md +60 -0
  67. package/mufl_code/core/docs/workflows/messaging.md +75 -0
  68. package/mufl_code/core/docs/workflows/monitoring.md +84 -0
  69. package/mufl_code/core/docs/workflows/notifications.md +109 -0
  70. package/mufl_code/core/release-notes/0.1.md +60 -0
  71. package/mufl_code/core/release-notes/0.3.md +22 -0
  72. package/mufl_code/core/release-notes/0.4.md +97 -0
  73. package/mufl_code/core/tests/README.md +83 -0
  74. package/mufl_code/core/tests/compat/README.md +82 -0
  75. package/mufl_code/core/tests/compat/compat.mjs +245 -0
  76. package/mufl_code/core/tests/compat/compat_peer.mjs +146 -0
  77. package/mufl_code/core/tests/compat/run_compat.sh +96 -0
  78. package/mufl_code/core/tests/corpus.mjs +139 -0
  79. package/mufl_code/core/tests/corpus_actor.mu +242 -0
  80. package/mufl_code/core/tests/fatcompile_actor.mu +52 -0
  81. package/mufl_code/core/tests/mig.mjs +805 -0
  82. package/mufl_code/core/tests/mig_actor.mu +518 -0
  83. package/mufl_code/core/tests/migapp.mjs +431 -0
  84. package/mufl_code/core/tests/migapp_actor.mu +294 -0
  85. package/mufl_code/core/tests/mufl_semantics/run.sh +69 -0
  86. package/mufl_code/core/tests/mufl_semantics/t11_three_version.mufl +47 -0
  87. package/mufl_code/core/tests/mufl_semantics/t2_extra_fields.mufl +11 -0
  88. package/mufl_code/core/tests/mufl_semantics/t7_runtime.mufl +30 -0
  89. package/mufl_code/core/tests/mufl_semantics/t9_passthrough.mufl +19 -0
  90. package/mufl_code/core/tests/mufl_semantics/t_str_order.mufl +19 -0
  91. package/mufl_code/core/tests/notif.mjs +755 -0
  92. package/mufl_code/core/tests/notif_actor.mu +450 -0
  93. package/mufl_code/core/tests/protocol_container.mm +18 -0
  94. package/mufl_code/core/tests/run.sh +65 -0
  95. package/mufl_code/core/tests/run_corpus.sh +51 -0
  96. package/mufl_code/core/tests/run_fatcompile.sh +40 -0
  97. package/mufl_code/core/tests/run_mig.sh +51 -0
  98. package/mufl_code/core/tests/run_migapp.sh +51 -0
  99. package/mufl_code/core/tests/run_notif.sh +57 -0
  100. package/mufl_code/core/tests/test.mjs +750 -0
  101. package/mufl_code/core/tests/test_actor.mu +564 -0
  102. package/mufl_code/core/tests/test_common.mjs +93 -0
  103. package/mufl_code/core/version.mm +24 -0
  104. package/mufl_code/packet.mu +170 -0
  105. package/mufl_code/protocol_container.mm +18 -0
  106. package/package.json +43 -0
  107. package/scripts/gen-vapid.mjs +16 -0
@@ -0,0 +1,29 @@
1
+ // ours shared mufl core — compile configuration.
2
+ //
3
+ // Not compiled standalone: consumers (the MCP agent packet, the web
4
+ // messenger) pull these libraries in via `config_load #"core"` from their own
5
+ // config.mufl, with this repo checked out as a `core/` subfolder of their
6
+ // mufl_code/ directory.
7
+
8
+ config script
9
+ {
10
+ (
11
+ $exports ->
12
+ (
13
+ $libraries ->
14
+ (
15
+ $version -> #"version.mm",
16
+ $a2a_versions -> #"a2a_versions.mm",
17
+ $a2a_capabilities -> #"a2a_capabilities.mm",
18
+ $a2a_protocol -> #"a2a_protocol.mm",
19
+ $a2a_messaging -> #"a2a_messaging.mm",
20
+ $a2a_notifications -> #"a2a_notifications.mm",
21
+ $a2a_notification_integration -> #"a2a_notification_integration.mm",
22
+ $a2a_cluster -> #"a2a_cluster.mm",
23
+ $a2a_monitoring -> #"a2a_monitoring.mm",
24
+ $a2a_control -> #"a2a_control.mm"
25
+ ),
26
+ ),
27
+ $imports -> (config_load #$MUFL_STDLIB_PATH) $exports
28
+ ).
29
+ }
@@ -0,0 +1,58 @@
1
+ import { defineConfig } from 'vitepress'
2
+ import { withMermaid } from 'vitepress-plugin-mermaid'
3
+
4
+ export default withMermaid(defineConfig({
5
+ title: 'ours-mufl-core',
6
+ description: 'The shared agent-to-agent protocol core for ours.network — agent-centered documentation.',
7
+ base: '/ours-mufl-core/', // flip to '/' if/when docs.ours.network lands (SPEC Q2)
8
+ ignoreDeadLinks: false, // dead internal links fail the build (SPEC C4/NFR4)
9
+ markdown: {
10
+ languageAlias: { mufl: 'log' } // render ```mufl fences verbatim (SPEC C5)
11
+ },
12
+ themeConfig: {
13
+ search: { provider: 'local' },
14
+ nav: [
15
+ { text: 'How it works', link: '/how-it-works/overview' },
16
+ { text: 'Transaction flows', link: '/workflows/' },
17
+ { text: 'Build on it', link: '/guide/' },
18
+ { text: 'Reference', link: '/reference/modules' }
19
+ ],
20
+ sidebar: {
21
+ '/how-it-works/': [{ text: 'How it works', items: [
22
+ { text: 'Overview', link: '/how-it-works/overview' },
23
+ { text: 'Identity: roots & roles', link: '/how-it-works/identity' },
24
+ { text: 'Invites & contacts', link: '/how-it-works/invites-and-contacts' },
25
+ { text: 'Messaging', link: '/how-it-works/messaging' },
26
+ { text: 'Capabilities & control', link: '/how-it-works/capabilities-and-control' },
27
+ { text: 'Cluster', link: '/how-it-works/cluster' },
28
+ { text: 'Monitoring & config', link: '/how-it-works/monitoring-and-config' },
29
+ { text: 'Versioning', link: '/how-it-works/versioning' }
30
+ ]}],
31
+ '/workflows/': [{ text: 'Transaction flows', items: [
32
+ { text: 'How to read these diagrams', link: '/workflows/' },
33
+ { text: 'Contact exchange (invite)', link: '/workflows/contact-exchange' },
34
+ { text: 'Send & receive messages', link: '/workflows/messaging' },
35
+ { text: 'Contact restore', link: '/workflows/contact-restore' },
36
+ { text: 'Monitoring bind & copies', link: '/workflows/monitoring' },
37
+ { text: 'Control-plane verb calls', link: '/workflows/control-verbs' },
38
+ { text: 'Introductions (core.connect)', link: '/workflows/introductions' },
39
+ { text: 'Cluster lifecycle', link: '/workflows/cluster' }
40
+ ]}],
41
+ '/guide/': [{ text: 'Build your own app', items: [
42
+ { text: 'Start here', link: '/guide/' },
43
+ { text: '01 · Vendor the core', link: '/guide/01-vendor-the-core' },
44
+ { text: '02 · Configure & compile', link: '/guide/02-configure-and-compile' },
45
+ { text: '03 · Wire the host', link: '/guide/03-wire-the-host' },
46
+ { text: '04 · Connect & message', link: '/guide/04-connect-and-message' },
47
+ { text: '05 · Test your app', link: '/guide/05-test-your-app' }
48
+ ]}],
49
+ '/reference/': [{ text: 'Reference', items: [
50
+ { text: 'Modules', link: '/reference/modules' },
51
+ { text: 'Reference implementations', link: '/reference/implementations' },
52
+ { text: 'Glossary', link: '/reference/glossary' },
53
+ { text: 'Contributing', link: '/reference/contributing' }
54
+ ]}]
55
+ },
56
+ socialLinks: [{ icon: 'github', link: 'https://github.com/adapt-toolkit/ours-mufl-core' }]
57
+ }
58
+ }))