@skrr-ai/cli 0.1.141 → 0.1.142

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.
@@ -262,7 +262,9 @@ class AgentsSpawn extends base_command_1.BaseCommand {
262
262
  this.log(`(ignored unknown sources: ${plan.droppedWatchers.join(', ')})`);
263
263
  }
264
264
  this.error(plan.failure
265
- ? 'Planning could not start. Review the billing guidance above.'
265
+ ? plan.failure.code === 'balance-exhausted'
266
+ ? 'Planning could not start. Review the billing guidance above.'
267
+ : 'Planning could not complete. Try again later.'
266
268
  : 'Could not build a complete agent yet — refine the sentence and try again.', {
267
269
  exit: 1,
268
270
  });
@@ -417,7 +419,9 @@ class AgentsSpawn extends base_command_1.BaseCommand {
417
419
  this.log(`(ignored unknown sources: ${plan.droppedWatchers.join(', ')})`);
418
420
  }
419
421
  this.error(plan.failure
420
- ? 'Recommendation was not created because planning could not start. Review the billing guidance above.'
422
+ ? plan.failure.code === 'balance-exhausted'
423
+ ? 'Recommendation was not created because planning could not start. Review the billing guidance above.'
424
+ : 'Recommendation was not created because planning could not complete. Try again later.'
421
425
  : 'Recommendation was not created — refine the sentence and try again.', {
422
426
  exit: 1,
423
427
  });
@@ -22,7 +22,7 @@ class SpacesHeartbeatsCreate extends base_command_1.BaseCommand {
22
22
  }),
23
23
  agent: core_1.Flags.string({ description: 'Agent ID (required unless set via --from-json)' }),
24
24
  frequency: core_1.Flags.string({
25
- description: 'How often it runs, as a ladder key: 1m, 2m, 5m, 10m, 15m, 30m, hourly, 2h, 4h, 8h, daily, 2d, 4d, weekly, 2w. Not a cron expression. The time of day is fixed by the key (daily is 09:00 in --timezone).',
25
+ description: 'How often it runs, as a ladder key: 30m, hourly, 2h, 4h, 8h, daily, 2d, 4d, weekly, 2w. The minimum is 30 minutes. Not a cron expression. The time of day is fixed by the key (daily is 09:00 in --timezone).',
26
26
  }),
27
27
  prompt: core_1.Flags.string({ description: 'Prompt sent to the agent on each heartbeat' }),
28
28
  timezone: core_1.Flags.string({
@@ -22,7 +22,7 @@ class SpacesHeartbeatsUpdate extends base_command_1.BaseCommand {
22
22
  description: 'Path to a JSON file (or "-" for stdin) to use as the patch body',
23
23
  }),
24
24
  frequency: core_1.Flags.string({
25
- description: 'How often it runs, as a ladder key: 1m, 2m, 5m, 10m, 15m, 30m, hourly, 2h, 4h, 8h, daily, 2d, 4d, weekly, 2w. Not a cron expression. The time of day is fixed by the key (daily is 09:00 in --timezone).',
25
+ description: 'How often it runs, as a ladder key: 30m, hourly, 2h, 4h, 8h, daily, 2d, 4d, weekly, 2w. The minimum is 30 minutes. Not a cron expression. The time of day is fixed by the key (daily is 09:00 in --timezone).',
26
26
  }),
27
27
  prompt: core_1.Flags.string({ description: 'Prompt sent to the agent on each heartbeat' }),
28
28
  timezone: core_1.Flags.string({ description: 'Timezone the schedule runs in' }),
@@ -85,7 +85,7 @@ export interface PlanProactiveAgentResponse {
85
85
  needsRefinement: boolean;
86
86
  failure?: {
87
87
  code: string;
88
- retryable: boolean;
88
+ retryable: boolean | null;
89
89
  billingOwnerType: string | null;
90
90
  };
91
91
  droppedWatchers?: string[];
@@ -93019,7 +93019,7 @@
93019
93019
  "type": "option"
93020
93020
  },
93021
93021
  "frequency": {
93022
- "description": "How often it runs, as a ladder key: 1m, 2m, 5m, 10m, 15m, 30m, hourly, 2h, 4h, 8h, daily, 2d, 4d, weekly, 2w. Not a cron expression. The time of day is fixed by the key (daily is 09:00 in --timezone).",
93022
+ "description": "How often it runs, as a ladder key: 30m, hourly, 2h, 4h, 8h, daily, 2d, 4d, weekly, 2w. The minimum is 30 minutes. Not a cron expression. The time of day is fixed by the key (daily is 09:00 in --timezone).",
93023
93023
  "name": "frequency",
93024
93024
  "hasDynamicHelp": false,
93025
93025
  "multiple": false,
@@ -93398,7 +93398,7 @@
93398
93398
  "type": "option"
93399
93399
  },
93400
93400
  "frequency": {
93401
- "description": "How often it runs, as a ladder key: 1m, 2m, 5m, 10m, 15m, 30m, hourly, 2h, 4h, 8h, daily, 2d, 4d, weekly, 2w. Not a cron expression. The time of day is fixed by the key (daily is 09:00 in --timezone).",
93401
+ "description": "How often it runs, as a ladder key: 30m, hourly, 2h, 4h, 8h, daily, 2d, 4d, weekly, 2w. The minimum is 30 minutes. Not a cron expression. The time of day is fixed by the key (daily is 09:00 in --timezone).",
93402
93402
  "name": "frequency",
93403
93403
  "hasDynamicHelp": false,
93404
93404
  "multiple": false,
@@ -143533,5 +143533,5 @@
143533
143533
  ]
143534
143534
  }
143535
143535
  },
143536
- "version": "0.1.141"
143536
+ "version": "0.1.142"
143537
143537
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrr-ai/cli",
3
- "version": "0.1.141",
3
+ "version": "0.1.142",
4
4
  "description": "Command-line interface for skrr",
5
5
  "license": "ISC",
6
6
  "author": "skrr",