@openclaw/typesafe 2026.11.3 → 2026.11.5-beta.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.
Files changed (86) hide show
  1. package/README.md +28 -2
  2. package/dist/.setup/client-28h1nLtb.mjs +364 -0
  3. package/dist/.setup/{errors-BZeWj5nc.mjs → errors-CAxlQL5v.mjs} +15 -1
  4. package/dist/.source-module-urls/cb128076f461604fb70d7e9adeed8a53c97339bf983a26e3f0598f525dcccb17.json +1 -0
  5. package/dist/index.js +436 -65
  6. package/node_modules/typebox/build/format/duration.d.mts +2 -2
  7. package/node_modules/typebox/build/format/duration.mjs +2 -2
  8. package/node_modules/typebox/build/format/idn_email.d.mts +1 -0
  9. package/node_modules/typebox/build/format/idn_email.mjs +1 -0
  10. package/node_modules/typebox/build/format/idn_hostname.d.mts +1 -1
  11. package/node_modules/typebox/build/format/idn_hostname.mjs +1 -1
  12. package/node_modules/typebox/build/format/ipv4.d.mts +2 -2
  13. package/node_modules/typebox/build/format/ipv4.mjs +2 -2
  14. package/node_modules/typebox/build/format/ipv6.d.mts +1 -1
  15. package/node_modules/typebox/build/format/ipv6.mjs +1 -1
  16. package/node_modules/typebox/build/format/relative_json_pointer.d.mts +2 -2
  17. package/node_modules/typebox/build/format/relative_json_pointer.mjs +2 -2
  18. package/node_modules/typebox/build/schema/build.mjs +1 -0
  19. package/node_modules/typebox/build/schema/engine/_unique.d.mts +4 -2
  20. package/node_modules/typebox/build/schema/engine/_unique.mjs +7 -3
  21. package/node_modules/typebox/build/schema/engine/additionalItems.mjs +3 -3
  22. package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +0 -3
  23. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +15 -17
  24. package/node_modules/typebox/build/schema/engine/contains.mjs +3 -3
  25. package/node_modules/typebox/build/schema/engine/index.d.mts +1 -0
  26. package/node_modules/typebox/build/schema/engine/index.mjs +1 -0
  27. package/node_modules/typebox/build/schema/engine/items.mjs +7 -4
  28. package/node_modules/typebox/build/schema/engine/maxContains.mjs +2 -2
  29. package/node_modules/typebox/build/schema/engine/minContains.mjs +3 -3
  30. package/node_modules/typebox/build/schema/engine/oneOf.mjs +2 -2
  31. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +2 -2
  32. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +2 -2
  33. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +2 -2
  34. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +2 -2
  35. package/node_modules/typebox/build/system/hashing/hash.mjs +63 -34
  36. package/node_modules/typebox/build/system/locale/en_US.mjs +2 -1
  37. package/node_modules/typebox/build/system/memory/assign.d.mts +2 -8
  38. package/node_modules/typebox/build/system/memory/assign.mjs +13 -6
  39. package/node_modules/typebox/build/system/memory/clone.d.mts +4 -5
  40. package/node_modules/typebox/build/system/memory/clone.mjs +8 -96
  41. package/node_modules/typebox/build/system/memory/create.d.mts +1 -5
  42. package/node_modules/typebox/build/system/memory/create.mjs +18 -13
  43. package/node_modules/typebox/build/system/memory/deep.d.mts +2 -0
  44. package/node_modules/typebox/build/system/memory/deep.mjs +108 -0
  45. package/node_modules/typebox/build/system/memory/discard.d.mts +1 -1
  46. package/node_modules/typebox/build/system/memory/discard.mjs +9 -8
  47. package/node_modules/typebox/build/system/memory/finalize.d.mts +4 -0
  48. package/node_modules/typebox/build/system/memory/finalize.mjs +30 -0
  49. package/node_modules/typebox/build/system/memory/keys.d.mts +2 -0
  50. package/node_modules/typebox/build/system/memory/keys.mjs +8 -0
  51. package/node_modules/typebox/build/system/memory/update.d.mts +1 -4
  52. package/node_modules/typebox/build/system/memory/update.mjs +43 -16
  53. package/node_modules/typebox/build/type/engine/call/index.d.mts +1 -0
  54. package/node_modules/typebox/build/type/engine/call/index.mjs +1 -0
  55. package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +2 -24
  56. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +2 -29
  57. package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +1 -0
  58. package/node_modules/typebox/build/type/engine/evaluate/index.mjs +1 -0
  59. package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -1
  60. package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +6 -1
  61. package/node_modules/typebox/build/type/engine/evaluate/property.d.mts +30 -0
  62. package/node_modules/typebox/build/type/engine/evaluate/property.mjs +29 -0
  63. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +1 -3
  64. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +1 -4
  65. package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +2 -2
  66. package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +2 -2
  67. package/node_modules/typebox/build/type/engine/object/from_union.d.mts +2 -2
  68. package/node_modules/typebox/build/type/engine/object/from_union.mjs +2 -2
  69. package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +1 -3
  70. package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +1 -4
  71. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +1 -3
  72. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +1 -4
  73. package/node_modules/typebox/build/type/engine/this/index.d.mts +1 -0
  74. package/node_modules/typebox/build/type/engine/this/index.mjs +1 -0
  75. package/node_modules/typebox/build/value/clone/clone.d.mts +4 -3
  76. package/node_modules/typebox/build/value/clone/clone.mjs +5 -7
  77. package/node_modules/typebox/build/value/repair/from_cyclic.d.mts +2 -0
  78. package/node_modules/typebox/build/value/repair/from_cyclic.mjs +6 -0
  79. package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +25 -14
  80. package/node_modules/typebox/package.json +1 -1
  81. package/node_modules/typebox/readme.md +1 -1
  82. package/openclaw.plugin.json +197 -47
  83. package/package.json +5 -5
  84. package/dist/.setup/client-6lXBoHzi.mjs +0 -397
  85. package/node_modules/typebox/build/system/memory/freeze.d.mts +0 -4
  86. package/node_modules/typebox/build/system/memory/freeze.mjs +0 -6
