@khalilgharbaoui/opencode-claude-code-plugin 0.60.0 → 0.60.2

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.
package/dist/index.d.ts CHANGED
@@ -1634,22 +1634,22 @@ declare class ClaudeCodeLanguageModel implements LanguageModelV3 {
1634
1634
  * switch, and outside `runModelChain` on purpose: an account switch starts
1635
1635
  * that account's own model chain from the top.
1636
1636
  *
1637
- * Anything but `"auto"` is `runModelChain` and one `await`, so `"off"` and
1638
- * `"ask"` are exactly what they were. With `"auto"`, the attempt that failed
1639
- * decides the switch itself (`completeResult` sets `run.switchTo` and closes
1640
- * its stream without a `finish`), and the next attempt's prologue makes the
1641
- * switch the form's pick would have made. This only splices the attempts
1642
- * into one caller turn: one `stream-start`, and the `finish` of whichever
1643
- * attempt did not switch.
1637
+ * Anything but `"auto"` is `runModelChain` behind `stopOnCancel`. With
1638
+ * `"auto"`, the attempt that failed decides the switch itself
1639
+ * (`completeResult` sets `run.switchTo` and closes its stream without a
1640
+ * `finish`), and the next attempt's prologue makes the switch the form's pick
1641
+ * would have made. This only splices the attempts into one caller turn: one
1642
+ * `stream-start`, and the `finish` of whichever attempt did not switch.
1644
1643
  *
1645
1644
  * The bound is `run.tried`, as it is `tried` for the model chain: every
1646
1645
  * account spawned or switched to goes in, and none in it is picked again.
1647
1646
  *
1648
- * Cancelling the returned stream is a stop, for every attempt: this loop is
1649
- * the plugin starting more work on the caller's behalf, so a caller that
1650
- * has gone away must reach all of it. Each attempt gets a signal that the
1651
- * caller's own `abortSignal` and a `cancel()` both abort, and the loop
1652
- * starts no further account once either has happened.
1647
+ * Cancelling the returned stream is a stop, in every mode: a caller that has
1648
+ * gone away must reach the turn it started, or the CLI runs it to the end
1649
+ * and bills it. Each attempt gets a signal that the caller's own
1650
+ * `abortSignal` and a `cancel()` both abort, so a cancel takes the turn's
1651
+ * ordinary abort path, and with `"auto"` the loop starts no further account
1652
+ * once either has happened. Until (h #g257) only `"auto"` did this.
1653
1653
  */
1654
1654
  private runAccountFailover;
1655
1655
  /**