Skip to content

Fix generated anthropic schemas#1272

Merged
IMax153 merged 1 commit intomainfrom
fix/anthropic-generated-schemas
Feb 17, 2026
Merged

Fix generated anthropic schemas#1272
IMax153 merged 1 commit intomainfrom
fix/anthropic-generated-schemas

Conversation

@IMax153
Copy link
Member

@IMax153 IMax153 commented Feb 17, 2026

@IMax153 IMax153 force-pushed the fix/anthropic-generated-schemas branch from 8af7522 to c7a6311 Compare February 17, 2026 14:52
@github-actions
Copy link
Contributor

📊 JSDoc Documentation Analysis

📈 Current Analysis Results
Analyzing 125 TypeScript files in packages/effect/src/ (including schema and config subdirectories)...

============================================================
         EFFECT JSDOC ANALYSIS REPORT
============================================================

📊 SUMMARY STATISTICS
------------------------------
Total files analyzed: 125
Total exported members: 4029
Missing @example: 1949 (48.4%)
Missing @category: 435 (10.8%)

🎯 TOP FILES NEEDING ATTENTION
----------------------------------------
1. Schema.ts
   📝 458 missing examples, 🏷️  262 missing categories
   📦 458 total exports
2. Array.ts
   📝 133 missing examples, 🏷️  2 missing categories
   📦 138 total exports
3. SchemaRepresentation.ts
   📝 96 missing examples, 🏷️  12 missing categories
   📦 96 total exports
4. SchemaAST.ts
   📝 77 missing examples, 🏷️  21 missing categories
   📦 77 total exports
5. Cause.ts
   📝 75 missing examples, 🏷️  2 missing categories
   📦 75 total exports
6. Channel.ts
   📝 73 missing examples, 🏷️  0 missing categories
   📦 144 total exports
7. Option.ts
   📝 66 missing examples, 🏷️  3 missing categories
   📦 66 total exports
8. Sink.ts
   📝 62 missing examples, 🏷️  2 missing categories
   📦 79 total exports
9. Predicate.ts
   📝 57 missing examples, 🏷️  0 missing categories
   📦 57 total exports
10. SchemaGetter.ts
   📝 49 missing examples, 🏷️  0 missing categories
   📦 49 total exports
11. SchemaTransformation.ts
   📝 29 missing examples, 🏷️  18 missing categories
   📦 29 total exports
12. Result.ts
   📝 45 missing examples, 🏷️  0 missing categories
   📦 45 total exports
13. Config.ts
   📝 33 missing examples, 🏷️  5 missing categories
   📦 33 total exports
14. Types.ts
   📝 36 missing examples, 🏷️  0 missing categories
   📦 36 total exports
15. JsonSchema.ts
   📝 17 missing examples, 🏷️  17 missing categories
   📦 17 total exports

✅ PERFECTLY DOCUMENTED FILES
-----------------------------------
   Chunk.ts (87 exports)
   Clock.ts (5 exports)
   FiberHandle.ts (15 exports)
   FiberMap.ts (19 exports)
   FiberSet.ts (14 exports)
   HKT.ts (4 exports)
   HashMap.ts (44 exports)
   HashSet.ts (21 exports)
   Match.ts (57 exports)
   MutableHashSet.ts (9 exports)
   MutableRef.ts (17 exports)
   NonEmptyIterable.ts (3 exports)
   Random.ts (7 exports)
   Redacted.ts (9 exports)
   RegExp.ts (3 exports)
   Runtime.ts (3 exports)
   Symbol.ts (1 exports)
   Trie.ts (29 exports)
   TxChunk.ts (22 exports)
   TxHashMap.ts (41 exports)
   TxHashSet.ts (24 exports)
   TxRef.ts (7 exports)
   TxSemaphore.ts (14 exports)
   Unify.ts (8 exports)
   index.ts (0 exports)

🔍 SAMPLE MISSING ITEMS FROM Schema.ts
-----------------------------------
   Optionality (type, line 60): missing example, category
   Mutability (type, line 67): missing example, category
   ConstructorDefault (type, line 74): missing example, category
   MakeOptions (interface, line 82): missing example, category
   Bottom (interface, line 106): missing example, category
   declareConstructor (interface, line 158): missing example, category
   declareConstructor (function, line 182): missing example
   declare (interface, line 206): missing example
   declare (function, line 215): missing example, category
   revealBottom (function, line 235): missing example, category

📋 BREAKDOWN BY EXPORT TYPE
-----------------------------------
const: 976 missing examples, 123 missing categories
interface: 302 missing examples, 124 missing categories
type: 230 missing examples, 71 missing categories
function: 337 missing examples, 96 missing categories
namespace: 47 missing examples, 20 missing categories
class: 57 missing examples, 1 missing categories

📈 DOCUMENTATION PROGRESS
------------------------------
Examples: 2080/4029 (51.6% complete)
Categories: 3594/4029 (89.2% complete)

============================================================
Analysis complete! 2384 items need attention.
============================================================

📄 Detailed results saved to: jsdoc-analysis-results.json

This comment is automatically updated on each push. View the analysis script for details.

@IMax153 IMax153 merged commit 78be4a1 into main Feb 17, 2026
13 checks passed
@IMax153 IMax153 deleted the fix/anthropic-generated-schemas branch February 17, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

streaming doesn't work for Anthropic AI provider due to schema mismatch in message usage

1 participant