@forloop-cc/forloop-cli 0.2.6 → 0.2.7

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/forloop +9 -50
  2. package/package.json +2 -2
package/dist/forloop CHANGED
@@ -734,11 +734,14 @@ var ForLoopAPIClient = class {
734
734
  body: JSON.stringify({ sprintId, sessionId })
735
735
  });
736
736
  }
737
+ async sendStreamChunk(data) {
738
+ return this.request("/api/opencode/agents/stream", {
739
+ method: "POST",
740
+ body: JSON.stringify(data)
741
+ });
742
+ }
737
743
  };
738
744
 
739
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/sprint-tools.ts
740
- import { tool } from "@opencode-ai/plugin";
741
-
742
745
  // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/capabilities/context-resolver.ts
743
746
  import { exec } from "child_process";
744
747
  import { promisify } from "util";
@@ -818,50 +821,6 @@ function getForloopRoot(sprintId) {
818
821
  return root;
819
822
  }
820
823
 
821
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/story-tools.ts
822
- import { tool as tool2 } from "@opencode-ai/plugin";
823
-
824
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/template-tools.ts
825
- import { tool as tool3 } from "@opencode-ai/plugin";
826
-
827
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/user-tools.ts
828
- import { tool as tool4 } from "@opencode-ai/plugin";
829
-
830
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/organization-tools.ts
831
- import { tool as tool5 } from "@opencode-ai/plugin";
832
-
833
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/file-tools.ts
834
- import { tool as tool6 } from "@opencode-ai/plugin";
835
-
836
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/schedule-tools.ts
837
- import { tool as tool7 } from "@opencode-ai/plugin";
838
-
839
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/folder-tools.ts
840
- import { tool as tool8 } from "@opencode-ai/plugin";
841
-
842
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/sync-tools.ts
843
- import { tool as tool9 } from "@opencode-ai/plugin";
844
-
845
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/agent-tools.ts
846
- import { tool as tool10 } from "@opencode-ai/plugin";
847
-
848
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/agent-suggestion-tools.ts
849
- import { tool as tool11 } from "@opencode-ai/plugin";
850
-
851
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/agent-sprint-tools.ts
852
- import { tool as tool12 } from "@opencode-ai/plugin";
853
-
854
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/ai-trigger-tools.ts
855
- import { tool as tool13 } from "@opencode-ai/plugin";
856
-
857
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/tools/developer-status-tool.ts
858
- import { tool as tool14 } from "@opencode-ai/plugin";
859
-
860
- // node_modules/@forloop-cc/forloop-opencode-plugin-planner/plugins/hooks/shell-env.ts
861
- import { exec as exec2 } from "child_process";
862
- import { promisify as promisify2 } from "util";
863
- var execAsync2 = promisify2(exec2);
864
-
865
824
  // src/commands/auth/index.ts
866
825
  function createAuthCommands() {
867
826
  return {
@@ -1560,11 +1519,11 @@ function createDeveloperStatusCommand() {
1560
1519
  console.log(`Sprint #${resolution.sprintId}: ${sprint.storiesDone || 0}/${sprint.storiesTotal || 0} stories done.`);
1561
1520
  return;
1562
1521
  }
1563
- const exec3 = status.execution || {};
1522
+ const exec2 = status.execution || {};
1564
1523
  const task = status.task || {};
1565
- console.log(`Developer Task: ${exec3.status}`);
1524
+ console.log(`Developer Task: ${exec2.status}`);
1566
1525
  console.log(`Sprint: #${resolution.sprintId}`);
1567
- if (exec3.startedAt) console.log(`Started: ${new Date(exec3.startedAt).toLocaleString()}`);
1526
+ if (exec2.startedAt) console.log(`Started: ${new Date(exec2.startedAt).toLocaleString()}`);
1568
1527
  if (task.branchName) console.log(`Branch: ${task.branchName}`);
1569
1528
  if (task.errorMessage) console.log(`Error: ${task.errorMessage}`);
1570
1529
  console.log(`Progress: ${sprint.storiesDone || 0}/${sprint.storiesTotal || 0} done, ${sprint.storiesInProgress || 0} in progress.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forloop-cc/forloop-cli",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Command-line interface for the ForLoop AI development platform",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -40,7 +40,7 @@
40
40
  "prepublishOnly": "npm run build"
41
41
  },
42
42
  "dependencies": {
43
- "@forloop-cc/forloop-opencode-plugin-planner": "^2.2.0",
43
+ "@forloop-cc/forloop-opencode-plugin-planner": "^2.2.7",
44
44
  "@opencode-ai/plugin": "^1.3.0"
45
45
  },
46
46
  "devDependencies": {