@modelprofile.com/authswitch 8.1.0 → 8.2.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.
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/authority-contract.d.ts +56 -0
- package/dist_ts/authority-contract.js +54 -2
- package/dist_ts/authority-import-contract.d.ts +8 -4
- package/dist_ts/authority-import-contract.js +12 -13
- package/dist_ts/classes.authoritybroker.js +3 -2
- package/dist_ts/classes.authorityclient.d.ts +17 -11
- package/dist_ts/classes.authorityclient.js +28 -22
- package/dist_ts/classes.authoritydaemon.d.ts +8 -0
- package/dist_ts/classes.authoritydaemon.js +74 -58
- package/dist_ts/classes.authoritydatabase.d.ts +9 -1
- package/dist_ts/classes.authoritydatabase.js +29 -12
- package/dist_ts/classes.authorityimport.d.ts +17 -2
- package/dist_ts/classes.authorityimport.js +29 -3
- package/dist_ts/classes.authoritymodels.d.ts +4 -1
- package/dist_ts/classes.authoritymodels.js +15 -3
- package/dist_ts/classes.authorityservice.d.ts +10 -0
- package/dist_ts/classes.authorityservice.js +24 -1
- package/dist_ts/classes.claudeauthority.js +19 -11
- package/dist_ts/classes.claudenative.d.ts +63 -3
- package/dist_ts/classes.claudenative.js +68 -8
- package/dist_ts/ts_migration/0003_claude_handoff_proof.d.ts +13 -0
- package/dist_ts/ts_migration/0003_claude_handoff_proof.js +20 -0
- package/dist_ts/ts_migration/index.js +3 -1
- package/dist_ts/ts_migration/legacysources/nativestores.js +15 -8
- package/dist_ts/ts_migration/legacysources/shared.d.ts +3 -2
- package/dist_ts/ts_migration/legacysources/shared.js +3 -5
- package/package.json +5 -1
- package/readme.md +65 -2
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/authority-contract.ts +106 -0
- package/ts/authority-import-contract.ts +12 -11
- package/ts/classes.authoritybroker.ts +2 -1
- package/ts/classes.authorityclient.ts +43 -21
- package/ts/classes.authoritydaemon.ts +71 -56
- package/ts/classes.authoritydatabase.ts +29 -11
- package/ts/classes.authorityimport.ts +30 -2
- package/ts/classes.authoritymodels.ts +11 -2
- package/ts/classes.authorityservice.ts +27 -0
- package/ts/classes.claudeauthority.ts +22 -10
- package/ts/classes.claudenative.ts +104 -10
- package/ts/ts_migration/0003_claude_handoff_proof.ts +19 -0
- package/ts/ts_migration/index.ts +2 -0
- package/ts/ts_migration/legacysources/nativestores.ts +15 -7
- package/ts/ts_migration/legacysources/shared.ts +4 -6
|
@@ -209,7 +209,15 @@ export declare class AuthSwitchAuthorityDatabase {
|
|
|
209
209
|
handoffs: IStoredAuthorityClaudeHandoff[];
|
|
210
210
|
nextCursor: string | null;
|
|
211
211
|
}>;
|
|
212
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* Only a verified backend import receipt may adopt a native home. No startup autodiscovery exists.
|
|
214
|
+
*
|
|
215
|
+
* `import.submit` is the one route that reaches this, so its two decided outcomes -- a home another grant
|
|
216
|
+
* holds, and a login another home already holds -- answer with the importer's published code: the
|
|
217
|
+
* transaction refused, the ledger row stays `verified` and nothing rotating was sent, while an unmarked
|
|
218
|
+
* failure of that route means the outcome is unknown and the source must be read with `import.status`
|
|
219
|
+
* instead. The ambiguous write below keeps that unmarked meaning, because it genuinely is unknown.
|
|
220
|
+
*/
|
|
213
221
|
registerClaudeHomeFromReceipt(input: {
|
|
214
222
|
homeId: string;
|
|
215
223
|
accountId: string;
|