epismo 1.23.2 → 1.25.0

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
@@ -90,19 +90,42 @@ epismo case brief set CASE_ID --content "Waiting for launch approval."
90
90
 
91
91
  A Brief is one current sentence for a case. Closing the case does not remove it, and an archived case cannot be changed. Case reads include it when present. Read it through `case get`, set it with `case brief set`, delete it with `case brief delete`, or generate it from current case evidence with `case brief generate`. Generation runs synchronously and charges token-priced credits to the case billing account; set and delete are update operations costing 2 credits each to the acting user's active workspace, or personal account when no workspace is selected. Reviews do not update the Brief. Set requires non-empty content.
92
92
 
93
- ## Playbook access
93
+ ## Case sources
94
94
 
95
- Use `visibility` and explicit editors instead of a raw ACL:
95
+ Link external evidence to a case and read its saved content with `case get`.
96
+ Slack threads require a connected Slack account in the selected workspace.
96
97
 
97
98
  ```sh
98
- epismo playbook access get PLAYBOOK_ID
99
- epismo playbook access set PLAYBOOK_ID --visibility public --editors USER_ID,TEAM_ID
100
- epismo playbook owner transfer PLAYBOOK_ID --owner-id WORKSPACE_OR_USER_ID
99
+ epismo case source link CASE_ID --url 'https://acme.slack.com/archives/C123/p1234567890123456'
100
+ epismo case get CASE_ID
101
101
  ```
102
102
 
103
- `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`.
103
+ Run `epismo source --help` for get, refresh, and unlink commands, and use
104
+ command-level help for access requirements and credit costs.
105
+
106
+ ## Access and sharing
107
+
108
+ Resources use a nested `access` object with `visibility` (`private` or `public`) and UUID-to-role grants (`viewer` or `editor`):
109
+
110
+ ```sh
111
+ # Set resource access (replaces the access configuration)
112
+ epismo playbook access set PLAYBOOK_ID --access '{"visibility":"public","grants":{"11111111-1111-4111-8111-111111111111":"viewer"}}'
113
+ epismo case access set CASE_ID --access '{"visibility":"private","grants":{"11111111-1111-4111-8111-111111111111":"editor"}}'
114
+ epismo playbook owner transfer PLAYBOOK_ID --owner-id WORKSPACE_OR_USER_ID
104
115
 
105
- 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.
116
+ # Create an independent copy of a published playbook version
117
+ epismo playbook copy PLAYBOOK_ID --source-version-id VERSION_ID --owner-id ACCOUNT_ID
118
+ epismo playbook copies list PLAYBOOK_ID --all
119
+
120
+ # Connect workspaces with shared teams
121
+ epismo -w sender team invite TEAM_ID --emails customer@example.com
122
+ epismo -w sender team invitation list TEAM_ID
123
+ epismo team invitation get TOKEN
124
+ epismo -w recipient team invitation accept TOKEN
125
+ epismo -w recipient team disconnect TEAM_ID
126
+ ```
127
+
128
+ `--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.
106
129
 
107
130
  Run `epismo --help` for command groups, or append `--help` to any group or command for its options.
108
131
 
@@ -130,7 +153,14 @@ Interactive prompts such as the email-code input prompt are plain terminal text.
130
153
  Progress and warnings use a common event envelope:
131
154
 
132
155
  ```json
133
- {"event":{"level":"info","code":"BROWSER_WAITING","message":"Waiting for authorization in your browser...","details":{"timeout_seconds":300}}}
156
+ {
157
+ "event": {
158
+ "level": "info",
159
+ "code": "BROWSER_WAITING",
160
+ "message": "Waiting for authorization in your browser...",
161
+ "details": { "timeout_seconds": 300 }
162
+ }
163
+ }
134
164
  ```
135
165
 
136
166
  Commands that accept a request body support inline JSON, a file, or stdin:
@@ -171,7 +201,7 @@ Workspace references accept an exact ID or unique handle. The effective workspac
171
201
 
172
202
  `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.
173
203
 
174
- `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.
204
+ `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.
175
205
 
176
206
  For CI or other non-interactive use, create a workspace-scoped token and pass it with `EPISMO_TOKEN`:
177
207
 
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.23.2",
3
+ "version": "1.25.0",
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",