hicreator-agent 0.1.5 → 0.2.0

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
@@ -1,6 +1,6 @@
1
1
  # hiCreator Agent
2
2
 
3
- Connect AI agents to hiCreator creator search, email lookup, and favorites. The installer provides verified one-step setup for Codex, Claude Code, and Cursor. Any client that supports remote Streamable HTTP MCP with a custom `Authorization` header can use the same six tools.
3
+ Connect AI agents to hiCreator creator search, email lookup, and complete favorite-folder workflows. The installer provides verified one-step setup for Codex, Claude Code, and Cursor. Any client that supports remote Streamable HTTP MCP with a custom `Authorization` header can use the same tools.
4
4
 
5
5
  ## Requirements
6
6
 
@@ -14,7 +14,7 @@ Connect AI agents to hiCreator creator search, email lookup, and favorites. The
14
14
  npx --yes --prefer-online hicreator-agent@latest setup
15
15
  ```
16
16
 
17
- The installer detects supported clients, shows masked `*` feedback while the API key is entered, validates its format, and verifies the remote MCP connection without making a paid call. Invalid keys can be entered again, and temporary network or server failures retry the free connection check up to three times. Client configuration is written only after verification succeeds.
17
+ The installer detects supported clients, shows masked `*` feedback while the API key is entered, validates its format, and verifies the remote MCP connection using only protocol initialization and tool discovery. Invalid keys can be entered again, and temporary network or server failures retry the connection check up to three times. Client configuration is written only after verification succeeds.
18
18
 
19
19
  To choose clients explicitly:
20
20
 
@@ -38,6 +38,8 @@ npx --yes --prefer-online hicreator-agent@latest prepare --json
38
38
 
39
39
  AI search and similar-creator search each cost 0.5 credits per returned creator. Email lookup costs 0.1 credits for each valid creator profile URL. The skill never automatically retries paid tools.
40
40
 
41
+ Favorite-folder tools support creation, cursor pagination, 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
+
41
43
  ## Local Files
42
44
 
43
45
  - hiCreator state: `~/.hicreator/manifest.json`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hicreator-agent",
3
- "version": "0.1.5",
3
+ "version": "0.2.0",
4
4
  "description": "Install and update the hiCreator Agent Skill and remote MCP connection.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: hicreator
3
- description: Find Instagram, YouTube, or TikTok creators, find similar creators or public contact emails, and organize creators in hiCreator favorites. Use when the user asks for creator discovery, creator email lookup, or saving creator results to hiCreator.
3
+ description: Find Instagram, YouTube, or TikTok creators, look up public contact emails, and manage, share, or export hiCreator favorite folders. Use for creator discovery and hiCreator favorites workflows.
4
4
  ---
5
5
 
6
6
  # hiCreator
7
7
 
8
- Use the hiCreator MCP tools to find and organize creators through natural language.
8
+ Use the hiCreator MCP tools to find creators and manage Workspace favorite folders through natural language.
9
9
 
10
10
  Users can invoke the Skill explicitly or describe the request directly:
11
11
 
@@ -26,18 +26,43 @@ Run it once per user workflow, before the first hiCreator tool call. If it retur
26
26
 
27
27
  ## Workflow
28
28
 
29
- 1. Infer or confirm the platform, requested count, hard filters, and whether the user wants results saved.
29
+ 1. Identify whether the request is creator discovery, email lookup, or favorite-folder management. Infer or confirm only information required for that operation.
30
30
  2. Convert requested countries or regions to ISO 3166-1 alpha-2 codes before passing `regions` (for example, `US` or `GB`). Never pass country names.
31
31
  3. Use `search_creators_ai` for intent-based discovery or `find_similar_creators` for a reference account.
32
32
  4. Check returned results against hard constraints and state which constraints the data could not verify.
33
- 5. To save results, call `list_creator_folders`; create the destination favorites list with `create_creator_folder` only when needed; then call `add_creators_to_folder` once with stable `platform` and `creator_id` values from search results.
33
+ 5. To save results, call `list_creator_folders`; create the destination folder with `create_creator_folder` only when needed; then call `add_creators_to_folder` with stable `platform` and `creator_id` values from search results.
34
34
  6. Call `find_creator_email` only when the user explicitly asks for an email and the selected result does not already include one.
35
35
  7. Report returned count, verified constraints, favorites result, and any per-item failures.
36
36
 
37
+ ## Favorite Folders
38
+
39
+ - `list_creator_folders` and `list_creators_in_folder` use opaque cursor pagination. Reuse `nextCursor` unchanged and stop when it is `null`. Do not fabricate, edit, or reuse a cursor with a different platform filter.
40
+ - `rename_creator_folder` changes only the folder name. Names are unique within the Workspace.
41
+ - `add_creators_to_folder` and `remove_creators_from_folder` accept at most 100 items per call. Split larger explicit selections into stable batches and report every returned status. Removing a favorite never deletes the creator profile.
42
+ - Use `remove_creator_from_folder` for one creator. A missing membership returns `removed: false` and is not an error.
43
+ - `delete_creator_folder` permanently deletes the folder and all of its favorite memberships. Call it only after the user has explicitly identified the folder and confirmed permanent deletion in the current conversation. Never infer confirmation from a general cleanup request.
44
+
45
+ ## Sharing
46
+
47
+ Use `set_creator_folder_sharing` with one of these scopes:
48
+
49
+ - `workspace`: the stable link requires the viewer to sign in as a member of the same Workspace.
50
+ - `public`: anyone with the stable link can view the latest folder contents.
51
+
52
+ The response contains the canonical share URL. Switching from `public` back to `workspace` cancels public access but intentionally keeps the same slug and URL. Do not describe `workspace` as an unshared or link-disabled state.
53
+
54
+ ## Excel Export
55
+
56
+ `export_creator_folder` starts the product's existing asynchronous `creator.list.v1` export. It exports all platforms in the selected folder, using exactly one supported saved-date range: `today`, `7_days`, or `30_days`. If the user does not state the range, ask before starting. Do not claim all-time export support.
57
+
58
+ Use the user's IANA time zone when known; otherwise use `UTC` and state that choice. Export only data already stored by hiCreator; never call `find_creator_email` or another paid tool to enrich an export unless the user separately asks. Preserve the product's existing 100,000-row and file-size safeguards. After starting, call `get_creator_folder_export` with the returned job ID. A queued or running job is not a failure; check again without starting a second export. When the job succeeds, return the temporary download URL and file name. When it fails, report the returned error and do not silently create another job.
59
+
37
60
  ## Billing Safety
38
61
 
39
62
  `search_creators_ai` and `find_similar_creators` each cost 0.5 credits per returned creator. `find_creator_email` costs 0.1 credits for each valid creator profile URL. State the operation and quantity before a paid call. When the user's request already specifies them, proceed without asking the same question again.
40
63
 
64
+ Mention billing only before a paid call or when the user asks about it. Do not describe favorite-folder operations as free or volunteer that they do not consume credits.
65
+
41
66
  Never automatically retry a paid tool after a timeout, disconnect, or uncertain result. Tell the user the request may have been charged and ask them to inspect API history before deciding whether to retry. Never silently raise `limit`, broaden filters, run a second search, or perform email lookup.
42
67
 
43
- Favorites listing, creation, and batch add may be retried after a failure without repeating a paid operation. Do not claim support for deletion, rename, removal, or sharing.
68
+ Favorite-folder reads, idempotent add/remove calls, sharing changes, and export status checks may be retried without repeating a paid search. Never retry permanent folder deletion after an uncertain result without listing folders to verify whether it already succeeded. Never create a second export merely because the first is still queued or running.
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "hiCreator"
3
- short_description: "Find and organize creators with hiCreator"
4
- default_prompt: "Use hiCreator to find creators and organize the results in a folder."
3
+ short_description: "Find, organize, share, and export creators"
4
+ default_prompt: "Use hiCreator to find creators or manage my favorite folders."
package/src/mcp-check.js CHANGED
@@ -5,7 +5,15 @@ const EXPECTED_TOOLS = [
5
5
  "find_creator_email",
6
6
  "create_creator_folder",
7
7
  "list_creator_folders",
8
+ "rename_creator_folder",
9
+ "delete_creator_folder",
10
+ "list_creators_in_folder",
8
11
  "add_creators_to_folder",
12
+ "remove_creator_from_folder",
13
+ "remove_creators_from_folder",
14
+ "set_creator_folder_sharing",
15
+ "export_creator_folder",
16
+ "get_creator_folder_export",
9
17
  ];
10
18
 
11
19
  export class McpConnectionError extends Error {
@@ -97,7 +105,7 @@ export async function verifyMcp(mcpUrl, apiKey, { clientVersion = "unknown" } =
97
105
  if (!Array.isArray(tools)
98
106
  || EXPECTED_TOOLS.some((tool) => !tools.includes(tool))) {
99
107
  throw new McpConnectionError(
100
- "The hiCreator MCP server did not advertise all six tools.",
108
+ "The hiCreator MCP server did not advertise the complete toolset.",
101
109
  { kind: "protocol" },
102
110
  );
103
111
  }