hicreator-agent 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,7 +36,7 @@ npx --yes --prefer-online hicreator-agent@latest prepare --json
36
36
 
37
37
  ## Billing
38
38
 
39
- Twitter AI search and similar-creator search cost 2 credits per returned creator; Instagram, YouTube, and TikTok cost 0.5. Reverse email lookup costs 1 credit per matched unique email, with unmatched emails refunded. Email lookup costs 0.2 credits for each valid creator profile URL, including when no public email is found. Creator and video details each cost 0.1 credits per successful query. New audience reports cost 40 credits and fake-follower reports cost 30 credits; eligible existing reports can be reused. These are default prices; server pricing takes precedence. The skill never automatically retries paid queries or report submissions.
39
+ Twitter AI search and similar-creator search cost 2 credits per returned creator; Instagram, YouTube, and TikTok cost 0.5. Reverse email lookup accepts one `email` per call and returns all matching stored creators as flat objects, with nulls for missing fields. It costs 1 credit per matched email regardless of creator count, with unmatched emails refunded. Email lookup costs 0.2 credits for each valid creator profile URL, including when no public email is found. Creator and video details each cost 0.1 credits per successful query. New audience reports cost 40 credits and fake-follower reports cost 30 credits; eligible existing reports can be reused. These are default prices; server pricing takes precedence. The skill never automatically retries paid queries or report submissions.
40
40
 
41
41
  Favorite-folder tools support creation, cursor pagination, folder details, rename, permanent deletion, member listing, single or batch removal, Workspace/public sharing with a stable link, and asynchronous Excel export for today, the last 7 days, or the last 30 days. Excel exports reuse hiCreator's existing 100,000-row and file-size safeguards.
42
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hicreator-agent",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Install and update the hiCreator Agent Skill and remote MCP connection.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -58,9 +58,11 @@ The product's **Creator Lookup / 查达人** page supports all four platforms at
58
58
 
59
59
  ## Reverse lookup by email
60
60
 
61
- `find_creators_by_email` accepts `{ "emails": ["contact@example.com"] }`, with 1–100 complete addresses per call. The server trims, lowercases, and deduplicates before billing. It matches exact public contact emails against existing profiles across all four platforms; it does not crawl, refresh, or infer account ownership. One address may match multiple creators or platforms.
61
+ `find_creators_by_email` accepts exactly one complete address: `{ "email": "contact@example.com" }` (up to 254 characters). Do not send `emails`, arrays, limits, or pagination parameters. The server trims and lowercases the email before exact matching in the four platforms' email inventories, then joins the matching user IDs to stored profiles. It does not crawl, refresh, or infer account ownership.
62
62
 
63
- Read `data.matches`: each item has `email`, `creators`, and `hasMore`. At most 20 creators are returned per address; `hasMore: true` means truncated results, not a cursor. No pagination is provided. An empty result means no stored match, not that the email or creator does not exist. Each creator has `platform`, `canonicalUrl`, `retrievedAt`, and `creator`; `retrievedAt` is the stored profile update time. Use `creator.id` with `platform` when explicitly asked to save a match to favorites. Preserve the returned `requestId` and `billingRequestId` when reporting an uncertain paid result.
63
+ Read `data.email` and `data.creators`. All matching creators are returned, without a result cap or truncation; there is no `matches` wrapper, `hasMore`, or cursor. An empty `creators` array means no stored profile match, not that the email or creator does not exist. One email can match multiple creators across platforms; results are sorted by `platform` and `id`. A matched email costs once regardless of creator count; an unmatched email is refunded.
64
+
65
+ Each creator is a flat object using Creator Lookup / public search field names. Every field is present. Missing or platform-inapplicable values are `null`; known empty lists remain `[]`. Preserve nulls as unknown, never zero or false. Read [email reverse-lookup fields](references/email-reverse-lookup.md) for the response shape and complete field definitions. Use the top-level creator `id` with `platform` when explicitly asked to save a match to favorites. Preserve `requestId` and `billingRequestId` when reporting an uncertain paid result.
64
66
 
65
67
  ## Analysis reports
66
68
 
@@ -88,7 +90,7 @@ Save the returned job ID and call `get_creator_folder_export` for that same fold
88
90
 
89
91
  ## Cost and retries
90
92
 
91
- Default prices: Twitter search and similar search cost 2 credits per returned creator; the other three platforms cost 0.5 (the requested limit is reserved first and unused quantity is refunded). Reverse email lookup costs 1 credit per matched unique email, regardless of how many creators match; unmatched emails are refunded. Other defaults: email lookup is 0.2 credits per valid profile URL even when no email is found; creator and video details are 0.1 credits per successful query. A new audience report is 40 credits and a new fake-follower report is 30 credits. Eligible reports already purchased by the Workspace may be reused without a new purchase; the server determines eligibility. Configured server pricing and returned billing information take precedence over these defaults.
93
+ Default prices: Twitter search and similar search cost 2 credits per returned creator; the other three platforms cost 0.5 (the requested limit is reserved first and unused quantity is refunded). Reverse email lookup costs 1 credit per matched email, regardless of how many creators match; unmatched emails are refunded. Other defaults: email lookup is 0.2 credits per valid profile URL even when no email is found; creator and video details are 0.1 credits per successful query. A new audience report is 40 credits and a new fake-follower report is 30 credits. Eligible reports already purchased by the Workspace may be reused without a new purchase; the server determines eligibility. Configured server pricing and returned billing information take precedence over these defaults.
92
94
 
