UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

175 lines (174 loc) • 5.51 kB
{ "repo": "core", "package": "@sema-agent/primitives", "schema": 2, "version": "7.74.0", "from": "4e7f0eab1c80cc3181103d96790caf781cf5fa39", "to": "v7.74.0", "added": [], "removed": [], "changed": [], "subpaths": [], "subpathsUnread": [ "from", "to" ], "narrowed": [], "faces": { "open": [], "source": null }, "closedSetMembers": [], "closedSetsUnreadable": [], "typeKeys": [], "typeKeysUnreadableArms": [], "typeKeysFlattenedCount": 9, "signatures": [ { "name": "sha256Hex", "at": [ "src/sha256-hex.ts:19" ], "from": [ "(text: string): string" ], "to": [ "(data: Uint8Array | string): string" ], "changes": [ { "aspect": "param", "detail": "param 1 `data` type widened: [ -> Uint8Array | ]string" } ], "breaking": false, "criteriaCovered": false, "judge": { "verdict": "same", "postures": [], "leaves": [], "subject": "sha256Hex" } } ], "versionLiterals": [], "declarationMoves": [], "mintMoves": [], "noticeLineage": [], "criteriaObserves": [], "consumersHint": { "cli": [ "sha256Hex" ], "server": [ "sha256Hex" ], "sdk": [], "note": "scanned cli@73a4991c0 server@797d4d621 sdk@93fdd82 — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it" }, "judge": { "judgeVersion": "2", "typescript": "5.7.2", "counts": { "same": 293 }, "probes": 1502, "leaves": [], "mustCheck": [ { "id": "deep-nesting", "form": "a method or callback nested deeper than 10 levels of anonymous object types under an export: the strict postures stop there (a method there is compared bivariantly)", "measured": { "count": 0, "examples": [], "note": "not measured: the depth a consumer reaches is not bounded by the declarations" }, "owed": true, "answer": "Not measurable by the run, so the hole was checked: the package imports nothing from outside itself, and the diff of its two ends' emitted declarations (diff -ru of the judge's cached trees) is one line: sha256-hex.d.ts widens sha256Hex's parameter from text: string to data: Uint8Array | string (a top-level function, judged by the compiler); no other declaration changed, so nothing can hide behind a bivariant method at any depth." }, { "id": "strict-generic", "form": "a method-syntax member (compared bivariantly) inside a parameter or result of a GENERIC or OVERLOADED exported function: the strict posture is not written for those functions", "measured": { "count": 0, "examples": [] }, "owed": false, "answer": null }, { "id": "ambient-modules", "form": "an ambient module (`declare module \"x\"`) both ends declare: in the one program the judge builds, the two declarations merge, so a change between them is not compared", "measured": { "count": 0, "examples": [] }, "owed": false, "answer": null }, { "id": "shared-dependency", "form": "a type the package takes from another installed package: both ends are judged against the ONE copy installed now, so a dependency that moved between the two refs is not compared", "measured": { "count": 0, "examples": [] }, "owed": false, "answer": null }, { "id": "export-equals", "form": "a module written `export =`: its members are not enumerated as named exports", "measured": { "count": 0, "examples": [] }, "owed": false, "answer": null }, { "id": "exact-optional", "form": "a consumer compiled with `exactOptionalPropertyTypes`: the probes compile without it, so `k?: T` -> `k?: T | undefined` (and back) is not compared under it", "measured": { "count": 0, "examples": [], "note": "not measured: a consumer's compiler option" }, "owed": true, "answer": "Not measurable (a consumer's compiler option): the package imports nothing from outside itself and its only declaration change is sha256Hex's widened parameter, which has no optional member, so no member both ends declare gained or lost `?` or `| undefined`." }, { "id": "unresolved-imports", "form": "an import inside the emitted declarations that does not resolve: what it names reads as `any`, which every posture accepts", "measured": { "count": 0, "examples": [] }, "owed": false, "answer": null }, { "id": "declaration-errors", "form": "a declaration the end could not emit cleanly (`declaration emit` errors): the emitted file may say less than the source", "measured": { "count": 0, "examples": [] }, "owed": false, "answer": null } ], "policyNotes": [], "staleAnswers": [], "seconds": { "emitFrom": 1.591, "emitTo": 0.746, "build": 0.175, "check": 0.876, "total": 3.43 } }, "breakingCount": 0, "breakingItems": [], "toResolvedAt": "5d5c8f6de0542dc2b9e48a1c16447d7ccc2605b6" }