@@ -1,12 +1,12 @@
1
1
  // deno-fmt-ignore-file
2
2
  import { Guard } from '../../../guard/index.mjs';
3
3
  import { Unreachable } from '../../../system/unreachable/index.mjs';
4
- import { EvaluateUnion } from '../evaluate/evaluate.mjs';
4
+ import { EvaluatePropertyUnion } from '../evaluate/property.mjs';
5
5
  import { FromType } from './from_type.mjs';
6
6
  function CollapseUnionProperties(left, right) {
7
7
  const sharedKeys = Guard.Keys(left).filter((key) => key in right);
8
8
  const result = sharedKeys.reduce((result, key) => {
9
- return { ...result, [key]: EvaluateUnion([left[key], right[key]]) };
9
+ return { ...result, [key]: EvaluatePropertyUnion(left[key], right[key]) };
10
10
  }, {});
11
11
  return result;
12
12
  }
@@ -2,9 +2,7 @@ import { type TSchema, type TSchemaOptions } from '../../types/schema.mjs';
2
2
  import { type TProperties } from '../../types/properties.mjs';
3
3
  import { type TOptional } from '../../types/_optional.mjs';
4
4
  import { type TState, type TInstantiateType } from '../instantiate.mjs';
5
- type TAddOptionalOperation<Type extends TSchema, Result extends TSchema = `~optional` extends keyof Type ? Type : TOptional<Type>> = Result;
6
- export type TAddOptionalAction<Type extends TSchema, Result extends TSchema = TAddOptionalOperation<Type>> = Result;
5
+ export type TAddOptionalAction<Type extends TSchema, Result extends TSchema = '~optional' extends keyof Type ? Type : TOptional<Type>> = Result;
7
6
  export declare function AddOptionalAction<Type extends TSchema>(type: Type, options: TSchemaOptions): TAddOptionalAction<Type>;
8
7
  export type TAddOptionalInstantiate<Context extends TProperties, State extends TState, Type extends TSchema, InstantiateType extends TSchema = TInstantiateType<Context, State, Type>> = TAddOptionalAction<InstantiateType>;
