@qwen-code/channel-dingtalk 0.27.4 → 0.28.1-preview.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.
@@ -0,0 +1,53 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ // The SDK's getEndpoint() console.log()s the resolved config (clientSecret)
7
+ // and the gateway response, ungated by its own debug flag. Silence rather
8
+ // than redact: a key allowlist stays open to future SDK logs. Shared by the
9
+ // Legacy channel and the managed adapter so this credential guard has a
10
+ // single copy — a fix to one must not leave the other leaking.
11
+ /* eslint-disable no-console -- swapping console.log out is the whole job here */
12
+ let connectLogDepth = 0;
13
+ let unsuppressedConsoleLog;
14
+ // Connects can overlap — a manager replacement starts while another is still
15
+ // in flight, and either may settle first — so only the depth 1→0 transition
16
+ // restores, to what the 0→1 transition saved. An inner scope restoring its own
17
+ // capture would put the no-op back and leave logging off process-wide.
18
+ export async function withConnectLoggingSuppressed(connect) {
19
+ if (connectLogDepth++ === 0) {
20
+ unsuppressedConsoleLog = console.log;
21
+ console.log = () => { };
22
+ }
23
+ try {
24
+ return await connect();
25
+ }
26
+ finally {
27
+ if (--connectLogDepth === 0 && unsuppressedConsoleLog) {
28
+ console.log = unsuppressedConsoleLog;
29
+ unsuppressedConsoleLog = undefined;
30
+ }
31
+ }
32
+ }
33
+ // The SDK's onDownStream() console.log()s every raw frame (user text, sender
34
+ // id, the sessionWebhook capability). Suppress it through the SAME depth
35
+ // counter as connect: a synchronous save/restore here would race an in-flight
36
+ // connect's suppression and could restore logging mid-getEndpoint.
37
+ export function withConsoleLogSuppressedSync(fn) {
38
+ if (connectLogDepth++ === 0) {
39
+ unsuppressedConsoleLog = console.log;
40
+ console.log = () => { };
41
+ }
42
+ try {
43
+ return fn();
44
+ }
45
+ finally {
46
+ if (--connectLogDepth === 0 && unsuppressedConsoleLog) {
47
+ console.log = unsuppressedConsoleLog;
48
+ unsuppressedConsoleLog = undefined;
49
+ }
50
+ }
51
+ }
52
+ /* eslint-enable no-console */
53
+ //# sourceMappingURL=connect-logging.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect-logging.js","sourceRoot":"","sources":["../src/connect-logging.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,4EAA4E;AAC5E,0EAA0E;AAC1E,4EAA4E;AAC5E,wEAAwE;AACxE,+DAA+D;AAE/D,iFAAiF;AACjF,IAAI,eAAe,GAAG,CAAC,CAAC;AACxB,IAAI,sBAAsD,CAAC;AAE3D,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,uEAAuE;AACvE,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAChD,OAAyB;IAEzB,IAAI,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC;QAC5B,sBAAsB,GAAG,OAAO,CAAC,GAAG,CAAC;QACrC,OAAO,CAAC,GAAG,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;IACzB,CAAC;IACD,IAAI,CAAC;QACH,OAAO,MAAM,OAAO,EAAE,CAAC;IACzB,CAAC;YAAS,CAAC;QACT,IAAI,EAAE,eAAe,KAAK,CAAC,IAAI,sBAAsB,EAAE,CAAC;YACtD,OAAO,CAAC,GAAG,GAAG,sBAAsB,CAAC;YACrC,sBAAsB,GAAG,SAAS,CAAC;QACrC,CAAC;IACH,CAAC;AACH,CAAC;AAED,6EAA6E;AAC7E,yEAAyE;AACzE,8EAA8E;AAC9E,mEAAmE;AACnE,MAAM,UAAU,4BAA4B,CAAI,EAAW;IACzD,IAAI,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC;QAC5B,sBAAsB,GAAG,OAAO,CAAC,GAAG,CAAC;QACrC,OAAO,CAAC,GAAG,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;IACzB,CAAC;IACD,IAAI,CAAC;QACH,OAAO,EAAE,EAAE,CAAC;IACd,CAAC;YAAS,CAAC;QACT,IAAI,EAAE,eAAe,KAAK,CAAC,IAAI,sBAAsB,EAAE,CAAC;YACtD,OAAO,CAAC,GAAG,GAAG,sBAAsB,CAAC;YACrC,sBAAsB,GAAG,SAAS,CAAC;QACrC,CAAC;IACH,CAAC;AACH,CAAC;AACD,8BAA8B"}
package/dist/index.d.ts CHANGED
@@ -2,6 +2,9 @@ export { DingtalkChannel } from './DingtalkAdapter.js';
2
2
  export { DingtalkWebhookChannel } from './DingtalkWebhookChannel.js';
