kenso 0.1.187 → 0.1.189

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/docs/connect.md CHANGED
@@ -26,7 +26,7 @@ Once the person signs in, it prints the new inbox and exits 0:
26
26
  | `connect inbox --provider google\|microsoft` | A sending inbox (`--purpose campaign`, the default) or your own mailbox (`--purpose primary`) | `GET /v1/inboxes` for a new inbox, or one signed in again |
27
27
  | `connect calendar --provider google\|microsoft` | A calendar, with email unless `--access calendar_only`. `--account-id cacc_...` signs one in again | `GET /v1/calendar-accounts` |
28
28
  | `connect video --provider zoom\|webex` | Nothing: only a signed-in person can start a Zoom or Webex connect, so it says where in the app and waits | `GET /v1/video-connections` |
29
- | `connect crm --provider <crm>` | hubspot, salesforce, pipedrive, attio, highlevel, dynamics (`--base-url`), zoho | `GET /v1/crm-connections` |
29
+ | `connect crm --provider <crm>` | hubspot, salesforce, pipedrive, attio, highlevel, dynamics (`--base-url`), zoho; `--sync-mode one_way` for push only | `GET /v1/crm-connections` |
30
30
  | `connect hubspot-knowledge` | HubSpot as a Knowledge source | `GET /v1/knowledge/sources` |
31
31
  | `connect github` | The Kenso GitHub app, for Knowledge | `GET /v1/integrations/github/installations` |
32
32
  | `connect migration` | Outreach, as a migration source. `--connection-id` signs one in again | `GET /v1/migration-connections` |
package/docs/crm.md CHANGED
@@ -29,7 +29,7 @@ The CRM commands work on Kenso's Accounts lane: accounts (companies), the people
29
29
  | `pipelines stage-rules` | List or set the fields a deal should have in each stage |
30
30
  | `opportunity-reasons get`, `opportunity-reasons replace` | List or edit why deals are lost and won |
31
31
  | `layouts show\|set\|reset <object>` | How every account, person or deal page in the workspace lays out its fields: header, rail sections and hidden fields (needs `record_layout`) |
32
- | `crm-connections`, `crm-imports`, `crm-sync-issues` | Read and run CRM sync. Connecting a CRM stays in the app |
32
+ | `crm-connections`, `crm-imports`, `crm-sync-issues` | Read and run CRM sync, and switch it between two-way and one-way. Connect a CRM with `kenso connect crm` |
33
33
  | `tasks add`, `tasks done`, `tasks assign`, `tasks queue` | Add a to-do for a member on an account, person or deal, complete it, hand it on, or read your open work (needs `tasks`) |
34
34
  | `fields list`, `create`, `update`, `archive` | The built-in and custom fields of accounts, people and deals, and adding your own (needs `custom_fields`) |
35
35
  | `field-fill-settings`, `suggestions`, `fields fill` | How Ken fills each field from email, calls and meetings, the values it waits on you for, and filling a deal field for existing deals or a custom field for existing accounts (needs `ken_field_fill`) |
@@ -243,6 +243,8 @@ kenso crm-sync-issues list --connection-id 7 --all
243
243
 
244
244
  Run `kenso crm-connections --help` (or add `--all-commands` when the actions are hidden) to see every action.
245
245
 
246
+ A connection syncs two-way unless you choose one-way (`settings.syncMode`: `two_way` or `one_way`). One-way only pushes: Kenso keeps creating and updating CRM records and pushing activity, opt-outs, deals, tasks and lists, and reads nothing from the CRM but its owners, so there is no import, polling, webhooks, CRM list sources, inbound people or send holds from CRM data. Records already pulled stay. Choose it at connect with `kenso connect crm --provider hubspot --sync-mode one_way` (or `--sync-mode one_way` on `kenso crm-connections create` for close and twenty); a reconnect keeps the mode. Switch an existing connection with `kenso crm-connections update --connection-id 7 --data '{"settings": {"syncMode": "one_way"}}'`. Switching back to `two_way` starts the full first import again.
247
+
246
248
  ## Pipelines
247
249
 
248
250
  A workspace with the `pipelines` flag on can run several deal pipelines, each with its own stages. These are generated commands (beta):
package/docs/reference.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Kenso CLI command reference
2
2
 
3
- Generated from kenso 0.1.187 (API contracts ae8eda67df06) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
3
+ Generated from kenso 0.1.189 (API contracts 0332aac27647) by `scripts/build-reference.ts`. Do not edit it: `pnpm build` writes it again.
4
4
 
5
5
  2013 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
 