93
95
  Mention billing before a paid operation or when asked. State the operation and quantity; if the user has already specified them, proceed without asking again. Do not automatically add paid analysis or enrichment to a general discovery request.
94
96
 
@@ -0,0 +1,50 @@
1
+ # Reverse lookup by email
2
+
3
+ Call `find_creators_by_email` with `{ "email": "contact@example.com" }`. Exactly one email is accepted. The HTTP equivalent is `POST /openapi/v1/creators/by-email` with the same body.
4
+
5
+ ```json
6
+ {
7
+ "requestId": "<request-id>",
8
+ "billingRequestId": "<billing-request-id>",
9
+ "data": {
10
+ "email": "contact@example.com",
11
+ "creators": []
12
+ }
13
+ }
14
+ ```
15
+
16
+ `data.creators` contains all matching stored profiles in stable `platform`, `id` order. `[]` is a successful no-match response. There is no result cap, truncation flag, pagination, or nested `creator` object. The result is a stored snapshot; it does not trigger live collection, profile enrichment, or mail-contact registration. Requests are independent and billed once per matching email, not per creator. An unmatched email or execution failure is refunded. Do not automatically retry an uncertain paid result.
17
+
18
+ All creator fields below are always present. Only `id`, `platform`, and `email` are non-nullable. Other fields are `null` when missing or inapplicable to the platform. Known empty lists remain `[]`. Numeric zero and boolean false are real values. The identity is the pair `platform` + `id`; an ID alone is not unique across platforms.
19
+
20
+ | Field | Type | Meaning |
21
+ |---|---|---|
22
+ | `id` | string | Stable platform user/channel ID; use with `platform` for favorites. |
23
+ | `platform` | string | `instagram`, `youtube`, `tiktok`, or `twitter`. |
24
+ | `username` | string or null | Platform handle. |
25
+ | `fullName` | string or null | Display name. |
26
+ | `avatarUrl` | URL or null | Public stored avatar. |
27
+ | `profileUrl` | URL or null | Creator profile URL; YouTube uses the channel ID. |
28
+ | `youtubeChannelUrl` | URL or null | YouTube channel-ID URL; null on other platforms. |
29
+ | `youtubeHandleUrl` | URL or null | YouTube @handle URL; null on other platforms. |
30
+ | `biography` | string or null | Public biography. |
31
+ | `email` | string | Matched normalized public email, equal to `data.email`. |
32
+ | `externalLinks` | URL[] or null | Deduplicated public HTTP(S) links from the stored email and profile data. |
33
+ | `followerCount` | integer or null | Followers/subscribers. |
34
+ | `followingCount` | integer or null | Accounts followed; null for YouTube. |
35
+ | `region` | string or null | Creator region. |
36
+ | `language` | string or null | Primary content language. |
37
+ | `youtubeHasOfficialEmail` | boolean or null | Whether YouTube shows its official email contact button; unknown or other platforms are null. |
38
+ | `averagePlayCount`, `medianPlayCount` | number or null | Video-platform play metrics; null for Twitter. |
39
+ | `averageViewCount`, `medianViewCount` | number or null | Twitter post-view metrics; null on other platforms. |
40
+ | `averageEngagementRate`, `medianEngagementRate` | number or null | Engagement ratios; 0.045 means 4.5%. |
41
+ | `gender`, `ageRange`, `ethnicity` | string or null | Profile demographic classifications; unknown/inapplicable values are null. |
42
+ | `faceVisibility` | string or null | Face-visibility classification; null for Twitter. |
43
+ | `accountType` | string or null | Twitter account type; unknown or other platforms are null. |
44
+ | `accountPositioning` | string[] or null | Video-platform positioning labels or Twitter roles. |
45
+ | `aiDescription` | string or null | Stored AI creator description. |
46
+ | `lastOriginalPublishedAt` | ISO 8601 UTC or null | Latest stored Twitter original post time. |
47
+ | `lastActivityAt` | ISO 8601 UTC or null | Latest stored Twitter activity time. |
48
+ | `capturedAt` | ISO 8601 UTC or null | Stored Twitter capture time, not this request's fetch time. |
49
+
50
+ The flat field names align with public creator search and Creator Lookup. There is no similarity `score`, since this is an exact email match. Nulls do not authorize a separate paid enrichment call.