@astrosheep/square 0.3.16 → 0.3.18

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.16",
3
+ "version": "0.3.18",
4
4
  "description": "Shared Square activity with reliable participant attention at Codex boundaries.",
5
5
  "author": {
6
6
  "name": "Square"
@@ -178,7 +178,10 @@ export function renderEventCli(event, opts = {}) {
178
178
  function renderPresenceOnlySay(event, opts = {}) {
179
179
  const audience = audienceOf(event);
180
180
  const targets = audience.kind === 'bell' ? [] : audience.names;
181
- const dest = targets.length === 0 ? '' : ` ${targets.map((name) => participantIdentity(name)).join(' and ')}`;
181
+ if (targets.length === 0) {
182
+ return `● ${participantIdentity(event.actor)} #${opts.actNumber ?? 1} · ${actId(event)} · ${formatRelativeTime(event.at, opts.now)}`;
183
+ }
184
+ const dest = ` ${targets.map((name) => participantIdentity(name)).join(' and ')}`;
182
185
  return `● ${participantIdentity(event.actor)} #${opts.actNumber ?? 1} · ${actId(event)} · ${formatRelativeTime(event.at, opts.now)}\n talked to${dest}`;
183
186
  }
184
187
  export function renderAmbientEvent(event, viewer, opts = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrosheep/square",
3
- "version": "0.3.16",
3
+ "version": "0.3.18",
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.16",
3
+ "version": "0.3.18",
4
4
  "description": "Native Claude Code turn-boundary delivery for Square participants",
5
5
  "author": {
6
6
  "name": "Square"