UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

415 lines (414 loc) • 10.7 kB
{ "repo": "core", "package": "@sema-agent/core-stores-sql", "version": "7.70.0", "from": "f55aa37580df15af00315b548890b3283ba1290e", "to": "v7.70.0", "added": [ { "name": "SQL_ERROR_CODES", "kind": "variable", "tier": null, "at": [ "src/index.ts:28", "src/refusal.ts:22" ], "criteriaCovered": false, "breaking": false }, { "name": "SQL_NOTICE_TAGS", "kind": "variable", "tier": null, "at": [ "src/index.ts:27", "src/notice.ts:52" ], "criteriaCovered": false, "breaking": false }, { "name": "SqlErrorCode", "kind": "type", "tier": null, "at": [ "src/index.ts:28", "src/refusal.ts:57" ], "criteriaCovered": false, "breaking": false }, { "name": "SqlNoticeFacts", "kind": "interface", "tier": null, "at": [ "src/index.ts:27", "src/notice.ts:42" ], "criteriaCovered": false, "breaking": false }, { "name": "SqlNoticeKind", "kind": "type", "tier": null, "at": [ "src/index.ts:27", "src/notice.ts:49" ], "criteriaCovered": false, "breaking": false }, { "name": "SqlNoticeSeat", "kind": "type", "tier": null, "at": [ "src/index.ts:27", "src/notice.ts:38" ], "criteriaCovered": false, "breaking": false }, { "name": "SqlNoticeSink", "kind": "type", "tier": null, "at": [ "src/index.ts:27", "src/notice.ts:75" ], "criteriaCovered": false, "breaking": false }, { "name": "SqlNoticeTag", "kind": "type", "tier": null, "at": [ "src/index.ts:27", "src/notice.ts:69" ], "criteriaCovered": false, "breaking": false }, { "name": "SqlQueryOptions", "kind": "interface", "tier": null, "at": [ "src/driver.ts:106", "src/index.ts:21" ], "criteriaCovered": false, "breaking": false }, { "name": "SqlResult", "kind": "interface", "tier": null, "at": [ "src/driver.ts:99", "src/index.ts:22" ], "criteriaCovered": false, "breaking": false }, { "name": "SqlRow", "kind": "type", "tier": null, "at": [ "src/driver.ts:96", "src/index.ts:23" ], "criteriaCovered": false, "breaking": false }, { "name": "SqlSessionCall", "kind": "interface", "tier": null, "at": [ "src/index.ts:11", "src/options.ts:38" ], "criteriaCovered": false, "breaking": false }, { "name": "SqlSessionWrite", "kind": "type", "tier": null, "at": [ "src/index.ts:11", "src/options.ts:79" ], "criteriaCovered": false, "breaking": false }, { "name": "isSqlDriver", "kind": "function", "tier": null, "at": [ "src/driver.ts:145", "src/index.ts:14" ], "criteriaCovered": false, "breaking": false }, { "name": "sqlFaultOf", "kind": "function", "tier": null, "at": [ "src/index.ts:28", "src/refusal.ts:74" ], "criteriaCovered": false, "breaking": false } ], "removed": [ { "name": "SQL_FAIL_OPEN_TAGS", "kind": "variable", "tier": null, "at": [ "src/fail-open.ts:16", "src/index.ts:21" ], "breaking": true }, { "name": "SqlFailOpenSink", "kind": "type", "tier": null, "at": [ "src/fail-open.ts:26", "src/index.ts:21" ], "breaking": true }, { "name": "SqlFailOpenTag", "kind": "type", "tier": null, "at": [ "src/fail-open.ts:23", "src/index.ts:21" ], "breaking": true } ], "changed": [], "subpaths": [], "subpathsUnread": [ "from", "to" ], "narrowed": [], "faces": { "open": [], "source": null }, "closedSetMembers": [ { "set": "SqlNoticeKind", "at": [ "src/notice.ts:49" ], "newSet": true, "added": [ "fail-open", "refusal-stands", "self-heal" ], "removed": [], "breaking": false, "criteriaCovered": false } ], "closedSetsUnreadable": [], "typeKeys": [ { "type": "SqlStorageBackend", "at": [ "src/backend.ts:48" ], "added": [ "sessionStore" ], "addedDetail": [ { "key": "sessionStore", "optional": false } ], "addedRequired": [ "sessionStore" ], "removed": [], "madeRequired": [], "madeOptional": [], "retyped": [], "breaking": true, "criteriaCovered": false }, { "type": "SqlTransactionHooks", "at": [ "src/options.ts:143" ], "added": [ "session.afterCommit", "session.birth" ], "addedDetail": [ { "key": "session.afterCommit", "optional": true }, { "key": "session.birth", "optional": true } ], "addedRequired": [], "removed": [], "madeRequired": [], "madeOptional": [], "retyped": [], "breaking": false, "criteriaCovered": false } ], "typeKeysUnreadableArms": [], "typeKeysFlattenedCount": 3, "signatures": [ { "name": "SqlDriver.query", "at": [ "src/driver.ts:132" ], "from": [ "(sql: string, params?: unknown[]): Promise<SqlResult>" ], "to": [ "(sql: string, params?: unknown[], opts?: SqlQueryOptions): Promise<SqlResult>" ], "changes": [ { "aspect": "param", "detail": "+optional param `opts?: SqlQueryOptions`", "breaking": false } ], "breaking": false, "criteriaCovered": false }, { "name": "SqlTransactionHooks.session.beforeCommit", "at": [ "src/options.ts:182" ], "from": [ "(txn: SqlStatementFace, write: { readonly op: \"import\" | \"delete\" | \"retention-delete\"; readonly rootSessionId: string; }): Promise<\"proceed\" | { readonly refuse: string; }>" ], "to": [ "(txn: SqlStatementFace, write: Exclude<SqlSessionWrite, { readonly op: \"birth\" | \"append\"; }>): Promise<\"proceed\" | { readonly refuse: string; readonly code: string; }>" ], "changes": [ { "aspect": "param", "detail": "param 2 `write` type changed, direction not read: [{ readonly op: \"import\" | \"delete\" | \"retention-delete\"; readonly roo… -> Exclude<SqlSessionWrite, { readonly op: \"birth\" | \"append\"; }>]", "breaking": true, "uncertain": true }, { "aspect": "returns", "detail": "return type …eadonly refuse: string; [ -> readonly code: string; ]}>", "breaking": true } ], "uncertain": "param 2 `write` type changed, direction not read: [{ readonly op: \"import\" | \"delete\" | \"retention-delete\"; readonly roo… -> Exclude<SqlSessionWrite, { readonly op: \"birth\" | \"append\"; }>] — the direction of a type change is not read syntactically, so it is reported breaking: check whether existing call sites still type-check before writing the BREAKING line", "breaking": true, "criteriaCovered": false }, { "name": "SqlTxConn.query", "at": [ "src/driver.ts:115" ], "from": [ "(sql: string, params?: unknown[]): Promise<SqlResult>" ], "to": [ "(sql: string, params?: unknown[], opts?: SqlQueryOptions): Promise<SqlResult>" ], "changes": [ { "aspect": "param", "detail": "+optional param `opts?: SqlQueryOptions`", "breaking": false } ], "breaking": false, "criteriaCovered": false }, { "name": "createSqlDriver", "at": [ "src/driver.ts:205" ], "from": [ "(opts: { dialect: SqlDialect; pool: PgPoolLike | MysqlPoolLike; onFailOpen?: SqlFailOpenSink; }): SqlDriver" ], "to": [ "(opts: { dialect: SqlDialect; pool: PgPoolLike | MysqlPoolLike; onSqlNotice?: SqlNoticeSink; }): SqlDriver" ], "changes": [ { "aspect": "param", "detail": "param 1 `opts` type changed, direction not read: …Like | MysqlPoolLike; on[FailOpen?: SqlFailOpen -> SqlNotice?: SqlNotice]Sink; }", "breaking": true, "uncertain": true } ], "uncertain": "param 1 `opts` type changed, direction not read: …Like | MysqlPoolLike; on[FailOpen?: SqlFailOpen -> SqlNotice?: SqlNotice]Sink; } — the direction of a type change is not read syntactically, so it is reported breaking: check whether existing call sites still type-check before writing the BREAKING line", "breaking": true, "criteriaCovered": false } ], "versionLiterals": [], "declarationMoves": [], "mintMoves": [], "noticeLineage": [], "criteriaObserves": [], "consumersHint": { "cli": [], "server": [ "SqlDriver", "SqlResult", "SqlRow", "SqlStorageBackend", "SqlTransactionHooks", "SqlTxConn", "createSqlDriver" ], "sdk": [], "note": "scanned cli@df9465c17 server@cb263d360 sdk@20142df — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it" }, "breakingCount": 6, "breakingItems": [ "export removed: SQL_FAIL_OPEN_TAGS (variable)", "export removed: SqlFailOpenSink (type)", "export removed: SqlFailOpenTag (type)", "signature changed: SqlTransactionHooks.session.beforeCommit — param 2 `write` type changed, direction not read: [{ readonly op: \"import\" | \"delete\" | \"retention-delete\"; readonly roo… -> Exclude<SqlSessionWrite, { readonly op: \"birth\" | \"append\"; }>]; return type …eadonly refuse: string; [ -> readonly code: string; ]}>", "signature changed: createSqlDriver — param 1 `opts` type changed, direction not read: …Like | MysqlPoolLike; on[FailOpen?: SqlFailOpen -> SqlNotice?: SqlNotice]Sink; }", "type gained required keys: SqlStorageBackend +sessionStore" ], "toResolvedAt": "bcd69c48ffdbb0d71352f4435daf2d68d90772f0" }