autotouch-cli 0.2.112__tar.gz → 0.2.114__tar.gz

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.
Files changed (61) hide show
  1. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/PKG-INFO +15 -4
  2. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/README.md +14 -3
  3. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/cli.py +6 -0
  4. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/columns.py +63 -1
  5. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/sender_accounts.py +6 -5
  6. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/sequences.py +32 -7
  7. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/data/CLI_REFERENCE.md +77 -12
  8. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/data/cli-manifest.json +443 -11
  9. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/parser.py +2 -0
  10. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/templates.py +228 -6
  11. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli.egg-info/PKG-INFO +15 -4
  12. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_shared/search_contract.py +6 -4
  13. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/pyproject.toml +1 -1
  14. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/MANIFEST.in +0 -0
  15. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/__init__.py +0 -0
  16. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/cli_contracts.py +0 -0
  17. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/__init__.py +0 -0
  18. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/agents.py +0 -0
  19. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/auth.py +0 -0
  20. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/cells.py +0 -0
  21. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/integrations.py +0 -0
  22. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/jobs.py +0 -0
  23. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/leads.py +0 -0
  24. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/linkedin.py +0 -0
  25. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/list_build.py +0 -0
  26. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/outreach.py +0 -0
  27. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/prompts.py +0 -0
  28. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/rows.py +0 -0
  29. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/search.py +0 -0
  30. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/tables.py +0 -0
  31. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/tasks.py +0 -0
  32. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/webhooks.py +0 -0
  33. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/commands/workspace_secrets.py +0 -0
  34. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/core/__init__.py +0 -0
  35. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/core/auth.py +0 -0
  36. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/core/config.py +0 -0
  37. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/core/csv_import.py +0 -0
  38. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/core/http.py +0 -0
  39. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/core/io.py +0 -0
  40. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/core/output.py +0 -0
  41. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/core/polling.py +0 -0
  42. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/core/run.py +0 -0
  43. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/core/validation.py +0 -0
  44. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/exceptions.py +0 -0
  45. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/mongo_status.py +0 -0
  46. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/parser_groups.py +0 -0
  47. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/sequence_support.py +0 -0
  48. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/workflows/__init__.py +0 -0
  49. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli/workflows/registry.py +0 -0
  50. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli.egg-info/SOURCES.txt +0 -0
  51. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli.egg-info/dependency_links.txt +0 -0
  52. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli.egg-info/entry_points.txt +0 -0
  53. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli.egg-info/requires.txt +0 -0
  54. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_cli.egg-info/top_level.txt +0 -0
  55. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_shared/__init__.py +0 -0
  56. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_shared/linkedin_contract.py +0 -0
  57. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_shared/linkedin_filters.py +0 -0
  58. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_shared/list_build_contract.py +0 -0
  59. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_shared/product_lifecycle.py +0 -0
  60. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/autotouch_shared/provider_registry.py +0 -0
  61. {autotouch_cli-0.2.112 → autotouch_cli-0.2.114}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: autotouch-cli
3
- Version: 0.2.112
3
+ Version: 0.2.114
4
4
  Summary: Autotouch Smart Table CLI
5
5
  Project-URL: Homepage, https://app.autotouch.ai
6
6
  Project-URL: Documentation, https://github.com/nicolonic/autotouch_main/tree/main/docs/research-table/reference
@@ -176,21 +176,24 @@ autotouch rows get --table-id "$TABLE_ID" --row-id "$ROW_ID" --output json
176
176
 
177
177
  ## Sequence Automation Choices
178
178
 
179
- When a user asks to create a campaign sequence, distinguish three separate decisions:
179
+ When a user asks to create a campaign sequence, distinguish these separate decisions:
180
180
 
181
181
  - Manual AI-draft review: `autotouch sequences recipe --type manual_review` (or `create`) sets `executionMode=MANUAL` and `aiDraft=true`; AI drafts content and a human approves/completes each task.
182
182
  - Template-based automated send: `autotouch sequences recipe --type automated_template` (or `bulk_automated`) sets `executionMode=AUTOMATED` and `emailSendMode=AUTOMATED` with fixed templates; use this when the user explicitly asks to automate sending without review.
183
183
  - LinkedIn-assisted outreach: `autotouch sequences recipe --type linkedin_outreach` uses an automated profile visit followed by manual AI-draft LinkedIn connection, LinkedIn message, and fallback email tasks. Use it only when LinkedIn touches are part of the campaign.
184
+ - Research-field routing: `autotouch sequences recipe --type research_field_routing` starts one source-table sequence that routes each enrollment by a research-table column value, such as persona, segment, territory, product line, or campaign path.
184
185
 
185
186
  If the user says "automate the sequence" without asking for AI-written sends, choose the template-based automated path. Offer manual AI-draft review as the higher-personalization path, but call out that it creates upfront manual tasks while the system learns.
186
187
 
188
+ Do not mix `aiDraft=true` with non-empty `subjectTemplate`, `bodyTemplate`, or `scriptTemplate`. Template fields send exact variable-filled copy when `aiDraft=false`; AI-draft steps should leave template fields empty and use sequence/source-table context. The CLI and developer-key API reject the mixed shape.
189
+
187
190
  For bulk Instantly/Smartlead sequences, email sender accounts live on the provider campaign, not on each enrollment. Use `autotouch sequences sync-accounts --sequence-id <SEQUENCE_ID> --account-selection all_eligible` for the org's eligible provider-account group, or `--account-selection selected --selected-account sender@example.com` for specific provider mailboxes. For personal mailbox or LinkedIn steps, use enrollment sender routing only when the user asks for explicit sender pinning or team routing.
