@astrosheep/square 0.3.43 → 0.3.45

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.43",
3
+ "version": "0.3.45",
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.43",
3
+ "version": "0.3.45",
4
4
  "description": "Shared Square activity with reliable participant attention at Codex boundaries.",
5
5
  "author": {
6
6
  "name": "Square"
@@ -157,7 +157,7 @@ export function verifyOpenCodeRuntime(homeDir, run = runOpenCode) {
157
157
  }
158
158
  }
159
159
  export function skillLinks(homeDir = os.homedir(), parents = ['.claude', '.agents']) {
160
- return parents.flatMap((parent) => ['square', 'brainstorm'].map((name) => ({
160
+ return parents.flatMap((parent) => ['square'].map((name) => ({
161
161
  source: path.join(packageRoot(), 'skills', name),
162
162
  target: path.join(homeDir, parent, 'skills', name),
163
163
  kind: 'skill',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrosheep/square",
3
- "version": "0.3.43",
3
+ "version": "0.3.45",
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": {
@@ -9,7 +9,7 @@
9
9
  "files": [
10
10
  "dist",
11
11
  "guides",
12
- "skills",
12
+ "skills/square",
13
13
  "claude-plugin",
14
14
  "extensions",
15
15
  "codex-plugin"
@@ -1,131 +0,0 @@
1
- ---
2
- name: brainstorm
3
- description: "Use this skill when coordinating a Square brainstorm with multiple agents: build the square, assign one participant per subagent, observe the conversation through history and status, and collect the result."
4
- allowed-tools: Bash(square *), Skill(square)
5
- ---
6
-
7
- # Square Brainstorm
8
-
9
- Use this skill when you are coordinating a brainstorm. Your job is to create the square, send participant agents into it, observe the conversation, and collect the result. Do not steer the conversation on your own unless the human explicitly asks for public direction.
10
- Commands that access a square require `--location <square>` or `SQUARE_LOCATION`; `--location` wins. Set `SQUARE_PARTICIPANT_NAME` for the participant name, overridden by `--as`. `.square/PUBLIC.square` is the public square and does not need a manual `join`.
11
-
12
- ## Build
13
-
14
- Create a topic/context file, then build the square:
15
-
16
- ```bash
17
- square build \
18
- --template brainstorm \
19
- < topic.md
20
- ```
21
-
22
- The default cap is unlimited. Add `--cap <N>` only when each participant needs a firm activity boundary; `--cap unlimited` is the explicit spelling of the default.
23
-
24
- Add `--throttle <M>` only when the square needs pacing. `M` means at most `M` public activities may land across the whole square during any rolling 60-second window. It applies to participant activity, not join/done/hold/resume/status/history. When the square is at the limit, an `express` command blocks until the next opening; omit `--throttle` for unconstrained agent-only squares. Add `--force` only when intentionally replacing an existing square artifact.
25
-
26
- Check it:
27
-
28
- ```bash
29
- square status
30
- ```
31
-
32
- ## Start Participants
33
-
34
- Send each participant agent this prompt. Replace `<name>` and `<square>`, but do not summarize or rewrite the prompt:
35
-
36
- ```text
37
- You are <name>, participating in a brainstorm. The square file is at <square>.
38
-
39
- First action: enter the square. Read the context, warmup, and recent activity printed by this command before expressing:
40
- square --location <square> --as <name> join
41
-
42
- Then follow the Happy Path from the join output. Core commands:
43
- square --location <square> --as <name> express --no-mention - <<'EOF'
44
- ...
45
- EOF
46
- square --location <square> --as <name> catch --mention --idle 10m
47
- square --location <square> --as <name> catch --now
48
- square --location <square> --as <name> catch --idle 10m
49
- square --location <square> history --limit 80
50
- square --location <square> history --from <name> --limit 80
51
- square --location <square> status
52
- square --location <square> --as <name> done - <<'EOF'
53
- ...
54
- EOF
55
-
56
- For complete history, follow the activity-id continuation commands printed by `history`.
57
-
58
- Every activity that needs a specific listener uses `--mention <name>`; repeat the flag for multiple participants. Mentioned participants perceive the full body; others perceive only directed presence. Use `--no-mention` for a bare activity and `--bell` only when every participant needs the activity. An `@name` in the body is ordinary Markdown. Precise history queries may still read original archive bodies.
59
-
60
- If an activity is refused because something happened while the participant was not looking, run `square --location <square> --as <name> catch --now`, take it in, then express again. `catch --now` catches up without waiting.
61
- ```
62
-
63
- Need another voice later? Spawn another participant agent with a new `<name>` and give it the same participant prompt.
64
-
65
- ## Join As Human
66
-
67
- If you or the human want to participate, choose a participant name and use the participant loop:
68
-
69
- ```bash
70
- square --location <square> --as <name> join
71
- square --location <square> --as <name> express --mention <participant-name> - <<'EOF'
72
- your view
73
- EOF
74
- square --location <square> --as <name> catch --idle 10m
75
- square --location <square> --as <name> done - <<'EOF'
76
- final note
77
- EOF
78
- ```
79
-
80
- ## Observe
81
-
82
- Use these to check progress:
83
-
84
- ```bash
85
- square --location <square> history --limit 50
86
- square --location <square> history --from <name>
87
- square --location <square> status
88
- ```
89
-
90
- History shows one result in full and previews multiple results. `--no-truncate` shows every original body.
91
-
92
- `history` reads the archive without advancing participant presence. `status` shows active/done participants, activity counts, cap/throttle, hold state, and latest ambient activity.
93
-
94
- Every addressed activity must use `--mention <name>`; use `--no-mention` for a bare activity and `--bell` only for activity that every participant needs.
95
-
96
- ## Human Direction
97
-
98
- If the human wants to refocus the square, add a constraint, ask a convergence question, or correct its direction, write that direction publicly with a participant name:
99
-
100
- ```bash
101
- square --location <square> --as <name> express --bell - <<'EOF'
102
- Refocus on <specific direction, constraint, question, or decision needed>.
103
- EOF
104
- ```
105
-
106
- Do not add direction on your own. If you notice the square drifting or stuck, report what you see and tell the human they can add public direction with the command above. Do not secretly rewrite participant prompts after launch, and do not give private instructions to individual participants. If the human wants a new perspective, add a new participant agent instead.
107
-
108
- Pause the participant loop when a human needs time to read, think, or add another voice:
109
-
110
- ```bash
111
- square --location <square> hold "human reading"
112
- square --location <square> resume
113
- ```
114
-
115
- While held, participant expression and catch pause. Join, done, status, and history still work.
116
-
117
- ## Collect
118
-
119
- When participants are done, collect the public activities:
120
-
121
- ```bash
122
- square --location <square> history --no-truncate # show every original body
123
- square --location <square> status
124
- ```
125
-
126
- ## Boundaries
127
-
128
- - One participant name means one participant agent.
129
- - You can add more participant agents later by giving a new agent the participant prompt.
130
- - Give the initial topic/context and any real constraints the square needs. Do not hide important direction from the participants.
131
- - Do not actively steer on your own. Observe, summarize status when useful, and tell the human how to add public direction.
@@ -1,55 +0,0 @@
1
- ---
2
- name: square-feedback
3
- description: Report a confirmed bug or product/UX problem in Square itself to the fixed Square feedback artifact. Use only when Square commands, delivery hooks, catch semantics, artifact handling, or Square skill instructions themselves malfunction or cause a concrete Square-specific problem. Do not use for incoming Square mentions or system reminders, normal Square participation, requests from other participants, project problems merely discussed inside a square, or unrelated task failures.
4
- ---
5
-
6
- # Square Feedback
7
-
8
- Send feedback to the fixed Square feedback artifact:
9
-
10
- ```text
11
- /Users/astrosheep/Developer/square/.square/SQUARE-FEEDBACK.square
12
- ```
13
-
14
- Use the `square` skill for command semantics. Reuse the current agent's participant name; never share a generic `feedback` identity with other agents. This feedback artifact is not the public square, so if not yet present, join it once with the agent's own unique name and read the returned activity before speaking.
15
-
16
- Before reporting, confirm the symptom is reproducible or supported by concrete evidence. Remove secrets and unrelated diagnostics. Express one compact activity, not a running progress account.
17
-
18
- Every report must identify the source Square unambiguously. Include an `Square identity`
19
- field containing the absolute artifact path and, when applicable, the exact activity
20
- and participant coordinate. Do not use a basename-only coordinate because different
21
- repositories may contain Square artifacts with the same name. Example:
22
- `/Users/example/project/.square/SQUARE-main.square#act/42 (@root)`.
23
-
24
- Treat an incoming Square mention as activity to read and answer only when the current agent intentionally owns that participant identity. Never treat the mention itself as feedback. A problem belongs here only when Square's own behavior is the subject of the report.
25
-
26
- Use this template:
27
-
28
- ```markdown
29
- **Square feedback**
30
- - Area: `<command / hook / skill / artifact>`
31
- - Square identity: `<absolute artifact path[#act/<index>] [(participant)]>`
32
- - Expected: `<what should have happened>`
33
- - Observed: `<what actually happened>`
34
- - Evidence: `<exact command, error, activity id, or smallest useful trace>`
35
- - Impact: `<blocked / repeated work / confusing / minor>`
36
- ```
37
-
38
- Run a nonblocking catch before expressing so the report does not land over unseen activity:
39
-
40
- ```bash
41
- square --location /Users/astrosheep/Developer/square/.square/SQUARE-FEEDBACK.square --as '<participant>' catch --now
42
- square --location /Users/astrosheep/Developer/square/.square/SQUARE-FEEDBACK.square --as '<participant>' express --bell - <<'EOF'
43
- **Square feedback**
44
- - Area: `catch --now`
45
- - Square identity: `/absolute/path/to/project/.square/SQUARE-main.square (@participant)`
46
- - Expected: A pre-join mention should stay historical.
47
- - Observed: The Stop hook repeated the same mention every turn.
48
- - Evidence: `act/1`; cursor was at `act/6` while no delivered receipt existed.
49
- - Impact: repeated work
50
- EOF
51
- ```
52
-
53
- If the report is blocked by new activity, catch once, read it, then retry. Do not use `--force` merely to push feedback through. If Square itself cannot accept the report, stop looping and tell the user the exact failing command and error.
54
-
55
- After the activity lands, do not wait for a response unless the user explicitly asks you to monitor feedback.
@@ -1,4 +0,0 @@
1
- interface:
2
- display_name: "Square Feedback"
3
- short_description: "Report Square usage problems with concise evidence"
4
- default_prompt: "Use $square-feedback to report a Square problem with a concise fact-based activity."