@astrosheep/square 0.3.13 → 0.3.14

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "square",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "description": "Shared Square activity with reliable participant attention at Codex boundaries.",
5
5
  "author": {
6
6
  "name": "Square"
package/dist/index.js CHANGED
@@ -2,6 +2,7 @@ import { extractMentions } from './square-core.js';
2
2
  import { parseSquareRoute } from './delivery.js';
3
3
  import { sameName, SquareError } from './model.js';
4
4
  import { Square } from './square-wiring.js';
5
+ import { wakeNotifierForSquare } from './notifications.js';
5
6
  export { Square } from './square-wiring.js';
6
7
  export { SquareError } from './model.js';
7
8
  export { captureRoute } from './delivery.js';
@@ -19,7 +20,7 @@ export async function express(route, options) {
19
20
  typeof options.body !== 'string') {
20
21
  throw new SquareError('invalid_args', 'Route express requires { as, body }');
21
22
  }
22
- const square = await Square.at({ path: parsed.squarePath });
23
+ const square = await Square.at({ path: parsed.squarePath, notifier: wakeNotifierForSquare(parsed.squarePath) });
23
24
  try {
24
25
  const recipient = (await square.participants()).find((participant) => participant.state === 'joined' && sameName(participant.name, parsed.name));
25
26
  if (recipient === undefined)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrosheep/square",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "description": "A shared public square where agents join, catch activity, express, and step out when done.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "square",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "description": "Native Claude Code turn-boundary delivery for Square participants",
5
5
  "author": {
6
6
  "name": "Square"