188
191
 
189
192
  Keep `requiredVariables` limited to variables that the sequence actually needs. If a variable is listed there, every provider enrollment must hydrate it from lead context, research-table mappings, or explicit overrides; unused required variables can block an otherwise valid bulk campaign.
190
193
 
191
194
  Version guard:
192
195
 
193
- - Use `autotouch --version` before relying on recipe defaults. This repo expects `autotouch-cli` `0.2.112` or newer.
196
+ - Use `autotouch --version` before relying on recipe defaults. This repo expects `autotouch-cli` `0.2.114` or newer.
194
197
  - If `python3 -m pip install -U autotouch-cli` upgrades the package but `which autotouch` still points at an older shim, run the upgraded binary directly or fix PATH before creating production sequences.
195
198
  - Before authoring a LinkedIn sequence, inspect the live recipe:
196
199
 
@@ -206,6 +209,14 @@ As of `0.2.107`, that recipe emits:
206
209
  4. connected branch -> `LINKEDIN_CHAT_MESSAGE` - `MANUAL`, `aiDraft=true`
207
210
  5. not-connected branch -> `EMAIL` - `MANUAL`, `emailSendMode=MANUAL`, `aiDraft=true`
208
211
 
212
+ For one sequence with multiple paths based on a source-table value, inspect the route recipe:
213
+
214
+ ```bash
215
+ autotouch sequences recipe --type research_field_routing --output json --compact
216
+ ```
217
+
218
+ Use one `source_field_route` condition with `columnKey`, one route case per expected value, and a default route for blank or unexpected values. Extend the route cases when the user needs more paths. Create separate sequences only when the paths require separate reporting, sender pools, schedules, ownership, or activation controls.
219
+
209
220
  ## Neural Search vs Durable List Build
210
221
 
211
222
  Autotouch has two different company/people discovery paths.
@@ -214,7 +225,7 @@ Use `autotouch search companies` for Exa Company Search when the target is basic
214
225
 
215
226
  Use `autotouch search similar-companies` as a convenience wrapper for Exa Company Search similarity. Prefer `--query` for Exa's documented semantic patterns, such as "companies like Notion", "competitors of Stripe", or "companies working on making space travel cheaper". The older seed fields `company_name`, `company_domain`, and `company_description` remain available when you want the CLI/API to compose that query; it does not use Exa `/findSimilar`.
216
227
 
217
- Use `autotouch search people` for provider-hidden people search when the target is niche, semantic, or hard to express with structured filters. People search currently returns at most 10 results per API call and costs 1 credit per API call.
228
+ Use `autotouch search people` for provider-hidden people search when the target is niche, semantic, or hard to express with structured filters. Describe the person or responsibility in natural language, for example "person responsible for endpoint management and SaaS app access", then use company, location, title, or skills only as optional anchors. People search currently returns at most 10 results per API call and costs 1 credit per API call.
218
229
 
219
230
  Use `autotouch list-build companies` and `autotouch list-build leads` for structured, repeatable LinkedIn/Sales Navigator list construction. This is the only CLI path for building LinkedIn-sourced company and lead lists. Treat list builds as the sourcing step for the Smart Table research workspace: build company/account records first by default, sync the records to a research table with `autotouch list-build sync-to-table`, then enrich, score, segment, find related leads, attach signals/notes, and continue downstream workflows from that table. Use lead builds directly when the request is explicitly person/contact focused. This path uses Autotouch-managed provider access, so users do not need to connect their own LinkedIn account. Use filters like geography IDs, company size, industry IDs, title/persona, and current company IDs; call `autotouch list-build inputs` for supported values. Durable list builds run as background jobs with status/results endpoints and cost 1 credit per successful non-empty result page.
220
231
 
@@ -151,21 +151,24 @@ autotouch rows get --table-id "$TABLE_ID" --row-id "$ROW_ID" --output json
151
151
 
152
152
  ## Sequence Automation Choices
153
153
 
154
- When a user asks to create a campaign sequence, distinguish three separate decisions:
154
+ When a user asks to create a campaign sequence, distinguish these separate decisions:
155
155
 
156
156
  - Manual AI-draft review: `autotouch sequences recipe --type manual_review` (or `create`) sets `executionMode=MANUAL` and `aiDraft=true`; AI drafts content and a human approves/completes each task.
157
157
  - Template-based automated send: `autotouch sequences recipe --type automated_template` (or `bulk_automated`) sets `executionMode=AUTOMATED` and `emailSendMode=AUTOMATED` with fixed templates; use this when the user explicitly asks to automate sending without review.
158
158
  - LinkedIn-assisted outreach: `autotouch sequences recipe --type linkedin_outreach` uses an automated profile visit followed by manual AI-draft LinkedIn connection, LinkedIn message, and fallback email tasks. Use it only when LinkedIn touches are part of the campaign.
159
+ - Research-field routing: `autotouch sequences recipe --type research_field_routing` starts one source-table sequence that routes each enrollment by a research-table column value, such as persona, segment, territory, product line, or campaign path.
159
160
 
160
161
  If the user says "automate the sequence" without asking for AI-written sends, choose the template-based automated path. Offer manual AI-draft review as the higher-personalization path, but call out that it creates upfront manual tasks while the system learns.
161
162
 
