@ct-agents/tools 0.2.0 → 0.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ct-agents/tools",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src"
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "zod": "4.4.3",
15
- "@ct-agents/protocol": "0.2.0"
15
+ "@ct-agents/protocol": "0.2.2"
16
16
  },
17
17
  "publishConfig": {
18
18
  "access": "public"
@@ -151,7 +151,10 @@ const webSearchInputJsonSchema = {
151
151
  type: 'object',
152
152
  additionalProperties: false,
153
153
  required: ['type'],
154
- anyOf: [{ required: ['from'] }, { required: ['to'] }],
154
+ anyOf: [
155
+ { type: 'object', required: ['from'] },
156
+ { type: 'object', required: ['to'] },
157
+ ],
155
158
  properties: {
156
159
  type: { const: 'absolute' },
157
160
  from: { type: 'string', pattern: '^\\d{4}-\\d{2}-\\d{2}$' },