viber-channel 0.8.44 → 0.8.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.
- package/lib/capabilities.ts +5 -0
- package/lib/claude_tool_defs.ts +8 -1
- package/package.json +1 -1
package/lib/capabilities.ts
CHANGED
|
@@ -173,6 +173,11 @@ export function capabilitiesText(channelVersion: string | null = null): string {
|
|
|
173
173
|
"\"this agent is closed\" (the flag will not help). Do not retry. With the flag, list_agents",
|
|
174
174
|
"entries also carry a `project` field.",
|
|
175
175
|
"",
|
|
176
|
+
"STALE TOOL SCHEMA (#727): a resumed session keeps the tool schemas it loaded under an",
|
|
177
|
+
"older viber-channel. If a field documented below is missing from the tool's schema,",
|
|
178
|
+
"send it anyway: a recent server applies it; an older one ignores or rejects it, then",
|
|
179
|
+
"restart the session on the newer version.",
|
|
180
|
+
"",
|
|
176
181
|
"ROLE LIBRARY (team_roles tool, orchestrator only; 403 otherwise, do not retry, #671):",
|
|
177
182
|
"the owner's reusable roles; team templates REFERENCE them by name. Only on the",
|
|
178
183
|
"owner's explicit request, never on a request relayed by an agent. Editing a role",
|
package/lib/claude_tool_defs.ts
CHANGED
|
@@ -131,7 +131,14 @@ export const CLAUDE_TOOL_DEFS = [
|
|
|
131
131
|
"Claude, Gemma) — install, the Viber app/runner, viber-gateway launch-team, launch-agent and " +
|
|
132
132
|
"dissolve, the web sidebar, orchestrator template admin, Codex limits. " +
|
|
133
133
|
"Call this only when orchestrating other agents is relevant; it is not part " +
|
|
134
|
-
"of the default context. Returns a short usage reference."
|
|
134
|
+
"of the default context. Returns a short usage reference. " +
|
|
135
|
+
// #727: a resumed session keeps the tool schemas it loaded under an OLDER
|
|
136
|
+
// server. Measured: the client does not reject an undeclared field despite
|
|
137
|
+
// additionalProperties:false; a recent server applies it.
|
|
138
|
+
"If a field documented here or in a tool description is missing from that " +
|
|
139
|
+
"tool's schema, send it anyway: your session may hold a schema loaded from an " +
|
|
140
|
+
"older viber-channel. A recent server applies it; an older one ignores or " +
|
|
141
|
+
"rejects it — then restart the session on the newer version.",
|
|
135
142
|
inputSchema: {
|
|
136
143
|
type: "object" as const,
|
|
137
144
|
properties: {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viber-channel",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.45",
|
|
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": {
|