3
3
  export { webhookPlugin } from './webhook-plugin.js';
4
4
  export { downloadMedia } from './media.js';
5
+ export { ManagedDingtalkAdapter, dingtalkSettings, } from './managed-dingtalk-adapter.js';
6
+ export type { DingtalkReplyContext, DingtalkSettings, ManagedDingtalkAdapterDeps, ManagedDingtalkAdapterOptions, } from './managed-dingtalk-adapter.js';
7
+ export { createManagedDingtalkDeps } from './managed-dingtalk-deps.js';
5
8
  import type { ChannelPlugin } from '@qwen-code/channel-base';
6
9
  export declare const plugin: ChannelPlugin;
7
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,eAAO,MAAM,MAAM,EAAE,aAuFpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EACL,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,+BAA+B,CAAC;AACvC,YAAY,EACV,oBAAoB,EACpB,gBAAgB,EAChB,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAGvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,eAAO,MAAM,MAAM,EAAE,aAuFpB,CAAC"}
package/dist/index.js CHANGED
@@ -2,6 +2,8 @@ export { DingtalkChannel } from './DingtalkAdapter.js';
2
2
  export { DingtalkWebhookChannel } from './DingtalkWebhookChannel.js';
3
3
  export { webhookPlugin } from './webhook-plugin.js';
4
4
  export { downloadMedia } from './media.js';
5
+ export { ManagedDingtalkAdapter, dingtalkSettings, } from './managed-dingtalk-adapter.js';
6
+ export { createManagedDingtalkDeps } from './managed-dingtalk-deps.js';
5
7
  import { DingtalkChannel } from './DingtalkAdapter.js';
6
8
  import { DINGTALK_INTERACTIVE_CARD_TIMEOUT_EXCLUSIVE_MINIMUM } from './interactive-card-types.js';
