@qwen-code/channel-github 0.27.4 → 0.28.0-nightly.20261119.f8d4f706ea
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/GithubAdapter.d.ts +37 -2
- package/dist/GithubAdapter.d.ts.map +1 -1
- package/dist/GithubAdapter.js +450 -21
- package/dist/GithubAdapter.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/managed-github-adapter.d.ts +238 -0
- package/dist/managed-github-adapter.d.ts.map +1 -0
- package/dist/managed-github-adapter.js +1471 -0
- package/dist/managed-github-adapter.js.map +1 -0
- package/dist/managed-github-deps.d.ts +24 -0
- package/dist/managed-github-deps.d.ts.map +1 -0
- package/dist/managed-github-deps.js +365 -0
- package/dist/managed-github-deps.js.map +1 -0
- package/dist/managed-state.d.ts +135 -0
- package/dist/managed-state.d.ts.map +1 -0
- package/dist/managed-state.js +187 -0
- package/dist/managed-state.js.map +1 -0
- package/package.json +6 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { ChannelPlugin } from '@qwen-code/channel-base';
|
|
2
2
|
import { GithubChannel } from './GithubAdapter.js';
|
|
3
3
|
export { GithubChannel };
|
|
4
|
+
export { ManagedGithubAdapter, githubSettings, } from './managed-github-adapter.js';
|
|
5
|
+
export type { GithubCiObservation, GithubPrWatchBinding, GithubPrWatchControlPlane, GithubPullObservation, GithubReplyContext, GithubSettings, ManagedGithubAdapterDeps, ManagedGithubAdapterOptions, ManagedGithubClient, } from './managed-github-adapter.js';
|
|
6
|
+
export type { ManagedGithubCiAggregate, ManagedGithubPrTransition, } from './managed-state.js';
|
|
7
|
+
export { createManagedGithubDeps } from './managed-github-deps.js';
|
|
4
8
|
export declare const plugin: ChannelPlugin;
|
|
5
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACL,aAAa,EAMd,MAAM,oBAAoB,CAAC;AA8D5B,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB,eAAO,MAAM,MAAM,EAAE,aAgJpB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACL,aAAa,EAMd,MAAM,oBAAoB,CAAC;AA8D5B,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB,OAAO,EACL,oBAAoB,EACpB,cAAc,GACf,MAAM,6BAA6B,CAAC;AACrC,YAAY,EACV,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,EACd,wBAAwB,EACxB,2BAA2B,EAC3B,mBAAmB,GACpB,MAAM,6BAA6B,CAAC;AACrC,YAAY,EACV,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAEnE,eAAO,MAAM,MAAM,EAAE,aAgJpB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -54,6 +54,8 @@ const BOUND_ACTION_KEY_OPTIONS = [
|
|
|
54
54
|
}))),
|
|
55
55
|
];
|
|
56
56
|
export { GithubChannel };
|
|
57
|
+
export { ManagedGithubAdapter, githubSettings, } from './managed-github-adapter.js';
|
|
58
|
+
export { createManagedGithubDeps } from './managed-github-deps.js';
|
|
57
59
|
export const plugin = {
|
|
58
60
|
channelType: 'github',
|
|
59
61
|
displayName: 'GitHub',
|
package/dist/index.js.map
CHANGED
|
@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AE,CAAC,MAAM,EAAE,EAAE;YACzB,MAAM,KAAK,GACT,OAAO,MAAM,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACpE,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC5C,OAAO,2EAA2E,CAAC;YACrF,CAAC;YACD,OAAO,CACL,0BAA0B,CAAC,MAAM,EAAE,QAAQ,CAAC;gBAC5C,wBAAwB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAC3C,CAAC;QACJ,CAAC;KACF;IACD,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,CAC/C,IAAI,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC;CACnD,CAAC"}
|
|
@@ -0,0 +1,238 @@
|
|
|
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
|
+
import type { ManagedGithubCiAggregate, ManagedGithubPrTransition } from './managed-state.js';
|
|
8
|
+
export type { ManagedReceipt } from './managed-state.js';
|
|
9
|
+
/** What a reply needs, committed with the input and echoed by the outbox. */
|
|
10
|
+
export interface GithubReplyContext {
|
|
11
|
+
owner: string;
|
|
12
|
+
repo: string;
|
|
13
|
+
issueNumber: number;
|
|
14
|
+
/**
|
|
15
|
+
* The admitted inbound sender, carried so send() can re-check the current
|
|
16
|
+
* sender policy before posting (the DingTalk/email send-time re-check).
|
|
17
|
+
*/
|
|
18
|
+
senderId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface GithubSettings {
|
|
21
|
+
token: string;
|
|
22
|
+
baseUrl: string;
|
|
23
|
+
pollInterval: number;
|
|
24
|
+
/**
|
|
25
|
+
* True when a configured pollInterval was rejected and the default used.
|
|
26
|
+
* Reported by githubSettings itself so the constructor's diagnostic never
|
|
27
|
+
* re-derives the clamp decision.
|
|
28
|
+
*/
|
|
29
|
+
pollIntervalRewritten?: boolean;
|
|
30
|
+
/** Lowercased owner/repo allowlist; absent means every repo. */
|
|
31
|
+
repoFilter?: string[];
|
|
32
|
+
}
|
|
33
|
+
/** One notification thread as the adapter reads it. */
|
|
34
|
+
export interface GithubNotification {
|
|
35
|
+
id: string;
|
|
36
|
+
reason: string;
|
|
37
|
+
updated_at: string;
|
|
38
|
+
subject: {
|
|
39
|
+
title?: string;
|
|
40
|
+
url?: string;
|
|
41
|
+
type?: string;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/** One conversation comment as the adapter reads it. */
|
|
45
|
+
export interface GithubComment {
|
|
46
|
+
id: number;
|
|
47
|
+
node_id?: string;
|
|
48
|
+
body?: string;
|
|
49
|
+
created_at: string;
|
|
50
|
+
user?: {
|
|
51
|
+
login?: string;
|
|
52
|
+
} | null;
|
|
53
|
+
}
|
|
54
|
+
/** The outcome of one comment send, classified by the deps. */
|
|
55
|
+
export interface GithubSendFailure extends Error {
|
|
56
|
+
definitive?: boolean;
|
|
57
|
+
}
|
|
58
|
+
/** One PR observation as the watch reads it (the pulls.get fields it needs). */
|
|
59
|
+
export interface GithubPullObservation {
|
|
60
|
+
headSha?: string;
|
|
61
|
+
/**
|
|
62
|
+
* undefined while GitHub reports mergeable null (the daemon's UNKNOWN
|
|
63
|
+
* mapping). This is the field the watch compares and persists, and it never
|
|
64
|
+
* overwrites the baseline: an undefined value carries the previous
|
|
65
|
+
* mergeableState forward.
|
|
66
|
+
*/
|
|
67
|
+
mergeableState?: string;
|
|
68
|
+
state: string;
|
|
69
|
+
}
|
|
70
|
+
/** One CI rollup observation, the daemon's aggregateChecks vocabulary. */
|
|
71
|
+
export interface GithubCiObservation {
|
|
72
|
+
aggregate: ManagedGithubCiAggregate;
|
|
73
|
+
/** Names of failed checks (capped), for the event's evidence line. */
|
|
74
|
+
failedChecks: string[];
|
|
75
|
+
/** True when the failed-check list is partial (early page stop / name cap). */
|
|
76
|
+
namesIncomplete?: boolean;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* One PR-watch binding as this watch consumes it: the pull request to observe
|
|
80
|
+
* and the transitions it subscribes to. The route's answer also names the
|
|
81
|
+
* binding's Session, which is deliberately absent here — the control plane
|
|
82
|
+
* forces the target Session from its own binding on every inject, so the
|
|
83
|
+
* adapter never chooses (or even sees) one.
|
|
84
|
+
*/
|
|
85
|
+
export interface GithubPrWatchBinding {
|
|
86
|
+
owner: string;
|
|
87
|
+
repo: string;
|
|
88
|
+
prNumber: number;
|
|
89
|
+
/** The enabled transition set; unknown/deferred members are ignored. */
|
|
90
|
+
events: string[];
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The PR-watch control-plane surface (pr-watch:list / pr-watch:inject /
|
|
94
|
+
* pr-watch:retire). Kept github-local and deps-injected so the shared
|
|
95
|
+
* ManagedChannelControlPlane contract stays untouched; the HTTP implementation
|
|
96
|
+
* is wired separately. Injection is private-only: the route submits a pr_event
|
|
97
|
+
* input + wake to the binding's Session, and the watch never posts a public
|
|
98
|
+
* comment.
|
|
99
|
+
*/
|
|
100
|
+
export interface GithubPrWatchControlPlane {
|
|
101
|
+
listPrWatchBindings(): Promise<GithubPrWatchBinding[]>;
|
|
102
|
+
injectPrEvent(event: {
|
|
103
|
+
owner: string;
|
|
104
|
+
repo: string;
|
|
105
|
+
prNumber: number;
|
|
106
|
+
transition: ManagedGithubPrTransition;
|
|
107
|
+
headSha: string;
|
|
108
|
+
evidence: string;
|
|
109
|
+
/** Durable per-PR occurrence number; part of the idempotent input id. */
|
|
110
|
+
episode: number;
|
|
111
|
+
}): Promise<void>;
|
|
112
|
+
/**
|
|
113
|
+
* Retire this channel's binding for a PR so it stops consuming an
|
|
114
|
+
* observation slot and the PR can be bound to another Session. Idempotent:
|
|
115
|
+
* retiring an already-gone binding is a tolerated no-op.
|
|
116
|
+
*/
|
|
117
|
+
retirePrWatchBinding(pr: {
|
|
118
|
+
owner: string;
|
|
119
|
+
repo: string;
|
|
120
|
+
prNumber: number;
|
|
121
|
+
}): Promise<void>;
|
|
122
|
+
}
|
|
123
|
+
/** The GitHub API surface the adapter reads and writes through. */
|
|
124
|
+
export interface ManagedGithubClient {
|
|
125
|
+
/** The authenticated bot login. */
|
|
126
|
+
resolveIdentity(): Promise<string>;
|
|
127
|
+
listNotifications(since: string): Promise<GithubNotification[]>;
|
|
128
|
+
listComments(owner: string, repo: string, issueNumber: number, since: string): Promise<GithubComment[]>;
|
|
129
|
+
markThreadRead(threadId: string): Promise<void>;
|
|
130
|
+
postComment(owner: string, repo: string, issueNumber: number, body: string): Promise<{
|
|
131
|
+
id: number;
|
|
132
|
+
}>;
|
|
133
|
+
/** The PR-watch baseline read: head, mergeability and state. */
|
|
134
|
+
getPullRequest(owner: string, repo: string, prNumber: number): Promise<GithubPullObservation>;
|
|
135
|
+
/** The PR-watch CI read: checks + combined status for one head SHA. */
|
|
136
|
+
getCiStatus(owner: string, repo: string, headSha: string): Promise<GithubCiObservation>;
|
|
137
|
+
/** The poll floor GitHub's answers ask for (X-Poll-Interval, rate limits). */
|
|
138
|
+
pollIntervalFloorMs(): number;
|
|
139
|
+
disconnect(): void;
|
|
140
|
+
}
|
|
141
|
+
export interface ManagedGithubAdapterDeps {
|
|
142
|
+
readonly createClient: (settings: GithubSettings) => Promise<ManagedGithubClient>;
|
|
143
|
+
readonly lock: (directory: string, onCompromised: () => void) => Promise<() => Promise<void>>;
|
|
144
|
+
readonly now?: () => number;
|
|
145
|
+
readonly log?: (line: string) => void;
|
|
146
|
+
/** Absent leaves the PR-watch pass inert (no bindings, no injection). */
|
|
147
|
+
readonly prWatchControlPlane?: GithubPrWatchControlPlane;
|
|
148
|
+
}
|
|
149
|
+
export interface ManagedGithubAdapterOptions {
|
|
150
|
+
readonly name: string;
|
|
151
|
+
readonly cwd: string;
|
|
152
|
+
readonly config: Readonly<Record<string, unknown>>;
|
|
153
|
+
/**
|
|
154
|
+
* The pre-parse channel entry. `config` is the parseChannelConfig result,
|
|
155
|
+
* which always injects privatePolicy/senderPolicy/groupPolicy defaults; the
|
|
156
|
+
* adapter judges an explicit policy choice on this raw entry instead. When
|
|
157
|
+
* absent (unit tests hand a raw shape as `config`), `config` is used.
|
|
158
|
+
*/
|
|
159
|
+
readonly rawConfig?: Readonly<Record<string, unknown>>;
|
|
160
|
+
readonly controlPlane: ManagedChannelControlPlane;
|
|
161
|
+
readonly deps: ManagedGithubAdapterDeps;
|
|
162
|
+
/** Off, the caller drives `tick()` itself (tests); on by default. */
|
|
163
|
+
readonly pollLoop?: boolean;
|
|
164
|
+
}
|
|
165
|
+
export declare function githubSettings(config: Readonly<Record<string, unknown>>): GithubSettings;
|
|
166
|
+
export declare class ManagedGithubAdapter {
|
|
167
|
+
readonly settings: GithubSettings;
|
|
168
|
+
readonly policy: ManagedChannelPolicy;
|
|
169
|
+
private readonly store;
|
|
170
|
+
private readonly controlPlane;
|
|
171
|
+
private readonly deps;
|
|
172
|
+
private readonly log;
|
|
173
|
+
private readonly pollLoop;
|
|
174
|
+
private state?;
|
|
175
|
+
private client?;
|
|
176
|
+
private accountId?;
|
|
177
|
+
private startedAt?;
|
|
178
|
+
private releaseLock?;
|
|
179
|
+
private running;
|
|
180
|
+
private ownershipLost;
|
|
181
|
+
private loop?;
|
|
182
|
+
private abort?;
|
|
183
|
+
private registeredGeneration?;
|
|
184
|
+
private instanceStalled;
|
|
185
|
+
private loggedNoClaimSlot;
|
|
186
|
+
private loggedSettleFailure;
|
|
187
|
+
constructor(options: ManagedGithubAdapterOptions);
|
|
188
|
+
get stateFile(): string;
|
|
189
|
+
get generation(): number | undefined;
|
|
190
|
+
connect(): Promise<void>;
|
|
191
|
+
disconnect(): Promise<void>;
|
|
192
|
+
/** One admission re-drive, one inbound poll, one outbox pull, one PR watch. */
|
|
193
|
+
tick(): Promise<void>;
|
|
194
|
+
private runLoop;
|
|
195
|
+
private senderAllowed;
|
|
196
|
+
private repoAllowed;
|
|
197
|
+
private pollInbound;
|
|
198
|
+
/**
|
|
199
|
+
* PR-watch pass (D3 of the bound-session design): observe the bound PRs,
|
|
200
|
+
* derive transitions with the daemon's semantics, and inject them privately
|
|
201
|
+
* into the binding's Session through the control plane. Never posts
|
|
202
|
+
* publicly. Every failure is contained here so the outbound lane keeps
|
|
203
|
+
* moving. See docs/design/2026-11-17-managed-github-pr-watch-bound-session.md.
|
|
204
|
+
*/
|
|
205
|
+
private watchPrs;
|
|
206
|
+
/**
|
|
207
|
+
* One PR observation: compare against the persisted baseline, queue the
|
|
208
|
+
* detected transitions, and commit baseline + pending in one write BEFORE
|
|
209
|
+
* any injection side effect (the retired watch's atomicity discipline).
|
|
210
|
+
*/
|
|
211
|
+
private observePr;
|
|
212
|
+
/**
|
|
213
|
+
* Drain the durable pending queue oldest-first. Injection is the only side
|
|
214
|
+
* effect: success records the fired key and removes the entry in one write;
|
|
215
|
+
* a transient failure keeps the entry for the next tick; a deterministic
|
|
216
|
+
* refusal drops it visibly. Never posts a public comment.
|
|
217
|
+
*/
|
|
218
|
+
private drainPrWatchPending;
|
|
219
|
+
private recordDispatched;
|
|
220
|
+
private submit;
|
|
221
|
+
/**
|
|
222
|
+
* The stall exists to be lifted by the held claim's probe: when the last
|
|
223
|
+
* held claim leaves without proving the binding, no probe remains, and a
|
|
224
|
+
* flag kept armed would gate every later tick. The refusal streak is NOT
|
|
225
|
+
* reset here: only the held claim's fresh admission proves the binding.
|
|
226
|
+
*/
|
|
227
|
+
private liftStallWhenNothingHeld;
|
|
228
|
+
private resubmitPending;
|
|
229
|
+
private isRegistrationRefusal;
|
|
230
|
+
private ensureRegistered;
|
|
231
|
+
private pullOutbox;
|
|
232
|
+
private send;
|
|
233
|
+
private reportOrphanedOutbound;
|
|
234
|
+
private persist;
|
|
235
|
+
private stop;
|
|
236
|
+
private release;
|
|
237
|
+
}
|
|
238
|
+
//# sourceMappingURL=managed-github-adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managed-github-adapter.d.ts","sourceRoot":"","sources":["../src/managed-github-adapter.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,KAAK,EACV,oBAAoB,EAGpB,0BAA0B,EAC3B,MAAM,yBAAyB,CAAC;AAUjC,OAAO,KAAK,EACV,wBAAwB,EACxB,yBAAyB,EAI1B,MAAM,oBAAoB,CAAC;AAO5B,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAUzD,6EAA6E;AAC7E,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,gEAAgE;IAChE,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,uDAAuD;AACvD,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC1D;AAED,wDAAwD;AACxD,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC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