@forloop-cc/forloop-cli 0.2.13 → 0.2.14

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 (3) hide show
  1. package/ERRORS.md +1 -1
  2. package/dist/forloop +12 -12
  3. package/package.json +1 -1
package/ERRORS.md CHANGED
@@ -74,7 +74,7 @@ No error scenarios — silently clears the token.
74
74
 
75
75
  | Scenario | Error Message |
76
76
  |---|---|
77
- | `--confirm` not provided | `Error: --confirm is required to permanently delete a sprint.` |
77
+ | `--confirm` not provided | `Error: --confirm is required to permanently delete a space.` |
78
78
  | Sprint not found | `ForLoop API DELETE /api/opencode/sprints/<id> failed: 404 Not Found` |
79
79
 
80
80
  ---
package/dist/forloop CHANGED
@@ -1158,7 +1158,7 @@ async function getClient2() {
1158
1158
  function createSprintGetCommand() {
1159
1159
  return defineCommand({
1160
1160
  name: "space-sprint get",
1161
- description: "Get sprint details including stories and files",
1161
+ description: "Get space details including stories and files",
1162
1162
  usage: "forloop space-sprint get --id <number>",
1163
1163
  options: [
1164
1164
  { flag: "--id <number>", description: "Sprint ID (auto-detected if not provided)", type: "number" },
@@ -1192,7 +1192,7 @@ function createSprintGetCommand() {
1192
1192
  function createSprintListCommand() {
1193
1193
  return defineCommand({
1194
1194
  name: "space-sprint list",
1195
- description: "List all accessible sprints",
1195
+ description: "List all accessible spaces",
1196
1196
  usage: "forloop space-sprint list [--org-id <id>] [--include-system-org]",
1197
1197
  options: [
1198
1198
  { flag: "--org-id <id>", description: "Filter by organization ID", type: "number" },
@@ -1214,14 +1214,14 @@ function createSprintListCommand() {
1214
1214
  function createSprintCreateCommand() {
1215
1215
  return defineCommand({
1216
1216
  name: "space-sprint create",
1217
- description: "Create a new sprint",
1217
+ description: "Create a new space",
1218
1218
  usage: "forloop space-sprint create --title <text> --start-date <YYYY-MM-DD> --end-date <YYYY-MM-DD> [flags]",
1219
1219
  options: [
1220
1220
  { flag: "--title <text>", description: "Sprint title", required: true },
1221
1221
  { flag: "--start-date <date>", description: "Start date (YYYY-MM-DD)", required: true },
1222
1222
  { flag: "--end-date <date>", description: "End date (YYYY-MM-DD)", required: true },
1223
1223
  { flag: "--description <text>", description: "Sprint description" },
1224
- { flag: "--private", description: "Make sprint private" },
1224
+ { flag: "--private", description: "Make space private" },
1225
1225
  { flag: "--org-id <id>", description: "Organization ID", type: "number" }
1226
1226
  ],
1227
1227
  examples: ['forloop space-sprint create --title "Sprint 15" --start-date 2026-06-09 --end-date 2026-06-23'],
@@ -1248,7 +1248,7 @@ function createSprintCreateCommand() {
1248
1248
  function createSprintUpdateCommand() {
1249
1249
  return defineCommand({
1250
1250
  name: "space-sprint update",
1251
- description: "Update sprint details",
1251
+ description: "Update space details",
1252
1252
  usage: "forloop space-sprint update --id <number> [flags]",
1253
1253
  options: [
1254
1254
  { flag: "--id <number>", description: "Sprint ID", required: true, type: "number" },
@@ -1274,14 +1274,14 @@ function createSprintUpdateCommand() {
1274
1274
  process.exit(1);
1275
1275
  }
1276
1276
  const sprint = await client.updateSprint(flags.id, updateData);
1277
- print(config, sprint, `Sprint #${sprint.id} updated successfully.`);
1277
+ print(config, sprint, `Space #${sprint.id} updated successfully.`);
1278
1278
  }
1279
1279
  });
1280
1280
  }
1281
1281
  function createSprintDeleteCommand() {
1282
1282
  return defineCommand({
1283
1283
  name: "space-sprint delete",
1284
- description: "Delete a sprint permanently",
1284
+ description: "Delete a space permanently",
1285
1285
  usage: "forloop space-sprint delete --id <number> --confirm",
1286
1286
  options: [
1287
1287
  { flag: "--id <number>", description: "Sprint ID", required: true, type: "number" },
@@ -1290,21 +1290,21 @@ function createSprintDeleteCommand() {
1290
1290
  examples: ["forloop space-sprint delete --id 456 --confirm"],
1291
1291
  async run(config, flags) {
1292
1292
  if (!flags.confirm) {
1293
- console.error("Error: --confirm is required to permanently delete a sprint.");
1293
+ console.error("Error: --confirm is required to permanently delete a space.");
1294
1294
  process.exit(1);
1295
1295
  }
1296
1296
  const resolved = await getClient2();
1297
1297
  if (!resolved) return;
1298
1298
  const { client } = resolved;
1299
1299
  const result = await client.deleteSprint(flags.id);
1300
- print(config, result, `Sprint #${flags.id} deleted successfully.`);
1300
+ print(config, result, `Space #${flags.id} deleted successfully.`);
1301
1301
  }
1302
1302
  });
1303
1303
  }
1304
1304
  function createSubSprintListCommand() {
1305
1305
  return defineCommand({
1306
1306
  name: "space-sprint sub-sprint list",
1307
- description: "List all iterations within a sprint",
1307
+ description: "List all iterations within a space",
1308
1308
  usage: "forloop space-sprint sub-sprint list [--sprint-id <number>]",
1309
1309
  options: [
1310
1310
  { flag: "--sprint-id <number>", description: "Sprint ID (auto-detected if not provided)", type: "number" }
@@ -1639,7 +1639,7 @@ function createAgentHistoryCommand() {
1639
1639
  function createDeveloperSprintCommand() {
1640
1640
  return defineCommand({
1641
1641
  name: "agent developer-space-sprint",
1642
- description: "Trigger the developer agent to implement sprint stories",
1642
+ description: "Trigger the developer agent to implement space stories",
1643
1643
  usage: "forloop agent developer-space-sprint --sprint <id> [--message <text>]",
1644
1644
  options: [
1645
1645
  { flag: "--sprint <id>", description: "Sprint ID", required: true, type: "number" },
@@ -2305,7 +2305,7 @@ ${b("Usage:")} forloop <resource> <command> [flags]
2305
2305
 
2306
2306
  ${b("Resources:")}
2307
2307
  ${a("auth")} ${d("Authentication (login, status, logout)")}
2308
- ${a("space-sprint")}${d("Sprint operations (list, get, create, update, delete)")}
2308
+ ${a("space-sprint")}${d("Space operations (list, get, create, update, delete)")}
2309
2309
  ${a("story")} ${d("Story operations (create, get, update, delete)")}
2310
2310
  ${a("template")} ${d("Template operations (list)")}
2311
2311
  ${a("agent")} ${d("Agent operations (history, developer-space-sprint, developer-status)")}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forloop-cc/forloop-cli",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "Command-line interface for the ForLoop AI development platform",
5
5
  "type": "module",
6
6
  "license": "MIT",