@@ -3728,7 +3728,7 @@ Flags: `--access`, `--account-id`, `--no-browser`, `--no-wait`, `--provider`, `-
3728
3728
 
3729
3729
  Connect a CRM (HubSpot, Salesforce, Pipedrive ...) in the browser. API operations: `crm-connections.create`, `crm-connections.list`.
3730
3730
 
3731
- Flags: `--base-url`, `--no-browser`, `--no-wait`, `--provider`, `--return-path`, `--timeout`.
3731
+ Flags: `--base-url`, `--no-browser`, `--no-wait`, `--provider`, `--return-path`, `--sync-mode`, `--timeout`.
3732
3732
 
3733
3733
  ### kenso connect facebook
3734
3734
 
@@ -4132,7 +4132,7 @@ Flags: `--code`, `--state`, `--error`, `--error-description`, `--accounts-server
4132
4132
 
4133
4133
  Connect a CRM. `POST /v1/crm-connections`. Beta: needs `ingestion`.
4134
4134
 
4135
- Flags: `--provider`, `--api-key`, `--base-url`, `--return-path`, `--install-source`, `--data`, `--each`, `--concurrency`.
4135
+ Flags: `--provider`, `--api-key`, `--base-url`, `--return-path`, `--install-source`, `--sync-mode`, `--data`, `--each`, `--concurrency`.
4136
4136
 
4137
4137
  ### kenso crm-connections create-pending-install
4138
4138
 
package/docs/work.md CHANGED
@@ -39,7 +39,7 @@ kenso work run --agent claude --watch --live-only
39
39
 
40
40
  The agent never gets the Kenso API key and never runs `kenso`: the loop claims and submits. The agent uses its own login and plan; API key variables such as `ANTHROPIC_API_KEY` are removed from its environment so the plan login is the one used. Its environment holds only what a CLI needs from yours: `PATH`, `HOME`, `USER`, `LOGNAME`, `SHELL`, `TERM`, the locale (`LANG`, `LANGUAGE`, `LC_*`, `TZ`), the temp folder, the `XDG_*` folders, your proxy and CA variables, the Windows profile variables, and the agent's own (`CLAUDE_CONFIG_DIR` and `CLAUDE_CODE_OAUTH_TOKEN` for Claude Code, `CODEX_HOME` for Codex). Every other variable you have exported stays out of it.
41
41
 
42
- With web research on, each job holds one lead, so text in one lead that steers the agent can reach only that lead's own data, never the rest of a batch. That makes a run slower: one agent start per lead. `--per-file` above 1 with web research still works and warns. The agent's web traffic goes through a proxy `run` starts on `127.0.0.1` (its `HTTP_PROXY` and `HTTPS_PROXY`), which refuses every address that is not on the public internet: loopback, private, link-local and the other special ranges, named as an IP address or by a name that resolves to one. When you have a proxy of your own in `HTTPS_PROXY`, `HTTP_PROXY` or `ALL_PROXY`, the agent uses yours, and `run` warns that it does not check the addresses. The proxy holds an agent that sends its web traffic through `HTTPS_PROXY`, as Claude Code's fetch and search tools do: an unconfined agent that runs commands (`--allow-unconfined`) can go around it.
42
+ With web research on, each job holds one lead, so text in one lead that steers the agent can reach only that lead's own data, never the rest of a batch. That makes a run slower: one agent start per lead. `--per-file` above 1 with web research still works and warns. The agent's web traffic goes through a proxy `run` starts on `127.0.0.1` (its `HTTP_PROXY` and `HTTPS_PROXY`), which refuses every address that is not on the public internet: loopback, private, link-local and the other special ranges, named as an IP address or by a name that resolves to one. When you have a proxy of your own in `HTTPS_PROXY`, `HTTP_PROXY` or `ALL_PROXY` (the first one set), `run` checks each address the same way on your machine and then passes the traffic on to your proxy by name; a name your machine cannot resolve is refused, and your `NO_PROXY` does not apply to the agents. Your proxy looks each name up again, so this check cannot pin the address your proxy reaches: for the full guarantee, unset the proxy for the run or add `--no-research`. When your proxy refuses the agents' traffic (a wrong login, for example) or cannot be reached, `run` warns once. It passes traffic on to an `http://` or `https://` proxy only: with a SOCKS proxy there, `run` does not start, so set that variable to an `http://` proxy for the run or add `--no-research`. The proxy holds an agent that sends its web traffic through `HTTPS_PROXY`, as Claude Code's fetch and search tools do: an unconfined agent that runs commands (`--allow-unconfined`) can go around it.
43
43
 
44
44
  ```bash
45
45
  kenso work run --agent claude --parallel 4 --kind personalization --max-items 200
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kenso",
3
- "version": "0.1.187",
3
+ "version": "0.1.189",
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": "c1862442c1dd41a3c272d82a0b69d4ad6a1a0a7a"
52
+ "gitHead": "55041d3c4095ea3f10a81f0e65b3cc20661346ba"
53
53
  }