deepline 0.1.274 → 0.1.275
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/bundling-sources/sdk/src/client.ts +12 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +12 -0
- package/dist/cli/index.js +73 -2
- package/dist/cli/index.mjs +73 -2
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +9 -1
- package/dist/index.mjs +9 -1
- package/package.json +1 -1
|
@@ -71,6 +71,7 @@ import type {
|
|
|
71
71
|
PublishSharePageRequest,
|
|
72
72
|
UpdateSharePageRequest,
|
|
73
73
|
ToolDefinition,
|
|
74
|
+
ProviderDefinition,
|
|
74
75
|
ToolSearchOptions,
|
|
75
76
|
ToolSearchResult,
|
|
76
77
|
ToolMetadata,
|
|
@@ -1640,6 +1641,17 @@ export class DeeplineClient {
|
|
|
1640
1641
|
return res.tools;
|
|
1641
1642
|
}
|
|
1642
1643
|
|
|
1644
|
+
/** List discoverable providers without requiring a local plugin catalog. */
|
|
1645
|
+
async listProviders(options?: {
|
|
1646
|
+
changed?: boolean;
|
|
1647
|
+
}): Promise<ProviderDefinition[]> {
|
|
1648
|
+
const suffix = options?.changed ? '?changed=true' : '';
|
|
1649
|
+
const res = await this.http.get<{ providers: ProviderDefinition[] }>(
|
|
1650
|
+
`/api/v2/tools/providers${suffix}`,
|
|
1651
|
+
);
|
|
1652
|
+
return res.providers;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1643
1655
|
/**
|
|
1644
1656
|
* Search available tools using Deepline's ranked backend search.
|
|
1645
1657
|
*
|
|
@@ -155,7 +155,7 @@ export const SDK_RELEASE = {
|
|
|
155
155
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
156
156
|
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
157
157
|
// Operators use the checkout-local deepline-admin binary instead.
|
|
158
|
-
version: '0.1.
|
|
158
|
+
version: '0.1.275',
|
|
159
159
|
contracts: {
|
|
160
160
|
api: {
|
|
161
161
|
name: 'sdk-http-api',
|
|
@@ -112,6 +112,18 @@ export interface ToolPricingSummary {
|
|
|
112
112
|
details: string[];
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
/** A discoverable provider, returned by {@link DeeplineClient.listProviders}. */
|
|
116
|
+
export interface ProviderDefinition {
|
|
117
|
+
provider: string;
|
|
118
|
+
displayName: string;
|
|
119
|
+
toolCount: number;
|
|
120
|
+
categories: string[];
|
|
121
|
+
/** Present for providers in the recent-additions ledger. */
|
|
122
|
+
version?: string;
|
|
123
|
+
/** ISO-8601 date on which this provider was added. */
|
|
124
|
+
releasedAt?: string;
|
|
125
|
+
}
|
|
126
|
+
|
|
115
127
|
/**
|
|
116
128
|
* Summary definition of a tool, returned by {@link DeeplineClient.listTools}.
|
|
117
129
|
*
|
package/dist/cli/index.js
CHANGED
|
@@ -718,7 +718,7 @@ var SDK_RELEASE = {
|
|
|
718
718
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
719
719
|
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
720
720
|
// Operators use the checkout-local deepline-admin binary instead.
|
|
721
|
-
version: "0.1.
|
|
721
|
+
version: "0.1.275",
|
|
722
722
|
contracts: {
|
|
723
723
|
api: {
|
|
724
724
|
name: "sdk-http-api",
|
|
@@ -3120,6 +3120,14 @@ var DeeplineClient = class {
|
|
|
3120
3120
|
);
|
|
3121
3121
|
return res.tools;
|
|
3122
3122
|
}
|
|
3123
|
+
/** List discoverable providers without requiring a local plugin catalog. */
|
|
3124
|
+
async listProviders(options) {
|
|
3125
|
+
const suffix = options?.changed ? "?changed=true" : "";
|
|
3126
|
+
const res = await this.http.get(
|
|
3127
|
+
`/api/v2/tools/providers${suffix}`
|
|
3128
|
+
);
|
|
3129
|
+
return res.providers;
|
|
3130
|
+
}
|
|
3123
3131
|
/**
|
|
3124
3132
|
* Search available tools using Deepline's ranked backend search.
|
|
3125
3133
|
*
|
|
@@ -26975,6 +26983,43 @@ async function listTools(category, options = {}) {
|
|
|
26975
26983
|
}
|
|
26976
26984
|
return listToolCategories(emitJson, compact);
|
|
26977
26985
|
}
|
|
26986
|
+
async function listProviders(options = {}) {
|
|
26987
|
+
const client2 = new DeeplineClient();
|
|
26988
|
+
const changed = options.changed === true;
|
|
26989
|
+
const emitJson = options.json === true || shouldEmitJson();
|
|
26990
|
+
const providers = await client2.listProviders({ changed });
|
|
26991
|
+
const render = {
|
|
26992
|
+
sections: [
|
|
26993
|
+
{
|
|
26994
|
+
title: changed ? `${providers.length} recently added providers:` : `${providers.length} providers:`,
|
|
26995
|
+
lines: providers.map((provider) => {
|
|
26996
|
+
const release2 = provider.releasedAt ? ` - v${provider.version ?? "unknown"} (${provider.releasedAt})` : "";
|
|
26997
|
+
return `${provider.provider} (${provider.displayName}) - ${provider.toolCount} tools${release2}`;
|
|
26998
|
+
})
|
|
26999
|
+
},
|
|
27000
|
+
{
|
|
27001
|
+
title: "next",
|
|
27002
|
+
lines: [
|
|
27003
|
+
"Run `deepline tools list <category>` to browse provider tools by category."
|
|
27004
|
+
]
|
|
27005
|
+
}
|
|
27006
|
+
]
|
|
27007
|
+
};
|
|
27008
|
+
printCommandEnvelope(
|
|
27009
|
+
{
|
|
27010
|
+
providers,
|
|
27011
|
+
count: providers.length,
|
|
27012
|
+
filters: { changed },
|
|
27013
|
+
commandTemplates: {
|
|
27014
|
+
list: "deepline tools providers",
|
|
27015
|
+
changed: "deepline tools providers --changed"
|
|
27016
|
+
},
|
|
27017
|
+
render
|
|
27018
|
+
},
|
|
27019
|
+
{ json: emitJson }
|
|
27020
|
+
);
|
|
27021
|
+
return 0;
|
|
27022
|
+
}
|
|
26978
27023
|
async function searchTools(queryInput, options = {}) {
|
|
26979
27024
|
const query = queryInput?.trim() ?? "";
|
|
26980
27025
|
const hasStructuredSearch = Boolean(
|
|
@@ -27167,6 +27212,7 @@ Concepts:
|
|
|
27167
27212
|
through the plays namespace.
|
|
27168
27213
|
|
|
27169
27214
|
Common commands:
|
|
27215
|
+
deepline tools providers --changed --json
|
|
27170
27216
|
deepline tools search email --json
|
|
27171
27217
|
deepline tools describe hunter_email_verifier --json
|
|
27172
27218
|
deepline tools execute hunter_email_verifier --input '{"email":"a@b.com"}'
|
|
@@ -27176,6 +27222,28 @@ Output:
|
|
|
27176
27222
|
Use execute to run a tool.
|
|
27177
27223
|
`
|
|
27178
27224
|
);
|
|
27225
|
+
tools.command("providers").description("List discoverable providers and their available tool counts.").addHelpText(
|
|
27226
|
+
"after",
|
|
27227
|
+
`
|
|
27228
|
+
Notes:
|
|
27229
|
+
This directory is served by Deepline's provider catalog; it does not require
|
|
27230
|
+
cloning a public plugins repository. Use --changed to show recently added
|
|
27231
|
+
providers with their catalog version and release date.
|
|
27232
|
+
|
|
27233
|
+
Examples:
|
|
27234
|
+
deepline tools providers
|
|
27235
|
+
deepline tools providers --changed
|
|
27236
|
+
deepline tools providers --changed --json
|
|
27237
|
+
`
|
|
27238
|
+
).option(
|
|
27239
|
+
"--changed",
|
|
27240
|
+
"Only list recently added providers with release metadata"
|
|
27241
|
+
).option("--json", "Emit JSON output. Also automatic when stdout is piped").action(async (options) => {
|
|
27242
|
+
process.exitCode = await listProviders({
|
|
27243
|
+
changed: Boolean(options.changed),
|
|
27244
|
+
json: Boolean(options.json)
|
|
27245
|
+
});
|
|
27246
|
+
});
|
|
27179
27247
|
tools.command("list [category]").description("Browse tool categories, or list every tool in a category.").addHelpText(
|
|
27180
27248
|
"after",
|
|
27181
27249
|
`
|
|
@@ -31987,7 +32055,9 @@ function shouldDeferSkillsSyncForCommand() {
|
|
|
31987
32055
|
const args = process.argv.slice(2);
|
|
31988
32056
|
const command = args[0];
|
|
31989
32057
|
const subcommand = args[1];
|
|
31990
|
-
if (command === "tools" && ["list", "search", "grep", "describe", "get"].includes(
|
|
32058
|
+
if (command === "tools" && ["list", "providers", "search", "grep", "describe", "get"].includes(
|
|
32059
|
+
subcommand ?? ""
|
|
32060
|
+
)) {
|
|
31991
32061
|
return true;
|
|
31992
32062
|
}
|
|
31993
32063
|
return (command === "play" || command === "plays") && subcommand === "run" && args.includes("--json");
|
|
@@ -32213,6 +32283,7 @@ Common commands:
|
|
|
32213
32283
|
deepline plays describe prebuilt/person-linkedin-to-email --json
|
|
32214
32284
|
deepline plays run my.play.ts --input '{"domain":"stripe.com"}'
|
|
32215
32285
|
deepline secrets check HUBSPOT_TOKEN
|
|
32286
|
+
deepline tools providers --changed --json
|
|
32216
32287
|
deepline tools execute hunter_email_verifier --input '{"email":"a@b.com"}'
|
|
32217
32288
|
deepline update
|
|
32218
32289
|
|
package/dist/cli/index.mjs
CHANGED
|
@@ -703,7 +703,7 @@ var SDK_RELEASE = {
|
|
|
703
703
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
704
704
|
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
705
705
|
// Operators use the checkout-local deepline-admin binary instead.
|
|
706
|
-
version: "0.1.
|
|
706
|
+
version: "0.1.275",
|
|
707
707
|
contracts: {
|
|
708
708
|
api: {
|
|
709
709
|
name: "sdk-http-api",
|
|
@@ -3105,6 +3105,14 @@ var DeeplineClient = class {
|
|
|
3105
3105
|
);
|
|
3106
3106
|
return res.tools;
|
|
3107
3107
|
}
|
|
3108
|
+
/** List discoverable providers without requiring a local plugin catalog. */
|
|
3109
|
+
async listProviders(options) {
|
|
3110
|
+
const suffix = options?.changed ? "?changed=true" : "";
|
|
3111
|
+
const res = await this.http.get(
|
|
3112
|
+
`/api/v2/tools/providers${suffix}`
|
|
3113
|
+
);
|
|
3114
|
+
return res.providers;
|
|
3115
|
+
}
|
|
3108
3116
|
/**
|
|
3109
3117
|
* Search available tools using Deepline's ranked backend search.
|
|
3110
3118
|
*
|
|
@@ -27023,6 +27031,43 @@ async function listTools(category, options = {}) {
|
|
|
27023
27031
|
}
|
|
27024
27032
|
return listToolCategories(emitJson, compact);
|
|
27025
27033
|
}
|
|
27034
|
+
async function listProviders(options = {}) {
|
|
27035
|
+
const client2 = new DeeplineClient();
|
|
27036
|
+
const changed = options.changed === true;
|
|
27037
|
+
const emitJson = options.json === true || shouldEmitJson();
|
|
27038
|
+
const providers = await client2.listProviders({ changed });
|
|
27039
|
+
const render = {
|
|
27040
|
+
sections: [
|
|
27041
|
+
{
|
|
27042
|
+
title: changed ? `${providers.length} recently added providers:` : `${providers.length} providers:`,
|
|
27043
|
+
lines: providers.map((provider) => {
|
|
27044
|
+
const release2 = provider.releasedAt ? ` - v${provider.version ?? "unknown"} (${provider.releasedAt})` : "";
|
|
27045
|
+
return `${provider.provider} (${provider.displayName}) - ${provider.toolCount} tools${release2}`;
|
|
27046
|
+
})
|
|
27047
|
+
},
|
|
27048
|
+
{
|
|
27049
|
+
title: "next",
|
|
27050
|
+
lines: [
|
|
27051
|
+
"Run `deepline tools list <category>` to browse provider tools by category."
|
|
27052
|
+
]
|
|
27053
|
+
}
|
|
27054
|
+
]
|
|
27055
|
+
};
|
|
27056
|
+
printCommandEnvelope(
|
|
27057
|
+
{
|
|
27058
|
+
providers,
|
|
27059
|
+
count: providers.length,
|
|
27060
|
+
filters: { changed },
|
|
27061
|
+
commandTemplates: {
|
|
27062
|
+
list: "deepline tools providers",
|
|
27063
|
+
changed: "deepline tools providers --changed"
|
|
27064
|
+
},
|
|
27065
|
+
render
|
|
27066
|
+
},
|
|
27067
|
+
{ json: emitJson }
|
|
27068
|
+
);
|
|
27069
|
+
return 0;
|
|
27070
|
+
}
|
|
27026
27071
|
async function searchTools(queryInput, options = {}) {
|
|
27027
27072
|
const query = queryInput?.trim() ?? "";
|
|
27028
27073
|
const hasStructuredSearch = Boolean(
|
|
@@ -27215,6 +27260,7 @@ Concepts:
|
|
|
27215
27260
|
through the plays namespace.
|
|
27216
27261
|
|
|
27217
27262
|
Common commands:
|
|
27263
|
+
deepline tools providers --changed --json
|
|
27218
27264
|
deepline tools search email --json
|
|
27219
27265
|
deepline tools describe hunter_email_verifier --json
|
|
27220
27266
|
deepline tools execute hunter_email_verifier --input '{"email":"a@b.com"}'
|
|
@@ -27224,6 +27270,28 @@ Output:
|
|
|
27224
27270
|
Use execute to run a tool.
|
|
27225
27271
|
`
|
|
27226
27272
|
);
|
|
27273
|
+
tools.command("providers").description("List discoverable providers and their available tool counts.").addHelpText(
|
|
27274
|
+
"after",
|
|
27275
|
+
`
|
|
27276
|
+
Notes:
|
|
27277
|
+
This directory is served by Deepline's provider catalog; it does not require
|
|
27278
|
+
cloning a public plugins repository. Use --changed to show recently added
|
|
27279
|
+
providers with their catalog version and release date.
|
|
27280
|
+
|
|
27281
|
+
Examples:
|
|
27282
|
+
deepline tools providers
|
|
27283
|
+
deepline tools providers --changed
|
|
27284
|
+
deepline tools providers --changed --json
|
|
27285
|
+
`
|
|
27286
|
+
).option(
|
|
27287
|
+
"--changed",
|
|
27288
|
+
"Only list recently added providers with release metadata"
|
|
27289
|
+
).option("--json", "Emit JSON output. Also automatic when stdout is piped").action(async (options) => {
|
|
27290
|
+
process.exitCode = await listProviders({
|
|
27291
|
+
changed: Boolean(options.changed),
|
|
27292
|
+
json: Boolean(options.json)
|
|
27293
|
+
});
|
|
27294
|
+
});
|
|
27227
27295
|
tools.command("list [category]").description("Browse tool categories, or list every tool in a category.").addHelpText(
|
|
27228
27296
|
"after",
|
|
27229
27297
|
`
|
|
@@ -32058,7 +32126,9 @@ function shouldDeferSkillsSyncForCommand() {
|
|
|
32058
32126
|
const args = process.argv.slice(2);
|
|
32059
32127
|
const command = args[0];
|
|
32060
32128
|
const subcommand = args[1];
|
|
32061
|
-
if (command === "tools" && ["list", "search", "grep", "describe", "get"].includes(
|
|
32129
|
+
if (command === "tools" && ["list", "providers", "search", "grep", "describe", "get"].includes(
|
|
32130
|
+
subcommand ?? ""
|
|
32131
|
+
)) {
|
|
32062
32132
|
return true;
|
|
32063
32133
|
}
|
|
32064
32134
|
return (command === "play" || command === "plays") && subcommand === "run" && args.includes("--json");
|
|
@@ -32284,6 +32354,7 @@ Common commands:
|
|
|
32284
32354
|
deepline plays describe prebuilt/person-linkedin-to-email --json
|
|
32285
32355
|
deepline plays run my.play.ts --input '{"domain":"stripe.com"}'
|
|
32286
32356
|
deepline secrets check HUBSPOT_TOKEN
|
|
32357
|
+
deepline tools providers --changed --json
|
|
32287
32358
|
deepline tools execute hunter_email_verifier --input '{"email":"a@b.com"}'
|
|
32288
32359
|
deepline update
|
|
32289
32360
|
|
package/dist/index.d.mts
CHANGED
|
@@ -131,6 +131,17 @@ interface ToolPricingSummary {
|
|
|
131
131
|
/** Additional user-facing pricing notes. */
|
|
132
132
|
details: string[];
|
|
133
133
|
}
|
|
134
|
+
/** A discoverable provider, returned by {@link DeeplineClient.listProviders}. */
|
|
135
|
+
interface ProviderDefinition {
|
|
136
|
+
provider: string;
|
|
137
|
+
displayName: string;
|
|
138
|
+
toolCount: number;
|
|
139
|
+
categories: string[];
|
|
140
|
+
/** Present for providers in the recent-additions ledger. */
|
|
141
|
+
version?: string;
|
|
142
|
+
/** ISO-8601 date on which this provider was added. */
|
|
143
|
+
releasedAt?: string;
|
|
144
|
+
}
|
|
134
145
|
|
|
135
146
|
/**
|
|
136
147
|
* Summary definition of a callable provider-backed tool.
|
|
@@ -2156,6 +2167,10 @@ declare class DeeplineClient {
|
|
|
2156
2167
|
grepMode?: 'all' | 'any' | 'phrase';
|
|
2157
2168
|
compact?: boolean;
|
|
2158
2169
|
}): Promise<ToolDefinition[]>;
|
|
2170
|
+
/** List discoverable providers without requiring a local plugin catalog. */
|
|
2171
|
+
listProviders(options?: {
|
|
2172
|
+
changed?: boolean;
|
|
2173
|
+
}): Promise<ProviderDefinition[]>;
|
|
2159
2174
|
/**
|
|
2160
2175
|
* Search available tools using Deepline's ranked backend search.
|
|
2161
2176
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -131,6 +131,17 @@ interface ToolPricingSummary {
|
|
|
131
131
|
/** Additional user-facing pricing notes. */
|
|
132
132
|
details: string[];
|
|
133
133
|
}
|
|
134
|
+
/** A discoverable provider, returned by {@link DeeplineClient.listProviders}. */
|
|
135
|
+
interface ProviderDefinition {
|
|
136
|
+
provider: string;
|
|
137
|
+
displayName: string;
|
|
138
|
+
toolCount: number;
|
|
139
|
+
categories: string[];
|
|
140
|
+
/** Present for providers in the recent-additions ledger. */
|
|
141
|
+
version?: string;
|
|
142
|
+
/** ISO-8601 date on which this provider was added. */
|
|
143
|
+
releasedAt?: string;
|
|
144
|
+
}
|
|
134
145
|
|
|
135
146
|
/**
|
|
136
147
|
* Summary definition of a callable provider-backed tool.
|
|
@@ -2156,6 +2167,10 @@ declare class DeeplineClient {
|
|
|
2156
2167
|
grepMode?: 'all' | 'any' | 'phrase';
|
|
2157
2168
|
compact?: boolean;
|
|
2158
2169
|
}): Promise<ToolDefinition[]>;
|
|
2170
|
+
/** List discoverable providers without requiring a local plugin catalog. */
|
|
2171
|
+
listProviders(options?: {
|
|
2172
|
+
changed?: boolean;
|
|
2173
|
+
}): Promise<ProviderDefinition[]>;
|
|
2159
2174
|
/**
|
|
2160
2175
|
* Search available tools using Deepline's ranked backend search.
|
|
2161
2176
|
*
|
package/dist/index.js
CHANGED
|
@@ -438,7 +438,7 @@ var SDK_RELEASE = {
|
|
|
438
438
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
439
439
|
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
440
440
|
// Operators use the checkout-local deepline-admin binary instead.
|
|
441
|
-
version: "0.1.
|
|
441
|
+
version: "0.1.275",
|
|
442
442
|
contracts: {
|
|
443
443
|
api: {
|
|
444
444
|
name: "sdk-http-api",
|
|
@@ -2840,6 +2840,14 @@ var DeeplineClient = class {
|
|
|
2840
2840
|
);
|
|
2841
2841
|
return res.tools;
|
|
2842
2842
|
}
|
|
2843
|
+
/** List discoverable providers without requiring a local plugin catalog. */
|
|
2844
|
+
async listProviders(options) {
|
|
2845
|
+
const suffix = options?.changed ? "?changed=true" : "";
|
|
2846
|
+
const res = await this.http.get(
|
|
2847
|
+
`/api/v2/tools/providers${suffix}`
|
|
2848
|
+
);
|
|
2849
|
+
return res.providers;
|
|
2850
|
+
}
|
|
2843
2851
|
/**
|
|
2844
2852
|
* Search available tools using Deepline's ranked backend search.
|
|
2845
2853
|
*
|
package/dist/index.mjs
CHANGED
|
@@ -367,7 +367,7 @@ var SDK_RELEASE = {
|
|
|
367
367
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
368
368
|
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
369
369
|
// Operators use the checkout-local deepline-admin binary instead.
|
|
370
|
-
version: "0.1.
|
|
370
|
+
version: "0.1.275",
|
|
371
371
|
contracts: {
|
|
372
372
|
api: {
|
|
373
373
|
name: "sdk-http-api",
|
|
@@ -2769,6 +2769,14 @@ var DeeplineClient = class {
|
|
|
2769
2769
|
);
|
|
2770
2770
|
return res.tools;
|
|
2771
2771
|
}
|
|
2772
|
+
/** List discoverable providers without requiring a local plugin catalog. */
|
|
2773
|
+
async listProviders(options) {
|
|
2774
|
+
const suffix = options?.changed ? "?changed=true" : "";
|
|
2775
|
+
const res = await this.http.get(
|
|
2776
|
+
`/api/v2/tools/providers${suffix}`
|
|
2777
|
+
);
|
|
2778
|
+
return res.providers;
|
|
2779
|
+
}
|
|
2772
2780
|
/**
|
|
2773
2781
|
* Search available tools using Deepline's ranked backend search.
|
|
2774
2782
|
*
|