@happyvertical/smrt-cli 0.57.46 → 0.57.47
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.md +1 -1
- package/README.md +10 -0
- package/dist/{AuditLogCollection-BBbvr8Qc-hZlDEnLV.js → AuditLogCollection-BBbvr8Qc-CRJkYRsA.js} +1 -1
- package/dist/{OidcIdentity-COeMidoC-DeVfwbFW.js → OidcIdentity-COeMidoC-CUZnohef.js} +2 -2
- package/dist/{OidcIdentityCollection-D4DIZv0K-BherzVHN.js → OidcIdentityCollection-D4DIZv0K-e3olvYpI.js} +1 -1
- package/dist/{PasswordCredentialService-DHJNKEeJ-Dg7ZnSZr.js → PasswordCredentialService-DHJNKEeJ-BnYQa8Vl.js} +18 -15
- package/dist/{ProfileAssetCollection-D5-tG9Mm-XvSUU-MV.js → ProfileAssetCollection-D5-tG9Mm-C-PysY33.js} +3 -3
- package/dist/{ProfileCollection-CmRaiE9U-6Kr56Adx.js → ProfileCollection-CmRaiE9U-BdoUbBKn.js} +17 -17
- package/dist/{ProfileLinkCollection-pvPTsysg-C_rm5rSf.js → ProfileLinkCollection-pvPTsysg-C4azXXkY.js} +2 -2
- package/dist/{ProfileMetadataCollection-CAgJyjze-BhfcJRSQ.js → ProfileMetadataCollection-CAgJyjze-B2ZfYVVi.js} +1 -1
- package/dist/{ProfileMetafieldCollection-19ae6Lpf-CX_uL3y7.js → ProfileMetafieldCollection-19ae6Lpf-SpD68sK5.js} +1 -1
- package/dist/{ProfileRelationshipCollection-BFSlTQ7J-B3AfDRf7.js → ProfileRelationshipCollection-BFSlTQ7J-CFw51ePA.js} +1 -1
- package/dist/{ProfileTypeCollection-BRLK8cHS-Juakr0pP.js → ProfileTypeCollection-BRLK8cHS-DYkP7kSv.js} +2 -2
- package/dist/app/portability.d.ts.map +1 -1
- package/dist/app.js +2 -2
- package/dist/{cli-CBuBU_5T.js → cli-CtRx1_yP.js} +1 -1
- package/dist/commands/db-migrate-uuid.d.ts.map +1 -1
- package/dist/commands/db-parity.d.ts +2 -1
- package/dist/commands/db-parity.d.ts.map +1 -1
- package/dist/commands/utilities.d.ts.map +1 -1
- package/dist/{commands-DXUlyEmv.js → commands-DY-iHYK-.js} +76 -15
- package/dist/discovery/manifest-discovery.d.ts.map +1 -1
- package/dist/dist--XyBvLqX.js +1854 -0
- package/dist/{dist-Z7CSpCKi.js → dist-CYuHhnvx.js} +2 -2
- package/dist/{dist-bsd3d3Lx.js → dist-Cpcv5pOO.js} +5 -5
- package/dist/{dist-BQDn8me5.js → dist-D1Jf91RM.js} +3 -3
- package/dist/index.js +12 -12
- package/dist/{oidcProvisioningPrimitives-KpIiLmG4-CJMI-kBV.js → oidcProvisioningPrimitives-KpIiLmG4-DYKTIgNg.js} +3 -3
- package/dist/{operator-2Sy_-AE5.js → operator-cQG7GjwG.js} +2 -2
- package/dist/{portability-V05XvEu-.js → portability-CbMgEnD1.js} +2 -1
- package/dist/{resolveIdentity-j2WFuKDT-Ryo1wXyn.js → resolveIdentity-j2WFuKDT-V4OMiSkb.js} +14 -14
- package/dist/runtime-check.d.ts.map +1 -1
- package/package.json +15 -15
- package/dist/dist-Dv5VoO6m.js +0 -1854
package/AGENTS.md
CHANGED
|
@@ -16,7 +16,7 @@ smrt db:migrate # agents/type-drift.md, agents/db-migrate-concurren
|
|
|
16
16
|
smrt db:migrate --postgres-safe # PostgreSQL concurrent-index mode (see below)
|
|
17
17
|
smrt db:migrate --force-migration <exact-id> [--force-migration <exact-id>...] # Force exact generated migrations in one atomic batch
|
|
18
18
|
smrt db:migrate --apply-unblocked / --null-orphans # agents/db-migrate-partial-apply.md
|
|
19
|
-
smrt db:migrate-uuid # Convert schema-declared UUID text columns after data remap
|
|
19
|
+
smrt db:migrate-uuid # Convert schema-declared UUID text columns after data remap (incl. PG system tenant ids, #3297)
|
|
20
20
|
smrt db:migrate-int8
|
|
21
21
|
smrt db:migrate-null-equal-indexes # ../core/agents/null-equal-indexes.md
|
|
22
22
|
smrt db:migrate-ledger-accounts [--dry-run] # Move pre-#3098 ledger rows out of `accounts` (smrt-ledgers README)
|
package/README.md
CHANGED
|
@@ -305,6 +305,16 @@ lock, writer lease, state root, artifact-path custody, portability) are
|
|
|
305
305
|
importable without side effects from `@happyvertical/smrt-cli/app`. Contract
|
|
306
306
|
details: [agents/app-commands.md](agents/app-commands.md).
|
|
307
307
|
|
|
308
|
+
On macOS, `/tmp` commonly links to `/private/tmp`. Local setup rejects symbolic
|
|
309
|
+
links in state/data path components and reports the rejected component. For an
|
|
310
|
+
isolated trial home, first inspect and trust the intended directory, then select
|
|
311
|
+
its canonical spelling explicitly, for example
|
|
312
|
+
`HOME=/private/tmp/my-owned-trial-home pnpm app:setup`. Use that same home for
|
|
313
|
+
later app commands and the running app. Select a canonical `SMRT_DATA_DIR` too
|
|
314
|
+
if overriding data storage. The directories must still meet ownership,
|
|
315
|
+
permissions, and source-tree separation checks; resolving a link is not proof
|
|
316
|
+
that its target is trusted. The runtime never automatically trusts symlinks.
|
|
317
|
+
|
|
308
318
|
### Auto-Generated Object Commands
|
|
309
319
|
|
|
310
320
|
For each registered s-m-r-t object, the CLI generates:
|
package/dist/{AuditLogCollection-BBbvr8Qc-hZlDEnLV.js → AuditLogCollection-BBbvr8Qc-CRJkYRsA.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-CYuHhnvx.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-D4DIZv0K-
|
|
45
|
+
const { OidcIdentityCollection } = await import("./OidcIdentityCollection-D4DIZv0K-e3olvYpI.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-j2WFuKDT-
|
|
68
|
+
const { reuseExistingOidcIdentityForProfile } = await import("./resolveIdentity-j2WFuKDT-V4OMiSkb.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-COeMidoC-
|
|
3
|
+
import { t as OidcIdentity } from "./OidcIdentity-COeMidoC-CUZnohef.js";
|
|
4
4
|
import { SmrtCollection } from "@happyvertical/smrt-core";
|
|
5
5
|
//#region ../profiles/dist/chunks/OidcIdentityCollection-D4DIZv0K.js
|
|
6
6
|
var OidcIdentityCollection_D4DIZv0K_exports = /* @__PURE__ */ __exportAll({
|