weacpx 0.5.0 → 0.5.1

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.
@@ -57,6 +57,10 @@ export interface OrchestrationConfig {
57
57
  progressHeartbeatSeconds: number;
58
58
  maxParallelTasksPerAgent: number;
59
59
  }
60
+ export type LaterDefaultMode = "temp" | "bind";
61
+ export interface LaterConfig {
62
+ defaultMode: LaterDefaultMode;
63
+ }
60
64
  export interface ChannelRuntimeConfig {
61
65
  id: string;
62
66
  type: string;
@@ -77,4 +81,5 @@ export interface AppConfig {
77
81
  agents: Record<string, AgentConfig>;
78
82
  workspaces: Record<string, WorkspaceConfig>;
79
83
  orchestration: OrchestrationConfig;
84
+ later?: LaterConfig;
80
85
  }
@@ -128,8 +128,15 @@ export interface OrchestrationCoordinatorQuestionStateRecord {
128
128
  export interface OrchestrationCoordinatorRouteContextRecord {
129
129
  coordinatorSession: string;
130
130
  chatKey: string;
131
+ sessionAlias?: string;
131
132
  accountId?: string;
132
133
  replyContextToken?: string;
134
+ channel?: string;
135
+ chatType?: "direct" | "group";
136
+ senderId?: string;
137
+ senderName?: string;
138
+ groupId?: string;
139
+ isOwner?: boolean;
133
140
  updatedAt: string;
134
141
  }
135
142
  export interface OrchestrationHumanQuestionPackageMessageRecord {
@@ -1,5 +1,5 @@
1
1
  import type { ChannelMediaAttachment, OutboundChannelMedia } from "../../channels/media-types.js";
2
- import type { ToolUseEvent } from "../../channels/types.js";
2
+ import type { ScheduledSessionDescriptor, ToolUseEvent } from "../../channels/types.js";
3
3
  import type { PerfSpan } from "../../perf/perf-tracer.js";
4
4
  /**
5
5
  * Agent interface — any AI backend that can handle a chat message.
@@ -64,6 +64,8 @@ export interface ChatRequestMetadata {
64
64
  isOwner?: boolean;
65
65
  /** Internal weacpx session alias to use for non-interactive scheduled prompts. */
66
66
  scheduledSessionAlias?: string;
67
+ /** Transient session descriptor for temp-mode scheduled prompts (no persisted alias). */
68
+ scheduledSessionDescriptor?: ScheduledSessionDescriptor;
67
69
  }
68
70
  export interface ChatResponse {
69
71
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weacpx",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "使用微信 ClawBot 随时随地通过 `acpx` 控制 Claude Code、Codex 等 Agents。",
5
5
  "keywords": [
6
6
  "acpx",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "dependencies": {
67
67
  "@modelcontextprotocol/sdk": "^1.29.0",
68
- "acpx": "^0.8.0",
68
+ "acpx": "^0.9.0",
69
69
  "node-pty": "^1.1.0",
70
70
  "proper-lockfile": "^4.1.2",
71
71
  "protobufjs": "^7.5.6",