@scp-dev/core 0.3.1 → 0.4.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.
package/dist/index.d.ts CHANGED
@@ -403,8 +403,8 @@ type MessageKind = "message" | "request" | "reply" | "status";
403
403
  type DataClass = "public" | "private";
404
404
  type Presence = "online" | "idle" | "offline";
405
405
  type StatusState = "working" | "waiting" | "blocked" | "done";
406
- /** how an idle agent is woken by a message: a channel push, the pi extension, the OpenCode plugin's waiter or codex app-server; `none` reads at its next turn */
407
- type Wake = "channels" | "pi" | "opencode-plugin" | "codex-app-server" | "claude-inbox" | "none";
406
+ /** how an idle agent is woken by a message: a channel push, the pi extension, the OpenCode plugin's waiter, codex app-server, the session inbox, a headless resume or muse serve; `none` reads at its next turn */
407
+ type Wake = "channels" | "pi" | "opencode-plugin" | "codex-app-server" | "claude-inbox" | "agy-resume" | "grok-resume" | "muse-serve" | "none";
408
408
  declare const WAKES: readonly Wake[];
409
409
  type ActivityKind = "session_start" | "tool" | "stop" | "note" | "session_end";
410
410
  declare const ACTIVITY_KINDS: readonly ActivityKind[];
package/dist/index.js CHANGED
@@ -179,7 +179,17 @@ var RelayError = class extends Error {
179
179
  retryAfterS;
180
180
  detail;
181
181
  };
182
- var WAKES = ["channels", "pi", "opencode-plugin", "codex-app-server", "claude-inbox", "none"];
182
+ var WAKES = [
183
+ "channels",
184
+ "pi",
185
+ "opencode-plugin",
186
+ "codex-app-server",
187
+ "claude-inbox",
188
+ "agy-resume",
189
+ "grok-resume",
190
+ "muse-serve",
191
+ "none"
192
+ ];
183
193
  var ACTIVITY_KINDS = ["session_start", "tool", "stop", "note", "session_end"];
184
194
  var MESSAGE_KINDS = ["message", "request", "reply", "status"];
185
195
  var STATUS_STATES = ["working", "waiting", "blocked", "done"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scp-dev/core",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "description": "Swarm Communication Protocol core: wire types, framing, scopes, policy, judge and the relay core.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://scp.dev",
package/src/protocol.ts CHANGED
@@ -111,9 +111,19 @@ export type MessageKind = "message" | "request" | "reply" | "status"
111
111
  export type DataClass = "public" | "private"
112
112
  export type Presence = "online" | "idle" | "offline"
113
113
  export type StatusState = "working" | "waiting" | "blocked" | "done"
114
- /** how an idle agent is woken by a message: a channel push, the pi extension, the OpenCode plugin's waiter or codex app-server; `none` reads at its next turn */
115
- export type Wake = "channels" | "pi" | "opencode-plugin" | "codex-app-server" | "claude-inbox" | "none"
116
- export const WAKES: readonly Wake[] = ["channels", "pi", "opencode-plugin", "codex-app-server", "claude-inbox", "none"]
114
+ /** how an idle agent is woken by a message: a channel push, the pi extension, the OpenCode plugin's waiter, codex app-server, the session inbox, a headless resume or muse serve; `none` reads at its next turn */
115
+ export type Wake = "channels" | "pi" | "opencode-plugin" | "codex-app-server" | "claude-inbox" | "agy-resume" | "grok-resume" | "muse-serve" | "none"
116
+ export const WAKES: readonly Wake[] = [
117
+ "channels",
118
+ "pi",
119
+ "opencode-plugin",
120
+ "codex-app-server",
121
+ "claude-inbox",
122
+ "agy-resume",
123
+ "grok-resume",
124
+ "muse-serve",
125
+ "none",
126
+ ]
117
127
 
118
128
  export type ActivityKind = "session_start" | "tool" | "stop" | "note" | "session_end"
119
129
  export const ACTIVITY_KINDS: readonly ActivityKind[] = ["session_start", "tool", "stop", "note", "session_end"]