@opencode/schema 0.0.0-dev-21351 → 0.0.0-dev-21353
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.
|
@@ -4,6 +4,7 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
|
|
|
4
4
|
readonly portable_shell_scanner: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
5
5
|
readonly todo: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
6
6
|
readonly subagent_depth: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
7
|
+
readonly location_idle_timeout: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.DurationFromString, Schema.Literal<false>]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.DurationFromString, Schema.Literal<false>]>>, never, never>;
|
|
7
8
|
readonly policies: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
8
9
|
readonly action: Schema.Literals<readonly ["provider.use", "tool.use", "integration.use"]>;
|
|
9
10
|
readonly resource: Schema.String;
|
|
@@ -12,6 +12,11 @@ export class Info extends Schema.Class("ConfigExperimental.Info")({
|
|
|
12
12
|
subagent_depth: NonNegativeInt.pipe(optional).annotate({
|
|
13
13
|
description: "Maximum subagent nesting depth. Defaults to 1.",
|
|
14
14
|
}),
|
|
15
|
+
location_idle_timeout: Schema.Union([Schema.DurationFromString, Schema.Literal(false)])
|
|
16
|
+
.pipe(optional)
|
|
17
|
+
.annotate({
|
|
18
|
+
description: 'How long a location can go without session activity before its services are unloaded. Running sessions and background jobs keep a location loaded. Set to false to never unload (default: "60 minutes")',
|
|
19
|
+
}),
|
|
15
20
|
policies: ConfigPolicy.Info.pipe(Schema.Array, optional).annotate({
|
|
16
21
|
description: "Deprecated: use top-level policies. Ordered policies controlling access to configured resources",
|
|
17
22
|
}),
|