kenso 0.1.135 → 0.1.136
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/dist/kenso.js +48 -10
- package/dist/operations.index.json +1 -1
- package/dist/operations.json +1 -1
- package/docs/reference.md +24 -3
- package/docs/studio.md +1 -1
- package/package.json +2 -2
package/docs/reference.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Kenso CLI command reference
|
|
2
2
|
|
|
3
|
-
Generated from kenso 0.1.
|
|
3
|
+
Generated from kenso 0.1.136 (API contracts ec185d2d3ea4) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1906 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
|
|
|
7
7
|
## Global flags
|
|
8
8
|
|
|
@@ -501,6 +501,7 @@ Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found, 5 some rows failed, 6 r
|
|
|
501
501
|
- [workflow-spend-limits](#workflow-spend-limits) (3)
|
|
502
502
|
- [workflow-step-types](#workflow-step-types) (2)
|
|
503
503
|
- [workflow-templates](#workflow-templates) (2)
|
|
504
|
+
- [workflow-variables](#workflow-variables) (3)
|
|
504
505
|
- [workflow-versions](#workflow-versions) (4)
|
|
505
506
|
- [workflows](#workflows) (10)
|
|
506
507
|
- [workspace](#workspace) (3)
|
|
@@ -8318,7 +8319,7 @@ Flags: `--opportunity-id` (required), `--person-id`, `--role`, `--is-primary`, `
|
|
|
8318
8319
|
|
|
8319
8320
|
Take a person off an opportunity. `DELETE /v1/opportunity-people/{opportunityPersonId}`. Beta: needs `opportunities`.
|
|
8320
8321
|
|
|
8321
|
-
Flags: `--opportunity-person-id` (required), `--overwrite-pinned
|
|
8322
|
+
Flags: `--opportunity-person-id` (required), `--overwrite-pinned`, `--no-overwrite-pinned`, `--each`, `--concurrency`.
|
|
8322
8323
|
|
|
8323
8324
|
### kenso opportunity-people list
|
|
8324
8325
|
|
|
@@ -12646,6 +12647,26 @@ List the templates, or those of one workflow kind. `GET /v1/workflow-templates`
|
|
|
12646
12647
|
|
|
12647
12648
|
Flags: `--cursor`, `--kind`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
12648
12649
|
|
|
12650
|
+
## workflow-variables
|
|
12651
|
+
|
|
12652
|
+
### kenso workflow-variables delete
|
|
12653
|
+
|
|
12654
|
+
Delete a workflow variable. `DELETE /v1/workflow-variables/{variableName}`. Beta: needs `workflows` and `workflows_power`.
|
|
12655
|
+
|
|
12656
|
+
Flags: `--variable-name` (required), `--each`, `--concurrency`.
|
|
12657
|
+
|
|
12658
|
+
### kenso workflow-variables list
|
|
12659
|
+
|
|
12660
|
+
List the workspace's workflow variables. `GET /v1/workflow-variables` (a list). Beta: needs `workflows` and `workflows_power`.
|
|
12661
|
+
|
|
12662
|
+
Flags: `--cursor`, `--limit`, `--all`, `--each`, `--concurrency`.
|
|
12663
|
+
|
|
12664
|
+
### kenso workflow-variables set
|
|
12665
|
+
|
|
12666
|
+
Create a workflow variable, or replace its value. `PUT /v1/workflow-variables/{variableName}`. Beta: needs `workflows` and `workflows_power`.
|
|
12667
|
+
|
|
12668
|
+
Flags: `--variable-name` (required), `--data`, `--each`, `--concurrency`.
|
|
12669
|
+
|
|
12649
12670
|
## workflow-versions
|
|
12650
12671
|
|
|
12651
12672
|
### kenso workflow-versions diff
|
package/docs/studio.md
CHANGED
|
@@ -28,7 +28,7 @@ kenso studio push 12 --dir ./my-template --publish
|
|
|
28
28
|
|
|
29
29
|
### pull
|
|
30
30
|
|
|
31
|
-
`pull` writes every file of the version under `--dir`: text files from the answer, binaries downloaded from signed links and checked against their SHA-256. It leaves other files in the folder alone. It checks every path before it writes anything, and refuses (`unsafe_path`) one that is not a file of the Studio bundle layout, one that would land outside `--dir`, and one that passes through a symbolic link. The layout is `studio.json`, `template.liquid`, `fallback.liquid`, `README.md`, `brief.md` and `ideas.md` at the top, images, fonts, pdf and csv files under `assets/`, and `.json` or `.csv` files directly in `samples/`, with names of letters, digits, `.`, `-` and `_` that neither start nor end with a dot. So pull never writes a hidden file (`.claude/`, `.mcp.json`), a tool's config file (`opencode.json`, `package.json`) or a coding agent's `CLAUDE.md` or `AGENTS.md`, which editors and coding agents read as their own settings, whatever the server sends. Studio stores nothing outside the layout; when a version stored before that rule holds such a file, the API leaves it out and pull prints a warning that names it.
|
|
31
|
+
`pull` writes every file of the version under `--dir`: text files from the answer, binaries downloaded from signed links and checked against their SHA-256. It leaves other files in the folder alone. It checks every path before it writes anything, and refuses (`unsafe_path`) one that is not a file of the Studio bundle layout, one that would land outside `--dir`, and one that passes through a symbolic link. The layout is `studio.json`, `template.liquid`, `fallback.liquid`, `README.md`, `brief.md` and `ideas.md` at the top, images, fonts, pdf and csv files under `assets/`, and `.json` or `.csv` files directly in `samples/`, with names of letters, digits, `.`, `-` and `_` that neither start nor end with a dot and are not a Windows device name (`CON`, `NUL`, `COM1`). A sample is named in lowercase letters, digits, `-` and `_` (`samples/acme.json`), and never with a name a tool reads as its own config (`package.json`, `tsconfig.json`, `opencode.json`), so a tool started inside `samples/` finds none either. So pull never writes a hidden file (`.claude/`, `.mcp.json`), a tool's config file (`opencode.json`, `package.json`) or a coding agent's `CLAUDE.md` or `AGENTS.md`, which editors and coding agents read as their own settings, whatever the server sends. Studio stores nothing outside the layout; when a version stored before that rule holds such a file, the API leaves it out and pull prints a warning that names it.
|
|
32
32
|
|
|
33
33
|
`pull` replaces a file that is already there only when an earlier pull wrote it or a push sent it and nobody changed it since, or when it already holds the new content. `.kenso-pull.json` at the top of the folder records what pulls wrote and pushes sent; push skips it like any dotfile. So pull, edit, push and pull again works as before, and a teammate's change replaces the files you did not change since your last pull or push. A file you added or changed and did not push stops the pull before anything is written: `local_changes` (exit 7) lists them. Move them away or compare them with the template, or add `--force` to replace them with the template's version. The first pull into a folder that an older version of the CLI pulled into may ask for `--force` once, for files that changed in the template since.
|
|
34
34
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kenso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.136",
|
|
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": "6a1380ca512c6fb33f4a645613bee62ea21ae3b1"
|
|
53
53
|
}
|