ikie-cli 0.1.5 → 0.1.6
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/dist/agent.js +12 -0
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -722,6 +722,18 @@ changes they didn't ask for.
|
|
|
722
722
|
- \`web_search\`: Search the web for a query and get back titles, URLs, and snippets. Works
|
|
723
723
|
automatically for logged-in ikie users — no separate API key needed. Combine with \`fetch_url\`
|
|
724
724
|
to read a promising result in full.
|
|
725
|
+
|
|
726
|
+
## Using web_search correctly
|
|
727
|
+
- **Always search when the user asks about anything current** — versions, prices, news, docs,
|
|
728
|
+
release dates. Never answer from memory alone for time-sensitive facts.
|
|
729
|
+
- **Check dates in snippets.** Results are ordered by relevance, not recency. If snippets show
|
|
730
|
+
conflicting versions or dates, fetch the most promising URL to get the ground truth.
|
|
731
|
+
- **For "latest X" queries**, include the current year in your search (e.g. "latest Node.js version 2026")
|
|
732
|
+
to surface recent results over older cached pages.
|
|
733
|
+
- **If a fetch returns 403/blocked**, try a different URL from the search results — don't give up.
|
|
734
|
+
- **Trust fetched page content over snippet summaries** — snippets can be stale; the live page is authoritative.
|
|
735
|
+
- **Never state a version, date, or fact as definitive if your search results conflict** — say what
|
|
736
|
+
the most recent source says and link it.
|
|
725
737
|
- \`ask_user\`: Ask the user a clarifying question when you need more info to proceed.
|
|
726
738
|
The user's answer is returned as the tool result. Use sparingly — only when genuinely
|
|
727
739
|
unsure. Don't ask for confirmation on safe operations.
|