163
+ Do not mix `aiDraft=true` with non-empty `subjectTemplate`, `bodyTemplate`, or `scriptTemplate`. Template fields send exact variable-filled copy when `aiDraft=false`; AI-draft steps should leave template fields empty and use sequence/source-table context. The CLI and developer-key API reject the mixed shape.
164
+
162
165
  For bulk Instantly/Smartlead sequences, email sender accounts live on the provider campaign, not on each enrollment. Use `autotouch sequences sync-accounts --sequence-id <SEQUENCE_ID> --account-selection all_eligible` for the org's eligible provider-account group, or `--account-selection selected --selected-account sender@example.com` for specific provider mailboxes. For personal mailbox or LinkedIn steps, use enrollment sender routing only when the user asks for explicit sender pinning or team routing.
163
166
 
164
167
  Keep `requiredVariables` limited to variables that the sequence actually needs. If a variable is listed there, every provider enrollment must hydrate it from lead context, research-table mappings, or explicit overrides; unused required variables can block an otherwise valid bulk campaign.
165
168
 
166
169
  Version guard:
167
170
 
168
- - Use `autotouch --version` before relying on recipe defaults. This repo expects `autotouch-cli` `0.2.112` or newer.
171
+ - Use `autotouch --version` before relying on recipe defaults. This repo expects `autotouch-cli` `0.2.114` or newer.
169
172
  - If `python3 -m pip install -U autotouch-cli` upgrades the package but `which autotouch` still points at an older shim, run the upgraded binary directly or fix PATH before creating production sequences.
170
173
  - Before authoring a LinkedIn sequence, inspect the live recipe:
171
174
 
@@ -181,6 +184,14 @@ As of `0.2.107`, that recipe emits:
181
184
  4. connected branch -> `LINKEDIN_CHAT_MESSAGE` - `MANUAL`, `aiDraft=true`
182
185
  5. not-connected branch -> `EMAIL` - `MANUAL`, `emailSendMode=MANUAL`, `aiDraft=true`
183
186
 
187
+ For one sequence with multiple paths based on a source-table value, inspect the route recipe:
188
+
189
+ ```bash
190
+ autotouch sequences recipe --type research_field_routing --output json --compact
191
+ ```
192
+
193
+ Use one `source_field_route` condition with `columnKey`, one route case per expected value, and a default route for blank or unexpected values. Extend the route cases when the user needs more paths. Create separate sequences only when the paths require separate reporting, sender pools, schedules, ownership, or activation controls.
194
+
184
195
  ## Neural Search vs Durable List Build
185
196
 
186
197
  Autotouch has two different company/people discovery paths.
@@ -189,7 +200,7 @@ Use `autotouch search companies` for Exa Company Search when the target is basic
189
200
 
190
201
  Use `autotouch search similar-companies` as a convenience wrapper for Exa Company Search similarity. Prefer `--query` for Exa's documented semantic patterns, such as "companies like Notion", "competitors of Stripe", or "companies working on making space travel cheaper". The older seed fields `company_name`, `company_domain`, and `company_description` remain available when you want the CLI/API to compose that query; it does not use Exa `/findSimilar`.
191
202
 
192
- Use `autotouch search people` for provider-hidden people search when the target is niche, semantic, or hard to express with structured filters. People search currently returns at most 10 results per API call and costs 1 credit per API call.
203
+ Use `autotouch search people` for provider-hidden people search when the target is niche, semantic, or hard to express with structured filters. Describe the person or responsibility in natural language, for example "person responsible for endpoint management and SaaS app access", then use company, location, title, or skills only as optional anchors. People search currently returns at most 10 results per API call and costs 1 credit per API call.
193
204
 
194
205
  Use `autotouch list-build companies` and `autotouch list-build leads` for structured, repeatable LinkedIn/Sales Navigator list construction. This is the only CLI path for building LinkedIn-sourced company and lead lists. Treat list builds as the sourcing step for the Smart Table research workspace: build company/account records first by default, sync the records to a research table with `autotouch list-build sync-to-table`, then enrich, score, segment, find related leads, attach signals/notes, and continue downstream workflows from that table. Use lead builds directly when the request is explicitly person/contact focused. This path uses Autotouch-managed provider access, so users do not need to connect their own LinkedIn account. Use filters like geography IDs, company size, industry IDs, title/persona, and current company IDs; call `autotouch list-build inputs` for supported values. Durable list builds run as background jobs with status/results endpoints and cost 1 credit per successful non-empty result page.
195
206
 
