@happyvertical/smrt-cli 0.57.34 → 0.57.36
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/cookbook-apply.md +4 -0
- package/dist/{AuditLogCollection-BBbvr8Qc-C9rh5Bnq.js → AuditLogCollection-BBbvr8Qc-D-NP6Xl9.js} +1 -1
- package/dist/{OidcIdentity-MVVO3MfG-CrJ6TKIo.js → OidcIdentity-MVVO3MfG-Dfyu0BDO.js} +2 -2
- package/dist/{OidcIdentityCollection-s4mp3n62-CQmuAddQ.js → OidcIdentityCollection-s4mp3n62-DSWKsDIu.js} +1 -1
- package/dist/{PasswordCredentialService-DA2Y6H2X-B0tNMDWQ.js → PasswordCredentialService-DA2Y6H2X-Ziv4zG0Z.js} +14 -14
- package/dist/{ProfileAssetCollection-BuVAdOiv-BXzD6rfR.js → ProfileAssetCollection-BuVAdOiv-OmWdMf_f.js} +3 -3
- package/dist/{ProfileCollection-CMS9dFc0-BCWVwq2Z.js → ProfileCollection-CMS9dFc0-Brj4Jwob.js} +17 -17
- package/dist/{ProfileLinkCollection-ChK9iEBp-bPqQu6Ik.js → ProfileLinkCollection-ChK9iEBp-DAGMlmpw.js} +2 -2
- package/dist/{ProfileMetadataCollection-CAgJyjze-Bs-f2gpY.js → ProfileMetadataCollection-CAgJyjze-B8tR0lqO.js} +1 -1
- package/dist/{ProfileMetafieldCollection-19ae6Lpf-CULYYG5_.js → ProfileMetafieldCollection-19ae6Lpf-KhZ6lf8j.js} +1 -1
- package/dist/{ProfileRelationshipCollection-BFSlTQ7J-BoaZirbE.js → ProfileRelationshipCollection-BFSlTQ7J-DmTGCqYQ.js} +1 -1
- package/dist/{ProfileTypeCollection-B7m698Bl-4HCt4RyO.js → ProfileTypeCollection-B7m698Bl-B8LRyrW7.js} +2 -2
- package/dist/{apply-C7kqOLl6.js → apply-D8dV3HUh.js} +22 -3
- package/dist/commands/cookbook/apply.d.ts +2 -0
- package/dist/commands/cookbook/apply.d.ts.map +1 -1
- package/dist/commands/cookbook/shared.d.ts.map +1 -1
- package/dist/{commands-DCI5b9aZ.js → commands-BFYaydZQ.js} +5 -5
- package/dist/{dist-ChjdBCfz.js → dist-0yYtwItW.js} +3 -3
- package/dist/{dist-B5Sc_4gt.js → dist-Cpyy45Dj.js} +4 -4
- package/dist/{dist-DT24mzvY.js → dist-DIED3BWk.js} +5 -5
- package/dist/{dist-tYOaRDZB.js → dist-Fu3XX1bI.js} +2 -2
- package/dist/index.js +11 -11
- package/dist/{oidcProvisioningPrimitives-Dl9qIcYS-CnLvtTJk.js → oidcProvisioningPrimitives-Dl9qIcYS-CWHnkCZo.js} +3 -3
- package/dist/{operator-WT5To5kM.js → operator-fpcWDyVK.js} +2 -2
- package/dist/{resolveIdentity-CR5p_g7K-JYvmLdOe.js → resolveIdentity-CR5p_g7K-BjZKdPYl.js} +14 -14
- package/dist/{server-CVEdVgJg.js → server-DEBTDsmH.js} +1 -1
- package/package.json +15 -15
package/agents/cookbook-apply.md
CHANGED
|
@@ -42,6 +42,10 @@ object that is not in its package's manifest, or a policy field the object lacks
|
|
|
42
42
|
untracked-but-unignored files (`git ls-files -co --exclude-standard`), so git-ignored generated output
|
|
43
43
|
(e.g. a stale `src/routes/api/notes`) never reaches the project; uncommitted edits still apply, which
|
|
44
44
|
`git archive HEAD` would drop. A non-git directory is copied whole minus `.git`/`node_modules`.
|
|
45
|
+
Whatever the source, the template repository's own metadata at its root (`.agents/`, `.github/`,
|
|
46
|
+
`AGENTS.md`, `CLAUDE.md`, `renovate.json`) is not copied: it names the template's tracker, forge and CI,
|
|
47
|
+
so an agent in the new project would work against the template repository (#4239). The plan lists it
|
|
48
|
+
as `skippedTemplateFiles`.
|
|
45
49
|
`package.json` `name` becomes the slug of `cookbook.name` when set, else of the target directory's
|
|
46
50
|
basename (never the template's name: the runtime derives the app identity, hence the OS data
|
|
47
51
|
directory, from it), under the template's npm scope, else `@smrt-app` (`scopedProjectName`): SMRT
|
package/dist/{AuditLogCollection-BBbvr8Qc-C9rh5Bnq.js → AuditLogCollection-BBbvr8Qc-D-NP6Xl9.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-Fu3XX1bI.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-DSWKsDIu.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-BjZKdPYl.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-Dfyu0BDO.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({
|