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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weacpx",
3
- "version": "0.4.0-beta.0",
3
+ "version": "0.4.0-beta.2",
4
4
  "description": "使用微信 ClawBot 随时随地通过 `acpx` 控制 Claude Code、Codex 等 Agents。",
5
5
  "keywords": [
6
6
  "acpx",