@superglue/cli 1.1.217 → 1.1.219

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.
@@ -9,7 +9,7 @@ interface ResourceGrant {
9
9
  roleId: string;
10
10
  resourceRef: "<kind>:<encodedId>" | "<kind>:*"; // kind: tool | credential | playbook | artifact | file | project
11
11
  permissions: Array<"viewer" | "editor">;
12
- source: "access_rule" | "ownership" | "share";
12
+ source: "access_rule" | "ownership" | "share" | "project"; // project: computed from project access, never stored
13
13
  grantedByUserId?: string;
14
14
  revokedAt?: Date;
15
15
  revokedByUserId?: string;
@@ -99,7 +99,7 @@ Sharing supports saved tools, connections, projects, playbooks, artifacts, and f
99
99
  - Recipients can remove their own direct share, including connection shares, without editor access.
100
100
  - Sharing a tool shares only the tool. The recipient still needs a connection for every system id it references.
101
101
  - Sharing playbooks does not cascade to their tools or connections.
102
- - Project sharing can include manageable current members when requested. It does not share future members or revoke member shares later.
102
+ - Access to a project gives the same access (viewer or editor) to every resource attached to it. Removing the resource from the project, removing the project access, or archiving the project removes that access. Anyone with access to a project, including viewers, can attach a resource they can share. Project editors and people who can share a resource can remove it from the project.
103
103
 
104
104
  ## Auto-Grant On Resource Creation
105
105
 
@@ -76,7 +76,7 @@ If a customer's system requires IP allowlisting for firewall rules, security gro
76
76
 
77
77
  Use this section as the source of truth for high-level web app navigation. Do not invent UI locations that are not listed here.
78
78
 
79
- Brain contains context-source setup, playbooks, artifacts, and files. Capabilities contains tools, connections, MCP servers, and schedules; tools are project-attachable, the others configure execution. A system is only the system ID that groups connections and tool steps. Projects are managed separately and group selected context and capabilities without changing RBAC.
79
+ Brain contains context-source setup, playbooks, artifacts, and files. Capabilities contains tools, connections, MCP servers, and schedules; tools are project-attachable, the others configure execution. A system is only the system ID that groups connections and tool steps. Projects are managed separately and group selected context and capabilities. People with project access get the same access to its attached resources.
80
80
 
81
81
  The persistent left sidebar contains these top-level items:
82
82
 
@@ -99,7 +99,7 @@ The persistent left sidebar contains these top-level items:
99
99
  - **API Keys** (`/api-keys`) — API key management.
100
100
  - **Settings** (`/settings`) — appearance and agent memory notes for every user; organization settings for admins.
101
101
 
102
- The right panel's **Project plan** tab shows the selected project's tasks; with a project selected, `/projects` opens it. **New project** in the project switcher starts agent-assisted project planning; projects are created only through the agent. Project detail pages (`/projects/{projectId}`) have **Tasks**, **Resources**, and **Sessions** tabs. **Tasks** filters by label and assignee; each project has its own task labels. Projects support sharing, archive, and deletion; resource permissions remain separate.
102
+ The right panel's **Project plan** tab shows the selected project's tasks; with a project selected, `/projects` opens it. **New project** in the project switcher starts agent-assisted project planning; projects are created only through the agent. Project detail pages (`/projects/{projectId}`) have **Tasks**, **Resources**, and **Sessions** tabs. **Tasks** filters by label and assignee; each project has its own task labels. Projects support sharing, archive, and deletion; people with project access get the same access to its attached resources.
103
103
 
104
104
  Below the navigation, the sidebar shows the current organization menu. Opening it shows the signed-in user's name and email, lists the user's organizations and pending invitations, and contains **Sign Out**. Selecting an organization switches to it.
105
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superglue/cli",
3
- "version": "1.1.217",
3
+ "version": "1.1.219",
4
4
  "bin": {
5
5
  "sg": "./dist/cli.js"
6
6
  },
@@ -9,7 +9,7 @@ interface ResourceGrant {
9
9
  roleId: string;
10
10
  resourceRef: "<kind>:<encodedId>" | "<kind>:*"; // kind: tool | credential | playbook | artifact | file | project
11
11
  permissions: Array<"viewer" | "editor">;
12
- source: "access_rule" | "ownership" | "share";
12
+ source: "access_rule" | "ownership" | "share" | "project"; // project: computed from project access, never stored
13
13
  grantedByUserId?: string;
14
14
  revokedAt?: Date;
15
15
  revokedByUserId?: string;
@@ -99,7 +99,7 @@ Sharing supports saved tools, connections, projects, playbooks, artifacts, and f
99
99
  - Recipients can remove their own direct share, including connection shares, without editor access.
100
100
  - Sharing a tool shares only the tool. The recipient still needs a connection for every system id it references.
101
101
  - Sharing playbooks does not cascade to their tools or connections.
102
- - Project sharing can include manageable current members when requested. It does not share future members or revoke member shares later.
102
+ - Access to a project gives the same access (viewer or editor) to every resource attached to it. Removing the resource from the project, removing the project access, or archiving the project removes that access. Anyone with access to a project, including viewers, can attach a resource they can share. Project editors and people who can share a resource can remove it from the project.
103
103
 
104
104
  ## Auto-Grant On Resource Creation
105
105
 
@@ -76,7 +76,7 @@ If a customer's system requires IP allowlisting for firewall rules, security gro
76
76
 
77
77
  Use this section as the source of truth for high-level web app navigation. Do not invent UI locations that are not listed here.
78
78
 
79
- Brain contains context-source setup, playbooks, artifacts, and files. Capabilities contains tools, connections, MCP servers, and schedules; tools are project-attachable, the others configure execution. A system is only the system ID that groups connections and tool steps. Projects are managed separately and group selected context and capabilities without changing RBAC.
79
+ Brain contains context-source setup, playbooks, artifacts, and files. Capabilities contains tools, connections, MCP servers, and schedules; tools are project-attachable, the others configure execution. A system is only the system ID that groups connections and tool steps. Projects are managed separately and group selected context and capabilities. People with project access get the same access to its attached resources.
80
80
 
81
81
  The persistent left sidebar contains these top-level items:
82
82
 
@@ -99,7 +99,7 @@ The persistent left sidebar contains these top-level items:
99
99
  - **API Keys** (`/api-keys`) — API key management.
100
100
  - **Settings** (`/settings`) — appearance and agent memory notes for every user; organization settings for admins.
101
101
 
102
- The right panel's **Project plan** tab shows the selected project's tasks; with a project selected, `/projects` opens it. **New project** in the project switcher starts agent-assisted project planning; projects are created only through the agent. Project detail pages (`/projects/{projectId}`) have **Tasks**, **Resources**, and **Sessions** tabs. **Tasks** filters by label and assignee; each project has its own task labels. Projects support sharing, archive, and deletion; resource permissions remain separate.
102
+ The right panel's **Project plan** tab shows the selected project's tasks; with a project selected, `/projects` opens it. **New project** in the project switcher starts agent-assisted project planning; projects are created only through the agent. Project detail pages (`/projects/{projectId}`) have **Tasks**, **Resources**, and **Sessions** tabs. **Tasks** filters by label and assignee; each project has its own task labels. Projects support sharing, archive, and deletion; people with project access get the same access to its attached resources.
103
103
 
104
104
  Below the navigation, the sidebar shows the current organization menu. Opening it shows the signed-in user's name and email, lists the user's organizations and pending invitations, and contains **Sign Out**. Selecting an organization switches to it.
105
105