@happyvertical/smrt-cli 0.57.33 → 0.57.34
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/agents/app-commands.md +7 -0
- package/dist/{AuditLogCollection-BBbvr8Qc-C7vaibgn.js → AuditLogCollection-BBbvr8Qc-C9rh5Bnq.js} +1 -1
- package/dist/{OidcIdentity-MVVO3MfG-CDHPYDKP.js → OidcIdentity-MVVO3MfG-CrJ6TKIo.js} +2 -2
- package/dist/{OidcIdentityCollection-s4mp3n62-ClPe-MxG.js → OidcIdentityCollection-s4mp3n62-CQmuAddQ.js} +1 -1
- package/dist/{PasswordCredentialService-DA2Y6H2X-BkTtZgep.js → PasswordCredentialService-DA2Y6H2X-B0tNMDWQ.js} +14 -14
- package/dist/{ProfileAssetCollection-BuVAdOiv-CKDGq0OO.js → ProfileAssetCollection-BuVAdOiv-BXzD6rfR.js} +3 -3
- package/dist/{ProfileCollection-CMS9dFc0-B0_kJJIG.js → ProfileCollection-CMS9dFc0-BCWVwq2Z.js} +17 -17
- package/dist/{ProfileLinkCollection-ChK9iEBp-Beu_n0ym.js → ProfileLinkCollection-ChK9iEBp-bPqQu6Ik.js} +2 -2
- package/dist/{ProfileMetadataCollection-CAgJyjze-Dn6j8TLu.js → ProfileMetadataCollection-CAgJyjze-Bs-f2gpY.js} +1 -1
- package/dist/{ProfileMetafieldCollection-19ae6Lpf-DZnRqyHn.js → ProfileMetafieldCollection-19ae6Lpf-CULYYG5_.js} +1 -1
- package/dist/{ProfileRelationshipCollection-BFSlTQ7J-0GTVXG3H.js → ProfileRelationshipCollection-BFSlTQ7J-BoaZirbE.js} +1 -1
- package/dist/{ProfileTypeCollection-B7m698Bl-CKUBK94F.js → ProfileTypeCollection-B7m698Bl-4HCt4RyO.js} +2 -2
- package/dist/app/cli.d.ts.map +1 -1
- package/dist/app/launchers.d.ts +1 -1
- package/dist/app/launchers.d.ts.map +1 -1
- package/dist/app.js +2 -2
- package/dist/{cli-Cgj-996T.js → cli-CBuBU_5T.js} +6 -5
- package/dist/{commands-CBfRFp3s.js → commands-DCI5b9aZ.js} +4 -4
- package/dist/{dist-BwgLxo12.js → dist-B5Sc_4gt.js} +4 -4
- package/dist/{dist-Z6JJM0us.js → dist-ChjdBCfz.js} +3 -3
- package/dist/{dist-BecJGLYp.js → dist-DT24mzvY.js} +5 -5
- package/dist/{dist-DcVlOGxM.js → dist-tYOaRDZB.js} +2 -2
- package/dist/index.js +12 -12
- package/dist/{oidcProvisioningPrimitives-Dl9qIcYS-Yu7lvx1k.js → oidcProvisioningPrimitives-Dl9qIcYS-CnLvtTJk.js} +3 -3
- package/dist/{operator-BZ56_M87.js → operator-WT5To5kM.js} +2 -2
- package/dist/{portability-ClYZy8ut.js → portability-V05XvEu-.js} +1 -1
- package/dist/{resolveIdentity-CR5p_g7K-hJCNYtZ7.js → resolveIdentity-CR5p_g7K-JYvmLdOe.js} +14 -14
- package/package.json +10 -10
package/agents/app-commands.md
CHANGED
|
@@ -126,3 +126,10 @@ Tests: `src/app/__tests__/` (primitives, operations in-process, real CLI
|
|
|
126
126
|
process, and the template's portability-asset suite ported verbatim); lock,
|
|
127
127
|
lease, state-custody, and readiness cases (including review findings R1, R3,
|
|
128
128
|
T2) live in app-runtime's `src/operator-primitives.test.ts`.
|
|
129
|
+
|
|
130
|
+
`smrt app migrate --relax-columns` explicitly forwards constraint relaxation to
|
|
131
|
+
`db:migrate` under the same operation lock and writer-lease refusal. Without the
|
|
132
|
+
flag, live constraints remain protected. SQLite ordinary inline NOT NULL
|
|
133
|
+
relaxation uses the tracker-owned atomic rebuild; see the core schema-paths
|
|
134
|
+
contract for unsupported shapes and FK validation. Unknown migrate options fail
|
|
135
|
+
before touching local custody or starting the child command.
|
package/dist/{AuditLogCollection-BBbvr8Qc-C7vaibgn.js → AuditLogCollection-BBbvr8Qc-C9rh5Bnq.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
-
import { i as tenantId, r as TenantScoped } from "./dist-
|
|
2
|
+
import { i as tenantId, r as TenantScoped } from "./dist-tYOaRDZB.js";
|
|
3
3
|
import { n as __exportAll$1 } from "./NostrIdentity-RJaATTCt-BbRHWyee.js";
|
|
4
4
|
import { SmrtCollection, SmrtObject, field, foreignKey, smrt } from "@happyvertical/smrt-core";
|
|
5
5
|
//#region ../profiles/dist/chunks/AuditLogCollection-BBbvr8Qc.js
|
|
@@ -42,7 +42,7 @@ var OidcIdentity = class extends SmrtObject {
|
|
|
42
42
|
* Find identity by issuer and subject
|
|
43
43
|
*/
|
|
44
44
|
static async findBySubject(issuer, subject, options = {}) {
|
|
45
|
-
const { OidcIdentityCollection } = await import("./OidcIdentityCollection-s4mp3n62-
|
|
45
|
+
const { OidcIdentityCollection } = await import("./OidcIdentityCollection-s4mp3n62-CQmuAddQ.js").then((n) => n.r).then((n) => n.r);
|
|
46
46
|
return await (await OidcIdentityCollection.create(options)).findBySubject(issuer, subject);
|
|
47
47
|
}
|
|
48
48
|
/** Build the collision-free natural key for one OIDC issuer subject. */
|
|
@@ -65,7 +65,7 @@ var OidcIdentity = class extends SmrtObject {
|
|
|
65
65
|
static async findOrCreate(profile, oidcData, options = {}) {
|
|
66
66
|
const profileId = profile.id;
|
|
67
67
|
if (typeof profileId !== "string" || !profileId) throw new Error("OidcIdentity.findOrCreate() requires a saved Profile.");
|
|
68
|
-
const { reuseExistingOidcIdentityForProfile } = await import("./resolveIdentity-CR5p_g7K-
|
|
68
|
+
const { reuseExistingOidcIdentityForProfile } = await import("./resolveIdentity-CR5p_g7K-JYvmLdOe.js").then((n) => n.t).then((n) => n.i);
|
|
69
69
|
const profileOptions = profile.options ?? {};
|
|
70
70
|
return (await reuseExistingOidcIdentityForProfile(profileId, {
|
|
71
71
|
email: oidcData.email,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
2
|
import { n as __exportAll$1 } from "./NostrIdentity-RJaATTCt-BbRHWyee.js";
|
|
3
|
-
import { t as OidcIdentity } from "./OidcIdentity-MVVO3MfG-
|
|
3
|
+
import { t as OidcIdentity } from "./OidcIdentity-MVVO3MfG-CrJ6TKIo.js";
|
|
4
4
|
import { SmrtCollection } from "@happyvertical/smrt-core";
|
|
5
5
|
//#region ../profiles/dist/chunks/OidcIdentityCollection-s4mp3n62.js
|
|
6
6
|
var OidcIdentityCollection_s4mp3n62_exports = /* @__PURE__ */ __exportAll({
|