@hasna/connectors 1.3.15 → 1.3.16

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/bin/index.js CHANGED
@@ -23169,7 +23169,7 @@ var {
23169
23169
  // package.json
23170
23170
  var package_default = {
23171
23171
  name: "@hasna/connectors",
23172
- version: "1.3.15",
23172
+ version: "1.3.16",
23173
23173
  description: "Open source connector library - Install API connectors with a single command",
23174
23174
  type: "module",
23175
23175
  bin: {
@@ -25206,7 +25206,7 @@ ${meta.displayName}`));
25206
25206
  console.log(` Installed: ${isInstalled ? chalk3.green("yes") : "no"}`);
25207
25207
  console.log(` Package: @hasna/connect-${meta.name}`);
25208
25208
  });
25209
- program2.command("docs").argument("<connector>", "Connector name").option("--json", "Output as structured JSON", false).option("--raw", "Output raw markdown", false).description("Show connector documentation (auth, env vars, API, CLI commands)").action((connector, options) => {
25209
+ program2.command("docs").argument("<connector>", "Connector name").option("--json", "Output as structured JSON", false).option("--raw", "Output raw markdown", false).option("--essential", "Show auth and env vars only (no full docs)", false).description("Show connector documentation (auth, env vars, API, CLI commands)").action((connector, options) => {
25210
25210
  const meta = getConnector(connector);
25211
25211
  if (!meta) {
25212
25212
  if (options.json) {
@@ -25233,6 +25233,32 @@ ${meta.displayName}`));
25233
25233
  console.log(docs.raw);
25234
25234
  return;
25235
25235
  }
25236
+ if (options.essential) {
25237
+ if (options.json) {
25238
+ console.log(JSON.stringify({ name: meta.name, auth: docs.auth, envVars: docs.envVars }, null, 2));
25239
+ } else {
25240
+ console.log(chalk3.bold(`
25241
+ ${meta.displayName} \u2014 Auth & Env Vars`));
25242
+ console.log(chalk3.dim("\u2500".repeat(50)));
25243
+ if (docs.auth) {
25244
+ console.log(chalk3.bold(`
25245
+ Authentication`));
25246
+ for (const line of docs.auth.split(`
25247
+ `).filter(Boolean)) {
25248
+ console.log(` ${line}`);
25249
+ }
25250
+ }
25251
+ if (docs.envVars.length > 0) {
25252
+ console.log(chalk3.bold(`
25253
+ Environment Variables`));
25254
+ for (const v of docs.envVars) {
25255
+ console.log(` ${chalk3.cyan(v.variable.padEnd(30))}${v.description}`);
25256
+ }
25257
+ }
25258
+ console.log();
25259
+ }
25260
+ return;
25261
+ }
25236
25262
  if (options.json) {
25237
25263
  console.log(JSON.stringify({
25238
25264
  name: meta.name,
package/bin/mcp.js CHANGED
@@ -37281,7 +37281,7 @@ init_dist();
37281
37281
  // package.json
37282
37282
  var package_default = {
37283
37283
  name: "@hasna/connectors",
37284
- version: "1.3.15",
37284
+ version: "1.3.16",
37285
37285
  description: "Open source connector library - Install API connectors with a single command",
37286
37286
  type: "module",
37287
37287
  bin: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/connectors",
3
- "version": "1.3.15",
3
+ "version": "1.3.16",
4
4
  "description": "Open source connector library - Install API connectors with a single command",
5
5
  "type": "module",
6
6
  "bin": {