63 Commits

Author SHA1 Message Date
AnySearch 15b7ea5039 Merge pull request #42 from anysearch-ai/fix_checksum_version
chore: bump skill to v3.1.1 and add checksums
v3.1.1
2026-09-02 10:38:40 +08:00
LT 1febbe8a69 chore: bump skill to v3.1.1 and add checksums 2026-08-28 11:28:22 +08:00
AnySearch 4d6cef918e Merge pull request #39 from anysearch-ai/feat_http-cli
feat: migrate skill CLI to direct HTTP
v3.1.0
2026-08-21 16:00:26 +08:00
LT 7da7b97933 docs: bump documented version to v3.1.0 2026-08-21 15:26:38 +08:00
LT b0e82263c4 fix: restore max results limit to 10 2026-08-20 18:35:03 +08:00
LT 3415e35d1b docs: update registration email guidance 2026-08-20 16:54:03 +08:00
LT 8d0445a12f feat: migrate skill CLI to direct HTTP
Use the public REST endpoints across Python, Node.js, PowerShell, and Bash; keep batch search client-side, preserve legacy CLI aliases, add cross-runtime contract coverage, update the Extract documentation, and remove the unused runtime configuration template.
2026-08-19 15:05:51 +08:00
AnySearch 69b3088fd3 Merge pull request #36 from anysearch-ai/chore/remove-test-plan
docs: remove test plan
2026-08-04 18:34:36 +08:00
LT 955aae73f3 docs: remove test plan 2026-08-04 18:28:08 +08:00
AnySearch caed9eac2e Merge pull request #32 from anysearch-ai/chore/bump-version-3.0.1
chore: bump version to 3.0.1
v3.0.1
2026-07-22 18:27:43 +08:00
LT b792c0ea15 chore: bump version to 3.0.1 2026-07-22 18:24:36 +08:00
AnySearch 395f5782de Merge pull request #31 from anysearch-ai/fix_batch-max-results-and-remove-promo
Fix batch max results and remove promo
2026-07-22 13:25:23 +08:00
ltspace c2ad44eff2 docs: remove third-party promo content injected via external PRs
Removes two sections confirmed by maintainers as unintended external promotion:
- Social Media Source Workflow sections (PR #19): redundant restatement of the
  generic vertical-search flow used to advertise the author's own npm package
- Download History chart (PR #10): third-party skill-history.com badge
2026-07-22 10:34:18 +08:00
ltspace 78af2d9a81 feat: add shared --max_results to batch_search across all CLI runtimes
batch_search previously supported three shared params (--domain/-d,
--sub_domain/-s, --sub_domain_params/--sdp/-p) but not --max_results/-m,
even though every query item and the search subcommand already support
it. Adds --max_results/-m as a fourth shared param with identical
semantics: injected into each query item that doesn't set its own
max_results, item's own value always takes precedence. The shared value
injected is capped at min(x, 10), matching the search subcommand's
client-side cap; a per-item max_results is left uncapped as before.

Implemented identically in scripts/anysearch_cli.py, .js, .ps1, and .sh.
Updated scripts/shared/doc_spec.md and SKILL.md to document the new
shared param, and added a TEST_PLAN.md case.
2026-07-22 10:09:57 +08:00
AnySearch b35d514731 Merge pull request #30 from anysearch-ai/release/v3.0.0
chore: bump version to v3.0.0
v3.0.0
2026-07-21 15:56:55 +08:00
lut 3e35d018cc chore: bump version to v3.0.0 2026-07-21 15:49:15 +08:00
morecry b1a1bae6b2 docs: add Chinese README (README_zh.md)
Closes #29
2026-07-14 14:26:40 +08:00
AnySearch f599a79a67 Merge pull request #27 from anysearch-ai/fix_api_resp_error
feat: add one-step email registration and X-Anysearch-Client header
2026-07-10 18:55:45 +08:00
morecry 1104d96620 Update README.md 2026-07-10 18:22:21 +08:00
Martha Kivelson 339cd8cbbc feat:add important prompt 2026-07-10 17:57:52 +08:00
huxiaoyang c96a4a5fdd fix: correct error message format 2026-06-26 15:00:23 +08:00
LT 061debc690 docs: add verification-email spam/junk note to registration success steps 2026-06-25 18:08:41 +08:00
LT 88cb9e9a17 feat: add one-step email registration and X-Anysearch-Client header
- document single-call email registration flow (no verification code) with
  success/error code handling in README
- send X-Anysearch-Client: skill/2.1.0 header from js/ps1/py/sh CLI scripts,
  version aligned with SKILL.md
2026-06-24 11:32:41 +08:00
morecry 8f2b027971 docs: fix sdp params to match finance.quote schema (type/symbol/cn_code) 2026-06-22 12:03:54 +08:00
morecry 1969ad0b0a docs: update finance.us_stock references to finance.quote 2026-06-22 11:50:46 +08:00
morecry 9b7a66d628 ci: install Python dependencies before running doc checks
The Python CLI requires 'requests' (from requirements.txt) which is not
pre-installed in the CI environment. Without it, 'import requests' fails
and the doc output check reports a false positive non-zero exit.
2026-06-19 01:12:31 +08:00
Gavin Lin fe00bdef4a docs(readme): add ClawHub download history chart (#10)
- Add skill-history.com download trend SVG chart to README
- Shows daily-updating download count visualization
2026-06-19 01:00:48 +08:00
Burak Bayır 0216a50eb5 docs: add social_media vertical domain workflow examples (#19)
- Add social_media usage examples to README.md, SKILL.md, and doc_spec.md
- Clarify AnySearch as public discovery layer vs. authenticated tool handoff
- Document TweetClaw as example follow-up tool for account-scoped X/Twitter operations
2026-06-19 01:00:35 +08:00
Aldrich Chen df03f5a427 docs: fix runtime requirements, install instructions, and doc_spec table (#15)
- Correct bash requirement to 3.2+ (not 4+), document jq/curl deps
- Fix README file structure tree (add missing entries)
- Pin download to v2.1.0 release tag
- Unify API key URL to /console/api-keys
- Fix batch_search --query/--queries mutual exclusion in doc_spec
2026-06-19 01:00:19 +08:00
Aldrich Chen e7c9f62a71 fix(bash): arg-parser hang on trailing flag + unchecked HTTP status (#13)
- Add _need_val guard to prevent infinite loop when value-taking flag has no argument
- Check HTTP status code from curl; treat >= 400 as error on stderr with exit 1
- Aligns Bash CLI error behavior with Python/Node CLIs
2026-06-19 01:00:04 +08:00
Aldrich Chen cc0c63288e fix(bash): unreplaced {{LANG_INVOKE}} placeholders in doc output + add CI (#12)
- Fix extra closing brace in generate.py pattern that prevented placeholder substitution in bash CLI
- Regenerate scripts/anysearch_cli.sh with correct doc output
- Add .github/workflows/ci.yml: runs generate.py --check and asserts no unreplaced placeholders
2026-06-19 00:59:50 +08:00
Aldrich Chen 681e0ed132 fix: make .env parsing consistent across Bash, Node, and PowerShell CLIs (#14)
- Fix # in API key values being silently truncated (treated as inline comment)
- Only treat # as comment at start of line, matching Python CLI behavior
- Unify .env loader behavior across all four CLIs
2026-06-19 00:56:24 +08:00
Aldrich Chen bcc5e62bd2 fix(powershell): nested sub_domain_params on PS 5.1 and API key leak on redirects (#17)
- Fix ConvertFrom-Json -AsHashtable unavailable on PS 5.1 by adding ConvertTo-HashtableDeep recursive conversion
- Prevent Authorization header from leaking on HTTP redirects
2026-06-19 00:55:56 +08:00
Aiden 947fce8f12 Merge pull request #18 from anysearch-ai/chore/add-license
chore: add Apache-2.0 license
2026-06-12 18:55:47 +08:00
Aiden 6b9a9c69e9 chore: add Apache-2.0 license, NOTICE, and license badge 2026-06-12 18:49:32 +08:00
morecry db3d76e559 feat: flatten sub_domain_params to key=value format, add batch_search shared params
- Add --sdp/--sub_domain_params/-p flag accepting key=value pairs (e.g. ticker=AAPL,period=2025)
- Add {key:value} brace format parsing for PowerShell compatibility (inner quotes stripped)
- JSON format retained as backward-compatible fallback
- batch_search: add shared --domain/--sub_domain/--sdp injected into all query items
- batch_search: per-item sub_domain_params as KV string auto-parsed to object
- batch_search (bash): add repair fallback for mangled JSON (PowerShell-stripped quotes)
- Update SKILL.md cheat sheet and doc_spec.md option tables/examples
- Add TEST_PLAN.md for end-to-end skill validation
2026-06-03 12:16:24 +08:00
morecry 9b0d9e4b81 docs: add security policy for vulnerability reporting 2026-06-03 08:48:59 +08:00
AnySearch 4c0c4c158e Update SKILL.md 2026-06-03 08:16:48 +08:00
morecry d508873b5f fix: align anysearch-skill with MCP backend semantics
- Remove query_format and zone from doc_spec.md return columns (no longer in MCP)
- Rewrite Decision Flow to match MCP Path 1/Path 2/Hybrid model
- Rewrite Vertical Search Semantic Constraints: remove query_format section
- SKILL.md: replace query_format with required params, align decision flow
- Rename list_domains references to get_sub_domains across all files
- Remove --content_types, --zone, --freshness from search tool docs
- Add CLI-only annotation to batch_search --query shorthand
- Regenerate all 4 CLI scripts via generate.py
2026-06-03 07:47:08 +08:00
morecry 40f125534a Merge pull request #6 from cagedbird043/avoid-redundant-doc-calls
Avoid redundant doc calls during routine skill use
2026-05-25 14:37:36 +08:00
morecry 235ad9146b Merge pull request #5 from cagedbird043/fix-opencode-skill-path
Fix OpenCode skill install path
2026-05-25 14:31:28 +08:00
Mice 4ea0ddbe71 Avoid redundant doc calls during routine skill use
Agents can interpret the recommended entry point as requiring a doc call whenever the skill is loaded. That burns a tool call before ordinary search/extract operations and still leaves room for argument hallucinations such as extract --format markdown.

This updates the guidance to treat runtime.conf as the fast path for routine calls, keeps doc as a recovery/reference command, and documents the exact extract argument shape.

Constraint: No CLI behavior or API contract changes; documentation-only patch
Rejected: Change the CLI to accept --format markdown | hides agent misuse instead of documenting the real interface
Confidence: high
Scope-risk: narrow
Tested: git diff --check; python3 scripts/anysearch_cli.py extract --help
Not-tested: Live behavior inside upstream-installed OpenCode or Claude Code sessions
2026-05-24 15:51:02 +08:00
Mice 776509d9c1 Fix OpenCode skill install path
The README currently points OpenCode users at ~/.opencode/skills, but current OpenCode user configuration stores skills under ~/.config/opencode/skills. The wrong path makes a copied skill undiscoverable and can push users or agents toward other agent-specific copies.

Constraint: Documentation-only path correction
Confidence: high
Scope-risk: narrow
Tested: git diff --check
Not-tested: Fresh OpenCode install discovery from the corrected directory
2026-05-24 15:51:01 +08:00
morecry e47e2df96d refactor: update anysearch CLI scripts to use shared constants and doc rendering 2026-05-22 18:58:39 +08:00
morecry 3ca54f8b9c feat: centralize anysearch vertical domain constants and doc spec 2026-05-22 18:58:27 +08:00
morecry e02099467d docs: update SKILL.md vertical domain guidance 2026-05-22 18:58:13 +08:00
Quan Tu f151d4c2f4 Merge pull request #1 from VITRENZA/fix-python-cli-rest-search
Fix Python CLI .env priority and BOM handling
2026-05-19 14:14:16 +08:00
AnySearch 81fb88663a Update README.md 2026-05-19 13:23:20 +08:00
J 603df8e11c Fix Python CLI .env priority and BOM handling
Allow `.env` values to override existing environment variables, matching the documented priority order. Also read `.env` with `utf-8-sig` and strip a possible BOM from key names for better Windows compatibility.

允许 `.env` 中的值覆盖已有环境变量,以符合文档中声明的优先级顺序。同时使用 `utf-8-sig` 读取 `.env`,并清理 key name 中可能存在的 BOM,以提升 Windows 兼容性。
2026-05-19 12:02:16 +08:00
Quan Tu 1c88e422f3 Merge pull request #3 from AkashiSensei/fix/python3-detection
docs: clarify python runtime detection and shared install path
2026-05-19 11:25:17 +08:00