epismo 1.24.0 → 1.25.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
@@ -94,28 +94,41 @@ A Brief is one current sentence for a case. Closing the case does not remove it,
94
94
 
95
95
  Link external evidence to a case and read its saved content with `case get`.
96
96
  Slack threads require a connected Slack account in the selected workspace.
97
+ For Google Docs, Sheets, or Slides, connect Google Drive and select the file in
98
+ Epismo Web first, then link its URL. See [Google Drive setup](https://epismo.ai/en/docs/integrations/google-drive).
97
99
 
98
100
  ```sh
99
101
  epismo case source link CASE_ID --url 'https://acme.slack.com/archives/C123/p1234567890123456'
102
+ epismo case source link CASE_ID --url 'https://docs.google.com/document/d/FILE_ID/edit'
100
103
  epismo case get CASE_ID
101
104
  ```
102
105
 
103
- Run `epismo source --help` for get, refresh, and unlink commands, and use
106
+ Run `epismo case source --help` for get, refresh, and unlink commands, and use
104
107
  command-level help for access requirements and credit costs.
105
108
 
106
- ## Playbook access
109
+ ## Access and sharing
107
110
 
108
- Use `visibility` and explicit editors instead of a raw ACL:
111
+ Resources use a nested `access` object with `visibility` (`private` or `public`) and UUID-to-role grants (`viewer` or `editor`):
109
112
 
110
113
  ```sh
111
- epismo playbook access get PLAYBOOK_ID
112
- epismo playbook access set PLAYBOOK_ID --visibility public --editors USER_ID,TEAM_ID
114
+ # Set resource access (replaces the access configuration)
115
+ epismo playbook access set PLAYBOOK_ID --access '{"visibility":"public","grants":{"11111111-1111-4111-8111-111111111111":"viewer"}}'
116
+ epismo case access set CASE_ID --access '{"visibility":"private","grants":{"11111111-1111-4111-8111-111111111111":"editor"}}'
113
117
  epismo playbook owner transfer PLAYBOOK_ID --owner-id WORKSPACE_OR_USER_ID
114
- ```
115
118
 
116
- `public` permits published reads only. The Playbook owner and workspace owners/admins retain implicit edit access and need no explicit `--editors` grant. Every workspace member can read published workspace-owned Playbooks; other members need an explicit user or team editor grant to edit them. Editors can change visibility and collaborators while retaining at least one team or another user as an explicit editor. Only owner managers can remove all additional sharing, archive a Playbook, or archive a historical version. Any member may create a Playbook owned by their workspace, or move a personally owned private Playbook into it with `playbook owner transfer`.
119
+ # Create an independent copy of a published playbook version
120
+ epismo playbook copy PLAYBOOK_ID --source-version-id VERSION_ID --owner-id ACCOUNT_ID
121
+ epismo playbook copies list PLAYBOOK_ID --all
122
+
123
+ # Connect workspaces with shared teams
124
+ epismo -w sender team invite TEAM_ID --emails customer@example.com
125
+ epismo -w sender team invitation list TEAM_ID
126
+ epismo team invitation get TOKEN
127
+ epismo -w recipient team invitation accept TOKEN
128
+ epismo -w recipient team disconnect TEAM_ID
129
+ ```
117
130
 
118
- Case editors can change public/private visibility and collaborators while retaining at least one team or another user as an explicit editor. Only the current Case assignee can remove all additional sharing or archive the Case. Access changes must preserve every task assignee's edit access. The dedicated `playbook access get` remains owner-manager-only, and `case access get` remains current-assignee-only; editors can inspect collaborators with the normal `playbook get` or `case get` before replacing sharing.
131
+ `--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.
119
132
 
120
133
  Run `epismo --help` for command groups, or append `--help` to any group or command for its options.
121
134
 
@@ -143,7 +156,14 @@ Interactive prompts such as the email-code input prompt are plain terminal text.
143
156
  Progress and warnings use a common event envelope:
144
157
 
145
158
  ```json
146
- {"event":{"level":"info","code":"BROWSER_WAITING","message":"Waiting for authorization in your browser...","details":{"timeout_seconds":300}}}
159
+ {
160
+ "event": {
161
+ "level": "info",
162
+ "code": "BROWSER_WAITING",
163
+ "message": "Waiting for authorization in your browser...",
164
+ "details": { "timeout_seconds": 300 }
165
+ }
166
+ }
147
167
  ```
148
168
 
149
169
  Commands that accept a request body support inline JSON, a file, or stdin:
@@ -184,7 +204,7 @@ Workspace references accept an exact ID or unique handle. The effective workspac
184
204
 
185
205
  `epismo login` opens a browser-based OAuth login. With `--email`, it automatically uses your organization SSO when available, otherwise it prompts for an email code.
186
206
 
187
- `epismo case get`, `epismo case popular`, `epismo case record list`, `epismo case handoff graph get`, `epismo playbook list`, and UUID-based `epismo playbook get` work before login for public cases and public playbooks. `epismo case get` accepts a case code (e.g. `PANDA-317`) or UUID. Public case reads expose the current title, input, records, and readable handoffs; tasks, assignment, and collaborator identities remain restricted to work collaborators. `case get` includes the latest ten records; pass its `records_next_cursor` to `case record list --cursor` with `--scope self` for older public records. Use `case popular --playbook-id <id>` to filter discovery. The CLI creates a stable random `anonymousId` in its config for analytics and fair-use rate limiting; it is not an authentication credential. Search, aliases, private data, live case work, and writes still require login.
207
+ `epismo case get`, `epismo case popular`, `epismo case record list`, `epismo case handoff graph get`, `epismo playbook list`, and UUID-based `epismo playbook get` work before login for public cases and public playbooks. `epismo case get` accepts a case code (e.g. `PANDA-317`) or UUID. Public Case reads expose titles, inputs, Tasks, Records, Briefs, readable handoffs, and public author/assignee account references. Private grants, linked sources, and private configuration remain omitted. `case get` includes the latest ten records; pass its `records_next_cursor` to `case record list --cursor` with `--scope self` for older public records. Use `case popular --playbook-id <id>` to filter discovery. The CLI creates a stable random `anonymousId` in its config for analytics and fair-use rate limiting; it is not an authentication credential. Search, aliases, private data, live case work, and writes still require login.
188
208
 
189
209
  For CI or other non-interactive use, create a workspace-scoped token and pass it with `EPISMO_TOKEN`:
190
210
 
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.24.0",
3
+ "version": "1.25.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",