@theoremjs/agents 0.3.5-next.929.gfca1b14 → 0.3.5-next.931.ge6a1c43

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.
@@ -1262,6 +1262,16 @@ export interface TurnWiring {
1262
1262
  * image and speech turns run through it.
1263
1263
  */
1264
1264
  prepare?: (turn: NormalizedTurnRequest) => TurnRequest | Promise<TurnRequest>;
1265
+ /**
1266
+ * Whether a wake may run: a reply to background results that no person asked for. Your limit on
1267
+ * those replies, such as a cap or quiet hours. `host` is the turn's `host`, and `conversation` is
1268
+ * the conversation reference the wake was posted with. A wake you refuse is not tried again for
1269
+ * the same results; the next message reads them. Unset, every wake runs.
1270
+ */
1271
+ authorizeWake?: (wake: {
1272
+ host: unknown;
1273
+ conversation: string;
1274
+ }) => boolean | Promise<boolean>;
1265
1275
  }
1266
1276
  /** A profile projected for a client, with its secrets and server-only fields removed. */
1267
1277
  export interface ProjectedProfile extends ProfileModelFields {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theoremjs/agents",
3
- "version": "0.3.5-next.929.gfca1b14",
3
+ "version": "0.3.5-next.931.ge6a1c43",
4
4
  "description": "A flat TypeScript agent kernel for typed profiles, deterministic turn execution, registered tools, provider adapters, guardrails, and host-injected traces.",
5
5
  "keywords": [
6
6
  "agent",