@lotics/cli 0.321.27 → 0.321.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.
@@ -21,7 +21,7 @@ Find the means in this order: `get_workspace` maps the workspace; `search` it by
21
21
 
22
22
  ## People
23
23
 
24
- `get_workspace` with kind `member` lists the name and id of each person in this workspace; an organization owner passes `all: true` for everyone in the organization. An admin of the workspace also sees each one's email, organization `role`, `workspace_role` (`admin`, `member`, or null for a person outside it), `managed` and `sign_in_name`, and, on kind `app`, `knowledge` or `template`, `not_listed`: how many more they can reach, which `all: true` lists. Listed docs and templates carry `access`. An admin also reads the credit limits there. With kind `group`, everyone lists the groups of this workspace; an organization owner also lists the groups no workspace holds yet.
24
+ `get_workspace` with kind `member` lists the name and id of each person in this workspace; an organization owner passes `all: true` for everyone in the organization. An admin of the workspace also sees each one's email, organization `role`, `workspace_role` (`admin`, `member`, or null for a person outside it), `managed` and `sign_in_name`, and, on kind `app`, `knowledge` or `template`, `not_listed`: how many more they can reach, which `all: true` lists. Listed docs and templates carry `access`. An admin also reads the credit limits there. With kind `group`, everyone lists the groups of this workspace.
25
25
 
26
26
  `set_members` is an admin's of this workspace or an organization owner's: `members` is a map keyed by an email address, a member id or a managed member's sign-in name, and `groups` a map keyed by a group id, or by a group's name, which sets the group of that name or creates it (refused where several groups share it: key that entry by id). In `members`, `role` is the person's role in THIS workspace, `member` or `admin`; `role: null` takes them out of it, ending their shares here and passing what they own here to the caller. An email no member holds invites that person to the organization as a member, with `role` as their place here (`member` when omitted; the invitation email goes out). A current member's entry sets `name`, `role`, and `organization_role`: `co_owner` or `member`, which only the primary owner sets; a co-owner made a member passes what they own in workspaces they are not in to the primary owner. A removed member's entry restores them as an organization member in no workspace, and takes only `name`; only an organization owner restores. `remove: true` removes a member from the organization, or cancels the invitation pending to that address; removing a co-owner is the primary owner's. A workspace admin who is not an organization owner acts on this workspace's people only: never on an organization owner; renames or removes from the organization only a person in no workspace they do not administer; adds to this workspace only someone already in a workspace; an address invited elsewhere gets a place here on that invitation; `remove` on an invitation takes it out of this workspace, canceling it when no other workspace holds it. Each result says which changed: `added_to_workspace`, `workspace_role_changed`, `removed_from_workspace`, `organization_role_changed`, `removed`, `restored`. Sign-in names are compared in lowercase. A person adds a managed member and sets its password in Settings → Members. The primary owner is never removed, demoted or given a workspace role. A group belongs to this workspace and holds only its people. In `groups`, an entry sets `name`, `description` and the roster with `member_ids`, or with `add_member_ids` and `remove_member_ids` that leave the rest in place; a roster entry may be a key of `members`, so a person invited in the same call can join; `null` deletes the group. The whole input is checked before anything is written or sent; members are applied before groups, in the order given. A workspace admin's tool list carries `set_workspace` and `set_members`; a member's carries neither.
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.321.27",
3
+ "version": "0.321.28",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {