@glasser-ai/cli 0.1.48 → 0.1.53
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/glasser.js +13 -9
- package/package.json +5 -1
package/dist/glasser.js
CHANGED
|
@@ -64543,18 +64543,18 @@ var SearchEndpointsRequest = Schema_exports.Struct({
|
|
|
64543
64543
|
cursor: Schema_exports.optional(Schema_exports.String),
|
|
64544
64544
|
task_id: TaskIdField,
|
|
64545
64545
|
/**
|
|
64546
|
-
*
|
|
64546
|
+
* 用户自己的诉求。**只在这里收** —— 它属于这件事,不属于其中某一次调用,
|
|
64547
64547
|
* 而 search 是这件事的第一次调用,也是 agent 手里那句话最新鲜的时候。
|
|
64548
64548
|
*
|
|
64549
|
-
*
|
|
64550
|
-
*
|
|
64549
|
+
* 要原话,不要转述(2026-09-22):转述给出的是需求的类型("Research one company"),
|
|
64550
|
+
* 不是需求;主语在成交那条路的 Run input 里本来就会收到。挡的是第三方自然人。
|
|
64551
64551
|
*
|
|
64552
64552
|
* 可选,而且必须可选:必填会让还没升级的调用方直接失败,也会逼一个不理解这个
|
|
64553
64553
|
* 字段的模型去编 —— 编出来的比 null 更糟,因为在数据里分不出来。
|
|
64554
64554
|
*/
|
|
64555
64555
|
user_request: Schema_exports.optional(
|
|
64556
64556
|
Schema_exports.String.annotate({
|
|
64557
|
-
description: "
|
|
64557
|
+
description: "What the user asked for, in their own words, with the subject in it \u2014 the company, domain, ticker, place or topic. Shorten a long request rather than rewriting it. Leave out personal details about third parties. Recorded against the task as background; it does not affect results."
|
|
64558
64558
|
})
|
|
64559
64559
|
)
|
|
64560
64560
|
});
|
|
@@ -64956,12 +64956,12 @@ var SOCIAL_PLATFORMS = [
|
|
|
64956
64956
|
"linkedin"
|
|
64957
64957
|
];
|
|
64958
64958
|
var SOCIAL_MODES = ["search", "profile", "feed", "post", "find"];
|
|
64959
|
-
var SOCIAL_RESEARCH_PROVIDERS = ["scrapecreators", "apify", "tikhub"];
|
|
64959
|
+
var SOCIAL_RESEARCH_PROVIDERS = ["scrapecreators", "apify", "tikhub", "pdl"];
|
|
64960
64960
|
var SocialResearchRequest = Schema_exports.Struct({
|
|
64961
64961
|
platform: Schema_exports.Literals(SOCIAL_PLATFORMS),
|
|
64962
64962
|
mode: Schema_exports.optional(
|
|
64963
64963
|
Schema_exports.Literals(SOCIAL_MODES).annotate({
|
|
64964
|
-
description: "Default search. search: posts matching query. profile: the account itself \u2014 bio, follower counts, links \u2014 from handle (reddit: the subreddit; linkedin: url of a person's profile or a company page). feed: the account's recent posts or videos, from handle (linkedin: url of a company page). post: one post or video from url. find: an account's other social profiles, from handle."
|
|
64964
|
+
description: "Default search. search: posts matching query. profile: the account itself \u2014 bio, follower counts, links \u2014 from handle (reddit: the subreddit; linkedin: url of a person's profile or a company page). feed: the account's recent posts or videos, from handle (linkedin: url of a company page). post: one post or video from url. find: an account's other social profiles, from handle (linkedin: url of a person's profile; reddit: subreddits matching query). Every platform supports every mode."
|
|
64965
64965
|
})
|
|
64966
64966
|
),
|
|
64967
64967
|
provider: providerField(SOCIAL_RESEARCH_PROVIDERS),
|
|
@@ -65172,7 +65172,7 @@ var solutions = HttpApiGroup_exports.make("Solutions").add(
|
|
|
65172
65172
|
operation(
|
|
65173
65173
|
"gtm-social-research",
|
|
65174
65174
|
"Social media search",
|
|
65175
|
-
`Search posts, read a profile or channel, fetch one post, or find an account's other profiles on Reddit, X, YouTube, TikTok, Instagram and LinkedIn. Read-only. Takes platform and mode instead of action. Providers: ScrapeCreators, Apify, TikHub.${SOLUTION_RUN_TAIL}`
|
|
65175
|
+
`Search posts, read a profile or channel, fetch one post, or find an account's other profiles on Reddit, X, YouTube, TikTok, Instagram and LinkedIn. Read-only. Takes platform and mode instead of action; every platform supports every mode. Providers: ScrapeCreators, Apify, TikHub, People Data Labs.${SOLUTION_RUN_TAIL}`
|
|
65176
65176
|
)
|
|
65177
65177
|
)
|
|
65178
65178
|
).add(
|
|
@@ -65692,7 +65692,7 @@ var search = Command_exports.make(
|
|
|
65692
65692
|
task: taskFlag,
|
|
65693
65693
|
userRequest: Flag_exports.string("user-request").pipe(
|
|
65694
65694
|
Flag_exports.optional,
|
|
65695
|
-
Flag_exports.withDescription("
|
|
65695
|
+
Flag_exports.withDescription("What the user asked for, in their own words, with the subject in it")
|
|
65696
65696
|
)
|
|
65697
65697
|
},
|
|
65698
65698
|
({ queryArg, query: queryFlag, limit, cursor, task, userRequest }) => Effect_exports.gen(function* () {
|
|
@@ -66565,7 +66565,7 @@ var runs2 = Command_exports.make("runs").pipe(
|
|
|
66565
66565
|
// package.json
|
|
66566
66566
|
var package_default = {
|
|
66567
66567
|
name: "@glasser-ai/cli",
|
|
66568
|
-
version: "0.1.
|
|
66568
|
+
version: "0.1.53",
|
|
66569
66569
|
description: "Search, inspect and run paid API endpoints with one Key \u2014 the Glasser CLI",
|
|
66570
66570
|
license: "MIT",
|
|
66571
66571
|
type: "module",
|
|
@@ -66580,6 +66580,10 @@ var package_default = {
|
|
|
66580
66580
|
"THIRD_PARTY_NOTICES"
|
|
66581
66581
|
],
|
|
66582
66582
|
homepage: "https://glasser.ai/docs/cli",
|
|
66583
|
+
author: "Glasser <dev@glasser.ai> (https://glasser.ai)",
|
|
66584
|
+
bugs: {
|
|
66585
|
+
email: "dev@glasser.ai"
|
|
66586
|
+
},
|
|
66583
66587
|
keywords: [
|
|
66584
66588
|
"glasser",
|
|
66585
66589
|
"cli",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glasser-ai/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.53",
|
|
4
4
|
"description": "Search, inspect and run paid API endpoints with one Key — the Glasser CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
"THIRD_PARTY_NOTICES"
|
|
16
16
|
],
|
|
17
17
|
"homepage": "https://glasser.ai/docs/cli",
|
|
18
|
+
"author": "Glasser <dev@glasser.ai> (https://glasser.ai)",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"email": "dev@glasser.ai"
|
|
21
|
+
},
|
|
18
22
|
"keywords": [
|
|
19
23
|
"glasser",
|
|
20
24
|
"cli",
|