@locusai/telegram 0.14.3 → 0.14.4

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/telegram.js +2 -2
  2. package/package.json +3 -3
package/bin/telegram.js CHANGED
@@ -41358,8 +41358,8 @@ async function convertArtifactToPlan(ctx, config2, executor, name) {
41358
41358
  }
41359
41359
  }
41360
41360
  await ctx.reply(formatInfo(`Converting <b>${escapeHtml(artifactName)}</b> to a plan...`), { parse_mode: "HTML" });
41361
- const prompt = `Create a plan according to ${artifactName}`;
41362
- const args = executor.buildArgs(["exec", prompt, "--no-stream"]);
41361
+ const directive = `Prepare a plan according to the artifact: ${artifactName}`;
41362
+ const args = executor.buildArgs(["plan", directive, "--no-stream"]);
41363
41363
  executor.execute(args).then(async (result) => {
41364
41364
  const output = (result.stdout + result.stderr).trim();
41365
41365
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locusai/telegram",
3
- "version": "0.14.3",
3
+ "version": "0.14.4",
4
4
  "description": "Telegram bot for Locus - remote control your AI agents from Telegram",
5
5
  "type": "module",
6
6
  "bin": {
@@ -31,8 +31,8 @@
31
31
  "author": "",
32
32
  "license": "MIT",
33
33
  "dependencies": {
34
- "@locusai/sdk": "^0.14.3",
35
- "@locusai/shared": "^0.14.3",
34
+ "@locusai/sdk": "^0.14.4",
35
+ "@locusai/shared": "^0.14.4",
36
36
  "dotenv": "^16.4.7",
37
37
  "telegraf": "^4.16.3"
38
38
  },