@opencode/schema 0.0.0-dev-583 → 0.0.0-dev-605

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.
@@ -2335,6 +2335,8 @@ declare const Attempt_base: Schema.Class<Attempt, Schema.Struct<{
2335
2335
  readonly url: Schema.String;
2336
2336
  readonly instructions: Schema.String;
2337
2337
  readonly mode: Schema.Literals<readonly ["auto", "code"]>;
2338
+ /** An `auto` attempt also accepts the redirect URL pasted from the browser as its `code`. */
2339
+ readonly paste: Schema.optionalKey<Schema.Literal<true>>;
2338
2340
  readonly time: Schema.Struct<{
2339
2341
  readonly created: Schema.Number;
2340
2342
  readonly expires: Schema.Number;
@@ -66,6 +66,8 @@ export class Attempt extends Schema.Class("Integration.Attempt")({
66
66
  url: Schema.String,
67
67
  instructions: Schema.String,
68
68
  mode: Schema.Literals(["auto", "code"]),
69
+ /** An `auto` attempt also accepts the redirect URL pasted from the browser as its `code`. */
70
+ paste: Schema.optionalKey(Schema.Literal(true)),
69
71
  time: AttemptTime,
70
72
  }) {
71
73
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/schema",
4
- "version": "0.0.0-dev-583",
4
+ "version": "0.0.0-dev-605",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {