@kapybara/zerosub 1.3.0 → 1.5.0

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.
@@ -22,10 +22,15 @@ export const preferences = defineSettings({
22
22
  * open at the time. Codex threads never move either way.
23
23
  */
24
24
  moveAgentsOnDefaultChange: z.boolean().default(true),
25
- /** New agents start on the account with the most headroom instead of the default. */
25
+ /** New agents choose an account by usage instead of the default. */
26
26
  balanceNewAgents: z.boolean().default(false),
27
27
  /** When every account of a provider is at its limit, spend a banked reset instead of stopping. */
28
28
  autoRedeem: z.boolean().default(false),
29
+ /**
30
+ * A ChatGPT account at its limit stays in use while it has ChatGPT credits, so new agents may
31
+ * spend paid credits even while another account still has room. A limit a turn ran into stands.
32
+ */
33
+ useCredits: z.boolean().default(false),
29
34
  /**
30
35
  * When every account of a provider is at its limit, carry the chat on in a new agent on the
31
36
  * other provider (Claude ↔ ChatGPT), in a mode no more permissive than the original's.
package/shared/rpc.ts CHANGED
@@ -48,7 +48,7 @@ export const ReopenSummarySchema = z.object({
48
48
  /** Busy agents move when their current turn ends. */
49
49
  deferred: z.array(z.string()),
50
50
  failed: z.array(z.object({ agentId: z.string(), error: z.string() })),
51
- /** A conversation that could not move in place and continues in this new agent instead. */
51
+ /** A conversation that could not move in place and continues in this account's agent instead. */
52
52
  continuedIn: z.object({ agentId: z.string(), title: z.string() }).nullable().default(null),
53
53
  });
54
54
  export type ReopenSummary = z.infer<typeof ReopenSummarySchema>;