@ours.network/tg-connector 0.1.7 → 0.1.8-nightly.2
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/dist/connector.js +74 -0
- package/dist/mufl_code/D812C6070397B0EB11D66D6D33D931C35E9442ACC141C35C51A7904A082B19E0.muflo +0 -0
- package/dist/mufl_code/actor.mu +27 -0
- package/dist/mufl_code/core/COMMERCIAL-LICENCE.md +25 -0
- package/dist/mufl_code/core/COMPATIBILITY.md +221 -0
- package/dist/mufl_code/core/CONTRIBUTING.md +37 -0
- package/dist/mufl_code/core/LICENSE +1 -1
- package/dist/mufl_code/core/NOTIFICATIONS_CONTRACT.md +290 -0
- package/dist/mufl_code/core/README.md +64 -49
- package/dist/mufl_code/core/SECURITY.md +40 -0
- package/dist/mufl_code/core/TRADEMARKS.md +24 -0
- package/dist/mufl_code/core/a2a_capabilities.mm +76 -1
- package/dist/mufl_code/core/a2a_control.mm +2 -1
- package/dist/mufl_code/core/a2a_messaging.mm +1677 -25
- package/dist/mufl_code/core/a2a_notifications.mm +1102 -0
- package/dist/mufl_code/core/a2a_protocol.mm +16 -1
- package/dist/mufl_code/core/a2a_versions.mm +801 -0
- package/dist/mufl_code/core/config.mufl +2 -0
- package/dist/mufl_code/core/docs/.vitepress/config.mts +58 -0
- package/dist/mufl_code/core/docs/citations.json +688 -0
- package/dist/mufl_code/core/docs/guide/01-vendor-the-core.md +50 -0
- package/dist/mufl_code/core/docs/guide/02-configure-and-compile.md +100 -0
- package/dist/mufl_code/core/docs/guide/03-wire-the-host.md +154 -0
- package/dist/mufl_code/core/docs/guide/04-connect-and-message.md +156 -0
- package/dist/mufl_code/core/docs/guide/05-test-your-app.md +75 -0
- package/dist/mufl_code/core/docs/guide/index.md +63 -0
- package/dist/mufl_code/core/docs/how-it-works/capabilities-and-control.md +77 -0
- package/dist/mufl_code/core/docs/how-it-works/cluster.md +65 -0
- package/dist/mufl_code/core/docs/how-it-works/identity.md +56 -0
- package/dist/mufl_code/core/docs/how-it-works/invites-and-contacts.md +76 -0
- package/dist/mufl_code/core/docs/how-it-works/messaging.md +55 -0
- package/dist/mufl_code/core/docs/how-it-works/monitoring-and-config.md +72 -0
- package/dist/mufl_code/core/docs/how-it-works/overview.md +45 -0
- package/dist/mufl_code/core/docs/how-it-works/versioning.md +116 -0
- package/dist/mufl_code/core/docs/index.md +27 -0
- package/dist/mufl_code/core/docs/package-lock.json +3467 -0
- package/dist/mufl_code/core/docs/package.json +15 -0
- package/dist/mufl_code/core/docs/reference/contributing.md +26 -0
- package/dist/mufl_code/core/docs/reference/glossary.md +108 -0
- package/dist/mufl_code/core/docs/reference/implementations.md +23 -0
- package/dist/mufl_code/core/docs/reference/modules.md +19 -0
- package/dist/mufl_code/core/docs/scripts/check-citations.mjs +36 -0
- package/dist/mufl_code/core/docs/scripts/check-denylist.mjs +30 -0
- package/dist/mufl_code/core/docs/scripts/gen-llms.mjs +32 -0
- package/dist/mufl_code/core/docs/workflows/cluster.md +89 -0
- package/dist/mufl_code/core/docs/workflows/contact-exchange.md +60 -0
- package/dist/mufl_code/core/docs/workflows/contact-restore.md +60 -0
- package/dist/mufl_code/core/docs/workflows/control-verbs.md +70 -0
- package/dist/mufl_code/core/docs/workflows/index.md +57 -0
- package/dist/mufl_code/core/docs/workflows/introductions.md +60 -0
- package/dist/mufl_code/core/docs/workflows/messaging.md +75 -0
- package/dist/mufl_code/core/docs/workflows/monitoring.md +84 -0
- package/dist/mufl_code/core/docs/workflows/notifications.md +109 -0
- package/dist/mufl_code/core/release-notes/0.1.md +60 -0
- package/dist/mufl_code/core/release-notes/0.3.md +22 -0
- package/dist/mufl_code/core/release-notes/0.4.md +97 -0
- package/dist/mufl_code/core/tests/README.md +17 -0
- package/dist/mufl_code/core/tests/corpus.mjs +139 -0
- package/dist/mufl_code/core/tests/corpus_actor.mu +242 -0
- package/dist/mufl_code/core/tests/fatcompile_actor.mu +52 -0
- package/dist/mufl_code/core/tests/mig.mjs +664 -0
- package/dist/mufl_code/core/tests/mig_actor.mu +466 -0
- package/dist/mufl_code/core/tests/migapp.mjs +431 -0
- package/dist/mufl_code/core/tests/migapp_actor.mu +294 -0
- package/dist/mufl_code/core/tests/mufl_semantics/run.sh +69 -0
- package/dist/mufl_code/core/tests/mufl_semantics/t11_three_version.mufl +47 -0
- package/dist/mufl_code/core/tests/mufl_semantics/t2_extra_fields.mufl +11 -0
- package/dist/mufl_code/core/tests/mufl_semantics/t7_runtime.mufl +30 -0
- package/dist/mufl_code/core/tests/mufl_semantics/t9_passthrough.mufl +19 -0
- package/dist/mufl_code/core/tests/mufl_semantics/t_str_order.mufl +19 -0
- package/dist/mufl_code/core/tests/notif.mjs +689 -0
- package/dist/mufl_code/core/tests/notif_actor.mu +458 -0
- package/dist/mufl_code/core/tests/protocol_container.mm +18 -0
- package/dist/mufl_code/core/tests/run.sh +8 -10
- package/dist/mufl_code/core/tests/run_corpus.sh +51 -0
- package/dist/mufl_code/core/tests/run_fatcompile.sh +40 -0
- package/dist/mufl_code/core/tests/run_mig.sh +51 -0
- package/dist/mufl_code/core/tests/run_migapp.sh +51 -0
- package/dist/mufl_code/core/tests/run_notif.sh +55 -0
- package/dist/mufl_code/core/tests/test.mjs +291 -49
- package/dist/mufl_code/core/tests/test_actor.mu +240 -7
- package/dist/mufl_code/core/tests/test_common.mjs +93 -0
- package/dist/mufl_code/core/version.mm +1 -1
- package/package.json +4 -4
- package/dist/mufl_code/2DA1D5F860E42C605D92F1E24E2466C70EFDDBF057BBCBA52F0ECC639EFCA387.muflo +0 -0
- package/dist/mufl_code/core/CLUSTER_API.md +0 -640
- package/dist/mufl_code/core/CLUSTER_CONTRACT.md +0 -121
- package/dist/mufl_code/core/CLUSTER_INTRODUCTION_PLAN.md +0 -200
- package/dist/mufl_code/core/CONFIGURATION_DESIGN.md +0 -35
- package/dist/mufl_code/core/CONFIGURATION_PLAN.md +0 -394
- package/dist/mufl_code/core/DEVELOPMENT.md +0 -168
- package/dist/mufl_code/core/EPHEMERAL_INVITE_PLAN.md +0 -465
- package/dist/mufl_code/core/GROUP_CHAT_DESIGN.md +0 -520
- package/dist/mufl_code/core/release-notes/2.0.md +0 -268
- package/dist/mufl_code/core/release-notes/2.1.md +0 -92
- package/dist/mufl_code/core/release-notes/2.2.md +0 -94
- package/dist/mufl_code/core/release-notes/3.0.md +0 -162
- package/dist/mufl_code/core/release-notes/3.1.md +0 -43
- package/dist/mufl_code/core/release-notes/README.md +0 -32
|
@@ -83,12 +83,27 @@ library a2a_protocol loads library
|
|
|
83
83
|
// $d invite_id (correlates leg-1 to the stored eph privkey; single-use)
|
|
84
84
|
// $c inviter container_id (routing target + identity pin)
|
|
85
85
|
// $n inviter display name (metadata only) $k eph_pub_inviter $v scheme id
|
|
86
|
+
// $iv invite-format version (NULLABLE). The version of the invite/handshake
|
|
87
|
+
// contract the inviter speaks. A redeemer that reads it as NIL treats the
|
|
88
|
+
// inviter as a pre-versioning node (one that predates this field) and
|
|
89
|
+
// down-levels its own address document to v1 (omits $e2e_bundle, sets
|
|
90
|
+
// $version->1) so that older peer accepts it; a present value means the
|
|
91
|
+
// inviter understands this contract. The field is wire-safe in BOTH
|
|
92
|
+
// directions: an older decoder ignores the extra member and a newer decoder
|
|
93
|
+
// reads a missing one as NIL, because mufl metadefs are name-keyed and this
|
|
94
|
+
// field is nullable. Bump it ONLY for a change that breaks cross-version
|
|
95
|
+
// invite/handshake compatibility — one that forces the sender to know the
|
|
96
|
+
// peer's version to interoperate. The confirmed cases are:
|
|
97
|
+
// - invite_eph_t changing shape such that an older decoder cannot consume it;
|
|
98
|
+
// - the address-document format moving to an incompatible version (the
|
|
99
|
+
// v1->v2 $e2e_bundle bump) so a v1 peer would reject a v2 AD.
|
|
86
100
|
metadef invite_eph_t: (
|
|
87
101
|
$d -> global_id,
|
|
88
102
|
$c -> global_id,
|
|
89
103
|
$n -> str,
|
|
90
104
|
$k -> publickey_encrypt,
|
|
91
|
-
$v -> int
|
|
105
|
+
$v -> int,
|
|
106
|
+
$iv -> int+
|
|
92
107
|
).
|
|
93
108
|
|
|
94
109
|
// A reply pointer carried on a message: the stable wire id of the message
|