@cognipeer/agent-sdk 0.10.6 → 0.13.0

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.
@@ -0,0 +1,622 @@
1
+ {
2
+ "version": 1,
3
+ "effortLadder": [
4
+ "none",
5
+ "minimal",
6
+ "low",
7
+ "medium",
8
+ "high",
9
+ "xhigh",
10
+ "max"
11
+ ],
12
+ "budgets": {
13
+ "minimal": 1024,
14
+ "low": 2048,
15
+ "medium": 8192,
16
+ "high": 16384,
17
+ "xhigh": 24576,
18
+ "max": 32768
19
+ },
20
+ "geminiBudgets": {
21
+ "minimal": 512,
22
+ "low": 1024,
23
+ "medium": 4096,
24
+ "high": 12000,
25
+ "xhigh": 24576,
26
+ "max": 24576
27
+ },
28
+ "rules": [
29
+ {
30
+ "id": "openai-chat-models",
31
+ "family": "openai",
32
+ "match": "^(?:chatgpt|gpt-[\\d.]+[a-z0-9.-]*?-chat)",
33
+ "reasoning": {
34
+ "style": "none",
35
+ "efforts": [],
36
+ "off": null
37
+ },
38
+ "sampling": {
39
+ "temperature": "any",
40
+ "topP": true,
41
+ "topK": true,
42
+ "penalties": true,
43
+ "logprobs": true
44
+ },
45
+ "maxTokensParam": "max_completion_tokens",
46
+ "chatTools": {
47
+ "reasoning": "any"
48
+ },
49
+ "source": "docs",
50
+ "note": "Chat-tuned *-chat variants are not reasoning models: ordinary sampling, no reasoning field."
51
+ },
52
+ {
53
+ "id": "openai-gpt-6-plus",
54
+ "family": "openai",
55
+ "match": "^gpt-?(?:[6-9]|(?!35(?!\\d))[1-9]\\d+)(?:[.-]|$)",
56
+ "reasoning": {
57
+ "style": "effort",
58
+ "efforts": [
59
+ "none",
60
+ "low",
61
+ "medium",
62
+ "high",
63
+ "xhigh"
64
+ ],
65
+ "off": "none",
66
+ "responsesEfforts": [
67
+ "none",
68
+ "low",
69
+ "medium",
70
+ "high",
71
+ "xhigh",
72
+ "max"
73
+ ]
74
+ },
75
+ "sampling": {
76
+ "temperature": "default-only",
77
+ "topP": false,
78
+ "topK": false,
79
+ "penalties": false,
80
+ "logprobs": false
81
+ },
82
+ "maxTokensParam": "max_completion_tokens",
83
+ "chatTools": {
84
+ "reasoning": "force-none"
85
+ },
86
+ "source": "verified-2026-10-14",
87
+ "note": "gpt-N, N>=6. Chat Completions takes none/low/medium/high/xhigh (minimal and max are 400s); Responses also takes max. Function tools with an effort other than none are a 400 on Chat Completions and the default effort is not none, so none is sent explicitly. Rejects max_tokens, temperature != 1, top_p, penalties, logprobs."
88
+ },
89
+ {
90
+ "id": "openai-gpt-5x",
91
+ "family": "openai",
92
+ "match": "^gpt-?5\\.[1-9]",
93
+ "reasoning": {
94
+ "style": "effort",
95
+ "efforts": [
96
+ "none",
97
+ "low",
98
+ "medium",
99
+ "high",
100
+ "xhigh"
101
+ ],
102
+ "off": "none",
103
+ "responsesEfforts": [
104
+ "none",
105
+ "low",
106
+ "medium",
107
+ "high",
108
+ "xhigh",
109
+ "max"
110
+ ]
111
+ },
112
+ "sampling": {
113
+ "temperature": "default-only",
114
+ "topP": false,
115
+ "topK": false,
116
+ "penalties": false,
117
+ "logprobs": false
118
+ },
119
+ "maxTokensParam": "max_completion_tokens",
120
+ "chatTools": {
121
+ "reasoning": "force-none"
122
+ },
123
+ "source": "verified-2026-10-14",
124
+ "note": "gpt-5.1 and newer 5.x. Same wire rules as gpt-6: no minimal/max on Chat Completions (Responses takes max), function tools need reasoning_effort none on Chat Completions."
125
+ },
126
+ {
127
+ "id": "openai-gpt-5-base",
128
+ "family": "openai",
129
+ "match": "^gpt-?5(?![.\\d])",
130
+ "reasoning": {
131
+ "style": "effort",
132
+ "efforts": [
133
+ "minimal",
134
+ "low",
135
+ "medium",
136
+ "high"
137
+ ],
138
+ "off": null
139
+ },
140
+ "sampling": {
141
+ "temperature": "default-only",
142
+ "topP": false,
143
+ "topK": false,
144
+ "penalties": false,
145
+ "logprobs": false
146
+ },
147
+ "maxTokensParam": "max_completion_tokens",
148
+ "chatTools": {
149
+ "reasoning": "any"
150
+ },
151
+ "source": "docs",
152
+ "note": "gpt-5, -mini, -nano, -codex: minimal/low/medium/high, reasoning cannot be turned off (none maps to minimal)."
153
+ },
154
+ {
155
+ "id": "openai-o-series",
156
+ "family": "openai",
157
+ "match": "^o[1-9]\\d?(?![a-z0-9])",
158
+ "reasoning": {
159
+ "style": "effort",
160
+ "efforts": [
161
+ "low",
162
+ "medium",
163
+ "high"
164
+ ],
165
+ "off": null
166
+ },
167
+ "sampling": {
168
+ "temperature": "default-only",
169
+ "topP": false,
170
+ "topK": false,
171
+ "penalties": false,
172
+ "logprobs": false
173
+ },
174
+ "maxTokensParam": "max_completion_tokens",
175
+ "chatTools": {
176
+ "reasoning": "any"
177
+ },
178
+ "source": "docs",
179
+ "note": "o1/o3/o4 family: low/medium/high, no sampling overrides."
180
+ },
181
+ {
182
+ "id": "openai-gpt-oss",
183
+ "family": "openai",
184
+ "match": "^gpt-?oss",
185
+ "reasoning": {
186
+ "style": "effort",
187
+ "efforts": [
188
+ "low",
189
+ "medium",
190
+ "high"
191
+ ],
192
+ "off": null
193
+ },
194
+ "sampling": {
195
+ "temperature": "any",
196
+ "topP": true,
197
+ "topK": true,
198
+ "penalties": true,
199
+ "logprobs": true
200
+ },
201
+ "maxTokensParam": "max_tokens",
202
+ "chatTools": {
203
+ "reasoning": "any"
204
+ },
205
+ "source": "docs",
206
+ "note": "Open-weight gpt-oss: low/medium/high; sampling and max_tokens behave like an ordinary chat model."
207
+ },
208
+ {
209
+ "id": "openai-legacy-gpt",
210
+ "family": "openai",
211
+ "match": "^(?:gpt-?(?:[0-4]|35)(?![0-9])|text-|davinci|babbage)",
212
+ "reasoning": {
213
+ "style": "none",
214
+ "efforts": [],
215
+ "off": null
216
+ },
217
+ "sampling": {
218
+ "temperature": "any",
219
+ "topP": true,
220
+ "topK": true,
221
+ "penalties": true,
222
+ "logprobs": true
223
+ },
224
+ "maxTokensParam": "max_tokens",
225
+ "chatTools": {
226
+ "reasoning": "any"
227
+ },
228
+ "source": "docs",
229
+ "note": "gpt-4o, gpt-4.1, gpt-3.5 and older: no reasoning, ordinary sampling."
230
+ },
231
+ {
232
+ "id": "openai-compatible-toggle",
233
+ "family": "openai",
234
+ "match": "^(?:deepseek-(?:r\\d|reasoner)|qwq|qwen-?3)",
235
+ "reasoning": {
236
+ "style": "toggle",
237
+ "efforts": [
238
+ "none",
239
+ "minimal",
240
+ "low",
241
+ "medium",
242
+ "high",
243
+ "xhigh",
244
+ "max"
245
+ ],
246
+ "off": "none"
247
+ },
248
+ "sampling": {
249
+ "temperature": "any",
250
+ "topP": true,
251
+ "topK": true,
252
+ "penalties": true,
253
+ "logprobs": true
254
+ },
255
+ "maxTokensParam": "max_tokens",
256
+ "chatTools": {
257
+ "reasoning": "any"
258
+ },
259
+ "source": "docs",
260
+ "note": "DeepSeek R/reasoner, QwQ, Qwen3: on/off style hosts. The effort is forwarded as-is (including none, which switches thinking off on thinking-by-default models)."
261
+ },
262
+ {
263
+ "id": "openai-default",
264
+ "family": "openai",
265
+ "match": ".*",
266
+ "reasoning": {
267
+ "style": "effort",
268
+ "efforts": [
269
+ "none",
270
+ "minimal",
271
+ "low",
272
+ "medium",
273
+ "high",
274
+ "xhigh",
275
+ "max"
276
+ ],
277
+ "off": "none"
278
+ },
279
+ "sampling": {
280
+ "temperature": "any",
281
+ "topP": true,
282
+ "topK": true,
283
+ "penalties": true,
284
+ "logprobs": true
285
+ },
286
+ "maxTokensParam": "max_tokens",
287
+ "chatTools": {
288
+ "reasoning": "any"
289
+ },
290
+ "source": "docs",
291
+ "note": "Permissive default for unknown OpenAI-wire models: pass what the caller asked; the provider learns from 400s."
292
+ },
293
+ {
294
+ "id": "claude-haiku-5",
295
+ "family": "anthropic",
296
+ "match": "^claude-(?:haiku-5|5(?:-\\d+)?-haiku)(?!\\d)",
297
+ "reasoning": {
298
+ "style": "adaptive",
299
+ "efforts": [
300
+ "low",
301
+ "medium",
302
+ "high",
303
+ "xhigh",
304
+ "max"
305
+ ],
306
+ "off": "disabled"
307
+ },
308
+ "sampling": {
309
+ "temperature": "unsupported",
310
+ "topP": false,
311
+ "topK": false,
312
+ "penalties": false,
313
+ "logprobs": false
314
+ },
315
+ "maxTokensParam": "max_tokens",
316
+ "chatTools": {
317
+ "reasoning": "any"
318
+ },
319
+ "source": "verified-2026-10-14",
320
+ "note": "Claude Haiku 5.x: thinking:{type:adaptive} + output_config.effort; thinking:{type:enabled,budget_tokens} is rejected. Off = thinking:{type:disabled}. Sampling params are rejected."
321
+ },
322
+ {
323
+ "id": "claude-sonnet-5",
324
+ "family": "anthropic",
325
+ "match": "^claude-(?:sonnet-5|5(?:-\\d+)?-sonnet)(?!\\d)",
326
+ "reasoning": {
327
+ "style": "adaptive",
328
+ "efforts": [
329
+ "low",
330
+ "medium",
331
+ "high",
332
+ "xhigh",
333
+ "max"
334
+ ],
335
+ "off": "between_tools"
336
+ },
337
+ "sampling": {
338
+ "temperature": "unsupported",
339
+ "topP": false,
340
+ "topK": false,
341
+ "penalties": false,
342
+ "logprobs": false
343
+ },
344
+ "maxTokensParam": "max_tokens",
345
+ "chatTools": {
346
+ "reasoning": "any"
347
+ },
348
+ "source": "verified-2026-10-14",
349
+ "note": "Claude Sonnet 5.x: adaptive + output_config.effort. thinking:{type:disabled} is rejected; off = thinking:{type:between_tools}. Sampling params are rejected."
350
+ },
351
+ {
352
+ "id": "claude-opus-5",
353
+ "family": "anthropic",
354
+ "match": "^claude-(?:opus-5|5(?:-\\d+)?-opus)(?!\\d)",
355
+ "reasoning": {
356
+ "style": "adaptive",
357
+ "efforts": [
358
+ "low",
359
+ "medium",
360
+ "high",
361
+ "xhigh",
362
+ "max"
363
+ ],
364
+ "off": null
365
+ },
366
+ "sampling": {
367
+ "temperature": "unsupported",
368
+ "topP": false,
369
+ "topK": false,
370
+ "penalties": false,
371
+ "logprobs": false
372
+ },
373
+ "maxTokensParam": "max_tokens",
374
+ "chatTools": {
375
+ "reasoning": "any"
376
+ },
377
+ "source": "verified-2026-10-14",
378
+ "note": "Claude Opus 5.x: adaptive + output_config.effort; thinking cannot be turned off (none maps to the lowest effort). Sampling params are rejected."
379
+ },
380
+ {
381
+ "id": "claude-fable",
382
+ "family": "anthropic",
383
+ "match": "^claude-fable",
384
+ "reasoning": {
385
+ "style": "adaptive",
386
+ "efforts": [
387
+ "low",
388
+ "medium",
389
+ "high",
390
+ "xhigh",
391
+ "max"
392
+ ],
393
+ "off": null
394
+ },
395
+ "sampling": {
396
+ "temperature": "unsupported",
397
+ "topP": false,
398
+ "topK": false,
399
+ "penalties": false,
400
+ "logprobs": false
401
+ },
402
+ "maxTokensParam": "max_tokens",
403
+ "chatTools": {
404
+ "reasoning": "any"
405
+ },
406
+ "source": "docs",
407
+ "note": "Claude Fable line: treated like the 5.x adaptive models."
408
+ },
409
+ {
410
+ "id": "claude-4-7",
411
+ "family": "anthropic",
412
+ "match": "^claude-(?:(?:opus|sonnet|haiku)-4[-.]7|4[-.]7-(?:opus|sonnet|haiku))(?!\\d)",
413
+ "reasoning": {
414
+ "style": "adaptive",
415
+ "efforts": [
416
+ "low",
417
+ "medium",
418
+ "high",
419
+ "xhigh",
420
+ "max"
421
+ ],
422
+ "off": "disabled"
423
+ },
424
+ "sampling": {
425
+ "temperature": "thinking-requires-1",
426
+ "topP": true,
427
+ "topK": true,
428
+ "penalties": true,
429
+ "logprobs": true
430
+ },
431
+ "maxTokensParam": "max_tokens",
432
+ "chatTools": {
433
+ "reasoning": "any"
434
+ },
435
+ "source": "docs",
436
+ "note": "Claude 4.7: adaptive thinking, low/medium/high/xhigh/max."
437
+ },
438
+ {
439
+ "id": "claude-4-6",
440
+ "family": "anthropic",
441
+ "match": "^claude-(?:(?:opus|sonnet|haiku)-4[-.]6|4[-.]6-(?:opus|sonnet|haiku))(?!\\d)",
442
+ "reasoning": {
443
+ "style": "adaptive",
444
+ "efforts": [
445
+ "low",
446
+ "medium",
447
+ "high",
448
+ "max"
449
+ ],
450
+ "off": "disabled"
451
+ },
452
+ "sampling": {
453
+ "temperature": "thinking-requires-1",
454
+ "topP": true,
455
+ "topK": true,
456
+ "penalties": true,
457
+ "logprobs": true
458
+ },
459
+ "maxTokensParam": "max_tokens",
460
+ "chatTools": {
461
+ "reasoning": "any"
462
+ },
463
+ "source": "docs",
464
+ "note": "Claude 4.6: adaptive thinking, low/medium/high/max (no xhigh)."
465
+ },
466
+ {
467
+ "id": "claude-legacy-budget",
468
+ "family": "anthropic",
469
+ "match": "^claude-(?:3|4-|(?:opus|sonnet|haiku)-4)",
470
+ "reasoning": {
471
+ "style": "budget",
472
+ "efforts": [
473
+ "none",
474
+ "minimal",
475
+ "low",
476
+ "medium",
477
+ "high",
478
+ "xhigh",
479
+ "max"
480
+ ],
481
+ "off": null
482
+ },
483
+ "sampling": {
484
+ "temperature": "thinking-requires-1",
485
+ "topP": true,
486
+ "topK": true,
487
+ "penalties": true,
488
+ "logprobs": true
489
+ },
490
+ "maxTokensParam": "max_tokens",
491
+ "chatTools": {
492
+ "reasoning": "any"
493
+ },
494
+ "source": "docs",
495
+ "note": "Claude 3.7 and 4.0-4.5: thinking:{type:enabled,budget_tokens}; every effort maps to a budget; sampling overrides are not allowed while thinking."
496
+ },
497
+ {
498
+ "id": "anthropic-default",
499
+ "family": "anthropic",
500
+ "match": ".*",
501
+ "reasoning": {
502
+ "style": "budget",
503
+ "efforts": [
504
+ "none",
505
+ "minimal",
506
+ "low",
507
+ "medium",
508
+ "high",
509
+ "xhigh",
510
+ "max"
511
+ ],
512
+ "off": null
513
+ },
514
+ "sampling": {
515
+ "temperature": "thinking-requires-1",
516
+ "topP": true,
517
+ "topK": true,
518
+ "penalties": true,
519
+ "logprobs": true
520
+ },
521
+ "maxTokensParam": "max_tokens",
522
+ "chatTools": {
523
+ "reasoning": "any"
524
+ },
525
+ "source": "docs",
526
+ "note": "Permissive default for unknown Anthropic-wire models: budget style (the long-standing form); the provider flips the thinking form when the API says so."
527
+ },
528
+ {
529
+ "id": "gemini-budget",
530
+ "family": "gemini",
531
+ "match": "^gemini",
532
+ "reasoning": {
533
+ "style": "budget",
534
+ "efforts": [
535
+ "none",
536
+ "minimal",
537
+ "low",
538
+ "medium",
539
+ "high",
540
+ "xhigh",
541
+ "max"
542
+ ],
543
+ "off": "none"
544
+ },
545
+ "sampling": {
546
+ "temperature": "any",
547
+ "topP": true,
548
+ "topK": true,
549
+ "penalties": true,
550
+ "logprobs": true
551
+ },
552
+ "maxTokensParam": "max_tokens",
553
+ "chatTools": {
554
+ "reasoning": "any"
555
+ },
556
+ "source": "docs",
557
+ "note": "Gemini 2.5-style thinkingBudget; effort maps to a token budget, none = budget 0."
558
+ },
559
+ {
560
+ "id": "gemini-default",
561
+ "family": "gemini",
562
+ "match": ".*",
563
+ "reasoning": {
564
+ "style": "budget",
565
+ "efforts": [
566
+ "none",
567
+ "minimal",
568
+ "low",
569
+ "medium",
570
+ "high",
571
+ "xhigh",
572
+ "max"
573
+ ],
574
+ "off": "none"
575
+ },
576
+ "sampling": {
577
+ "temperature": "any",
578
+ "topP": true,
579
+ "topK": true,
580
+ "penalties": true,
581
+ "logprobs": true
582
+ },
583
+ "maxTokensParam": "max_tokens",
584
+ "chatTools": {
585
+ "reasoning": "any"
586
+ },
587
+ "source": "docs",
588
+ "note": "Permissive default for unknown Gemini-wire models."
589
+ },
590
+ {
591
+ "id": "other-default",
592
+ "family": "other",
593
+ "match": ".*",
594
+ "reasoning": {
595
+ "style": "effort",
596
+ "efforts": [
597
+ "none",
598
+ "minimal",
599
+ "low",
600
+ "medium",
601
+ "high",
602
+ "xhigh",
603
+ "max"
604
+ ],
605
+ "off": "none"
606
+ },
607
+ "sampling": {
608
+ "temperature": "any",
609
+ "topP": true,
610
+ "topK": true,
611
+ "penalties": true,
612
+ "logprobs": true
613
+ },
614
+ "maxTokensParam": "max_tokens",
615
+ "chatTools": {
616
+ "reasoning": "any"
617
+ },
618
+ "source": "docs",
619
+ "note": "Permissive default for model families the SDK has no rules for."
620
+ }
621
+ ]
622
+ }