@@ -43,11 +43,13 @@ from autotouch_cli.commands.columns import (
43
43
  cmd_columns_create as cmd_columns_create_impl,
44
44
  cmd_columns_delete as cmd_columns_delete_impl,
45
45
  cmd_columns_estimate as cmd_columns_estimate_impl,
46
+ cmd_columns_hide as cmd_columns_hide_impl,
46
47
  cmd_columns_list as cmd_columns_list_impl,
47
48
  cmd_columns_move as cmd_columns_move_impl,
48
49
  cmd_columns_projections as cmd_columns_projections_impl,
49
50
  cmd_columns_run as cmd_columns_run_impl,
50
51
  cmd_columns_run_next as cmd_columns_run_next_impl,
52
+ cmd_columns_show as cmd_columns_show_impl,
51
53
  cmd_columns_stop as cmd_columns_stop_impl,
52
54
  cmd_columns_test_http_request as cmd_columns_test_http_request_impl,
53
55
  cmd_columns_update as cmd_columns_update_impl,
@@ -1521,6 +1523,8 @@ _register("cells_schema", cmd_cells_schema_impl, _cell_command_runtime)
1521
1523
  _register("columns_list", cmd_columns_list_impl, _column_command_runtime)
1522
1524
  _register("columns_create", cmd_columns_create_impl, _column_command_runtime)
1523
1525
  _register("columns_update", cmd_columns_update_impl, _column_command_runtime)
1526
+ _register("columns_hide", cmd_columns_hide_impl, _column_command_runtime)
1527
+ _register("columns_show", cmd_columns_show_impl, _column_command_runtime)
1524
1528
  _register("columns_move", cmd_columns_move_impl, _column_command_runtime)
1525
1529
  _register("columns_delete", cmd_columns_delete_impl, _column_command_runtime)
1526
1530
  _register("columns_projections", cmd_columns_projections_impl, _column_command_runtime)
@@ -2503,6 +2507,8 @@ cmd_auth_whoami = _bound("auth_whoami")
2503
2507
  cmd_cells_get = _bound("cells_get")
2504
2508
  cmd_columns_create = _bound("columns_create")
2505
2509
  cmd_columns_update = _bound("columns_update")
2510
+ cmd_columns_hide = _bound("columns_hide")
2511
+ cmd_columns_show = _bound("columns_show")
2506
2512
  cmd_columns_move = _bound("columns_move")
2507
2513
  cmd_columns_projections = _bound("columns_projections")
2508
2514
  cmd_columns_run_next = _bound("columns_run_next")
@@ -205,10 +205,15 @@ def cmd_columns_update(args: argparse.Namespace, *, runtime: ColumnCommandRuntim
205
205
  inline_json=args.data_json,
206
206
  file_path=args.data_file,
207
207
  context="data",
208
- default=None,
208
+ default={},
209
209
  )
210
210
  if not isinstance(payload, dict):
211
211
  raise AutotouchInputError("column update requires --data-json/--data-file with a JSON object")
212
+ payload = dict(payload)
213
+ if getattr(args, "hide", False):
214
+ payload["isHidden"] = True
215
+ elif getattr(args, "show", False):
216
+ payload["isHidden"] = False
212
217
  payload = _apply_column_position_overrides(
213
218
  payload,
214
219
  args,
@@ -216,6 +221,8 @@ def cmd_columns_update(args: argparse.Namespace, *, runtime: ColumnCommandRuntim
216
221
  allow_neighbors=False,
217
222
  )
218
223
  payload = _apply_research_mode_overrides(payload, args, force_agent_on_explicit=False)
224
+ if not payload:
225
+ raise AutotouchInputError("column update requires a patch payload or an update flag such as --hide, --show, --position, or --research-mode")
219
226
  runtime.validate_column_contract_payload_or_exit(payload)
220
227
  data = runtime.request_api(
221
228
  "PATCH",
@@ -230,6 +237,35 @@ def cmd_columns_update(args: argparse.Namespace, *, runtime: ColumnCommandRuntim
230
237
  runtime.print_json(data, args.compact)
231
238
 
232
239
 
240
+ def _cmd_columns_visibility(
241
+ args: argparse.Namespace,
242
+ *,
243
+ runtime: ColumnCommandRuntime,
244
+ hidden: bool,
245
+ ) -> None:
246
+ token = runtime.resolve_token(args.token, required=True)
247
+ payload = {"isHidden": bool(hidden)}
248
+ data = runtime.request_api(
249
+ "PATCH",
250
+ f"/api/tables/{args.table_id}/columns/{args.column_id}",
251
+ base_url=args.base_url,
252
+ token=token,
253
+ use_x_api_key=args.use_x_api_key,
254
+ payload=payload,
255
+ timeout=args.timeout,
256
+ verbose=args.verbose,
257
+ )
258
+ runtime.print_json(data, args.compact)
259
+
260
+
261
+ def cmd_columns_hide(args: argparse.Namespace, *, runtime: ColumnCommandRuntime) -> None:
262
+ _cmd_columns_visibility(args, runtime=runtime, hidden=True)
263
+
264
+
265
+ def cmd_columns_show(args: argparse.Namespace, *, runtime: ColumnCommandRuntime) -> None:
266
+ _cmd_columns_visibility(args, runtime=runtime, hidden=False)
267
+
268
+
233
269
  def cmd_columns_delete(args: argparse.Namespace, *, runtime: ColumnCommandRuntime) -> None:
234
270
  if not getattr(args, "yes", False):
235
271
  raise AutotouchInputError("column delete is destructive and also removes all cells for that column. Re-run with --yes to confirm.")
@@ -482,6 +518,9 @@ def register_columns_subcommands(
482
518
  pcu.add_argument("--data-json", help="ColumnUpdate payload JSON")
483
519
  pcu.add_argument("--data-file", help="ColumnUpdate payload file path")
484
520
  pcu.add_argument("--position", type=float, help="Explicit numeric position override")
521
+ visibility = pcu.add_mutually_exclusive_group()
522
+ visibility.add_argument("--hide", action="store_true", help="Hide the column without deleting its cells")
523
+ visibility.add_argument("--show", action="store_true", help="Show a previously hidden column")
485
524
  pcu.add_argument(
486
525
  "--research-mode",
487
526
  choices=["lite", "heavy"],
@@ -490,6 +529,29 @@ def register_columns_subcommands(
490
529
  add_api_common_arguments(pcu)
491
530
  pcu.set_defaults(func=handlers["update"])
492
531
 
532
+ pch = col_sub.add_parser(
533
+ "hide",
534
+ help="Hide a column without deleting its cells",
535
+ description=(
536
+ "Hide a column from the default table view. This is reversible and does not delete cells. "
537
+ "Use columns delete only when you intentionally want to remove the column and its data."
538
+ ),
539
+ )
540
+ pch.add_argument("--table-id", required=True)
541
+ pch.add_argument("--column-id", required=True)
542
+ add_api_common_arguments(pch)
543
+ pch.set_defaults(func=handlers["hide"])
544
+
545
+ pcs_show = col_sub.add_parser(
546
+ "show",
547
+ help="Show a previously hidden column",
548
+ description="Make a hidden column visible in the table schema again.",
549
+ )
550
+ pcs_show.add_argument("--table-id", required=True)
551
+ pcs_show.add_argument("--column-id", required=True)
552
+ add_api_common_arguments(pcs_show)
553
+ pcs_show.set_defaults(func=handlers["show"])
554
+
493
555
  pcm = col_sub.add_parser(
494
556
  "move",
495
557
  help="Reorder an existing column relative to neighbors",
@@ -105,8 +105,9 @@ def register_sender_accounts_subcommands(
105
105
  help="List connected email and LinkedIn sender accounts",
106
106
  description=(
107
107
  "Read sender accounts available to the current actor. Most sequence enrollments only need "
108
- "an assignee and will use that user's default connected senders. Use these IDs for advanced "
109
- "team routing, explicit sender pinning, or sender-account delegation management."
108
+ "an assignee and will use that user's default connected senders. Use these IDs when the "
109
+ "task owner/reviewer differs from the email or LinkedIn sender, for round-robin routing, "
110
+ "or for sender-account delegation management."
110
111
  ),
111
112
  )
112
113
  sender_sub = parser.add_subparsers(dest="sender_accounts_cmd", required=True)
@@ -116,7 +117,7 @@ def register_sender_accounts_subcommands(
116
117
  list_parser.add_argument(
117
118
  "--include-all",
118
119
  action="store_true",
119
- help="Admin only: include all sender accounts in the organization",
120
+ help="Admin only: include all sender accounts in the organization, useful when resolving explicit team-managed senders",
120
121
  )
121
122
  add_api_common_arguments(list_parser)
122
123
  list_parser.set_defaults(func=handlers["list"])
@@ -142,8 +143,8 @@ def register_sender_accounts_subcommands(
142
143
  "grant-delegation",
143
144
  help="Allow another user to send from a sender account",
144
145
  description=(
145
- "Owner/admin user-session management command. Use when a manager owns a connected account "
146
- "but another workspace user should be allowed to send assigned sequence work from it."
146
+ "Owner/admin user-session management command. Use when one user's connected account "
147
+ "should be available for another workspace user to manage or execute assigned sequence work."
147
148
  ),
148
149
  )
149
150
  grant_parser.add_argument("--sender-account-id", required=True)
@@ -68,7 +68,10 @@ def _sequence_enroll_output_hints(payload: Dict[str, Any]) -> Dict[str, Any]:
68
68
  )
69
69
  elif sender_account_ids:
70
70
  channels = ", ".join(sorted(str(channel) for channel in sender_account_ids.keys()))
71
- sender_hint = f"Enrollment pins sender account IDs for: {channels}."
71
+ sender_hint = (
72
+ f"Enrollment pins sender account IDs for: {channels}. "
73
+ "The task owner/reviewer can differ from the sender identity."
74
+ )
72
75
  else:
73
76
  sender_hint = (
74
77
  "No sender account IDs are pinned; sequence execution will use the assignee/owner's default connected sender accounts."
@@ -218,6 +221,23 @@ def _attach_sequence_authoring_warnings(output: Dict[str, Any], payload: Optiona
218
221
  return enriched
219
222
 
220
223
 
224
+ def _raise_for_unsafe_sequence_authoring(payload: Dict[str, Any]) -> None:
225
+ mixed_mode_warnings = _sequence_template_ai_draft_warnings(payload)
226
+ if not mixed_mode_warnings:
227
+ return
228
+
229
+ step_labels = ", ".join(
230
+ str(warning.get("step_id") or f"step {int(warning.get('step_index') or 0) + 1}")
231
+ for warning in mixed_mode_warnings
232
+ )
233
+ raise AutotouchInputError(
234
+ "sequence payload mixes aiDraft=true with non-empty template fields "
235
+ f"on {step_labels}. Template fields are deterministic copy when aiDraft=false; "
236
+ "with aiDraft=true they become draft context and are not guaranteed to be sent exactly. "
237
+ "Set aiDraft=false for template sending, or leave template fields empty for AI-drafted tasks."
238
+ )
239
+
240
+
221
241
  def _split_account_values(values: Optional[List[str]]) -> List[str]:
222
242
  out: List[str] = []
223
243
  seen: set[str] = set()
@@ -428,6 +448,7 @@ def cmd_sequences_create(args: argparse.Namespace, *, runtime: SequenceCommandRu
428
448
  if not isinstance(payload, dict):
429
449
  raise AutotouchInputError("sequence create requires --data-json/--data-file with a JSON object")
430
450
  payload = _apply_provider_account_config(payload, args)
451
+ _raise_for_unsafe_sequence_authoring(payload)
431
452
 
432
453
  data = runtime.request_api(
433
454
  "POST",
@@ -456,6 +477,7 @@ def cmd_sequences_update(args: argparse.Namespace, *, runtime: SequenceCommandRu
456
477
  if not isinstance(payload, dict):
457
478
  raise AutotouchInputError("sequence update requires --data-json/--data-file with a JSON object")
458
479
  payload = _apply_provider_account_config(payload, args)
480
+ _raise_for_unsafe_sequence_authoring(payload)
459
481
 
460
482
  try:
461
483
  data = runtime.request_api(
@@ -767,7 +789,8 @@ def register_sequences_subcommands(
767
789
  description=(
768
790
  "For bulk sequences, sender accounts live on the provider campaign rather than per enrollment. "
769
791
  "Use --account-selection all_eligible for the org's eligible provider account group, or "
770
- "--account-selection selected with --selected-account for specific mailbox emails."
792
+ "--account-selection selected with --selected-account for specific mailbox emails. "
793
+ "This is separate from personal email/LinkedIn senderAccountIds used by sequence enrollments."
771
794
  ),
772
795
  )
773
796
  psqsa.add_argument("--sequence-id", required=True)
@@ -825,9 +848,11 @@ def register_sequences_subcommands(
825
848
  help="Enroll leads into a sequence (best for one-off/manual adds)",
826
849
  description=(
827
850
  "Direct enroll is best for one-off/manual adds. The simple path is lead IDs plus "
828
- "--assigned-to-user-id; when sender account flags are omitted, execution uses that "
829
- "user's default connected email/LinkedIn senders. Use add_to_sequence when rows "
830
- "should auto-enroll from a research table over time."
851
+ "--assigned-to-user-id, which is the task owner/reviewer. When sender account flags "
852
+ "are omitted, execution uses that user's default connected email/LinkedIn senders. "
853
+ "For team-managed work, keep --assigned-to-user-id as the manager/reviewer and pass "
854
+ "--email-sender-account-id / --linkedin-sender-account-id for the account that should "
855
+ "actually send. Use add_to_sequence when rows should auto-enroll from a research table over time."
831
856
  ),
832
857
  )
833
858
  psqe.add_argument("--sequence-id", required=True)
@@ -873,11 +898,11 @@ def register_sequences_subcommands(
873
898
  psqe.add_argument("--variable-overrides-file", help="variableOverrides JSON file")
874
899
  psqe.add_argument(
875
900
  "--assigned-to-user-id",
876
- help="Assign generated tasks to this user; default senders for that user are used unless sender routing flags are supplied",
901
+ help="Task owner/reviewer. Default senders for that user are used unless sender routing flags are supplied",
877
902
  )
878
903
  psqe.add_argument(
879
904
  "--email-sender-account-id",
880
- help="Advanced: pin email steps to this sender account instead of using the assignee's default",
905
+ help="Advanced: pin personal email steps to this sender account instead of using the assignee's default",
881
906
  )
882
907
  psqe.add_argument(
883
908
  "--linkedin-sender-account-id",
@@ -1,6 +1,6 @@
1
1
  # Autotouch CLI Reference
2
2
 
3
- Generated from the installed parser for `autotouch-cli` `0.2.112`.
3
+ Generated from the installed parser for `autotouch-cli` `0.2.114`.
4
4
  Manifest schema version: `2`.
5
5
 
6
6
  ## Output Modes
@@ -1092,10 +1092,10 @@ Column operations
1092
1092
  - Auth: `varies_by_subcommand`
1093
1093
  - Stability: `stable`
1094
1094
  - Destructive: `no`
1095
- - Subcommands: `list, create, update, move, delete, projections, test-http-request, run, stop, run-next, estimate, recipe`
1095
+ - Subcommands: `list, create, update, hide, show, move, delete, projections, test-http-request, run, stop, run-next, estimate, recipe`
1096
1096
  - Example:
1097
1097
  - `autotouch columns [-h]
1098
- {list,create,update,move,delete,projections,test-http-request,run,stop,run-next,estimate,recipe} ...`
1098
+ {list,create,update,hide,show,move,delete,projections,test-http-request,run,stop,run-next,estimate,recipe} ...`
1099
1099
 
1100
1100
  #### `autotouch columns create`
1101
1101
 
@@ -1228,6 +1228,37 @@ Estimate a column run
1228
1228
  - `--json-pointer` (kind=string): Extract a JSON pointer from the final result (for example: /id)
1229
1229
  - `--verbose` (kind=boolean; when omitted=False; when present=True): Print request metadata to stderr
1230
1230
 
1231
+ #### `autotouch columns hide`
1232
+
1233
+ Hide a column without deleting its cells
1234
+
1235
+ Hide a column from the default table view. This is reversible and does not delete cells. Use columns delete only when you intentionally want to remove the column and its data.
1236
+
1237
+ - Auth: `developer_key_or_user_session`
1238
+ - Stability: `stable`
1239
+ - Destructive: `no`
1240
+ - Required flags: `--table-id, --column-id`
1241
+ - Output modes: `json, ndjson, human`
1242
+ - Example:
1243
+ - `autotouch columns hide [-h] --table-id TABLE_ID --column-id COLUMN_ID
1244
+ [--base-url BASE_URL] [--token TOKEN]
1245
+ [--use-x-api-key] [--timeout TIMEOUT]
1246
+ [--output {json,ndjson,human}] [--compact]
1247
+ [--select SELECT | --json-pointer JSON_POINTER]
1248
+ [--verbose]`
1249
+ - Options:
1250
+ - `--table-id` (required; kind=string)
1251
+ - `--column-id` (required; kind=string)
1252
+ - `--base-url` (kind=string; default=https://app.autotouch.ai): API base URL (default: https://app.autotouch.ai)
1253
+ - `--token` (kind=string; sensitive): Developer API key / JWT token
1254
+ - `--use-x-api-key` (kind=boolean; when omitted=False; when present=True): Send token via X-API-Key header
1255
+ - `--timeout` (kind=integer; default=30): HTTP timeout in seconds
1256
+ - `--output` (kind=string; choices=json,ndjson,human; default=json): Output mode
1257
+ - `--compact` (kind=boolean; when omitted=False; when present=True): Print compact JSON
1258
+ - `--select` (kind=string): Extract a dotted field path from the final result (for example: id or items.0.id)
1259
+ - `--json-pointer` (kind=string): Extract a JSON pointer from the final result (for example: /id)
1260
+ - `--verbose` (kind=boolean; when omitted=False; when present=True): Print request metadata to stderr
1261
+
1231
1262
  #### `autotouch columns list`
1232
1263
 
1233
1264
  List table columns
@@ -1494,6 +1525,37 @@ Run up to N selected rows using subset scope
1494
1525
  - `--json-pointer` (kind=string): Extract a JSON pointer from the final result (for example: /id)
1495
1526
  - `--verbose` (kind=boolean; when omitted=False; when present=True): Print request metadata to stderr
1496
1527
 
1528
+ #### `autotouch columns show`
1529
+
1530
+ Show a previously hidden column
1531
+
1532
+ Make a hidden column visible in the table schema again.
1533
+
1534
+ - Auth: `developer_key_or_user_session`
1535
+ - Stability: `stable`
1536
+ - Destructive: `no`
1537
+ - Required flags: `--table-id, --column-id`
1538
+ - Output modes: `json, ndjson, human`
1539
+ - Example:
1540
+ - `autotouch columns show [-h] --table-id TABLE_ID --column-id COLUMN_ID
1541
+ [--base-url BASE_URL] [--token TOKEN]
1542
+ [--use-x-api-key] [--timeout TIMEOUT]
1543
+ [--output {json,ndjson,human}] [--compact]
1544
+ [--select SELECT | --json-pointer JSON_POINTER]
1545
+ [--verbose]`
1546
+ - Options:
1547
+ - `--table-id` (required; kind=string)
1548
+ - `--column-id` (required; kind=string)
1549
+ - `--base-url` (kind=string; default=https://app.autotouch.ai): API base URL (default: https://app.autotouch.ai)
1550
+ - `--token` (kind=string; sensitive): Developer API key / JWT token
1551
+ - `--use-x-api-key` (kind=boolean; when omitted=False; when present=True): Send token via X-API-Key header
1552
+ - `--timeout` (kind=integer; default=30): HTTP timeout in seconds
1553
+ - `--output` (kind=string; choices=json,ndjson,human; default=json): Output mode
1554
+ - `--compact` (kind=boolean; when omitted=False; when present=True): Print compact JSON
1555
+ - `--select` (kind=string): Extract a dotted field path from the final result (for example: id or items.0.id)
1556
+ - `--json-pointer` (kind=string): Extract a JSON pointer from the final result (for example: /id)
1557
+ - `--verbose` (kind=boolean; when omitted=False; when present=True): Print request metadata to stderr
1558
+
1497
1559
  #### `autotouch columns stop`
1498
1560
 
1499
1561
  Stop a running column (cancel active job dispatch)
@@ -1580,6 +1642,7 @@ Update a column definition. Nested config keys merge into the existing config, s
1580
1642
  - `autotouch columns update [-h] --table-id TABLE_ID --column-id COLUMN_ID
1581
1643
  [--data-json DATA_JSON]
1582
1644
  [--data-file DATA_FILE] [--position POSITION]
1645
+ [--hide | --show]
1583
1646
  [--research-mode {lite,heavy}]
1584
1647
  [--base-url BASE_URL] [--token TOKEN]
1585
1648
  [--use-x-api-key] [--timeout TIMEOUT]
@@ -1592,6 +1655,8 @@ Update a column definition. Nested config keys merge into the existing config, s
1592
1655
  - `--data-json` (kind=json; input=json): ColumnUpdate payload JSON
1593
1656
  - `--data-file` (kind=file; input=file): ColumnUpdate payload file path
1594
1657
  - `--position` (kind=number): Explicit numeric position override
1658
+ - `--hide` (kind=boolean; when omitted=False; when present=True): Hide the column without deleting its cells
1659
+ - `--show` (kind=boolean; when omitted=False; when present=True): Show a previously hidden column
1595
1660
  - `--research-mode` (kind=string; choices=lite,heavy): Set config.researchMode. Include config.mode=agent when switching a Quick LLM column to Research Agent.
1596
1661
  - `--base-url` (kind=string; default=https://app.autotouch.ai): API base URL (default: https://app.autotouch.ai)
1597
1662
  - `--token` (kind=string; sensitive): Developer API key / JWT token
@@ -4409,7 +4474,7 @@ Find companies similar to a seed company
4409
4474
 
4410
4475
  List connected email and LinkedIn sender accounts
4411
4476
 
4412
- Read sender accounts available to the current actor. Most sequence enrollments only need an assignee and will use that user's default connected senders. Use these IDs for advanced team routing, explicit sender pinning, or sender-account delegation management.
4477
+ Read sender accounts available to the current actor. Most sequence enrollments only need an assignee and will use that user's default connected senders. Use these IDs when the task owner/reviewer differs from the email or LinkedIn sender, for round-robin routing, or for sender-account delegation management.
4413
4478
 
4414
4479
  - Auth: `varies_by_subcommand`
4415
4480
  - Stability: `stable`
@@ -4452,7 +4517,7 @@ Get one sender account and its delegations
4452
4517
 
4453
4518
  Allow another user to send from a sender account
4454
4519
 
4455
- Owner/admin user-session management command. Use when a manager owns a connected account but another workspace user should be allowed to send assigned sequence work from it.
4520
+ Owner/admin user-session management command. Use when one user's connected account should be available for another workspace user to manage or execute assigned sequence work.
4456
4521
 
4457
4522
  - Auth: `user_session`
4458
4523
  - Stability: `stable`
@@ -4505,7 +4570,7 @@ List accessible sender accounts
4505
4570
  --json-pointer JSON_POINTER] [--verbose]`
4506
4571
  - Options:
4507
4572
  - `--channel` (kind=string; choices=email,linkedin): Filter by sender channel
4508
- - `--include-all` (kind=boolean; when omitted=False; when present=True): Admin only: include all sender accounts in the organization
4573
+ - `--include-all` (kind=boolean; when omitted=False; when present=True): Admin only: include all sender accounts in the organization, useful when resolving explicit team-managed senders
4509
4574
  - `--base-url` (kind=string; default=https://app.autotouch.ai): API base URL (default: https://app.autotouch.ai)
4510
4575
  - `--token` (kind=string; sensitive): Developer API key / JWT token
4511
4576
  - `--use-x-api-key` (kind=boolean; when omitted=False; when present=True): Send token via X-API-Key header
@@ -4789,7 +4854,7 @@ Check sequence email delivery readiness
4789
4854
 
4790
4855
  Enroll leads into a sequence (best for one-off/manual adds)
4791
4856
 
4792
- Direct enroll is best for one-off/manual adds. The simple path is lead IDs plus --assigned-to-user-id; when sender account flags are omitted, execution uses that user's default connected email/LinkedIn senders. Use add_to_sequence when rows should auto-enroll from a research table over time.
4857
+ Direct enroll is best for one-off/manual adds. The simple path is lead IDs plus --assigned-to-user-id, which is the task owner/reviewer. When sender account flags are omitted, execution uses that user's default connected email/LinkedIn senders. For team-managed work, keep --assigned-to-user-id as the manager/reviewer and pass --email-sender-account-id / --linkedin-sender-account-id for the account that should actually send. Use add_to_sequence when rows should auto-enroll from a research table over time.
4793
4858
 
4794
4859
  - Auth: `developer_key_or_user_session`
4795
4860
  - Stability: `stable`
@@ -4850,8 +4915,8 @@ Direct enroll is best for one-off/manual adds. The simple path is lead IDs plus
4850
4915
  - `--variable-map-file` (kind=file; input=file): variableMap JSON file
4851
4916
  - `--variable-overrides-json` (kind=json; input=json): variableOverrides JSON
4852
4917
  - `--variable-overrides-file` (kind=file; input=file): variableOverrides JSON file
4853
- - `--assigned-to-user-id` (kind=string): Assign generated tasks to this user; default senders for that user are used unless sender routing flags are supplied
4854
- - `--email-sender-account-id` (kind=string): Advanced: pin email steps to this sender account instead of using the assignee's default
4918
+ - `--assigned-to-user-id` (kind=string): Task owner/reviewer. Default senders for that user are used unless sender routing flags are supplied
4919
+ - `--email-sender-account-id` (kind=string): Advanced: pin personal email steps to this sender account instead of using the assignee's default
4855
4920
  - `--linkedin-sender-account-id` (kind=string): Advanced: pin LinkedIn steps to this sender account instead of using the assignee's default
4856
4921
  - `--sender-account` (kind=string; repeatable; comma-separated): Advanced sender mapping channel=id (email=... or linkedin=...); repeatable, comma-separated
4857
4922
  - `--assignment-plan-json` (kind=json; input=json): Advanced: assignmentPlan JSON array for team/round-robin routing
@@ -5013,13 +5078,13 @@ Print copy-ready sequence payload templates
5013
5078
  - Output modes: `json, ndjson, human`
5014
5079
  - Example:
5015
5080
  - `autotouch sequences recipe [-h]
5016
- [--type {all,create,manual_review,automated_template,bulk_automated,linkedin_outreach,enroll}]
5081
+ [--type {all,create,manual_review,automated_template,bulk_automated,linkedin_outreach,research_field_routing,enroll}]
5017
5082
  [--out-file OUT_FILE]
5018
5083
  [--output {json,ndjson,human}] [--compact]
5019
5084
  [--select SELECT |
5020
5085
  --json-pointer JSON_POINTER]`
5021
5086
  - Options:
5022
- - `--type` (kind=string; choices=all,create,manual_review,automated_template,bulk_automated,linkedin_outreach,enroll; default=all)
5087
+ - `--type` (kind=string; choices=all,create,manual_review,automated_template,bulk_automated,linkedin_outreach,research_field_routing,enroll; default=all)
5023
5088
  - `--out-file` (kind=file; input=file): Write template JSON to file (single type writes payload only)
5024
5089
  - `--output` (kind=string; choices=json,ndjson,human; default=json): Output mode
5025
5090
  - `--compact` (kind=boolean; when omitted=False; when present=True): Print compact JSON
@@ -5090,7 +5155,7 @@ Set sequence status
5090
5155
 
5091
5156
  Choose and sync Instantly/Smartlead sender accounts for a managed bulk sequence
5092
5157
 
5093
- For bulk sequences, sender accounts live on the provider campaign rather than per enrollment. Use --account-selection all_eligible for the org's eligible provider account group, or --account-selection selected with --selected-account for specific mailbox emails.
5158
+ For bulk sequences, sender accounts live on the provider campaign rather than per enrollment. Use --account-selection all_eligible for the org's eligible provider account group, or --account-selection selected with --selected-account for specific mailbox emails. This is separate from personal email/LinkedIn senderAccountIds used by sequence enrollments.
5094
5159
 
5095
5160
  - Auth: `developer_key_or_user_session`
5096
5161
  - Stability: `stable`