google-trends-for-agent 0.2.43 → 0.2.45
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/CHANGELOG.md +15 -0
- package/README.md +106 -61
- package/README.zh-CN.md +106 -59
- package/dist/dsh-client.js +400 -114
- package/dist/version-check.d.ts +1 -1
- package/dist/version-check.js +1 -1
- package/docs/assets/social-preview.png +0 -0
- package/docs/clients/dsh.md +1 -1
- package/docs/reference.md +1 -1
- package/package.json +2 -2
package/dist/version-check.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { ActorRuntime } from './actor-runtime.js';
|
|
|
2
2
|
import { type EgressMode } from './options.js';
|
|
3
3
|
export declare const GTFA_RELEASES_URL = "https://github.com/meka-im/google-trends-for-agent/releases";
|
|
4
4
|
export declare const GTFA_LATEST_RELEASE_API_URL = "https://api.github.com/repos/meka-im/google-trends-for-agent/releases/latest";
|
|
5
|
-
export declare const GTFA_UPGRADE_COMMAND = "dsh plugin --profile web add
|
|
5
|
+
export declare const GTFA_UPGRADE_COMMAND = "dsh plugin --profile web add google-trends-for-agent@latest";
|
|
6
6
|
export declare const VERSION_STATUS_PATH = "/api/gtfa.version";
|
|
7
7
|
export interface ReleaseInfo {
|
|
8
8
|
version: string;
|
package/dist/version-check.js
CHANGED
|
@@ -2,7 +2,7 @@ import { parseActorRuntime } from './actor-runtime.js';
|
|
|
2
2
|
import { GTFA_SOURCE_URL } from './options.js';
|
|
3
3
|
export const GTFA_RELEASES_URL = `${GTFA_SOURCE_URL}/releases`;
|
|
4
4
|
export const GTFA_LATEST_RELEASE_API_URL = 'https://api.github.com/repos/meka-im/google-trends-for-agent/releases/latest';
|
|
5
|
-
export const GTFA_UPGRADE_COMMAND = 'dsh plugin --profile web add
|
|
5
|
+
export const GTFA_UPGRADE_COMMAND = 'dsh plugin --profile web add google-trends-for-agent@latest';
|
|
6
6
|
export const VERSION_STATUS_PATH = '/api/gtfa.version';
|
|
7
7
|
const SEMVER_RE = /^v?(\d{1,5})\.(\d{1,5})\.(\d{1,5})(?:-([a-zA-Z0-9.-]{1,40}))?$/;
|
|
8
8
|
/** Parse a bounded X.Y.Z(-prerelease) version string. */
|
|
Binary file
|
package/docs/clients/dsh.md
CHANGED
|
@@ -42,7 +42,7 @@ allowBuilds:
|
|
|
42
42
|
|
|
43
43
|
## Configure egress & Apify OAuth
|
|
44
44
|
|
|
45
|
-
1. Open **
|
|
45
|
+
1. Open the **Google Trends** sidebar panel and click **Plugin settings** (or go to **Plugins → Google Trends → Components → Google Trends / gtfa**).
|
|
46
46
|
2. Choose an **Egress** mode and click **Save**:
|
|
47
47
|
- **Local (this machine)**: direct from your machine (honors `HTTPS_PROXY` / `HTTP_PROXY`).
|
|
48
48
|
- **Public Actor** *(recommended if local IP is rate-limited)*: runs `meka.im/google-trends-for-agent` on demand with Apify residential proxy.
|
package/docs/reference.md
CHANGED
|
@@ -123,7 +123,7 @@ allowBuilds:
|
|
|
123
123
|
"google-trends-for-agent@https://codeload.github.com/meka-im/google-trends-for-agent/tar.gz/<commit>": true
|
|
124
124
|
```
|
|
125
125
|
|
|
126
|
-
The plugin is enabled by default after install.
|
|
126
|
+
The plugin is enabled by default after install. Click **Plugin settings** directly in the **Google Trends** panel—or open **Plugins → Google Trends → Components → Google Trends / gtfa**—for the standalone settings page. In the **Connection** section, use the three-way **Egress** control to pick **Local (this machine)**, **Public Actor**, or **My own Actor**. Click **Save** to apply egress changes; no restart is needed.
|
|
127
127
|
|
|
128
128
|
### Apify OAuth and credential resolution
|
|
129
129
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-trends-for-agent",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.45",
|
|
4
4
|
"description": "Search-interest signals for AI agents — an unofficial Google Trends client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"type": "git",
|
|
130
130
|
"url": "git+https://github.com/meka-im/google-trends-for-agent.git"
|
|
131
131
|
},
|
|
132
|
-
"homepage": "https://
|
|
132
|
+
"homepage": "https://meka.im/google-trends-for-agent",
|
|
133
133
|
"bugs": {
|
|
134
134
|
"url": "https://github.com/meka-im/google-trends-for-agent/issues"
|
|
135
135
|
},
|