@happyvertical/smrt-cli 0.57.45 → 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.
Files changed (34) hide show
  1. package/AGENTS.md +1 -1
  2. package/README.md +10 -0
  3. package/dist/{AuditLogCollection-BBbvr8Qc-BN1vT_7k.js → AuditLogCollection-BBbvr8Qc-CRJkYRsA.js} +1 -1
  4. package/dist/{OidcIdentity-COeMidoC-BBoRG3Cg.js → OidcIdentity-COeMidoC-CUZnohef.js} +2 -2
  5. package/dist/{OidcIdentityCollection-D4DIZv0K-DnQyY4g6.js → OidcIdentityCollection-D4DIZv0K-e3olvYpI.js} +1 -1
  6. package/dist/{PasswordCredentialService-DHJNKEeJ-9q7K-IEH.js → PasswordCredentialService-DHJNKEeJ-BnYQa8Vl.js} +18 -15
  7. package/dist/{ProfileAssetCollection-D5-tG9Mm-BKiGYOuY.js → ProfileAssetCollection-D5-tG9Mm-C-PysY33.js} +3 -3
  8. package/dist/{ProfileCollection-CmRaiE9U-PGnstppN.js → ProfileCollection-CmRaiE9U-BdoUbBKn.js} +17 -17
  9. package/dist/{ProfileLinkCollection-pvPTsysg-h0aHEG3g.js → ProfileLinkCollection-pvPTsysg-C4azXXkY.js} +2 -2
  10. package/dist/{ProfileMetadataCollection-CAgJyjze-Bl-vAaBS.js → ProfileMetadataCollection-CAgJyjze-B2ZfYVVi.js} +1 -1
  11. package/dist/{ProfileMetafieldCollection-19ae6Lpf-7oNNDocC.js → ProfileMetafieldCollection-19ae6Lpf-SpD68sK5.js} +1 -1
  12. package/dist/{ProfileRelationshipCollection-BFSlTQ7J-Cenuqein.js → ProfileRelationshipCollection-BFSlTQ7J-CFw51ePA.js} +1 -1
  13. package/dist/{ProfileTypeCollection-BRLK8cHS-D78o6Dte.js → ProfileTypeCollection-BRLK8cHS-DYkP7kSv.js} +2 -2
  14. package/dist/app/portability.d.ts.map +1 -1
  15. package/dist/app.js +2 -2
  16. package/dist/{cli-CBuBU_5T.js → cli-CtRx1_yP.js} +1 -1
  17. package/dist/commands/db-migrate-uuid.d.ts.map +1 -1
  18. package/dist/commands/db-parity.d.ts +2 -1
  19. package/dist/commands/db-parity.d.ts.map +1 -1
  20. package/dist/commands/utilities.d.ts.map +1 -1
  21. package/dist/{commands-BafT49KC.js → commands-DY-iHYK-.js} +76 -15
  22. package/dist/discovery/manifest-discovery.d.ts.map +1 -1
  23. package/dist/dist--XyBvLqX.js +1854 -0
  24. package/dist/{dist-DPxJ4Uoq.js → dist-CYuHhnvx.js} +2 -2
  25. package/dist/{dist-B5jeZOQx.js → dist-Cpcv5pOO.js} +5 -5
  26. package/dist/{dist-B71Q-c_C.js → dist-D1Jf91RM.js} +3 -3
  27. package/dist/index.js +12 -12
  28. package/dist/{oidcProvisioningPrimitives-KpIiLmG4-BZeSfKjk.js → oidcProvisioningPrimitives-KpIiLmG4-DYKTIgNg.js} +3 -3
  29. package/dist/{operator-CeXluKXR.js → operator-cQG7GjwG.js} +2 -2
  30. package/dist/{portability-V05XvEu-.js → portability-CbMgEnD1.js} +2 -1
  31. package/dist/{resolveIdentity-j2WFuKDT-BRg-0Xri.js → resolveIdentity-j2WFuKDT-V4OMiSkb.js} +14 -14
  32. package/dist/runtime-check.d.ts.map +1 -1
  33. package/package.json +15 -15
  34. package/dist/dist-DN0dlJSD.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:
@@ -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-DPxJ4Uoq.js";
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-DnQyY4g6.js").then((n) => n.r).then((n) => n.r);
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-BRg-0Xri.js").then((n) => n.t).then((n) => n.i);
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-BBoRG3Cg.js";
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({