@dosu/cli 0.11.0-alpha.1 → 0.11.0-alpha.3

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 (2) hide show
  1. package/bin/dosu.js +7 -2
  2. package/package.json +1 -1
package/bin/dosu.js CHANGED
@@ -4341,7 +4341,7 @@ function getSupabaseAnonKey() {
4341
4341
  function getVersionString() {
4342
4342
  return `v${VERSION}`;
4343
4343
  }
4344
- var VERSION = "0.11.0-alpha.1";
4344
+ var VERSION = "0.11.0-alpha.3";
4345
4345
 
4346
4346
  // src/debug/logger.ts
4347
4347
  import {
@@ -7291,6 +7291,7 @@ async function createDeploymentForRepo(trpc, orgID, spaceID, repo) {
7291
7291
  logger.warn("setup", `dataSource.create returned no data_source for ${repo.slug}`);
7292
7292
  return { deployment_id: deployment.deployment_id };
7293
7293
  }
7294
+ await trpc.dataSource.syncDataSource.mutate(dataSource.data_source_id);
7294
7295
  const spaceDeployments = await trpc.workspaces.listForSpace.query(spaceID);
7295
7296
  await Promise.all(spaceDeployments.map((d3) => trpc.deploymentDataSource.create.mutate({
7296
7297
  deployment_id: d3.deployment_id,
@@ -7903,7 +7904,11 @@ async function waitForImportableGithubFiles(trpc, orgID, spaceID) {
7903
7904
  spinner.stop("Docs ready");
7904
7905
  return latestFiles;
7905
7906
  }
7906
- await fetchGitHubDataSources(trpc, orgID);
7907
+ const dataSources = await fetchGitHubDataSources(trpc, orgID);
7908
+ if (dataSources.length > 0 && dataSources.every((ds) => ds.is_indexed === true)) {
7909
+ spinner.stop("No markdown docs found");
7910
+ return [];
7911
+ }
7907
7912
  await sleep3(DOC_SCAN_POLL_INTERVAL_MS);
7908
7913
  }
7909
7914
  spinner.stop("Timed out");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosu/cli",
3
- "version": "0.11.0-alpha.1",
3
+ "version": "0.11.0-alpha.3",
4
4
  "type": "module",
5
5
  "description": "Dosu CLI - Manage MCP servers for AI tools",
6
6
  "license": "MIT",