parallel-web-tools 0.8.2__tar.gz → 0.9.2rc1__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 (54) hide show
  1. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/PKG-INFO +3 -3
  2. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/__init__.py +1 -1
  3. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/cli/commands.py +10 -8
  4. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/cli/skills.py +4 -3
  5. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/skills.py +16 -5
  6. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/bigquery/cloud_function/requirements.txt +1 -1
  7. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/pyproject.toml +2 -2
  8. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/.gitignore +0 -0
  9. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/README.md +0 -0
  10. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/cli/__init__.py +0 -0
  11. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/cli/planner.py +0 -0
  12. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/cli/updater.py +0 -0
  13. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/__init__.py +0 -0
  14. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/auth.py +0 -0
  15. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/batch.py +0 -0
  16. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/credentials.py +0 -0
  17. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/endpoints.py +0 -0
  18. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/findall.py +0 -0
  19. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/memory.py +0 -0
  20. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/monitor.py +0 -0
  21. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/polling.py +0 -0
  22. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/research.py +0 -0
  23. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/result.py +0 -0
  24. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/runner.py +0 -0
  25. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/schema.py +0 -0
  26. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/service.py +0 -0
  27. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/service_types.py +0 -0
  28. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/sql_utils.py +0 -0
  29. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/core/user_agent.py +0 -0
  30. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/__init__.py +0 -0
  31. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/bigquery/__init__.py +0 -0
  32. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/bigquery/cloud_function/main.py +0 -0
  33. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/bigquery/deploy.py +0 -0
  34. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/bigquery/sql/create_functions.sql +0 -0
  35. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/duckdb/__init__.py +0 -0
  36. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/duckdb/batch.py +0 -0
  37. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/duckdb/findall.py +0 -0
  38. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/duckdb/udf.py +0 -0
  39. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/polars/__init__.py +0 -0
  40. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/polars/enrich.py +0 -0
  41. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/snowflake/__init__.py +0 -0
  42. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/snowflake/deploy.py +0 -0
  43. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/snowflake/sql/01_setup.sql +0 -0
  44. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/snowflake/sql/02_create_udf.sql +0 -0
  45. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/snowflake/sql/03_cleanup.sql +0 -0
  46. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/spark/__init__.py +0 -0
  47. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/spark/streaming.py +0 -0
  48. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/spark/udf.py +0 -0
  49. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/integrations/utils.py +0 -0
  50. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/processors/__init__.py +0 -0
  51. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/processors/bigquery.py +0 -0
  52. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/processors/csv.py +0 -0
  53. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/processors/duckdb.py +0 -0
  54. {parallel_web_tools-0.8.2 → parallel_web_tools-0.9.2rc1}/parallel_web_tools/processors/json.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: parallel-web-tools
3
- Version: 0.8.2
3
+ Version: 0.9.2rc1
4
4
  Summary: Parallel Tools: CLI and Python SDK for AI-powered web intelligence
5
5
  Project-URL: Homepage, https://github.com/parallel-web/parallel-web-tools
6
6
  Project-URL: Documentation, https://docs.parallel.ai
@@ -24,7 +24,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
24
24
  Requires-Python: >=3.10
25
25
  Requires-Dist: click>=8.1.0
26
26
  Requires-Dist: httpx>=0.25.0
27
- Requires-Dist: parallel-web<2,>=1.2.0
27
+ Requires-Dist: parallel-web<2,>=1.3.0
28
28
  Requires-Dist: python-dotenv>=1.0.0
29
29
  Requires-Dist: rich>=13.0.0
30
30
  Provides-Extra: all
@@ -43,7 +43,7 @@ from parallel_web_tools.core import (
43
43
  update_monitor,
44
44
  )
45
45
 
46
- __version__ = "0.8.2"
46
+ __version__ = "0.9.2rc1"
47
47
 
