@opencode/schema 0.0.0-dev-1042 → 0.0.0-dev-1063

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.
@@ -8,7 +8,7 @@ export class Info extends Schema.Class("Config.Warming")({
8
8
  interval: Schema.Union([Schema.Literal("auto"), Schema.DurationFromString])
9
9
  .pipe(optional)
10
10
  .annotate({
11
- description: 'Idle time between keep-alive requests (default: "4 minutes"). "auto" uses 90% of the model\'s cache.ttl and skips models without one.',
11
+ description: 'Idle time between keep-alive requests (default: "auto"). "auto" uses 90% of the model\'s cache.ttl, or 4 minutes when it has none.',
12
12
  }),
13
13
  duration: Schema.DurationFromString.pipe(optional).annotate({
14
14
  description: 'Time after the last active request to keep a session warm (default: "30 minutes")',
package/dist/provider.js CHANGED
@@ -41,7 +41,7 @@ export const CacheWarming = Schema.Union([
41
41
  // Settings hold JSON, so durations stay strings here; the warming plugin parses them.
42
42
  interval: Schema.Union([Schema.Literal("auto"), Schema.String])
43
43
  .pipe(optional)
44
- .annotate({ description: 'Duration such as "4 minutes", or "auto" for 90% of the model\'s cache.ttl' }),
44
+ .annotate({ description: 'Duration such as "4 minutes", or "auto" (default) for 90% of the model\'s cache.ttl' }),
45
45
  duration: Schema.String.pipe(optional).annotate({ description: 'Duration such as "30 minutes"' }),
46
46
  }),
47
47
  ]).annotate({ identifier: "Provider.CacheWarming" });
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-1042",
4
+ "version": "0.0.0-dev-1063",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -17,12 +17,12 @@
17
17
  ],
18
18
  "exports": {
19
19
  ".": {
20
- "import": "./dist/index.js",
21
- "types": "./dist/index.d.ts"
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js"
22
22
  },
23
23
  "./*": {
24
- "import": "./dist/*.js",
25
- "types": "./dist/*.d.ts"
24
+ "types": "./dist/*.d.ts",
25
+ "import": "./dist/*.js"
26
26
  }
27
27
  },
28
28
  "scripts": {