@dosu/cli 0.15.1 → 0.15.2

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 -3
  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.15.1";
4344
+ var VERSION = "0.15.2";
4345
4345
 
4346
4346
  // src/debug/logger.ts
4347
4347
  import {
@@ -9227,7 +9227,11 @@ async function createDeploymentForRepo(trpc, orgID, spaceID, repo) {
9227
9227
  return null;
9228
9228
  }
9229
9229
  const dataSourceID = dataSource.data_source_id;
9230
- await trpc.dataSource.syncDataSource.mutate(dataSourceID);
9230
+ await trpc.dataSource.syncDataSource.mutate({ data_source_id: dataSourceID });
9231
+ await trpc.dataSource.attachToSpace.mutate({
9232
+ space_id: spaceID,
9233
+ data_source_ids: [dataSourceID]
9234
+ });
9231
9235
  const spaceDeployments = await trpc.workspaces.listForSpace.query(spaceID);
9232
9236
  await Promise.all(spaceDeployments.map((d3) => trpc.deploymentDataSource.create.mutate({
9233
9237
  deployment_id: d3.deployment_id,
@@ -13142,7 +13146,7 @@ function sourcesCommand() {
13142
13146
  cmd.command("sync").description("Trigger a data source sync").argument("<id>", "Data source ID").option("--json", "Output as JSON").action(async (id, opts) => {
13143
13147
  const cfg = requireConfig10();
13144
13148
  const client = createTypedClient(cfg);
13145
- await client.dataSource.syncDataSource.mutate(id);
13149
+ await client.dataSource.syncDataSource.mutate({ data_source_id: id });
13146
13150
  if (opts.json) {
13147
13151
  printResult({ success: true, id }, opts);
13148
13152
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosu/cli",
3
- "version": "0.15.1",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "description": "Dosu CLI - Manage MCP servers for AI tools",
6
6
  "license": "MIT",