kenso 0.1.132 → 0.1.134
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/CHANGELOG.md +1 -0
- package/dist/kenso.js +12 -7
- package/dist/operations.index.json +1 -1
- package/dist/operations.json +1 -1
- package/docs/output-and-errors.md +2 -0
- package/docs/reference.md +1 -1
- package/package.json +2 -2
|
@@ -37,12 +37,14 @@ kenso contacts list --campaign-id 812 --all -o ids
|
|
|
37
37
|
- `--query <JMESPath>` filters or reshapes in-process, so you need no `jq`. On a list it sees the whole list. There is no `--jq`: `--query` takes JMESPath, not jq syntax.
|
|
38
38
|
- Neither applies to a batch summary, which always prints in full.
|
|
39
39
|
- `threads list`, `contacts list` and `contacts search` print a short set of fields per row, in every format: a thread's id, channel, sender, subject, interest, read state, newest message time and preview, a contact's id, name, email, title, company and email validity, and a few more (the command's `--help` names them all). `--full` prints every field (`--full -o json` for a script that reads them all), `--fields` picks your own, and `--query` sees every field.
|
|
40
|
+
- A thread list's `preview` is a one-line preview by default: the first 280 characters of the newest message's text (the API's `bodyFormat=snippet`), in every format. `--full`, or `--fields` that names `preview` or `htmlBody`, prints the whole message text, and `kenso threads list-messages --thread-id <id>` reads every message of a thread whole.
|
|
40
41
|
- A contact list asks the API for only the fields it prints (the API's `fields`), so a page downloads what it shows. A thread list printed with `-o ids`, or with `--fields` that names neither `preview` nor `htmlBody`, asks for no message bodies (`bodyFormat=none`). `--full` and `--query` ask for every field, and `--param-fields` or `--body-format` sent by hand wins.
|
|
41
42
|
|
|
42
43
|
```bash
|
|
43
44
|
kenso campaigns list --fields id,name,status
|
|
44
45
|
kenso campaigns list --all --query "[?status=='active'].id"
|
|
45
46
|
kenso me get --query "length(features)"
|
|
47
|
+
kenso threads list --folder inbox --fields id,subject,preview
|
|
46
48
|
kenso threads list --folder inbox --full
|
|
47
49
|
```
|
|
48
50
|
|
package/docs/reference.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Kenso CLI command reference
|
|
2
2
|
|
|
3
|
-
Generated from kenso 0.1.
|
|
3
|
+
Generated from kenso 0.1.134 (API contracts 05c39db77ef8) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
5
|
1903 commands, one entry each: summary, API route, feature gate and flag names. Beta commands work only on workspaces with their feature flag; `kenso describe` hides the ones yours cannot use. Every command also takes the global flags below. A command's notes, flag descriptions, body schema and examples: `kenso <resource> <action> --help`, or `kenso describe <resource> <action>` as JSON.
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.134",
|
|
4
4
|
"description": "The Kenso CLI: bulk lead, CRM and Studio work for people and coding agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"typescript-eslint": "8.71.1",
|
|
50
50
|
"vitest": "5.0.3"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "7e0e608a3b467db7557bca748009ce53401e1f98"
|
|
53
53
|
}
|