9
8
  export declare function AddOptionalInstantiate<Context extends TProperties, State extends TState, Type extends TSchema>(context: Context, state: State, type: Type, options: TSchemaOptions): TAddOptionalInstantiate<Context, State, Type>;
10
- export {};
@@ -1,11 +1,8 @@
1
1
  // deno-fmt-ignore-file
2
2
  import { Memory } from '../../../system/memory/index.mjs';
3
3
  import { InstantiateType } from '../instantiate.mjs';
4
- function AddOptionalOperation(type) {
5
- return Memory.Update(type, { '~optional': true }, {});
6
- }
7
4
  export function AddOptionalAction(type, options) {
8
- const result = Memory.Update(AddOptionalOperation(type), {}, options);
5
+ const result = Memory.Update(type, { '~optional': true }, options);
9
6
  return result;
10
7
  }
11
8
  export function AddOptionalInstantiate(context, state, type, options) {
@@ -2,9 +2,7 @@ import { type TSchema, type TSchemaOptions } from '../../types/schema.mjs';
2
2
  import { type TProperties } from '../../types/properties.mjs';
3
3
  import { type TReadonly } from '../../types/_readonly.mjs';
4
4
  import { type TState, type TInstantiateType } from '../instantiate.mjs';
5
- type TAddReadonlyOperation<Type extends TSchema, Result extends TSchema = `~readonly` extends keyof Type ? Type : TReadonly<Type>> = Result;
6
- export type TAddReadonlyAction<Type extends TSchema, Result extends TSchema = TAddReadonlyOperation<Type>> = Result;
5
+ export type TAddReadonlyAction<Type extends TSchema, Result extends TSchema = '~readonly' extends keyof Type ? Type : TReadonly<Type>> = Result;
7
6
  export declare function AddReadonlyAction<Type extends TSchema>(type: Type, options: TSchemaOptions): TAddReadonlyAction<Type>;
8
7
  export type TAddReadonlyInstantiate<Context extends TProperties, State extends TState, Type extends TSchema, InstantiateType extends TSchema = TInstantiateType<Context, State, Type>> = TAddReadonlyAction<InstantiateType>;
9
8
  export declare function AddReadonlyInstantiate<Context extends TProperties, State extends TState, Type extends TSchema>(context: Context, state: State, type: Type, options: TSchemaOptions): TAddReadonlyInstantiate<Context, State, Type>;
10
- export {};
@@ -1,11 +1,8 @@
1
1
  // deno-fmt-ignore-file
2
2
  import { Memory } from '../../../system/memory/index.mjs';
3
3
  import { InstantiateType } from '../instantiate.mjs';
4
- function AddReadonlyOperation(type) {
5
- return Memory.Update(type, { '~readonly': true }, {});
6
- }
7
4
  export function AddReadonlyAction(type, options) {
8
- const result = Memory.Update(AddReadonlyOperation(type), {}, options);
5
+ const result = Memory.Update(type, { '~readonly': true }, options);
9
6
  return result;
10
7
  }
11
8
  export function AddReadonlyInstantiate(context, state, type, options) {
@@ -0,0 +1 @@
1
+ export * from './expand_this.mjs';
@@ -0,0 +1 @@
1
+ export * from './expand_this.mjs';
@@ -1,5 +1,6 @@
1
1
  /**
2
- * Returns a Clone of the given value. This function is similar to structuredClone()
3
- * but also supports deep cloning instances of Map, Set and TypeArray.
2
+ * Returns a deep Clone of the given value. This function is similar to `structuredClone()`,
3
+ * but also supports deep cloning `Map`, `Set`, and `TypeArray` instances. This function can also be used
4
+ * to clone TypeBox types while retaining their enumerable and non-enumerable properties.
4
5
  */
5
- export declare function Clone<Value extends unknown>(value: Value): Value;
6
+ export declare function Clone<Value extends unknown = unknown>(value: Value): Value;
@@ -1,12 +1,10 @@
1
1
  // deno-fmt-ignore-file
2
- import { Clone as SystemClone } from '../../system/memory/clone.mjs';
3
- // ------------------------------------------------------------------
4
- // Clone
5
- // ------------------------------------------------------------------
2
+ import { Deep } from '../../system/memory/deep.mjs';
6
3
  /**
7
- * Returns a Clone of the given value. This function is similar to structuredClone()
8
- * but also supports deep cloning instances of Map, Set and TypeArray.
4
+ * Returns a deep Clone of the given value. This function is similar to `structuredClone()`,
5
+ * but also supports deep cloning `Map`, `Set`, and `TypeArray` instances. This function can also be used
6
+ * to clone TypeBox types while retaining their enumerable and non-enumerable properties.
9
7
  */
10
8
  export function Clone(value) {
11
- return SystemClone(value);
9
+ return Deep(value);
12
10
  }
@@ -0,0 +1,2 @@
1
+ import { type TProperties, type TCyclic } from '../../type/index.mjs';
2
+ export declare function FromCyclic(context: TProperties, type: TCyclic, value: unknown): unknown;
@@ -0,0 +1,6 @@
1
+ // deno-fmt-ignore-file
2
+ import { Ref } from '../../type/index.mjs';
3
+ import { FromType } from './from_type.mjs';
4
+ export function FromCyclic(context, type, value) {
5
+ return FromType({ ...context, ...type.$defs }, Ref(type.$ref), value);
6
+ }
@@ -1,28 +1,27 @@
1
1
  // deno-fmt-ignore-file
2
2
  import Guard from '../../guard/index.mjs';
3
- import { IsArray, Array as _Array_, ArrayOptions } from '../../type/index.mjs';
4
- import { IsUnion, Union } from '../../type/index.mjs';
3
+ import { Memory } from '../../system/memory/index.mjs';
4
+ import { Array as _Array_, ArrayOptions, IsArray } from '../../type/index.mjs';
5
+ import { Intersect, IsIntersect } from '../../type/index.mjs';
5
6
  import { IsObject, Object as _Object_ } from '../../type/index.mjs';
6
- import { IsRecord, Record, RecordKey, RecordValue } from '../../type/index.mjs';
7
+ import { IsRecord, Record, RecordPattern, RecordValue } from '../../type/index.mjs';
8
+ import { String } from '../../type/index.mjs';
7
9
  import { IsTuple, Tuple } from '../../type/index.mjs';
8
- import { IsIntersect, Intersect } from '../../type/index.mjs';
10
+ import { IsUnion, Union } from '../../type/index.mjs';
9
11
  import { Priority } from '../../type/index.mjs';
10
12
  // ------------------------------------------------------------------
11
13
  // Modifiers (Mutable)
12
14
  //
13
15
  // Prioritized types lose `~modifier` properties and additional constraints
14
16
  // (e.g. additionalProperties) during the mapping phase and need to be
15
- // reassigned afterward. This is a fast mutable assignment to handle that,
16
- // but we should consider a more general solution. (review)
17
+ // reassigned afterward. We previously used a mutable assignment on this
18
+ // function, however `immutableTypes: true` caused errors. We use the
19
+ // Memory.Assign to ensure modifiers are retained and we preserve type
20
+ // configurations (review)
17
21
  //
18
22
  // ------------------------------------------------------------------
19
23
  function Modifiers(type, next) {
20
- for (const key of Guard.Keys(type)) {
21
- if (Guard.HasPropertyKey(next, key))
22
- continue;
23
- next[key] = type[key];
24
- }
25
- return next;
24
+ return Memory.Assign(type, next);
26
25
  }
27
26
  // ------------------------------------------------------------------
28
27
  // Properties
@@ -34,6 +33,18 @@ function FromProperties(properties) {
34
33
  return result;
35
34
  }
36
35
  // ------------------------------------------------------------------
36
+ // FromRecordKey
37
+ //
38
+ // This is required because RecordKey(...) returns a canonical
39
+ // decoded type derived from the pattern. When the pattern is an
40
+ // unrecognized user-defined one, the result falls through to
41
+ // TString (^.*$) and the user-defined pattern is lost. This
42
+ // function ensures the exact pattern is retained.
43
+ // ------------------------------------------------------------------
44
+ function FromRecordKey(type) {
45
+ return String({ pattern: RecordPattern(type) });
46
+ }
47
+ // ------------------------------------------------------------------
37
48
  // PriorityTypes
38
49
  // ------------------------------------------------------------------
39
50
  function FromPriorityTypes(types) {
@@ -43,7 +54,7 @@ function FromPriorityTypes(types) {
43
54
  // Types
44
55
  // ------------------------------------------------------------------
45
56
  function FromTypes(types) {
46
- return types.map(type => FromType(type));
57
+ return types.map((type) => FromType(type));
47
58
  }
48
59
  // ------------------------------------------------------------------
49
60
  // Type
@@ -53,7 +64,7 @@ function FromType(type) {
53
64
  IsIntersect(type) ? Intersect(FromTypes(type.allOf)) :
54
65
  IsUnion(type) ? Union(FromPriorityTypes(type.anyOf)) :
55
66
  IsObject(type) ? _Object_(FromProperties(type.properties)) :
56
- IsRecord(type) ? Record(RecordKey(type), FromType(RecordValue(type))) :
67
+ IsRecord(type) ? Record(FromRecordKey(type), FromType(RecordValue(type))) :
57
68
  IsTuple(type) ? Tuple(FromTypes(type.items)) :
58
69
  type);
59
70
  return Modifiers(type, next);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "typebox",
3
3
  "description": "Json Schema Type Builder with Static Type Resolution for TypeScript",
4
- "version": "1.3.35",
4
+ "version": "1.4.2",
5
5
  "keywords": [
6
6
  "typescript",
7
7
  "jsonschema"
@@ -196,7 +196,7 @@ const result = Vector.Parse({ x: 1, y: 0, z: 0 }) // const result: {
196
196
 
197
197
  [JSON Schema Test Suite](https://github.com/json-schema-org/JSON-Schema-Test-Suite) | [JSON Schema Compliance Suite](https://github.com/sinclairzx81/json-schema-compliance-suite)
198
198
 
199
- TypeBox supports all versions of JSON Schema and is heavily tested against the official JSON Schema Test Suite. It prioritizes compatibility with modern specifications while also maintaining broad support for legacy versions provided their semantics are not in conflict with modern specifications.
199
+ TypeBox supports all versions of JSON Schema and is heavily tested against the official JSON Schema Test Suite. It has high compatibility with modern specifications while also offering broad support for legacy versions if their semantics are not in conflict with modern specifications.
200
200
 
201
201
  | Spec | 3 | 4 | 6 | 7 | 2019-09 | 2020-12 | v1 |
202
202
  |:-----|:--|:--|:--|:--|:--|:--|:--|
@@ -29,7 +29,7 @@
29
29
  "uiHints": {
30
30
  "apiKey": {
31
31
  "label": "TypeSafe API credential",
32
- "help": "Hosted Jev only. Select a SecretRef in Settings \u2192 Secrets. Ignored for a local baseUrl. Never paste credentials in chat.",
32
+ "help": "Hosted Jev only. Select a SecretRef in Settings \u2192 Secrets. Ignored for a local baseUrl or an explicit models.providers.typesafe entry. Configure custom server credentials on that provider entry. Never paste credentials in chat.",
33
33
  "sensitive": true
34
34
  },
35
35
  "timeoutMs": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "baseUrl": {
40
40
  "label": "Local System One origin",
41
- "help": "Optional loopback origin, such as http://127.0.0.1:8009, for a running Kev server. Omit for hosted Jev. Local requests do not use the TypeSafe credential; the server chooses the loaded checkpoint."
41
+ "help": "Existing loopback-only origin, such as http://127.0.0.1:8009, for a running Kev server. For custom endpoints, authentication, proxy, and TLS settings, use models.providers.typesafe. A model-provider entry takes precedence over this setting. Without either, requests use hosted Jev."
42
42
  }
43
43
  },
44
44
  "configSchema": {
@@ -99,54 +99,204 @@
99
99
  },
100
100
  "additionalProperties": false
101
101
  },
102
- "decisionModels": [
103
- {
104
- "provider": "typesafe",
105
- "id": "jev-latest",
106
- "name": "Jev",
107
- "capabilities": {
108
- "questionTypes": [
109
- "boolean",
110
- "choice",
111
- "score"
112
- ],
113
- "maxQuestions": 256,
114
- "maxChoiceAlternatives": 255,
115
- "maxScoreLevels": 10,
116
- "confidence": "provider-specific"
117
- }
118
- },
119
- {
120
- "provider": "typesafe",
121
- "id": "jev-1.13.0",
122
- "name": "Jev 1.13.0",
123
- "capabilities": {
124
- "questionTypes": [
125
- "boolean",
126
- "choice",
127
- "score"
102
+ "providers": [
103
+ "typesafe"
104
+ ],
105
+ "modelCatalog": {
106
+ "providers": {
107
+ "typesafe": {
108
+ "models": [
109
+ {
110
+ "id": "jev-latest",
111
+ "name": "Jev",
112
+ "baseUrl": "https://api.typesafe.ai/v1",
113
+ "inference": {
114
+ "chat": false,
115
+ "decision": {
116
+ "protocol": "typesafe-systemone",
117
+ "input": [
118
+ "text",
119
+ "image"
120
+ ],
121
+ "questions": {
122
+ "boolean": {
123
+ "probabilities": "boolean",
124
+ "abstention": false
125
+ },
126
+ "choice": {
127
+ "probabilities": "provider-defined",
128
+ "abstention": false,
129
+ "minOptions": 2,
130
+ "maxOptions": 255
131
+ },
132
+ "score": {
133
+ "probabilities": "provider-defined",
134
+ "abstention": false,
135
+ "minOptions": 2,
136
+ "maxOptions": 10
137
+ }
138
+ },
139
+ "reasoning": {
140
+ "modes": ["auto"]
141
+ },
142
+ "confidence": "provider-specific",
143
+ "limits": {
144
+ "image": {
145
+ "maxBytes": 4194304,
146
+ "mimeTypes": ["image/png", "image/jpeg"],
147
+ "remoteUrls": false
148
+ }
149
+ }
150
+ }
151
+ }
152
+ },
153
+ {
154
+ "id": "jev-preview",
155
+ "name": "Jev Preview",
156
+ "baseUrl": "https://api.typesafe.ai/v1",
157
+ "status": "preview",
158
+ "inference": {
159
+ "chat": false,
160
+ "decision": {
161
+ "protocol": "typesafe-systemone",
162
+ "input": [
163
+ "text",
164
+ "image"
165
+ ],
166
+ "questions": {
167
+ "boolean": {
168
+ "probabilities": "boolean",
169
+ "abstention": false
170
+ },
171
+ "choice": {
172
+ "probabilities": "provider-defined",
173
+ "abstention": false,
174
+ "minOptions": 2,
175
+ "maxOptions": 255
176
+ },
177
+ "score": {
178
+ "probabilities": "provider-defined",
179
+ "abstention": false,
180
+ "minOptions": 2,
181
+ "maxOptions": 10
182
+ }
183
+ },
184
+ "reasoning": {
185
+ "modes": ["auto"]
186
+ },
187
+ "confidence": "provider-specific",
188
+ "limits": {
189
+ "image": {
190
+ "maxBytes": 4194304,
191
+ "mimeTypes": ["image/png", "image/jpeg"],
192
+ "remoteUrls": false
193
+ }
194
+ }
195
+ }
196
+ }
197
+ },
198
+ {
199
+ "id": "jev-1.13.0",
200
+ "name": "Jev 1.13.0",
201
+ "baseUrl": "https://api.typesafe.ai/v1",
202
+ "inference": {
203
+ "chat": false,
204
+ "decision": {
205
+ "protocol": "typesafe-systemone",
206
+ "input": [
207
+ "text",
208
+ "image"
209
+ ],
210
+ "questions": {
211
+ "boolean": {
212
+ "probabilities": "boolean",
213
+ "abstention": false
214
+ },
215
+ "choice": {
216
+ "probabilities": "provider-defined",
217
+ "abstention": false,
218
+ "minOptions": 2,
219
+ "maxOptions": 255
220
+ },
221
+ "score": {
222
+ "probabilities": "provider-defined",
223
+ "abstention": false,
224
+ "minOptions": 2,
225
+ "maxOptions": 10
226
+ }
227
+ },
228
+ "reasoning": {
229
+ "modes": ["auto"]
230
+ },
231
+ "confidence": "provider-specific",
232
+ "limits": {
233
+ "image": {
234
+ "maxBytes": 4194304,
235
+ "mimeTypes": ["image/png", "image/jpeg"],
236
+ "remoteUrls": false
237
+ },
238
+ "maxRequestTokens": 64000,
239
+ "maxStateAndQuestionTokens": 32000
240
+ },
241
+ "billing": {
242
+ "unit": "tokens",
243
+ "source": "provider-docs",
244
+ "usdPerMillion": {
245
+ "input": 0.042,
246
+ "output": 0
247
+ }
248
+ }
249
+ }
250
+ }
251
+ },
252
+ {
253
+ "id": "kev-latest",
254
+ "name": "Kev (local server)",
255
+ "inference": {
256
+ "chat": false,
257
+ "decision": {
258
+ "protocol": "typesafe-systemone",
259
+ "input": [
260
+ "text"
261
+ ],
262
+ "questions": {
263
+ "boolean": {
264
+ "probabilities": "boolean",
265
+ "abstention": false
266
+ },
267
+ "choice": {
268
+ "probabilities": "provider-defined",
269
+ "abstention": false,
270
+ "minOptions": 2,
271
+ "maxOptions": 255
272
+ },
273
+ "score": {
274
+ "probabilities": "provider-defined",
275
+ "abstention": false,
276
+ "minOptions": 2,
277
+ "maxOptions": 10
278
+ }
279
+ },
280
+ "reasoning": {
281
+ "modes": ["auto"]
282
+ },
283
+ "confidence": "provider-specific"
284
+ }
285
+ }
286
+ }
128
287
  ],
129
- "maxQuestions": 256,
130
- "maxChoiceAlternatives": 255,
131
- "maxScoreLevels": 10,
132
- "confidence": "provider-specific"
288
+ "authScope": "plugin"
133
289
  }
134
- },
135
- {
136
- "provider": "typesafe",
137
- "id": "kev-latest",
138
- "name": "Kev (local server)",
139
- "capabilities": {
140
- "questionTypes": [
141
- "boolean",
142
- "choice",
143
- "score"
144
- ],
145
- "maxQuestions": 256,
146
- "maxChoiceAlternatives": 255,
147
- "maxScoreLevels": 10,
148
- "confidence": "provider-specific"
290
+ }
291
+ },
292
+ "modelPricing": {
293
+ "providers": {
294
+ "typesafe": {
295
+ "external": false
149
296
  }
150
297
  }
298
+ },
299
+ "nonSecretAuthMarkers": [
300
+ "typesafe-local"
151
301
  ]
152
302
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/typesafe",
3
- "version": "2026.11.3",
3
+ "version": "2026.11.5-beta.2",
4
4
  "description": "OpenClaw TypeSafe typed decision provider",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "typebox": "1.3.35"
11
+ "typebox": "1.4.2"
12
12
  },
13
13
  "openclaw": {
14
14
  "extensions": [
@@ -21,11 +21,11 @@
21
21
  "minHostVersion": ">=2026.9.6"
22
22
  },
23
23
  "compat": {
24
- "pluginApi": ">=2026.11.3"
24
+ "pluginApi": ">=2026.11.5-beta.2"
25
25
  },
26
26
  "build": {
27
27
  "bundledDist": false,
28
- "openclawVersion": "2026.11.3"
28
+ "openclawVersion": "2026.11.5-beta.2"
29
29
  },
30
30
  "release": {
31
31
  "publishToClawHub": true,
@@ -43,7 +43,7 @@
43
43
  "assets/activity.svg"
44
44
  ],
45
45
  "peerDependencies": {
46
- "openclaw": ">=2026.11.3"
46
+ "openclaw": ">=2026.11.5-beta.2"
47
47
  },
48
48
  "peerDependenciesMeta": {
49
49
  "openclaw": {