@okostream/mcp 0.12.4 → 0.12.5

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.
Files changed (2) hide show
  1. package/dist/server.js +5 -6
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -116223,7 +116223,7 @@ function sanitizeScopes(scopes) {
116223
116223
  }
116224
116224
 
116225
116225
  // build/version.js
116226
- var OKO_MCP_VERSION = "0.12.4";
116226
+ var OKO_MCP_VERSION = "0.12.5";
116227
116227
 
116228
116228
  // build/auth.js
116229
116229
  var state = null;
@@ -117363,7 +117363,7 @@ var SCOPE_UNLOCKS = {
117363
117363
  "chat:moderate": "chat mode, moderation, bans and mutes",
117364
117364
  "telegram:write": "claiming channels and publishing Telegram posts",
117365
117365
  "workspace:read": "listing workspaces, members, invites, notifications",
117366
- "workspace:write": "workspace management, invites, profile edits, moving events between workspaces",
117366
+ "workspace:write": "workspace management, invites, profile edits",
117367
117367
  "leads:read": "reading and exporting leads"
117368
117368
  };
117369
117369
  function presetsWithScope(scope) {
@@ -118891,7 +118891,6 @@ async function recordToolAudit(toolName, outcome, args, startedAt, error3) {
118891
118891
  var REPORT_URL = `${APP_ORIGIN}/contact`;
118892
118892
  var KEYS_URL = `${APP_ORIGIN}/app/mcp`;
118893
118893
  var SCOPE_WORKAROUNDS = {
118894
- oko_move_event: "Without workspace:write you can still place the event in another workspace: call oko_duplicate_event with targetWorkspaceId to create a copy there. The original stays where it is; live overrides (chat mode, placeholder visibility) are not copied and must be set again on the copy.",
118895
118894
  oko_trash_event: "This key cannot delete events. Tell the organizer which event to remove; they can do it in the OKO cabinet, or create a key with the full preset.",
118896
118895
  oko_delete_event_permanently: "This key cannot delete events. Tell the organizer which event to remove; they can do it in the OKO cabinet, or create a key with the full preset.",
118897
118896
  oko_publish_telegram_post: "This key cannot publish to Telegram. The organizer can publish the announcement from the OKO cabinet, or create a key with the full preset."
@@ -119205,7 +119204,7 @@ function registerLifecycleTools(server2) {
119205
119204
  notes: [
119206
119205
  "Copies title, video, meta, blocks, forms, and Telegram config; does not copy analytics sessions or leads.",
119207
119206
  "Live overrides are NOT copied: the copy starts with chat mode public and the placeholder hidden, whatever the source had. Set them again with oko_set_chat_mode and oko_set_block_visibility on the new event.",
119208
- "Requires only events:write plus createEvents in the target workspace, so it also works as the way to place an event in another workspace when the key lacks workspace:write for oko_move_event."
119207
+ "Requires only events:write plus createEvents in the target workspace. To move (not copy) an event, use oko_move_event with the same scope."
119209
119208
  ]
119210
119209
  }),
119211
119210
  inputSchema: {
@@ -119258,7 +119257,7 @@ function registerLifecycleTools(server2) {
119258
119257
  examples: ["Use when an event belongs in another workspace. Call oko_list_workspaces first to choose the target."],
119259
119258
  notes: [
119260
119259
  "Reads target workspace shares from Firestore with permissions; does not use RTDB workspaceMembers.",
119261
- "Requires the workspace:write scope (preset full). Keys with the operator preset cannot move events: use oko_duplicate_event with targetWorkspaceId instead, which creates a copy in the target workspace and leaves the original in place."
119260
+ "Requires events:write plus ownership of the event (or of its source workspace) and createEvents in the target workspace; no workspace:write needed. Live overrides (chat mode, placeholder) travel with the event: they live in the event's own RTDB node."
119262
119261
  ]
119263
119262
  }),
119264
119263
  inputSchema: {
@@ -119269,7 +119268,7 @@ function registerLifecycleTools(server2) {
119269
119268
  outputSchema: updateOutputSchema,
119270
119269
  annotations: writeTool
119271
119270
  }, async ({ eventId, targetWorkspaceId, confirm }) => {
119272
- await authed(["events:write", "workspace:write"]);
119271
+ await authed(["events:write"]);
119273
119272
  requireConfirm(confirm, "oko_move_event", { eventId, targetWorkspaceId });
119274
119273
  const moveEvent = httpsCallable(functions, "moveEventToWorkspace");
119275
119274
  const result = await moveEvent({ eventId, targetWorkspaceId });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okostream/mcp",
3
- "version": "0.12.4",
3
+ "version": "0.12.5",
4
4
  "description": "Control OKO Stream webinars from Claude, Codex, and other MCP clients.",
5
5
  "license": "UNLICENSED",
6
6
  "author": {