weacpx 0.4.0-beta.0 → 0.4.0-beta.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/bridge/bridge-main.js +67 -17
- package/dist/cli.js +643 -378
- package/dist/weixin/agent/interface.d.ts +8 -0
- package/package.json +1 -1
|
@@ -34,6 +34,14 @@ export interface ChatRequest {
|
|
|
34
34
|
replyContextToken?: string;
|
|
35
35
|
/** Channel-provided facts for command authorization and routing policy. */
|
|
36
36
|
metadata?: ChatRequestMetadata;
|
|
37
|
+
/**
|
|
38
|
+
* Signals that the channel has received an abort/stop request for this turn.
|
|
39
|
+
* Agents that can interrupt long-running work (e.g. cancel an in-flight acpx
|
|
40
|
+
* prompt) should observe this and bail out early. Optional; agents that don't
|
|
41
|
+
* support cancellation may ignore it — the channel will still suppress any
|
|
42
|
+
* output produced after abort.
|
|
43
|
+
*/
|
|
44
|
+
abortSignal?: AbortSignal;
|
|
37
45
|
}
|
|
38
46
|
export interface ChatRequestMetadata {
|
|
39
47
|
channel?: string;
|