@polka-codes/cli-shared 0.9.30 → 0.9.32

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/dist/index.js +2 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -50580,16 +50580,11 @@ ${instance.prompt}`;
50580
50580
  this.#callback({ kind: "StartTask" /* StartTask */, agent: this, systemPrompt: this.config.systemPrompt });
50581
50581
  return await this.#processLoop(prompt);
50582
50582
  }
50583
- async step(prompt) {
50583
+ async step(message) {
50584
50584
  if (this.#messages.length === 0) {
50585
50585
  this.#callback({ kind: "StartTask" /* StartTask */, agent: this, systemPrompt: this.config.systemPrompt });
50586
50586
  }
50587
- return await this.#request([
50588
- {
50589
- role: "user",
50590
- content: prompt
50591
- }
50592
- ]);
50587
+ return await this.#request(message);
50593
50588
  }
50594
50589
  async handleStepResponse(response) {
50595
50590
  return this.#handleResponse(response);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/cli-shared",
3
- "version": "0.9.30",
3
+ "version": "0.9.32",
4
4
  "license": "AGPL-3.0",
5
5
  "author": "github@polka.codes",
6
6
  "type": "module",