@dosu/cli 0.65.0 → 0.65.1

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/bin/dosu.js +5 -31
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -117,7 +117,7 @@ Once authenticated against a deployment, you can drive the Dosu platform without
117
117
  |---|---|
118
118
  | `dosu ask` | Ask a question and get an AI-generated answer |
119
119
  | `dosu knowledge` | Search and browse your knowledge base |
120
- | `dosu docs` | Manage documents (list, create, update, import, publish, AI-generate) |
120
+ | `dosu docs` | Manage documents (list, create, update, import, publish) |
121
121
  | `dosu threads` | List and manage conversation threads |
122
122
  | `dosu review` | Document review workflow, plus `review notifications` to route a Library's or Agent's reviews to a Slack channel |
123
123
  | `dosu sources` | Manage connected data sources (list, connect, create, sync, update) |
package/bin/dosu.js CHANGED
@@ -1083,7 +1083,7 @@ function isNpxInvocation(channel = INSTALL_CHANNEL, env = process.env) {
1083
1083
  function getVersionString() {
1084
1084
  return `v${VERSION}`;
1085
1085
  }
1086
- var VERSION = "0.65.0", INSTALL_CHANNEL = "npm";
1086
+ var VERSION = "0.65.1", INSTALL_CHANNEL = "npm";
1087
1087
 
1088
1088
  // src/debug/logger.ts
1089
1089
  import {
@@ -11684,30 +11684,6 @@ ${page.body}`);
11684
11684
  }
11685
11685
  console.log(import_picocolors16.default.green(`Document restored to version ${opts.revision}.`));
11686
11686
  });
11687
- cmd.command("generate").description("Generate a document using AI").requiredOption("--title <title>", "Document title").option("--instructions <text>", "Custom generation instructions").option("--json", "Output as JSON").action(async (opts) => {
11688
- const cfg = requireConfig5();
11689
- const client = createTypedClient(cfg);
11690
- const ksId = await getKnowledgeStoreId(client, cfg.active_account.target.space_id);
11691
- const result = await backendPost2("/doc/generate", requireAPIKey(cfg), {
11692
- knowledge_store_id: ksId,
11693
- title: opts.title,
11694
- instructions: opts.instructions
11695
- });
11696
- if (opts.json) {
11697
- printResult(result, opts);
11698
- return;
11699
- }
11700
- console.log(import_picocolors16.default.green("Document generation started."));
11701
- });
11702
- cmd.command("auto-tag").description("Auto-tag a document using AI").argument("<id>", "Page ID").option("--json", "Output as JSON").action(async (id, opts) => {
11703
- const cfg = requireConfig5();
11704
- const result = await backendPost2("/doc/auto-tag", requireAPIKey(cfg), { page_id: id });
11705
- if (opts.json) {
11706
- printResult(result, opts);
11707
- return;
11708
- }
11709
- console.log(import_picocolors16.default.green("Auto-tagging started."));
11710
- });
11711
11687
  cmd.command("import").description("Import documents from an external platform").addArgument(new Argument("<platform>", "Import platform").choices([...IMPORT_PLATFORMS])).requiredOption("--files <ids>", "Comma-separated file/page IDs to import").option("--json", "Output as JSON").action(async (platform, opts) => {
11712
11688
  const cfg = requireConfig5();
11713
11689
  const client = createTypedClient(cfg);
@@ -14286,7 +14262,7 @@ var init_conflicts = __esm(() => {
14286
14262
  });
14287
14263
 
14288
14264
  // src/telemetry/debug-id.ts
14289
- var BUNDLE_DEBUG_ID_PLACEHOLDER = "a31208d6-6e9d-91e6-6475-6e2164756e21";
14265
+ var BUNDLE_DEBUG_ID_PLACEHOLDER = "274ecbf7-23f0-dedc-6475-6e2164756e21";
14290
14266
 
14291
14267
  // src/telemetry/telemetry.ts
14292
14268
  import { randomUUID as randomUUID2 } from "node:crypto";
@@ -60643,7 +60619,7 @@ Operate Dosu through \`dosu\`. Prefer structured output and let the CLI and App
60643
60619
 
60644
60620
  - \`dosu login\` supplies the JWT used by tRPC-backed commands.
60645
60621
  - \`dosu setup\` selects an organization, Library context, and MCP deployment, creates an API key, and can configure an agent tool.
60646
- - \`dosu ask\` needs an API key. \`docs generate\`, \`docs auto-tag\`, and \`docs publish\` need both JWT login and the API key. Other platform commands generally need JWT login; commands scoped to an organization or current Library also need the corresponding setup selection.
60622
+ - \`dosu ask\` needs an API key. \`docs publish\` needs both JWT login and the API key. Other platform commands generally need JWT login; commands scoped to an organization or current Library also need the corresponding setup selection.
60647
60623
  - For coding-agent setup, follow the nonblocking \`dosu setup --agent --tool <id>\` workflow in [workflows.md](references/workflows.md). Relay its URL and execute its returned \`resume_command\`; never invent ticket commands.
60648
60624
 
60649
60625
  ## Use current product terms
@@ -61044,8 +61020,6 @@ dosu docs unarchive <id> [--json]
61044
61020
  dosu docs delete <id> [--json]
61045
61021
  dosu docs versions <id> [--json]
61046
61022
  dosu docs restore <id> --revision <positive-int> [--json]
61047
- dosu docs generate --title <title> [--instructions <text>] [--json]
61048
- dosu docs auto-tag <id> [--json]
61049
61023
  dosu docs import <platform> --files <comma-separated-ids> [--json]
61050
61024
  dosu docs import-status <task-id> [--json]
61051
61025
  dosu docs publish <id> --to <platform> [target flags] [--json]
@@ -61055,7 +61029,7 @@ dosu docs sync-back <id> [--json]
61055
61029
  - Document list defaults to 20. \`create\` and \`update\` reject combining \`--body\` with \`--body-file\`; \`update\` requires at least one field.
61056
61030
  - Import platforms: \`github\`, \`gitlab\`, \`azure_devops\`, \`confluence\`, \`notion\`, \`coda\`.
61057
61031
  - Publish platforms: the same six. Target flags are \`--repo-id\`, \`--project-id\`, \`--parent-page-id\`, \`--doc-id\`, \`--directory\`, and \`--data-source-id\`; Azure DevOps requires \`--data-source-id\`. Other target validation may occur in the backend.
61058
- - \`generate\`, \`auto-tag\`, import, publish, and sync operations may be asynchronous. Use the returned task/status identifiers rather than assuming completion.
61032
+ - Import, publish, and sync operations may be asynchronous. Use the returned task/status identifiers rather than assuming completion.
61059
61033
 
61060
61034
  ## Review
61061
61035
 
@@ -68807,4 +68781,4 @@ main().catch((err) => {
68807
68781
  process.exit(1);
68808
68782
  });
68809
68783
 
68810
- //# debugId=a31208d6-6e9d-91e6-6475-6e2164756e21
68784
+ //# debugId=274ecbf7-23f0-dedc-6475-6e2164756e21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosu/cli",
3
- "version": "0.65.0",
3
+ "version": "0.65.1",
4
4
  "type": "module",
5
5
  "description": "Dosu CLI - Set up Dosu MCP for AI tools and work with Dosu Libraries, docs, and reviews",
6
6
  "license": "MIT",