48
48
  __all__ = [
49
49
  # Auth
@@ -1088,18 +1088,19 @@ def memory_clear(memory_scope_key: str | None, confirm_clear: bool, output_json:
1088
1088
  # Search Command
1089
1089
  # =============================================================================
1090
1090
 
1091
- # Beta -> V1 mode mapping. Beta had three modes; V1 has three (turbo/basic/
1092
- # advanced). We keep the old values as accepted CLI inputs and translate them so
1093
- # existing scripts work.
1091
+ # Search mode translation. V1 accepts turbo/fast/basic/advanced natively; the
1092
+ # Beta-only values stay accepted CLI inputs and are translated so existing
1093
+ # scripts keep working. Beta's `fast` used to downgrade to basic, but V1 now has
1094
+ # a native fast mode of its own, so the name passes through.
1094
1095
  _SEARCH_MODE_MAP = {
1095
- "fast": "basic",
1096
- "one-shot": "basic",
1097
- "agentic": "advanced",
1098
1096
  "turbo": "turbo",
1097
+ "fast": "fast",
1099
1098
  "basic": "basic",
1100
1099
  "advanced": "advanced",
1100
+ "one-shot": "basic",
1101
+ "agentic": "advanced",
1101
1102
  }
1102
- _DEPRECATED_SEARCH_MODES = {"fast", "one-shot", "agentic"}
1103
+ _DEPRECATED_SEARCH_MODES = {"one-shot", "agentic"}
1103
1104
 
1104
1105
 
1105
1106
  def _emit_deprecation(message: str) -> None:
@@ -1166,7 +1167,8 @@ def build_search_v1_kwargs(
1166
1167
  "--mode",
1167
1168
  type=click.Choice(list(_SEARCH_MODE_MAP.keys())),
1168
1169
  default="basic",
1169
- help="Search mode: turbo (fastest), basic, or advanced (one-shot/fast → basic, agentic → advanced)",
1170
+ help="Search mode: turbo (fastest), fast (high quality within ~1s), basic, "
1171
+ "or advanced (highest quality; one-shot → basic, agentic → advanced)",
1170
1172
  show_default=True,
1171
1173
  )
1172
1174
  @click.option("--max-results", type=int, help="Maximum results (defaults to server-side default of 10)")
@@ -86,7 +86,8 @@ def create_skills_group(
86
86
  @click.option(
87
87
  "--project",
88
88
  is_flag=True,
89
- help="Install to .agents/skills in detected project root (default is global install).",
89
+ help="Install into the detected project root — .agents/skills, plus .claude/skills "
90
+ "when Claude Code is present (default is global install).",
90
91
  )
91
92
  @click.option(
92
93
  "--skill",
@@ -139,7 +140,7 @@ def create_skills_group(
139
140
  @click.option(
140
141
  "--project",
141
142
  is_flag=True,
142
- help="Uninstall from .agents/skills in detected project root (default is global install).",
143
+ help="Uninstall from the detected project root's skill directories (default is global install).",
143
144
  )
144
145
  @click.option("--json", "output_json", is_flag=True, help="Output as JSON")
145
146
  def skills_uninstall(project: bool, output_json: bool) -> None:
@@ -171,7 +172,7 @@ def create_skills_group(
171
172
  @click.option(
172
173
  "--project",
173
174
  is_flag=True,
174
- help="Reinstall in .agents/skills in detected project root (default is global install).",
175
+ help="Reinstall in the detected project root's skill directories (default is global install).",
175
176
  )
176
177
  @click.option(
177
178
  "--skill",
@@ -106,8 +106,14 @@ def resolve_install_dirs(project: bool, start: Path | None = None) -> list[Path]
106
106
 
107
107
  ``.agents/skills`` is the canonical cross-agent location and always comes first.
108
108
  Claude Code does not read it — it only discovers skills under ``.claude/skills`` —
109
- so when a Claude Code configuration directory is present we install there too.
110
- Agents that read both (Cursor, for example) de-duplicate by skill name.
109
+ so when Claude Code is present we install there too. Agents that read both
110
+ (Cursor, for example) de-duplicate by skill name.
111
+
112
+ Global installs mirror into the Claude Code configuration directory when it
113
+ exists; its absence means no Claude Code on this machine. Project installs
114
+ mirror into ``<root>/.claude/skills``, created if needed whenever the machine
115
+ has Claude Code — a repo missing ``.claude`` just hasn't stored Claude settings
116
+ yet, and skipping it would leave the skills invisible to Claude Code there.
111
117
 
112
118
  An explicit ``PARALLEL_SKILLS_GLOBAL_DIR`` override targets exactly one directory,
113
119
  on the assumption that a caller naming a path wants only that path written.
@@ -116,9 +122,14 @@ def resolve_install_dirs(project: bool, start: Path | None = None) -> list[Path]
116
122
  if not project and os.environ.get(GLOBAL_SKILLS_DIR_ENV):
117
123
  return [canonical]
118
124
 
119
- claude_config_dir = canonical.parent.parent / ".claude" if project else get_claude_config_dir()
120
- if not claude_config_dir.is_dir():
121
- return [canonical]
125
+ if project:
126
+ claude_config_dir = canonical.parent.parent / ".claude"
127
+ if not claude_config_dir.is_dir() and not get_claude_config_dir().is_dir():
128
+ return [canonical]
129
+ else:
130
+ claude_config_dir = get_claude_config_dir()
131
+ if not claude_config_dir.is_dir():
132
+ return [canonical]
122
133
 
123
134
  return _dedupe_dirs([canonical, claude_config_dir / "skills"])
124
135
 
@@ -1,5 +1,5 @@
1
1
  # Cloud Function dependencies for BigQuery Remote Function
2
2
  functions-framework>=3.0.0
3
3
  flask>=3.0.0
4
- parallel-web-tools>=0.8.2
4
+ parallel-web-tools>=0.9.2rc1
5
5
  google-cloud-secret-manager>=2.20.0
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "parallel-web-tools"
7
- version = "0.8.2"
7
+ version = "0.9.2rc1"
8
8
  description = "Parallel Tools: CLI and Python SDK for AI-powered web intelligence"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -29,7 +29,7 @@ classifiers = [
29
29
  ]
30
30
 
31
31
  dependencies = [
32
- "parallel-web>=1.2.0,<2",
32
+ "parallel-web>=1.3.0,<2",
33
33
  "python-dotenv>=1.0.0",
34
34
  # CLI dependencies (minimal - search, extract, enrich with CLI args)
35
35
  "click>=8.1.0",