@astrosheep/square 0.3.22 → 0.3.23

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.22",
3
+ "version": "0.3.23",
4
4
  "description": "Native Claude Code turn-boundary delivery for Square participants",
5
5
  "author": {
6
6
  "name": "Square"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "square",
3
- "version": "0.3.22",
3
+ "version": "0.3.23",
4
4
  "description": "Shared Square activity with reliable participant attention at Codex boundaries.",
5
5
  "author": {
6
6
  "name": "Square"
@@ -5,7 +5,6 @@ import { closeOpenSquare } from './open-square.js';
5
5
  import { Square } from './square-wiring.js';
6
6
  import { entryPresentation } from './views.js';
7
7
  import { canonicalSquarePath, lookupSessionBindings, recordSessionDone, recordSessionJoin } from './registry.js';
8
- import { participantIdentity, renderAmbientEvent } from './presentation.js';
9
8
  import { automaticParticipant } from './participant-identity.js';
10
9
  export { automaticParticipant } from './participant-identity.js';
11
10
  const providerEnv = {
@@ -39,15 +38,7 @@ export async function automaticSessionStart(provider, sessionId, cwd, env = proc
39
38
  return undefined;
40
39
  const channel = provider === 'claude' ? 'claude-code' : provider;
41
40
  recordSessionJoin(sessionId, name, squarePath, channel, { ...env, [providerEnv[provider]]: sessionId });
42
- const afterSquare = await openSquare(squarePath);
43
- const after = await entryPresentation(afterSquare, name, 10).finally(() => closeOpenSquare(afterSquare));
44
- const activity = after.recentActivities.map((event) => renderAmbientEvent(event, name, {
45
- now: Date.now(),
46
- preview: 200,
47
- actNumber: event.kind === 'say' ? after.sayNumbers[event.index] : undefined,
48
- squareState: after.state,
49
- })).filter(Boolean).join('\n\n');
50
- return [`You joined the public square as ${participantIdentity(name)}.`, after.scene, after.context ? `context\n${after.context}` : '', activity ? `recent activity\n${activity}` : ''].filter(Boolean).join('\n\n');
41
+ return `${name} came back`;
51
42
  }
52
43
  finally {
53
44
  await square.close();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrosheep/square",
3
- "version": "0.3.22",
3
+ "version": "0.3.23",
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": {