7
9
  export const plugin = {
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,EAAE,mDAAmD,EAAE,MAAM,6BAA6B,CAAC;AAElG,MAAM,CAAC,MAAM,MAAM,GAAkB;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M,EAAE,OAAO,EAAE,EAAE,CAC/C,IAAI,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC;CACrD,CAAC"}
@@ -0,0 +1,121 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Qwen Team
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { ManagedChannelPolicy, ManagedChannelControlPlane } from '@qwen-code/channel-base';
7
+ export type { ManagedReceipt } from './managed-state.js';
8
+ /** What a reply needs, committed with the input and echoed by the outbox. */
9
+ export interface DingtalkReplyContext {
10
+ conversationId: string;
11
+ sessionWebhook: string;
12
+ senderId: string;
13
+ robotCode: string;
14
+ }
15
+ export interface DingtalkSettings {
16
+ clientId: string;
17
+ clientSecret: string;
18
+ pollInterval: number;
19
+ /**
20
+ * True when a configured pollInterval was rejected and the default used.
21
+ * Reported by dingtalkSettings itself so the constructor's diagnostic
22
+ * never re-derives the clamp decision (#17396 R1-3).
23
+ */
24
+ pollIntervalRewritten?: boolean;
25
+ }
26
+ /** A connected stream the adapter reads robot messages from. */
27
+ export interface ManagedDingtalkStreamClient {
28
+ connect(): Promise<void>;
29
+ disconnect(): void;
30
+ }
31
+ /** The outcome of one webhook send, classified by the deps. */
32
+ export interface DingtalkWebhookFailure extends Error {
33
+ definitive?: boolean;
34
+ }
35
+ export interface ManagedDingtalkAdapterDeps {
36
+ readonly createStreamClient: (settings: DingtalkSettings, onMessage: (messageId: string, data: string) => boolean) => ManagedDingtalkStreamClient;
37
+ readonly sendWebhook: (webhook: string, text: string) => Promise<void>;
38
+ readonly lock: (directory: string, onCompromised: () => void) => Promise<() => Promise<void>>;
39
+ readonly now?: () => number;
40
+ readonly log?: (line: string) => void;
41
+ }
42
+ export interface ManagedDingtalkAdapterOptions {
43
+ readonly name: string;
44
+ readonly cwd: string;
45
+ readonly config: Readonly<Record<string, unknown>>;
46
+ readonly controlPlane: ManagedChannelControlPlane;
47
+ readonly deps: ManagedDingtalkAdapterDeps;
48
+ /** Off, the caller drives `tick()` itself (tests); on by default. */
49
+ readonly pollLoop?: boolean;
50
+ }
51
+ export declare function dingtalkSettings(config: Readonly<Record<string, unknown>>): DingtalkSettings;
52
+ export declare class ManagedDingtalkAdapter {
53
+ readonly settings: DingtalkSettings;
54
+ readonly policy: ManagedChannelPolicy;
55
+ private readonly store;
56
+ private readonly controlPlane;
57
+ private readonly deps;
58
+ private readonly log;
59
+ private readonly pollLoop;
60
+ private state?;
61
+ private stream?;
62
+ private releaseLock?;
63
+ private running;
64
+ private ownershipLost;
65
+ private loop?;
66
+ private abort?;
67
+ private registeredGeneration?;
68
+ private instanceStalled;
69
+ private loggedNoClaimSlot;
70
+ private loggedAcceptFailure;
71
+ private loggedNoReplyTarget;
72
+ private loggedSettleFailure;
73
+ constructor(options: ManagedDingtalkAdapterOptions);
74
+ get stateFile(): string;
75
+ get generation(): number | undefined;
76
+ connect(): Promise<void>;
77
+ disconnect(): Promise<void>;
78
+ /** One admission re-drive and one outbound pull, for callers that drive it. */
79
+ tick(): Promise<void>;
80
+ private onMessage;
81
+ private runLoop;
82
+ private senderAllowed;
83
+ private stageInbound;
84
+ private submit;
85
+ /**
86
+ * The stall exists to be lifted by the held claim's probe: when the last
87
+ * held claim leaves without proving the binding — dropped on a per-message
88
+ * verdict or settled by a replayed answer — no probe remains, and a flag
89
+ * kept armed would gate every later tick. The refusal streak is NOT reset
90
+ * here: only the held claim's fresh admission proves the binding, so the
91
+ * next instance-scoped refusal re-holds without a new first-occurrence drop.
92
+ */
93
+ private liftStallWhenNothingHeld;
94
+ private resubmitPending;
95
+ private isRegistrationRefusal;
96
+ private ensureRegistered;
97
+ private pullOutbox;
98
+ /**
99
+ * The single own-key read of the webhook cache, shared by the admission
100
+ * gate and the send path so the two cannot drift (#17173 round 5).
101
+ * Own-key membership, not truthiness: a conversationId naming an
102
+ * Object.prototype member ('constructor', 'toString', ...) must not
103
+ * resolve the inherited value on an empty cache (#17173 R2-2). Cached
104
+ * values are non-empty by the state validator, so undefined ⇔ absent.
105
+ */
106
+ private cachedWebhook;
107
+ /**
108
+ * Record a conversation's webhook as the most recently seen. Reinsert at the
109
+ * end so the overflow evicts the least-recently-seen key, not the
110
+ * first-inserted one (#17173 R1-20). defineProperty writes an own key even
111
+ * for '__proto__', which a plain assignment would silently discard through
112
+ * the inherited setter (#17173 R3-5).
113
+ */
114
+ private touchWebhook;
115
+ private send;
116
+ private reportOrphanedOutbound;
117
+ private persist;
118
+ private stop;
119
+ private release;
120
+ }
121
+ //# sourceMappingURL=managed-dingtalk-adapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managed-dingtalk-adapter.d.ts","sourceRoot":"","sources":["../src/managed-dingtalk-adapter.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,KAAK,EACV,oBAAoB,EAGpB,0BAA0B,EAC3B,MAAM,yBAAyB,CAAC;AASjC,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAUzD,6EAA6E;AAC7E,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,gEAAgE;AAChE,MAAM,WAAW,2BAA2B;IAC1C,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,UAAU,IAAI,IAAI,CAAC;CACpB;AAED,+DAA+D;AAC/D,MAAM,WAAW,sBAAuB,SAAQ,KAAK;IACnD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,kBAAkB,EAAE,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