capyai 0.2.0 → 0.2.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.
package/dist/capy.js CHANGED
@@ -825,7 +825,7 @@ Config saved to ${CONFIG_PATH}`);
825
825
  out(data);
826
826
  return;
827
827
  }
828
- console.log(`Captain started: https://app.capy.ai/threads/${data.id}`);
828
+ console.log(`Captain started: https://capy.ai/project/${load().projectId}/captain/${data.id}`);
829
829
  console.log(`Thread: ${data.id} Model: ${model}`);
830
830
  };
831
831
  commands.threads = async function(argv) {
@@ -925,7 +925,7 @@ PRs:`);
925
925
  out(data);
926
926
  return;
927
927
  }
928
- console.log(`Build started: https://app.capy.ai/tasks/${data.id}`);
928
+ console.log(`Build started: https://capy.ai/project/${load().projectId}/tasks/${data.id}`);
929
929
  console.log(`ID: ${data.identifier} Model: ${model}`);
930
930
  };
931
931
  commands.list = commands.ls = async function(argv) {
@@ -1460,7 +1460,7 @@ ${fixArg}
1460
1460
  }
1461
1461
  const model = parseModel(argv) || cfg.defaultModel;
1462
1462
  const data = await createThread(retryPrompt, model);
1463
- console.log(`Retry started: https://app.capy.ai/threads/${data.id}`);
1463
+ console.log(`Retry started: https://capy.ai/project/${cfg.projectId}/captain/${data.id}`);
1464
1464
  console.log(`Thread: ${data.id} Model: ${model}`);
1465
1465
  console.log(`
1466
1466
  Context included: ${context.split(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capyai",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "description": "Unofficial Capy.ai CLI for agent orchestration with quality gates",
6
6
  "bin": {
package/src/cli.ts CHANGED
@@ -88,7 +88,7 @@ commands.captain = commands.plan = async function(argv: string[]) {
88
88
  const model = parseModel(argv) || config.load().defaultModel;
89
89
  const data = await api.createThread(prompt, model);
90
90
  if (fmt.IS_JSON) { fmt.out(data); return; }
91
- console.log(`Captain started: https://app.capy.ai/threads/${data.id}`);
91
+ console.log(`Captain started: https://capy.ai/project/${config.load().projectId}/captain/${data.id}`);
92
92
  console.log(`Thread: ${data.id} Model: ${model}`);
93
93
  };
94
94
 
@@ -158,7 +158,7 @@ commands.build = commands.run = async function(argv: string[]) {
158
158
  const model = parseModel(argv) || config.load().defaultModel;
159
159
  const data = await api.createTask(prompt, model);
160
160
  if (fmt.IS_JSON) { fmt.out(data); return; }
161
- console.log(`Build started: https://app.capy.ai/tasks/${data.id}`);
161
+ console.log(`Build started: https://capy.ai/project/${config.load().projectId}/tasks/${data.id}`);
162
162
  console.log(`ID: ${data.identifier} Model: ${model}`);
163
163
  };
164
164
 
@@ -646,7 +646,7 @@ commands.retry = async function(argv: string[]) {
646
646
 
647
647
  const model = parseModel(argv) || cfg.defaultModel;
648
648
  const data = await api.createThread(retryPrompt, model);
649
- console.log(`Retry started: https://app.capy.ai/threads/${data.id}`);
649
+ console.log(`Retry started: https://capy.ai/project/${cfg.projectId}/captain/${data.id}`);
650
650
  console.log(`Thread: ${data.id} Model: ${model}`);
651
651
  console.log(`\nContext included: ${context.split("\n").length} lines from previous attempt.`);
652
652
  };