viber-channel 0.8.26 → 0.8.28

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.
@@ -53,8 +53,10 @@ export function capabilitiesText(channelVersion: string | null = null): string {
53
53
  " `dissolve --team <that name>` stops and revokes EVERY other member of it (it",
54
54
  " skips only you, its caller). So: give the child a DISTINCT --team, and dissolve",
55
55
  " one agent with `dissolve --agent <launch-id>`, never --team on a shared team",
56
- " (it acts only on members launched from that registry). And never reuse your",
57
- " own PREFIX: same <prefix>-<role> label = same identity and lock (#293).",
56
+ " (it acts only on members launched from that registry). What must be unique is",
57
+ " the full LABEL <prefix>-<role>: same label = same identity and lock (#293).",
58
+ " E.g. w651-agent (prefix w651) may launch a role child with --prefix w651: label",
59
+ " w651-child differs, so that is fine — but pass a distinct --team (w651-child).",
58
60
  "WHICH \"dev-team\"? The name is resolved per path, not globally:",
59
61
  " launch-team → the entry of .viber/agent-teams.json with that name if any (it",
60
62
  " REPLACES the built-in entirely), else the built-in. The web (New team / Add agent)",
@@ -70,13 +72,16 @@ export function capabilitiesText(channelVersion: string | null = null): string {
70
72
  " INCOMPLET: read missing / mayHaveTree / treeUnknown — mayHaveTree means a process",
71
73
  " tree may exist anyway: dissolve it before relaunching.",
72
74
  " team: REFUSED before anything was created — <why> (nothing was launched)",
73
- " Keep the launch-id: it is what `dissolve --agent` takes.",
75
+ " Keep the launch-id: it is what `dissolve --agent` takes — format",
76
+ " launch-<32 hex> (e.g. launch-03f927dc283f94f521b06ee573a9f582); from Viber app",
77
+ " 0.7.22 on, the bare 32 hex is accepted too (older: pass the launch- prefix);",
78
+ " read it on the \"member launch-…: launched\" line.",
74
79
  " ONLINE DELAY: up to ~45 s after the agent has started, plus the runtime boot",
75
80
  " (runner beat every 30 s + coverage re-read every 15 s). An empty list_agents right",
76
81
  " after launching is NOT a failure. Wait simply: call list_agents with",
77
82
  " label_prefix \"<prefix>-\" and online: true every ~10 s, for at most ~60 s; past",
78
83
  " that, check that the Viber app is running.",
79
- "ONE AGENT ALONE = a one-role team. launch-team has no --name and there is no solo",
84
+ "ONE AGENT ALONE = a one-role team. KNOWN LIMIT: launch-team has no --name and no solo",
80
85
  "shortcut: add a one-role template to .viber/agent-teams.json (merged with the",
81
86
  "built-ins; an entry with a built-in's name REPLACES it entirely), then launch it:",
82
87
  " {\"teams\":{\"solo\":{\"roles\":[{\"role\":\"dev\",\"runtime\":\"claude\",",
@@ -101,6 +106,8 @@ export function capabilitiesText(channelVersion: string | null = null): string {
101
106
  " (the app home is %LOCALAPPDATA%\\Viber unless VIBER_APP_HOME is set).",
102
107
  " --auth defaults to VIBER_AUTH_FILE, else .viber/auth.json; --base-url to",
103
108
  " VIBER_BASE_URL, else https://viber.dgypx.dev (the stable backend) — in dev pass both.",
109
+ " An id matching no record prints \"no record <id>\" and EXITS 2: nothing",
110
+ " was dissolved. Read the exit code directly, never through a pipe (| tail gives 0).",
104
111
  " It never kills its caller. LIMIT: an agent already dead whose stop it cannot prove",
105
112
  " is reported \"stop NOT proven, not revoked\" — revoke it from the web sidebar instead.",
106
113
  "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viber-channel",
3
- "version": "0.8.26",
3
+ "version": "0.8.28",
4
4
  "description": "Voice + text MCP channel between a Claude Code session and the Viber UI (https://viber.dgypx.dev). Push transcripts to Claude; send_message tool delivers text back to the UI.",
5
5
  "type": "module",
6
6
  "bin": {