@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.
- package/dist/integration.d.ts +2 -0
- package/dist/integration.js +2 -0
- package/package.json +1 -1
package/dist/integration.d.ts
CHANGED
|
@@ -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;
|
package/dist/integration.js
CHANGED
|
@@ -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
|
}
|