@pebblehouse/odin-cli 0.14.0 → 0.14.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -929,7 +929,7 @@ depsCmd.command("remove <slug> <bet-id>").description("Remove a blocked-by depen
929
929
 
930
930
  // src/commands/bets.ts
931
931
  var betsCmd = new Command14("bets").description("Manage bets");
932
- betsCmd.command("list <slug>").description("List bets for a pebble").option("--status <status>", "Filter by status").action(async (slug, opts) => {
932
+ betsCmd.command("list <slug>").description("List bets for a pebble").option("--status <status>", "Filter by status (pitch, shaped, betting, active, blocked, building, done, archived)").action(async (slug, opts) => {
933
933
  const params = {};
934
934
  if (opts.status) params.status = opts.status;
935
935
  const res = await apiRequest(`/pebbles/${slug}/bets`, { params });
@@ -941,7 +941,7 @@ betsCmd.command("get <slug> <id>").description("Get a bet by ID").action(async (
941
941
  process.stdout.write(JSON.stringify(res) + "\n");
942
942
  if (res.error) process.exit(1);
943
943
  });
944
- betsCmd.command("create <slug> <title>").description("Create a bet").option("--source <source>", "Source agent", "claude-code").option("--content <content>", "Bet content").option("--file <path>", "Read content from file").option("--status <status>", "Bet status").option("--priority <priority>", "Bet priority").option("--appetite <appetite>", "Bet appetite").action(async (slug, title, opts) => {
944
+ betsCmd.command("create <slug> <title>").description("Create a bet").option("--source <source>", "Source agent", "claude-code").option("--content <content>", "Bet content").option("--file <path>", "Read content from file").option("--status <status>", "Bet status (pitch, shaped, betting, active, blocked, building, done, archived)").option("--priority <priority>", "Bet priority").option("--appetite <appetite>", "Bet appetite").action(async (slug, title, opts) => {
945
945
  const content = opts.file ? readFileSync10(opts.file, "utf-8") : opts.content ?? "";
946
946
  const res = await apiRequest(`/pebbles/${slug}/bets`, {
947
947
  method: "POST",
@@ -950,7 +950,7 @@ betsCmd.command("create <slug> <title>").description("Create a bet").option("--s
950
950
  process.stdout.write(JSON.stringify(res) + "\n");
951
951
  if (res.error) process.exit(1);
952
952
  });
953
- betsCmd.command("update <slug> <id>").description("Update a bet").option("--title <title>", "New title").option("--content <content>", "New content").option("--file <path>", "Read content from file").option("--status <status>", "New status").option("--priority <priority>", "New priority").option("--appetite <appetite>", "New appetite").action(async (slug, id, opts) => {
953
+ betsCmd.command("update <slug> <id>").description("Update a bet").option("--title <title>", "New title").option("--content <content>", "New content").option("--file <path>", "Read content from file").option("--status <status>", "New status (pitch, shaped, betting, active, blocked, building, done, archived)").option("--priority <priority>", "New priority").option("--appetite <appetite>", "New appetite").action(async (slug, id, opts) => {
954
954
  const body = {};
955
955
  if (opts.title) body.title = opts.title;
956
956
  if (opts.file) body.content = readFileSync10(opts.file, "utf-8");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pebblehouse/odin-cli",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "type": "module",
5
5
  "description": "CLI for Odin — the knowledge backbone for Pebble House",
6
6
  "bin": {