autotouch-cli 0.2.88__tar.gz → 0.2.91__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.
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/PKG-INFO +2 -2
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/README.md +1 -1
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/agents.py +21 -4
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/data/CLI_REFERENCE.md +6 -3
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/data/cli-manifest.json +31 -3
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/templates.py +183 -17
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli.egg-info/PKG-INFO +2 -2
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_shared/provider_registry.py +45 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/pyproject.toml +1 -1
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/MANIFEST.in +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/__init__.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/cli.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/cli_contracts.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/__init__.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/auth.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/cells.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/columns.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/jobs.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/leads.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/linkedin.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/list_build.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/prompts.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/rows.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/search.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/sequences.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/tables.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/tasks.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/webhooks.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/commands/workspace_secrets.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/core/__init__.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/core/auth.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/core/config.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/core/csv_import.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/core/http.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/core/io.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/core/output.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/core/polling.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/core/run.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/core/validation.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/exceptions.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/mongo_status.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/parser.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/parser_groups.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli/sequence_support.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli.egg-info/SOURCES.txt +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli.egg-info/dependency_links.txt +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli.egg-info/entry_points.txt +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli.egg-info/requires.txt +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_cli.egg-info/top_level.txt +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_shared/__init__.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_shared/linkedin_contract.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_shared/linkedin_filters.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_shared/list_build_contract.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/autotouch_shared/search_contract.py +0 -0
- {autotouch_cli-0.2.88 → autotouch_cli-0.2.91}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: autotouch-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.91
|
|
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
|
|
@@ -178,7 +178,7 @@ For automation or agent-driven setup, use:
|
|
|
178
178
|
- `autotouch cli-manifest --output json` for the local machine-readable command contract
|
|
179
179
|
- `autotouch cli-reference` for the shipped parser-generated reference
|
|
180
180
|
- `autotouch capabilities --output json` for provider/workflow contracts
|
|
181
|
-
- `autotouch --version` should be `0.2.
|
|
181
|
+
- `autotouch --version` should be `0.2.91` or newer for structured company list builds without user-supplied keywords, stored list-build input lookup, research-workspace list-build guidance, the cleaned single LinkedIn-sourced list-build path, Exa Company Search up to 100 results, scheduled agent `--target ACCOUNTS|LEADS`, paced HTTP Request column contracts, V2 sequence flowGraph recipes, and real agent soft-delete with associated-table handling
|
|
182
182
|
- `autotouch capabilities --output json --select list_builds` for documented list-build inputs such as geography IDs, company size buckets, profile language, and company IDs
|
|
183
183
|
- `autotouch list-build inputs` and `autotouch list-build pricing` before creating durable list-build jobs
|
|
184
184
|
- `autotouch list-build companies` and `autotouch list-build leads` for durable LinkedIn-sourced company and lead list builds with Smart Table-owned background workers, visible progress, and no user-owned LinkedIn connection requirement
|
|
@@ -153,7 +153,7 @@ For automation or agent-driven setup, use:
|
|
|
153
153
|
- `autotouch cli-manifest --output json` for the local machine-readable command contract
|
|
154
154
|
- `autotouch cli-reference` for the shipped parser-generated reference
|
|
155
155
|
- `autotouch capabilities --output json` for provider/workflow contracts
|
|
156
|
-
- `autotouch --version` should be `0.2.
|
|
156
|
+
- `autotouch --version` should be `0.2.91` or newer for structured company list builds without user-supplied keywords, stored list-build input lookup, research-workspace list-build guidance, the cleaned single LinkedIn-sourced list-build path, Exa Company Search up to 100 results, scheduled agent `--target ACCOUNTS|LEADS`, paced HTTP Request column contracts, V2 sequence flowGraph recipes, and real agent soft-delete with associated-table handling
|
|
157
157
|
- `autotouch capabilities --output json --select list_builds` for documented list-build inputs such as geography IDs, company size buckets, profile language, and company IDs
|
|
158
158
|
- `autotouch list-build inputs` and `autotouch list-build pricing` before creating durable list-build jobs
|
|
159
159
|
- `autotouch list-build companies` and `autotouch list-build leads` for durable LinkedIn-sourced company and lead list builds with Smart Table-owned background workers, visible progress, and no user-owned LinkedIn connection requirement
|
|
@@ -9,6 +9,8 @@ import time
|
|
|
9
9
|
from dataclasses import dataclass
|
|
10
10
|
from typing import Any, Callable, Dict, Optional, Sequence
|
|
11
11
|
|
|
12
|
+
from autotouch_cli.exceptions import AutotouchInputError
|
|
13
|
+
|
|
12
14
|
|
|
13
15
|
AGENT_TARGET_CHOICES = ["LEADS", "ACCOUNTS"]
|
|
14
16
|
|
|
@@ -267,15 +269,20 @@ def cmd_agents_update(args: argparse.Namespace, *, runtime: AgentCommandRuntime)
|
|
|
267
269
|
|
|
268
270
|
|
|
269
271
|
def cmd_agents_delete(args: argparse.Namespace, *, runtime: AgentCommandRuntime) -> None:
|
|
272
|
+
delete_associated_tables = bool(getattr(args, "delete_associated_tables", False))
|
|
273
|
+
if delete_associated_tables and not bool(getattr(args, "yes", False)):
|
|
274
|
+
raise AutotouchInputError(
|
|
275
|
+
"deleting associated agent tables is destructive. Re-run with --delete-associated-tables --yes to confirm."
|
|
276
|
+
)
|
|
277
|
+
|
|
270
278
|
token = runtime.resolve_token(args.token, required=True)
|
|
271
279
|
data = runtime.request_api(
|
|
272
|
-
"
|
|
280
|
+
"DELETE", f"/api/agents/{args.agent_id}",
|
|
273
281
|
base_url=args.base_url, token=token,
|
|
274
282
|
use_x_api_key=args.use_x_api_key,
|
|
275
|
-
|
|
283
|
+
params={"deleteAssociatedTables": delete_associated_tables},
|
|
276
284
|
timeout=args.timeout, verbose=args.verbose,
|
|
277
285
|
)
|
|
278
|
-
sys.stderr.write(f"Agent {args.agent_id} deleted.\n")
|
|
279
286
|
runtime.print_json(data, args.compact)
|
|
280
287
|
|
|
281
288
|
|
|
@@ -574,8 +581,18 @@ def register_agents_subcommands(
|
|
|
574
581
|
pau.set_defaults(func=handlers["update"])
|
|
575
582
|
|
|
576
583
|
# -- delete --
|
|
577
|
-
pad = agents_sub.add_parser("delete", help="
|
|
584
|
+
pad = agents_sub.add_parser("delete", help="Soft-delete an agent and detach its associated tables")
|
|
578
585
|
pad.add_argument("agent_id", help="Agent ID")
|
|
586
|
+
pad.add_argument(
|
|
587
|
+
"--delete-associated-tables",
|
|
588
|
+
action="store_true",
|
|
589
|
+
help="Also queue deletion for agent-owned associated tables; shared tables are kept",
|
|
590
|
+
)
|
|
591
|
+
pad.add_argument(
|
|
592
|
+
"--yes",
|
|
593
|
+
action="store_true",
|
|
594
|
+
help="Confirm destructive deletion of associated tables",
|
|
595
|
+
)
|
|
579
596
|
add_api_common_arguments(pad)
|
|
580
597
|
pad.set_defaults(func=handlers["delete"])
|
|
581
598
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Autotouch CLI Reference
|
|
2
2
|
|
|
3
|
-
Generated from the installed parser for `autotouch-cli` `0.2.
|
|
3
|
+
Generated from the installed parser for `autotouch-cli` `0.2.91`.
|
|
4
4
|
Manifest schema version: `2`.
|
|
5
5
|
|
|
6
6
|
## Output Modes
|
|
@@ -85,20 +85,23 @@ Create a new agent
|
|
|
85
85
|
|
|
86
86
|
#### `autotouch agents delete`
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
Soft-delete an agent and detach its associated tables
|
|
89
89
|
|
|
90
90
|
- Auth: `developer_key_or_user_session`
|
|
91
91
|
- Stability: `stable`
|
|
92
92
|
- Destructive: `yes`
|
|
93
93
|
- Output modes: `json, ndjson, human`
|
|
94
94
|
- Example:
|
|
95
|
-
- `autotouch agents delete [-h] [--
|
|
95
|
+
- `autotouch agents delete [-h] [--delete-associated-tables] [--yes]
|
|
96
|
+
[--base-url BASE_URL] [--token TOKEN]
|
|
96
97
|
[--use-x-api-key] [--timeout TIMEOUT]
|
|
97
98
|
[--output {json,ndjson,human}] [--compact]
|
|
98
99
|
[--select SELECT | --json-pointer JSON_POINTER]
|
|
99
100
|
[--verbose]
|
|
100
101
|
agent_id`
|
|
101
102
|
- Options:
|
|
103
|
+
- `--delete-associated-tables` (kind=boolean; when omitted=False; when present=True): Also queue deletion for agent-owned associated tables; shared tables are kept
|
|
104
|
+
- `--yes` (kind=boolean; when omitted=False; when present=True): Confirm destructive deletion of associated tables
|
|
102
105
|
- `--base-url` (kind=string; default=https://app.autotouch.ai): API base URL (default: https://app.autotouch.ai)
|
|
103
106
|
- `--token` (kind=string; sensitive): Developer API key / JWT token
|
|
104
107
|
- `--use-x-api-key` (kind=boolean; when omitted=False; when present=True): Send token via X-API-Key header
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.2.
|
|
2
|
+
"version": "0.2.91",
|
|
3
3
|
"manifest_schema_version": 2,
|
|
4
4
|
"entry_points": {
|
|
5
5
|
"autotouch": "autotouch_cli.cli:main",
|
|
@@ -35569,7 +35569,7 @@
|
|
|
35569
35569
|
],
|
|
35570
35570
|
"aliases": [],
|
|
35571
35571
|
"group": "agents",
|
|
35572
|
-
"help": "
|
|
35572
|
+
"help": "Soft-delete an agent and detach its associated tables",
|
|
35573
35573
|
"description": null,
|
|
35574
35574
|
"notes": null,
|
|
35575
35575
|
"required_flags": [],
|
|
@@ -35585,6 +35585,34 @@
|
|
|
35585
35585
|
}
|
|
35586
35586
|
],
|
|
35587
35587
|
"options": [
|
|
35588
|
+
{
|
|
35589
|
+
"dest": "delete_associated_tables",
|
|
35590
|
+
"required": false,
|
|
35591
|
+
"help": "Also queue deletion for agent-owned associated tables; shared tables are kept",
|
|
35592
|
+
"kind": "boolean",
|
|
35593
|
+
"action": "store_true",
|
|
35594
|
+
"nargs": 0,
|
|
35595
|
+
"default_when_omitted": false,
|
|
35596
|
+
"value_when_present": true,
|
|
35597
|
+
"flags": [
|
|
35598
|
+
"--delete-associated-tables"
|
|
35599
|
+
],
|
|
35600
|
+
"takes_value": false
|
|
35601
|
+
},
|
|
35602
|
+
{
|
|
35603
|
+
"dest": "yes",
|
|
35604
|
+
"required": false,
|
|
35605
|
+
"help": "Confirm destructive deletion of associated tables",
|
|
35606
|
+
"kind": "boolean",
|
|
35607
|
+
"action": "store_true",
|
|
35608
|
+
"nargs": 0,
|
|
35609
|
+
"default_when_omitted": false,
|
|
35610
|
+
"value_when_present": true,
|
|
35611
|
+
"flags": [
|
|
35612
|
+
"--yes"
|
|
35613
|
+
],
|
|
35614
|
+
"takes_value": false
|
|
35615
|
+
},
|
|
35588
35616
|
{
|
|
35589
35617
|
"dest": "base_url",
|
|
35590
35618
|
"required": false,
|
|
@@ -35738,7 +35766,7 @@
|
|
|
35738
35766
|
},
|
|
35739
35767
|
"availability": null,
|
|
35740
35768
|
"examples": [
|
|
35741
|
-
"autotouch agents delete [-h] [--base-url BASE_URL] [--token TOKEN]\n [--use-x-api-key] [--timeout TIMEOUT]\n [--output {json,ndjson,human}] [--compact]\n [--select SELECT | --json-pointer JSON_POINTER]\n [--verbose]\n agent_id"
|
|
35769
|
+
"autotouch agents delete [-h] [--delete-associated-tables] [--yes]\n [--base-url BASE_URL] [--token TOKEN]\n [--use-x-api-key] [--timeout TIMEOUT]\n [--output {json,ndjson,human}] [--compact]\n [--select SELECT | --json-pointer JSON_POINTER]\n [--verbose]\n agent_id"
|
|
35742
35770
|
],
|
|
35743
35771
|
"stability": "stable",
|
|
35744
35772
|
"handler": "_fn"
|
|
@@ -199,7 +199,7 @@ SEQUENCE_RECIPE_TYPES = [
|
|
|
199
199
|
|
|
200
200
|
SEQUENCE_RECIPES: Dict[str, Dict[str, Any]] = {
|
|
201
201
|
"create": {
|
|
202
|
-
"name": "Outbound
|
|
202
|
+
"name": "Outbound flow",
|
|
203
203
|
"sourceTableId": "<TABLE_ID>",
|
|
204
204
|
"sourceTableName": "ICP Prospects",
|
|
205
205
|
"exitRules": {
|
|
@@ -243,20 +243,37 @@ SEQUENCE_RECIPES: Dict[str, Dict[str, Any]] = {
|
|
|
243
243
|
"aiDraft": True,
|
|
244
244
|
"scriptTemplate": "",
|
|
245
245
|
},
|
|
246
|
-
{
|
|
247
|
-
"id": "linkedin_1",
|
|
248
|
-
"kind": "LINKEDIN_CHAT_MESSAGE",
|
|
249
|
-
"waitDays": 2,
|
|
250
|
-
"waitHours": 0,
|
|
251
|
-
"waitMinutes": 0,
|
|
252
|
-
"executionMode": "AUTOMATED",
|
|
253
|
-
"aiDraft": True,
|
|
254
|
-
"scriptTemplate": "",
|
|
255
|
-
},
|
|
256
246
|
],
|
|
247
|
+
"flowGraph": {
|
|
248
|
+
"version": 1,
|
|
249
|
+
"nodes": [
|
|
250
|
+
{
|
|
251
|
+
"id": "step:email_1",
|
|
252
|
+
"kind": "action",
|
|
253
|
+
"title": "Send email",
|
|
254
|
+
"sourceStepId": "email_1",
|
|
255
|
+
"position": {"x": 0, "y": 0},
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"id": "step:call_1",
|
|
259
|
+
"kind": "action",
|
|
260
|
+
"title": "Call",
|
|
261
|
+
"sourceStepId": "call_1",
|
|
262
|
+
"position": {"x": 0, "y": 160},
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
"edges": [
|
|
266
|
+
{
|
|
267
|
+
"id": "edge:email_1:call_1",
|
|
268
|
+
"source": "step:email_1",
|
|
269
|
+
"target": "step:call_1",
|
|
270
|
+
"kind": "next",
|
|
271
|
+
},
|
|
272
|
+
],
|
|
273
|
+
},
|
|
257
274
|
},
|
|
258
275
|
"bulk_automated": {
|
|
259
|
-
"name": "Bulk outbound
|
|
276
|
+
"name": "Bulk outbound flow",
|
|
260
277
|
"sourceTableId": "<TABLE_ID>",
|
|
261
278
|
"sourceTableName": "ICP Prospects",
|
|
262
279
|
"exitRules": {
|
|
@@ -302,9 +319,36 @@ SEQUENCE_RECIPES: Dict[str, Dict[str, Any]] = {
|
|
|
302
319
|
"bodyTemplate": "Hi {{first_name}}, circling back on this.",
|
|
303
320
|
},
|
|
304
321
|
],
|
|
322
|
+
"flowGraph": {
|
|
323
|
+
"version": 1,
|
|
324
|
+
"nodes": [
|
|
325
|
+
{
|
|
326
|
+
"id": "step:email_1",
|
|
327
|
+
"kind": "action",
|
|
328
|
+
"title": "Send first email",
|
|
329
|
+
"sourceStepId": "email_1",
|
|
330
|
+
"position": {"x": 0, "y": 0},
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"id": "step:email_2",
|
|
334
|
+
"kind": "action",
|
|
335
|
+
"title": "Follow-up email",
|
|
336
|
+
"sourceStepId": "email_2",
|
|
337
|
+
"position": {"x": 0, "y": 160},
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
"edges": [
|
|
341
|
+
{
|
|
342
|
+
"id": "edge:email_1:email_2",
|
|
343
|
+
"source": "step:email_1",
|
|
344
|
+
"target": "step:email_2",
|
|
345
|
+
"kind": "next",
|
|
346
|
+
},
|
|
347
|
+
],
|
|
348
|
+
},
|
|
305
349
|
},
|
|
306
350
|
"linkedin_outreach": {
|
|
307
|
-
"name": "LinkedIn outreach
|
|
351
|
+
"name": "LinkedIn outreach flow",
|
|
308
352
|
"sourceTableId": "<TABLE_ID>",
|
|
309
353
|
"sourceTableName": "ICP Prospects",
|
|
310
354
|
"exitRules": {
|
|
@@ -342,10 +386,24 @@ SEQUENCE_RECIPES: Dict[str, Dict[str, Any]] = {
|
|
|
342
386
|
"aiDraft": True,
|
|
343
387
|
"scriptTemplate": "",
|
|
344
388
|
},
|
|
389
|
+
{
|
|
390
|
+
"id": "email_fallback_1",
|
|
391
|
+
"kind": "EMAIL",
|
|
392
|
+
"waitDays": 0,
|
|
393
|
+
"waitHours": 0,
|
|
394
|
+
"waitMinutes": 0,
|
|
395
|
+
"executionMode": "AUTOMATED",
|
|
396
|
+
"emailSendMode": "AUTOMATED",
|
|
397
|
+
"emailIsReply": False,
|
|
398
|
+
"appendSignature": True,
|
|
399
|
+
"aiDraft": True,
|
|
400
|
+
"subjectTemplate": "",
|
|
401
|
+
"bodyTemplate": "",
|
|
402
|
+
},
|
|
345
403
|
{
|
|
346
404
|
"id": "message_1",
|
|
347
405
|
"kind": "LINKEDIN_CHAT_MESSAGE",
|
|
348
|
-
"waitDays":
|
|
406
|
+
"waitDays": 0,
|
|
349
407
|
"waitHours": 0,
|
|
350
408
|
"waitMinutes": 0,
|
|
351
409
|
"executionMode": "AUTOMATED",
|
|
@@ -353,6 +411,110 @@ SEQUENCE_RECIPES: Dict[str, Dict[str, Any]] = {
|
|
|
353
411
|
"scriptTemplate": "",
|
|
354
412
|
},
|
|
355
413
|
],
|
|
414
|
+
"flowGraph": {
|
|
415
|
+
"version": 1,
|
|
416
|
+
"nodes": [
|
|
417
|
+
{
|
|
418
|
+
"id": "step:visit_1",
|
|
419
|
+
"kind": "action",
|
|
420
|
+
"title": "Visit profile",
|
|
421
|
+
"sourceStepId": "visit_1",
|
|
422
|
+
"position": {"x": 0, "y": 0},
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"id": "step:connect_1",
|
|
426
|
+
"kind": "action",
|
|
427
|
+
"title": "Connect",
|
|
428
|
+
"sourceStepId": "connect_1",
|
|
429
|
+
"position": {"x": 0, "y": 160},
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"id": "condition:connect_1:accepted",
|
|
433
|
+
"kind": "condition",
|
|
434
|
+
"title": "Wait for connection accepted",
|
|
435
|
+
"parentNodeId": "step:connect_1",
|
|
436
|
+
"metadata": {
|
|
437
|
+
"decisionType": "outcome_wait",
|
|
438
|
+
"listenFor": "linkedin_connection_accepted",
|
|
439
|
+
"waitMode": "up_to",
|
|
440
|
+
"waitDays": 7,
|
|
441
|
+
"waitHours": 0,
|
|
442
|
+
"waitMinutes": 0,
|
|
443
|
+
},
|
|
444
|
+
"position": {"x": 0, "y": 320},
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"id": "branch:connect_1:accepted",
|
|
448
|
+
"kind": "branch",
|
|
449
|
+
"branchId": "connected",
|
|
450
|
+
"title": "Connected",
|
|
451
|
+
"parentNodeId": "condition:connect_1:accepted",
|
|
452
|
+
"position": {"x": -180, "y": 480},
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"id": "branch:connect_1:timeout",
|
|
456
|
+
"kind": "branch",
|
|
457
|
+
"branchId": "not-connected",
|
|
458
|
+
"title": "Not connected after 7 days",
|
|
459
|
+
"parentNodeId": "condition:connect_1:accepted",
|
|
460
|
+
"position": {"x": 180, "y": 480},
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"id": "step:message_1",
|
|
464
|
+
"kind": "action",
|
|
465
|
+
"title": "LinkedIn message",
|
|
466
|
+
"parentNodeId": "branch:connect_1:accepted",
|
|
467
|
+
"sourceStepId": "message_1",
|
|
468
|
+
"position": {"x": -180, "y": 640},
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"id": "step:email_fallback_1",
|
|
472
|
+
"kind": "action",
|
|
473
|
+
"title": "Fallback email",
|
|
474
|
+
"parentNodeId": "branch:connect_1:timeout",
|
|
475
|
+
"sourceStepId": "email_fallback_1",
|
|
476
|
+
"position": {"x": 180, "y": 640},
|
|
477
|
+
},
|
|
478
|
+
],
|
|
479
|
+
"edges": [
|
|
480
|
+
{
|
|
481
|
+
"id": "edge:visit_1:connect_1",
|
|
482
|
+
"source": "step:visit_1",
|
|
483
|
+
"target": "step:connect_1",
|
|
484
|
+
"kind": "next",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"id": "edge:connect_1:accepted_condition",
|
|
488
|
+
"source": "step:connect_1",
|
|
489
|
+
"target": "condition:connect_1:accepted",
|
|
490
|
+
"kind": "condition",
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"id": "edge:accepted_condition:connected",
|
|
494
|
+
"source": "condition:connect_1:accepted",
|
|
495
|
+
"target": "branch:connect_1:accepted",
|
|
496
|
+
"kind": "branch",
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"id": "edge:accepted_condition:timeout",
|
|
500
|
+
"source": "condition:connect_1:accepted",
|
|
501
|
+
"target": "branch:connect_1:timeout",
|
|
502
|
+
"kind": "branch",
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"id": "edge:connected:message_1",
|
|
506
|
+
"source": "branch:connect_1:accepted",
|
|
507
|
+
"target": "step:message_1",
|
|
508
|
+
"kind": "branch",
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"id": "edge:timeout:email_fallback_1",
|
|
512
|
+
"source": "branch:connect_1:timeout",
|
|
513
|
+
"target": "step:email_fallback_1",
|
|
514
|
+
"kind": "branch",
|
|
515
|
+
},
|
|
516
|
+
],
|
|
517
|
+
},
|
|
356
518
|
},
|
|
357
519
|
"enroll": {
|
|
358
520
|
"leadIds": ["<LEAD_ID_1>", "<LEAD_ID_2>"],
|
|
@@ -365,25 +527,28 @@ SEQUENCE_RECIPES: Dict[str, Dict[str, Any]] = {
|
|
|
365
527
|
|
|
366
528
|
SEQUENCE_RECIPE_NOTES: Dict[str, List[str]] = {
|
|
367
529
|
"create": [
|
|
368
|
-
"Recommended default: personal delivery plus AUTOMATED email with aiDraft=true.",
|
|
530
|
+
"Recommended default: V2 flowGraph with personal delivery plus AUTOMATED email with aiDraft=true.",
|
|
531
|
+
"flowGraph.version=1 is the executable authoring layer; keep steps aligned with graph action sourceStepId values.",
|
|
369
532
|
"AI draft generates subject + body at execution time.",
|
|
370
|
-
"AI draft for
|
|
533
|
+
"AI draft for call generates a call script.",
|
|
371
534
|
"External sequence create/update requires sourceTableId.",
|
|
372
535
|
"Pass --actor-user-id on mutating commands when you need explicit actor resolution.",
|
|
373
536
|
],
|
|
374
537
|
"bulk_automated": [
|
|
538
|
+
"Emits a V2 flowGraph with two automated email actions.",
|
|
375
539
|
"Use this when the provider should send email automatically at scale.",
|
|
376
540
|
"Bulk delivery sequences cannot contain MANUAL email steps, so aiDraft does not apply to those email steps.",
|
|
377
541
|
"Activate only after provider readiness is configured (autotouch sequences delivery-status).",
|
|
378
542
|
],
|
|
379
543
|
"linkedin_outreach": [
|
|
380
|
-
"
|
|
544
|
+
"Emits a V2 flowGraph: visit profile, connect, wait for accepted connection, then branch to LinkedIn message or fallback email.",
|
|
381
545
|
"Supported step kinds: LINKEDIN_VISIT_PROFILE, LINKEDIN_CONNECT, LINKEDIN_CHAT_MESSAGE, LINKEDIN_VOICE_MESSAGE.",
|
|
382
546
|
"LINKEDIN_VISIT_PROFILE is always AUTOMATED and visits the lead's profile (notifies by default).",
|
|
383
547
|
"LINKEDIN_CONNECT sends a connection request; scriptTemplate is the invite note (max 300 chars).",
|
|
384
548
|
"LINKEDIN_CHAT_MESSAGE sends a direct message; uses InMail credits for 2nd/3rd degree connections.",
|
|
385
549
|
"LINKEDIN_VOICE_MESSAGE sends a voice note; only works for 1st degree connections.",
|
|
386
550
|
"Connection degree (1st/2nd/3rd/out_of_network) is auto-detected from the LinkedIn profile.",
|
|
551
|
+
"The connected branch is explicit in flowGraph; the fallback email branch is explicit and does not happen silently.",
|
|
387
552
|
"Set stopOnLinkedInReply=true in exitRules to stop the sequence when the lead replies on LinkedIn.",
|
|
388
553
|
"Leads must have a linkedin_url field to be reachable for LinkedIn steps.",
|
|
389
554
|
],
|
|
@@ -1787,6 +1952,7 @@ def emit_sequences_recipe(args: argparse.Namespace, runtime: TemplateRuntime) ->
|
|
|
1787
1952
|
usage_lookup={
|
|
1788
1953
|
"create": "autotouch sequences create --data-file <payload.json>",
|
|
1789
1954
|
"bulk_automated": "autotouch sequences create --data-file <payload.json>",
|
|
1955
|
+
"linkedin_outreach": "autotouch sequences create --data-file <payload.json>",
|
|
1790
1956
|
"enroll": "autotouch sequences enroll --sequence-id <SEQUENCE_ID> --data-file <payload.json>",
|
|
1791
1957
|
},
|
|
1792
1958
|
label="recipe",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: autotouch-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.91
|
|
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
|
|
@@ -178,7 +178,7 @@ For automation or agent-driven setup, use:
|
|
|
178
178
|
- `autotouch cli-manifest --output json` for the local machine-readable command contract
|
|
179
179
|
- `autotouch cli-reference` for the shipped parser-generated reference
|
|
180
180
|
- `autotouch capabilities --output json` for provider/workflow contracts
|
|
181
|
-
- `autotouch --version` should be `0.2.
|
|
181
|
+
- `autotouch --version` should be `0.2.91` or newer for structured company list builds without user-supplied keywords, stored list-build input lookup, research-workspace list-build guidance, the cleaned single LinkedIn-sourced list-build path, Exa Company Search up to 100 results, scheduled agent `--target ACCOUNTS|LEADS`, paced HTTP Request column contracts, V2 sequence flowGraph recipes, and real agent soft-delete with associated-table handling
|
|
182
182
|
- `autotouch capabilities --output json --select list_builds` for documented list-build inputs such as geography IDs, company size buckets, profile language, and company IDs
|
|
183
183
|
- `autotouch list-build inputs` and `autotouch list-build pricing` before creating durable list-build jobs
|
|
184
184
|
- `autotouch list-build companies` and `autotouch list-build leads` for durable LinkedIn-sourced company and lead list builds with Smart Table-owned background workers, visible progress, and no user-owned LinkedIn connection requirement
|
|
@@ -1089,12 +1089,20 @@ _PROVIDER_CONTRACTS: Tuple[ResearchTableProviderContract, ...] = (
|
|
|
1089
1089
|
"headers": {},
|
|
1090
1090
|
"body": None,
|
|
1091
1091
|
"timeoutSeconds": 30,
|
|
1092
|
+
"rateLimit": {
|
|
1093
|
+
"enabled": False,
|
|
1094
|
+
"minDelayMs": 5000,
|
|
1095
|
+
"jitterMs": 1000,
|
|
1096
|
+
"maxConcurrency": 1,
|
|
1097
|
+
"scope": "credential",
|
|
1098
|
+
},
|
|
1092
1099
|
},
|
|
1093
1100
|
},
|
|
1094
1101
|
recipe_notes=(
|
|
1095
1102
|
"Use {{column_key}} placeholders in config.url, config.headers, and config.body to reference row values.",
|
|
1096
1103
|
"Use {{secrets.name}} to resolve a workspace secret by name.",
|
|
1097
1104
|
"body can be null, a string template, or an object whose values are templated and sent as JSON.",
|
|
1105
|
+
"Set config.rateLimit.enabled=true for paced background execution. The current safe mode is maxConcurrency=1 with minDelayMs/jitterMs spacing, coordinated across workers by organization, host, and scope.",
|
|
1098
1106
|
"The stored cell value is the parsed response body (JSON or text), not the full transport envelope.",
|
|
1099
1107
|
"Preview the resolved request with `autotouch columns test-http-request --table-id <TABLE_ID> --data-file column.json` before creating or running the column.",
|
|
1100
1108
|
),
|
|
@@ -1123,6 +1131,15 @@ _PROVIDER_CONTRACTS: Tuple[ResearchTableProviderContract, ...] = (
|
|
|
1123
1131
|
"headers_field": "config.headers",
|
|
1124
1132
|
"body_field": "config.body",
|
|
1125
1133
|
"timeout_field": "config.timeoutSeconds",
|
|
1134
|
+
"rate_limit": {
|
|
1135
|
+
"field": "config.rateLimit",
|
|
1136
|
+
"enabled": "optional boolean",
|
|
1137
|
+
"minDelayMs": "optional integer milliseconds between worker requests",
|
|
1138
|
+
"jitterMs": "optional integer random extra delay in milliseconds",
|
|
1139
|
+
"maxConcurrency": "currently only 1 is supported for strict serialized pacing",
|
|
1140
|
+
"scope": "credential | host | column",
|
|
1141
|
+
"credential_scope": "organization + resolved host + referenced {{secrets.name}} names; falls back to column id when no secrets are referenced",
|
|
1142
|
+
},
|
|
1126
1143
|
"supported_methods": list(_HTTP_REQUEST_METHODS),
|
|
1127
1144
|
"template_syntax": {
|
|
1128
1145
|
"row_values": "{{column_key}}",
|
|
@@ -1564,6 +1581,34 @@ def validate_column_provider_contract(
|
|
|
1564
1581
|
"http_request config.body must be null, a string, or an object.",
|
|
1565
1582
|
hint="Use a string body template or a JSON object whose values contain {{column_key}} placeholders.",
|
|
1566
1583
|
)
|
|
1584
|
+
rate_limit = cfg.get("rateLimit") or cfg.get("rate_limit")
|
|
1585
|
+
if rate_limit is not None:
|
|
1586
|
+
if not isinstance(rate_limit, dict):
|
|
1587
|
+
raise ProviderContractValidationError(
|
|
1588
|
+
"invalid_field",
|
|
1589
|
+
"http_request config.rateLimit must be an object when provided.",
|
|
1590
|
+
hint="Use {\"enabled\": true, \"minDelayMs\": 5000, \"jitterMs\": 1000, \"maxConcurrency\": 1, \"scope\": \"credential\"}.",
|
|
1591
|
+
)
|
|
1592
|
+
max_concurrency = rate_limit.get("maxConcurrency", rate_limit.get("max_concurrency", 1))
|
|
1593
|
+
try:
|
|
1594
|
+
parsed_max_concurrency = int(float(max_concurrency))
|
|
1595
|
+
except (TypeError, ValueError):
|
|
1596
|
+
parsed_max_concurrency = 1
|
|
1597
|
+
if parsed_max_concurrency != 1:
|
|
1598
|
+
raise ProviderContractValidationError(
|
|
1599
|
+
"invalid_field",
|
|
1600
|
+
"http_request config.rateLimit.maxConcurrency currently supports only 1.",
|
|
1601
|
+
hint="Use maxConcurrency: 1 for serialized paced requests.",
|
|
1602
|
+
detail={"maxConcurrency": max_concurrency},
|
|
1603
|
+
)
|
|
1604
|
+
scope = str(rate_limit.get("scope") or "credential").strip().lower()
|
|
1605
|
+
if scope not in {"credential", "host", "column"}:
|
|
1606
|
+
raise ProviderContractValidationError(
|
|
1607
|
+
"invalid_field",
|
|
1608
|
+
"http_request config.rateLimit.scope must be credential, host, or column.",
|
|
1609
|
+
hint="Use scope: \"credential\" for API keys, cookies, and session-backed providers.",
|
|
1610
|
+
detail={"scope": rate_limit.get("scope")},
|
|
1611
|
+
)
|
|
1567
1612
|
return contract
|
|
1568
1613
|
|
|
1569
1614
|
return contract
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|