Skip to content

Commit b7d70ad

Browse files
Fix/telegram writeback admin scope gate (openclaw#54561)
* fix(telegram): require operator.admin for legacy target writeback persistence * Address claude feedback * Update extensions/telegram/src/target-writeback.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Remove stray brace * Add updated docs * Add missing test file, address codex concerns * Fix test formatting error * Address comments, fix tests --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 89c4c67 commit b7d70ad

18 files changed

+808
-73
lines changed

docs/.generated/plugin-sdk-api-baseline.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"exportName": "ChannelConfiguredBindingConversationRef",
128128
"kind": "type",
129129
"source": {
130-
"line": 553,
130+
"line": 554,
131131
"path": "src/channels/plugins/types.adapters.ts"
132132
}
133133
},
@@ -136,7 +136,7 @@
136136
"exportName": "ChannelConfiguredBindingMatch",
137137
"kind": "type",
138138
"source": {
139-
"line": 558,
139+
"line": 559,
140140
"path": "src/channels/plugins/types.adapters.ts"
141141
}
142142
},
@@ -145,7 +145,7 @@
145145
"exportName": "ChannelConfiguredBindingProvider",
146146
"kind": "type",
147147
"source": {
148-
"line": 562,
148+
"line": 563,
149149
"path": "src/channels/plugins/types.adapters.ts"
150150
}
151151
},
@@ -154,7 +154,7 @@
154154
"exportName": "ChannelGatewayContext",
155155
"kind": "type",
156156
"source": {
157-
"line": 238,
157+
"line": 239,
158158
"path": "src/channels/plugins/types.adapters.ts"
159159
}
160160
},
@@ -1044,7 +1044,7 @@
10441044
"exportName": "BaseProbeResult",
10451045
"kind": "type",
10461046
"source": {
1047-
"line": 558,
1047+
"line": 559,
10481048
"path": "src/channels/plugins/types.core.ts"
10491049
}
10501050
},
@@ -1053,7 +1053,7 @@
10531053
"exportName": "BaseTokenResolution",
10541054
"kind": "type",
10551055
"source": {
1056-
"line": 564,
1056+
"line": 565,
10571057
"path": "src/channels/plugins/types.core.ts"
10581058
}
10591059
},
@@ -1518,7 +1518,7 @@
15181518
"exportName": "BaseProbeResult",
15191519
"kind": "type",
15201520
"source": {
1521-
"line": 558,
1521+
"line": 559,
15221522
"path": "src/channels/plugins/types.core.ts"
15231523
}
15241524
},
@@ -1527,7 +1527,7 @@
15271527
"exportName": "BaseTokenResolution",
15281528
"kind": "type",
15291529
"source": {
1530-
"line": 564,
1530+
"line": 565,
15311531
"path": "src/channels/plugins/types.core.ts"
15321532
}
15331533
},
@@ -1581,7 +1581,7 @@
15811581
"exportName": "ChannelAllowlistAdapter",
15821582
"kind": "type",
15831583
"source": {
1584-
"line": 497,
1584+
"line": 498,
15851585
"path": "src/channels/plugins/types.adapters.ts"
15861586
}
15871587
},
@@ -1590,7 +1590,7 @@
15901590
"exportName": "ChannelAuthAdapter",
15911591
"kind": "type",
15921592
"source": {
1593-
"line": 362,
1593+
"line": 363,
15941594
"path": "src/channels/plugins/types.adapters.ts"
15951595
}
15961596
},
@@ -1635,7 +1635,7 @@
16351635
"exportName": "ChannelCommandAdapter",
16361636
"kind": "type",
16371637
"source": {
1638-
"line": 444,
1638+
"line": 445,
16391639
"path": "src/channels/plugins/types.adapters.ts"
16401640
}
16411641
},
@@ -1653,7 +1653,7 @@
16531653
"exportName": "ChannelConfiguredBindingConversationRef",
16541654
"kind": "type",
16551655
"source": {
1656-
"line": 553,
1656+
"line": 554,
16571657
"path": "src/channels/plugins/types.adapters.ts"
16581658
}
16591659
},
@@ -1662,7 +1662,7 @@
16621662
"exportName": "ChannelConfiguredBindingMatch",
16631663
"kind": "type",
16641664
"source": {
1665-
"line": 558,
1665+
"line": 559,
16661666
"path": "src/channels/plugins/types.adapters.ts"
16671667
}
16681668
},
@@ -1671,7 +1671,7 @@
16711671
"exportName": "ChannelConfiguredBindingProvider",
16721672
"kind": "type",
16731673
"source": {
1674-
"line": 562,
1674+
"line": 563,
16751675
"path": "src/channels/plugins/types.adapters.ts"
16761676
}
16771677
},
@@ -1680,7 +1680,7 @@
16801680
"exportName": "ChannelDirectoryAdapter",
16811681
"kind": "type",
16821682
"source": {
1683-
"line": 406,
1683+
"line": 407,
16841684
"path": "src/channels/plugins/types.adapters.ts"
16851685
}
16861686
},
@@ -1707,7 +1707,7 @@
17071707
"exportName": "ChannelElevatedAdapter",
17081708
"kind": "type",
17091709
"source": {
1710-
"line": 437,
1710+
"line": 438,
17111711
"path": "src/channels/plugins/types.adapters.ts"
17121712
}
17131713
},
@@ -1716,7 +1716,7 @@
17161716
"exportName": "ChannelExecApprovalAdapter",
17171717
"kind": "type",
17181718
"source": {
1719-
"line": 463,
1719+
"line": 464,
17201720
"path": "src/channels/plugins/types.adapters.ts"
17211721
}
17221722
},
@@ -1743,7 +1743,7 @@
17431743
"exportName": "ChannelGatewayAdapter",
17441744
"kind": "type",
17451745
"source": {
1746-
"line": 346,
1746+
"line": 347,
17471747
"path": "src/channels/plugins/types.adapters.ts"
17481748
}
17491749
},
@@ -1752,7 +1752,7 @@
17521752
"exportName": "ChannelGatewayContext",
17531753
"kind": "type",
17541754
"source": {
1755-
"line": 238,
1755+
"line": 239,
17561756
"path": "src/channels/plugins/types.adapters.ts"
17571757
}
17581758
},
@@ -1779,7 +1779,7 @@
17791779
"exportName": "ChannelHeartbeatAdapter",
17801780
"kind": "type",
17811781
"source": {
1782-
"line": 372,
1782+
"line": 373,
17831783
"path": "src/channels/plugins/types.adapters.ts"
17841784
}
17851785
},
@@ -1806,7 +1806,7 @@
18061806
"exportName": "ChannelLifecycleAdapter",
18071807
"kind": "type",
18081808
"source": {
1809-
"line": 449,
1809+
"line": 450,
18101810
"path": "src/channels/plugins/types.adapters.ts"
18111811
}
18121812
},
@@ -1815,7 +1815,7 @@
18151815
"exportName": "ChannelLoginWithQrStartResult",
18161816
"kind": "type",
18171817
"source": {
1818-
"line": 317,
1818+
"line": 318,
18191819
"path": "src/channels/plugins/types.adapters.ts"
18201820
}
18211821
},
@@ -1824,7 +1824,7 @@
18241824
"exportName": "ChannelLoginWithQrWaitResult",
18251825
"kind": "type",
18261826
"source": {
1827-
"line": 322,
1827+
"line": 323,
18281828
"path": "src/channels/plugins/types.adapters.ts"
18291829
}
18301830
},
@@ -1833,7 +1833,7 @@
18331833
"exportName": "ChannelLogoutContext",
18341834
"kind": "type",
18351835
"source": {
1836-
"line": 327,
1836+
"line": 328,
18371837
"path": "src/channels/plugins/types.adapters.ts"
18381838
}
18391839
},
@@ -1842,7 +1842,7 @@
18421842
"exportName": "ChannelLogoutResult",
18431843
"kind": "type",
18441844
"source": {
1845-
"line": 311,
1845+
"line": 312,
18461846
"path": "src/channels/plugins/types.adapters.ts"
18471847
}
18481848
},
@@ -1950,7 +1950,7 @@
19501950
"exportName": "ChannelOutboundAdapter",
19511951
"kind": "type",
19521952
"source": {
1953-
"line": 154,
1953+
"line": 155,
19541954
"path": "src/channels/plugins/types.adapters.ts"
19551955
}
19561956
},
@@ -1977,7 +1977,7 @@
19771977
"exportName": "ChannelPairingAdapter",
19781978
"kind": "type",
19791979
"source": {
1980-
"line": 335,
1980+
"line": 336,
19811981
"path": "src/channels/plugins/types.adapters.ts"
19821982
}
19831983
},
@@ -2013,7 +2013,7 @@
20132013
"exportName": "ChannelResolveKind",
20142014
"kind": "type",
20152015
"source": {
2016-
"line": 417,
2016+
"line": 418,
20172017
"path": "src/channels/plugins/types.adapters.ts"
20182018
}
20192019
},
@@ -2022,7 +2022,7 @@
20222022
"exportName": "ChannelResolverAdapter",
20232023
"kind": "type",
20242024
"source": {
2025-
"line": 427,
2025+
"line": 428,
20262026
"path": "src/channels/plugins/types.adapters.ts"
20272027
}
20282028
},
@@ -2031,7 +2031,7 @@
20312031
"exportName": "ChannelResolveResult",
20322032
"kind": "type",
20332033
"source": {
2034-
"line": 419,
2034+
"line": 420,
20352035
"path": "src/channels/plugins/types.adapters.ts"
20362036
}
20372037
},
@@ -2040,7 +2040,7 @@
20402040
"exportName": "ChannelSecurityAdapter",
20412041
"kind": "type",
20422042
"source": {
2043-
"line": 575,
2043+
"line": 576,
20442044
"path": "src/channels/plugins/types.adapters.ts"
20452045
}
20462046
},
@@ -2085,7 +2085,7 @@
20852085
"exportName": "ChannelStatusAdapter",
20862086
"kind": "type",
20872087
"source": {
2088-
"line": 184,
2088+
"line": 185,
20892089
"path": "src/channels/plugins/types.adapters.ts"
20902090
}
20912091
},
@@ -4884,7 +4884,7 @@
48844884
"exportName": "ChannelGatewayContext",
48854885
"kind": "type",
48864886
"source": {
4887-
"line": 238,
4887+
"line": 239,
48884888
"path": "src/channels/plugins/types.adapters.ts"
48894889
}
48904890
},

0 commit comments

Comments
 (0)