sprag-cli 3.121.0 → 3.122.0

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.
package/docs/TEAM.md CHANGED
@@ -150,6 +150,8 @@ sprag team town --no-open # prints the link only
150
150
 
151
151
  The command asks the team server for a link with `town_view_link` (it sends your member key and nothing else) and opens `https://sprag.io/town/#t=<token>`. The token is valid for 12 hours and the command prints the expiry in your local time. Asking for links too often is refused for a while ("too many town links"). The token sits in the part of the address after `#`, so the web server never receives it, and the page removes it from the address bar after reading it. When it expires, or after you leave the team, the page asks you to run the command again. `SPRAG_TOWN_URL` points the link at another page (for local tests).
152
152
 
153
+ The page opens on this month (Asia/Seoul calendar month start to today). A period picker in the page head switches between this month, last month and the last 7, 30 or 90 days. The page sends the range to `town_view(p_token, p_from, p_to)`, which applies the same validation as the dashboard (both dates or neither, from not after to, at most 366 days), and the choice is kept for that tab only.
154
+
153
155
  What the town shows:
154
156
 
155
157
  - You: your own numbers in full, as an owner sees them in the dashboard's town (spend, savings, delegation, your machines, prompt counts when capture is on), plus your rank and what the next species takes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprag-cli",
3
- "version": "3.121.0",
3
+ "version": "3.122.0",
4
4
  "description": "The delegation layer for Claude Code and Codex: each task goes to the model and effort that fits it, down to cheaper models for lookups and up to higher effort when a cheaper run would miss, backed by public replay cases, with a live statusline and team rules for Pro and Enterprise.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -110,7 +110,7 @@ const T = {
110
110
  noJoinNote: 'This machine did not join (--no-join).',
111
111
  syncFailed: (e) => `Team created, but the first sync failed: ${e}`,
112
112
  townLink: (u) => `Town link: ${u}`,
113
- townExpiry: (when) => `Valid until ${when} (12 hours). It shows your own numbers in full; other people appear only as characters, with no figures.`,
113
+ townExpiry: (when) => `You can open it until ${when} (12 hours). Numbers show for you alone; teammates appear as characters.`,
114
114
  townRate: 'Too many town links in a short time. Wait a few minutes and try again.',
115
115
  townBadReply: 'The team server sent no usable town link. Try again later.',
116
116
  townUnsupported: 'The team server does not support the member town yet. Try again after it is updated.',
@@ -198,7 +198,7 @@ const T = {
198
198
  noJoinNote: '이 PC는 참여하지 않았습니다 (--no-join)',
199
199
  syncFailed: (e) => `팀은 만들어졌지만 첫 동기화에 실패했습니다: ${e}`,
200
200
  townLink: (u) => `타운 링크: ${u}`,
201
- townExpiry: (when) => `${when}까지 유효합니다(12시간). 내 수치는 자세히 보이고 다른 사람은 수치 없이 캐릭터로만 나옵니다.`,
201
+ townExpiry: (when) => `${when}까지 열 수 있습니다(12시간). 숫자는 내 기록만 보이고 동료는 캐릭터로만 나옵니다.`,
202
202
  townRate: '타운 링크를 짧은 시간에 너무 많이 만들었습니다. 몇 분 뒤에 다시 시도하세요.',
203
203
  townBadReply: '팀 서버가 쓸 수 있는 타운 링크를 주지 않았습니다. 잠시 뒤에 다시 시도하세요.',
204
204
  townUnsupported: '팀 서버가 아직 멤버 타운을 지원하지 않습니다. 서버가 갱신된 뒤 다시 시도하세요.',