epismo 1.25.3 → 1.26.1

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/README.md CHANGED
@@ -71,6 +71,63 @@ epismo playbook create --definition '{"title":"Onboarding","steps":[]}'
71
71
 
72
72
  See the [CLI guide](https://epismo.ai/en/docs/cli) for setup and workflow documentation.
73
73
 
74
+ ## Ownership and resource lifecycle
75
+
76
+ Playbooks and Cases belong to a personal or workspace account, which is also
77
+ responsible for their usage charges. Omit `--owner-id` on create, copy, or case
78
+ start to use the active workspace, or your personal account when none is selected.
79
+ Assignees and maintainers identify responsibility and do not grant access.
80
+ Workspace members need explicit sharing unless they exercise Owner/Admin rights.
81
+ `playbook assign` changes `assignedTo`, the shared responsibility field on
82
+ Playbooks, Cases, and Tasks. The Playbook UI calls this person the Maintainer.
83
+ Case ownership transfer requires ownership and the latest lock version; it preserves sharing
84
+ and assignment but clears the saved Brief, including DNA and priority.
85
+
86
+ ```sh
87
+ epismo playbook list --archived
88
+ epismo playbook restore PLAYBOOK_ID
89
+ epismo playbook assign PLAYBOOK_ID --assigned-to USER_ID
90
+ epismo case owner transfer CASE_ID --owner-id ACCOUNT_ID --lock-version 2
91
+ epismo case list --archived
92
+ epismo case archive CASE_ID --lock-version 3
93
+ epismo case restore CASE_ID --lock-version 4
94
+ epismo case delete CASE_ID --lock-version 5
95
+ ```
96
+
97
+ Archive and restore require editing access and preserve work. Permanent Case
98
+ deletion requires ownership, an already archived Case, and its current lock
99
+ version. It cannot be undone. Get the current lock version from the appropriate
100
+ active or archived listing.
101
+
102
+ Before removing a workspace member, preview the responsibility/access handover:
103
+
104
+ ```sh
105
+ epismo workspace member handover WORKSPACE_ID --departing-user-id OLD_USER_ID --successor-user-id NEW_USER_ID
106
+ ```
107
+
108
+ Use `--preview=false` to execute and `--transfer-open-approvals` to include open
109
+ approval tasks. This explicitly grants the successor editing access; normal
110
+ reassignment alone does not. Remove membership separately with
111
+ `workspace member delete --workspace-id WORKSPACE_ID OLD_USER_ID`, then run the
112
+ handover again with `--preview=false --finalize` to clean up intervening changes.
113
+ `--finalize` requires membership to have already been removed; it does not remove
114
+ the member.
115
+ The operation defaults to preview and supports the normal idempotency key and
116
+ local `--dry-run` options. Completed approvals and authorship remain history.
117
+
118
+ Initial handover preserves direct grants. Workspace member removal clears the
119
+ User's direct grants on items owned by that Workspace, including completed and
120
+ archived items. Finalization repeats cleanup for late grants. Personal and
121
+ other-Workspace shares remain unchanged.
122
+ Team and Workspace management authority follow current membership and the
123
+ participation Workspace's SSO. Non-member direct shares use normal Epismo
124
+ authentication. Resource lists
125
+ use explicit access and supported publication, with no ownership exception.
126
+
127
+ These operations require an API deployment that supports the bundled OpenAPI
128
+ contract. Required workspace SSO also applies to CLI and automation credentials;
129
+ sign in again when current SSO evidence is missing or expires.
130
+
74
131
  ## Cases and handoffs
75
132
 
76
133
  Start a case, append timeline records, connect dependent workflows, and explore the DAG:
@@ -123,7 +180,7 @@ Resources use a nested `access` object with `visibility` (`private` or `public`)
123
180
 
124
181
  ```sh
125
182
  # Set resource access (replaces the access configuration)
126
- epismo playbook access set PLAYBOOK_ID --access '{"visibility":"public","grants":{"11111111-1111-4111-8111-111111111111":"viewer"}}'
183
+ epismo playbook access set PLAYBOOK_ID --access '{"visibility":"public","grants":{"11111111-1111-4111-8111-111111111111":"editor"}}'
127
184
  epismo case access set CASE_ID --access '{"visibility":"private","grants":{"11111111-1111-4111-8111-111111111111":"editor"}}'
128
185
  epismo playbook owner transfer PLAYBOOK_ID --owner-id WORKSPACE_OR_USER_ID
129
186
 
@@ -139,7 +196,7 @@ epismo -w recipient team invitation accept TOKEN
139
196
  epismo -w recipient team disconnect TEAM_ID
140
197
  ```
141
198
 
142
- `--access` is accepted on `playbook create`, `case start`, `playbook copy`, and access setters. Viewers can read published Playbooks and private Cases, Tasks, Records, and linked sources; editors can update content and drafts. Case editors can change visibility and collaborators while retaining at least one explicit editor. Owner managers or Case assignees can remove sharing or archive resources.
199
+ `--access` is accepted on `playbook create`, `case start`, `playbook copy`, and access setters. Viewers can read published Playbooks and private Cases, Tasks, Records, and linked sources; editors can update content and drafts. Playbook and Case updates must retain at least one explicit User or Team editor, including when an owner changes sharing. Creation adds the creator as an editor. Editors can archive resources; assignment alone grants no rights. Member removal is rejected if it would remove the final editor from any owned item, including completed and archived items; add a replacement editor first.
143
200
 
144
201
  Run `epismo --help` for command groups, or append `--help` to any group or command for its options.
145
202
 
@@ -253,3 +310,5 @@ Releases are built for macOS, Linux, and Windows from semantic-version tags such
253
310
  ## License
254
311
 
255
312
  [Apache License 2.0](LICENSE).
313
+
314
+ Discovery filters never grant access. Playbook browsing/resources and Task lists accept an optional `ownerId` filter for the resource or parent Case. Suggestion lists use `playbookOwnerId` for their current parent; Suggestions have no independent owner. Use `--input` to pass fields without a dedicated CLI flag. Workspace selection does not implicitly restrict discovery ownership. The Web sidebar narrows Team-based discovery only; API and CLI use normal access-based visibility.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epismo",
3
- "version": "1.25.3",
3
+ "version": "1.26.1",
4
4
  "description": "Native CLI for Epismo. Continue work across people and AI agents; JSON for terminals, scripts, and workflows.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",