@powerhousedao/ph-clint-app 0.1.0-dev.74 → 0.1.0-dev.76

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 (56) hide show
  1. package/dist/browser/document-models/index.js +1 -1
  2. package/dist/browser/document-models/ph-clint-project/index.js +3 -3
  3. package/dist/browser/{editor-CAZmaheq.js → editor-Z7QJIYOp.js} +377 -403
  4. package/dist/browser/{editor-CAZmaheq.js.map → editor-Z7QJIYOp.js.map} +1 -1
  5. package/dist/browser/editors/ph-clint-project-editor/module.js +1 -1
  6. package/dist/browser/index.js +3 -3
  7. package/dist/browser/{module-K5q3UobV.js → module-BZ6W31hV.js} +70 -132
  8. package/dist/browser/{module-K5q3UobV.js.map → module-BZ6W31hV.js.map} +1 -1
  9. package/dist/browser/{ph-clint-project-Bbl7jqNw.js → ph-clint-project-3b5ZHznW.js} +2 -2
  10. package/dist/browser/{ph-clint-project-Bbl7jqNw.js.map → ph-clint-project-3b5ZHznW.js.map} +1 -1
  11. package/dist/connect/assets/editor-CEMUd4Ju.js +2 -0
  12. package/dist/connect/assets/editor-CEMUd4Ju.js.map +1 -0
  13. package/dist/connect/assets/{index-DmrNLi1C.js → index-BxEnFQyj.js} +20 -20
  14. package/dist/connect/assets/{index-DmrNLi1C.js.map → index-BxEnFQyj.js.map} +1 -1
  15. package/dist/connect/assets/{ph-clint-project-DZ_ZplDv.js → ph-clint-project-C_SSQ38p.js} +7 -37
  16. package/dist/connect/assets/ph-clint-project-C_SSQ38p.js.map +1 -0
  17. package/dist/connect/index.html +2 -2
  18. package/dist/connect/ph-packages.json +1 -1
  19. package/dist/document-models/ph-clint-project/v1/actions.d.ts +0 -1
  20. package/dist/document-models/ph-clint-project/v1/actions.d.ts.map +1 -1
  21. package/dist/document-models/ph-clint-project/v1/gen/document-model.d.ts.map +1 -1
  22. package/dist/document-models/ph-clint-project/v1/gen/mastra-models/actions.d.ts +2 -6
  23. package/dist/document-models/ph-clint-project/v1/gen/mastra-models/actions.d.ts.map +1 -1
  24. package/dist/document-models/ph-clint-project/v1/gen/mastra-models/creators.d.ts +2 -3
  25. package/dist/document-models/ph-clint-project/v1/gen/mastra-models/creators.d.ts.map +1 -1
  26. package/dist/document-models/ph-clint-project/v1/gen/mastra-models/error.d.ts +0 -4
  27. package/dist/document-models/ph-clint-project/v1/gen/mastra-models/error.d.ts.map +1 -1
  28. package/dist/document-models/ph-clint-project/v1/gen/mastra-models/operations.d.ts +1 -2
  29. package/dist/document-models/ph-clint-project/v1/gen/mastra-models/operations.d.ts.map +1 -1
  30. package/dist/document-models/ph-clint-project/v1/gen/reducer.d.ts.map +1 -1
  31. package/dist/document-models/ph-clint-project/v1/gen/schema/types.d.ts +0 -6
  32. package/dist/document-models/ph-clint-project/v1/gen/schema/types.d.ts.map +1 -1
  33. package/dist/document-models/ph-clint-project/v1/gen/schema/zod.d.ts +1 -2
  34. package/dist/document-models/ph-clint-project/v1/gen/schema/zod.d.ts.map +1 -1
  35. package/dist/document-models/ph-clint-project/v1/module.d.ts +0 -1
  36. package/dist/document-models/ph-clint-project/v1/module.d.ts.map +1 -1
  37. package/dist/document-models/ph-clint-project/v1/src/reducers/features-mastra.d.ts.map +1 -1
  38. package/dist/document-models/ph-clint-project/v1/src/reducers/lifecycle.d.ts.map +1 -1
  39. package/dist/document-models/ph-clint-project/v1/src/reducers/mastra-models.d.ts.map +1 -1
  40. package/dist/document-models/ph-clint-project/v1/src/reducers/mastra-profiles.d.ts.map +1 -1
  41. package/dist/editors/ph-clint-project-editor/editor.d.ts.map +1 -1
  42. package/dist/node/document-models/index.mjs +1 -1
  43. package/dist/node/document-models/ph-clint-project/index.mjs +3 -3
  44. package/dist/node/{editor-DOw2BwlR.mjs → editor-C82Trmk4.mjs} +377 -403
  45. package/dist/node/{editor-DOw2BwlR.mjs.map → editor-C82Trmk4.mjs.map} +1 -1
  46. package/dist/node/editors/ph-clint-project-editor/module.mjs +1 -1
  47. package/dist/node/index.mjs +3 -3
  48. package/dist/node/{module-DTtUZ4DR.mjs → module-ZwrJ5kaI.mjs} +70 -132
  49. package/dist/node/{module-DTtUZ4DR.mjs.map → module-ZwrJ5kaI.mjs.map} +1 -1
  50. package/dist/node/{ph-clint-project-DFA4zHJv.mjs → ph-clint-project-YqV6kGMs.mjs} +2 -2
  51. package/dist/node/{ph-clint-project-DFA4zHJv.mjs.map → ph-clint-project-YqV6kGMs.mjs.map} +1 -1
  52. package/dist/style.css +7 -0
  53. package/package.json +1 -1
  54. package/dist/connect/assets/editor-CQqCB-3d.js +0 -2
  55. package/dist/connect/assets/editor-CQqCB-3d.js.map +0 -1
  56. package/dist/connect/assets/ph-clint-project-DZ_ZplDv.js.map +0 -1
@@ -2,7 +2,7 @@ import { lazy } from "react";
2
2
  //#region editors/ph-clint-project-editor/module.ts
3
3
  /** Document editor module for the "["powerhouse/ph-clint-project"]" document type */
4
4
  const PhClintProjectEditor = {
5
- Component: lazy(() => import("../../editor-CAZmaheq.js")),
5
+ Component: lazy(() => import("../../editor-Z7QJIYOp.js")),
6
6
  documentTypes: ["powerhouse/ph-clint-project"],
7
7
  config: {
8
8
  id: "ph-clint-project-editor",
@@ -1,5 +1,5 @@
1
- import { $ as removeAgentProfileRef, $t as ImportSubAgentInputSchema, A as creators_exports$11, An as SetAgentModelInputSchema, At as AddAgentSkillInputSchema, B as creators_exports$9, Bn as SetPackageIdentifierInputSchema, Bt as ClearMainAgentDescriptionInputSchema, C as addPackageDocumentType, Cn as RemovePackageDocumentTypeInputSchema, Ct as setExternalSkillName, D as removePowerhousePackage, Dn as RemoveSupportedResourceInputSchema, Dt as setObservabilityEnabled, E as removePackageDocumentType, En as RemoveSubAgentInputSchema, Et as removeSupportedResource, F as creators_exports$10, Fn as SetExternalSkillNameInputSchema, Ft as AddPowerhousePackageInputSchema, G as creators_exports$8, Gn as SetSubAgentDescriptionInputSchema, Gt as EnableRoutineInputSchema, H as setDefaultModel, Hn as SetPowerhouseLevelInputSchema, Ht as DisableMastraInputSchema, I as removeProfile, In as SetMainAgentDescriptionInputSchema, It as AddProfileInputSchema, J as setMainAgentName, Jn as UpdateProfileInputSchema, Jt as ImportModelInputSchema, K as setMainAgentDescription, Kn as SetSubAgentNameInputSchema, Kt as ExternalSkillSchema, L as reorderProfiles, Ln as SetMainAgentImageInputSchema, Lt as AddSubAgentInputSchema, M as setSubAgentDescription, Mn as SetDescriptionInputSchema, Mt as AddExternalSkillInputSchema, N as setSubAgentName, Nn as SetEnableChatInputSchema, Nt as AddModelInputSchema, O as setPackageVersion, On as ReorderAgentProfileRefsInputSchema, Ot as setProxyEnabled, P as addProfile, Pn as SetExternalSkillGithubUrlInputSchema, Pt as AddPackageDocumentTypeInputSchema, Q as creators_exports$7, Qt as ImportSpecInputSchema, R as updateProfile, Rn as SetMainAgentNameInputSchema, Rt as AddSupportedResourceInputSchema, S as setPublishStatus, Sn as RemoveModelInputSchema, St as setExternalSkillGithubUrl, T as creators_exports$12, Tn as RemoveProfileInputSchema, Tt as creators_exports, U as clearMainAgentDescription, Un as SetProxyEnabledInputSchema, Ut as DisableRoutineInputSchema, V as removeModel, Vn as SetPackageVersionInputSchema, Vt as ClearMainAgentImageInputSchema, W as clearMainAgentImage, Wn as SetPublishStatusInputSchema, Wt as EnableMastraInputSchema, X as addAgentSkill, Xn as isDefinedNonNullAny, Xt as ImportProfileInputSchema, Y as addAgentProfileRef, Yn as definedNonNullAnySchema, Yt as ImportPackageInputSchema, Z as addAgentToolPattern, Zt as ImportSkillInputSchema, _ as bumpVersion, _n as PublishTagSchema, _t as enableMastra, an as PhClintMastraCommonSchema, at as importSpec, b as publishProduction, bn as RemoveAgentToolPatternInputSchema, bt as creators_exports$1, c as PhClintProjectPHStateSchema, cn as PhClintRoutineFeatureSchema, ct as setPackageIdentifier, d as isPhClintProjectDocument, dn as PowerhousePackageSchema, dt as disableRoutine, en as PhClintAgentModelSchema, et as removeAgentSkill, f as isPhClintProjectState, fn as PublishDevInputSchema, ft as enableRoutine, g as actions, gn as PublishStatusSchema, gt as disableMastra, h as documentModel, hn as PublishStagingInputSchema, ht as creators_exports$2, i as initialLocalState, in as PhClintMainAgentSchema, it as creators_exports$6, j as removeSubAgent, jn as SetDefaultModelInputSchema, jt as AddAgentToolPatternInputSchema, k as addSubAgent, kn as ReorderProfilesInputSchema, kt as AddAgentProfileRefInputSchema, l as assertIsPhClintProjectDocument, ln as PhClintSubAgentSchema, lt as setVersion, m as reducer, mn as PublishRecordSchema, mt as setPowerhouseLevel, n as utils, nn as PhClintDeploymentSchema, nt as reorderAgentProfileRefs, o as PhClintProjectDocumentHeaderSchema, on as PhClintMastraFeatureSchema, ot as creators_exports$5, p as phClintProjectDocumentType, pn as PublishProductionInputSchema, pt as creators_exports$3, q as setMainAgentImage, qn as SetVersionInputSchema, qt as ImportMainAgentInputSchema, r as initialGlobalState, rn as PhClintFeaturesSchema, rt as setAgentModel, s as PhClintProjectDocumentSchema, sn as PhClintProjectStateSchema, st as setDescription, t as PhClintProject, tn as PhClintAgentProfileSchema, tt as removeAgentToolPattern, u as assertIsPhClintProjectState, un as PowerhouseLevelSchema, ut as creators_exports$4, v as creators_exports$13, vn as RemoveAgentProfileRefInputSchema, vt as setEnableChat, w as addPowerhousePackage, wn as RemovePowerhousePackageInputSchema, wt as addSupportedResource, x as publishStaging, xn as RemoveExternalSkillInputSchema, xt as removeExternalSkill, y as publishDev, yn as RemoveAgentSkillInputSchema, yt as addExternalSkill, z as addModel, zn as SetObservabilityEnabledInputSchema, zt as BumpVersionInputSchema } from "./module-K5q3UobV.js";
2
- import { S as PhClintProjectController, _ as createPhClintProjectDocument, a as usePhClintProjectDocumentsInSelectedDrive, b as defaultLocalState, i as usePhClintProjectDocumentById, n as latestVersion, o as usePhClintProjectDocumentsInSelectedFolder, r as supportedVersions, s as useSelectedPhClintProjectDocument, t as phClintProjectUpgradeManifest, v as createState, x as defaultPHState, y as defaultGlobalState } from "./ph-clint-project-Bbl7jqNw.js";
1
+ import { $ as removeAgentSkill, $t as PhClintAgentModelSchema, A as creators_exports$11, An as SetDescriptionInputSchema, At as AddAgentToolPatternInputSchema, B as creators_exports$9, Bn as SetPowerhouseLevelInputSchema, Bt as ClearMainAgentImageInputSchema, C as addPackageDocumentType, Cn as RemovePowerhousePackageInputSchema, Ct as addSupportedResource, D as removePowerhousePackage, Dn as ReorderAgentProfileRefsInputSchema, Dt as setProxyEnabled, E as removePackageDocumentType, En as RemoveSupportedResourceInputSchema, Et as setObservabilityEnabled, F as creators_exports$10, Fn as SetMainAgentImageInputSchema, Ft as AddProfileInputSchema, G as setMainAgentDescription, Gn as SetVersionInputSchema, Gt as ExternalSkillSchema, H as clearMainAgentDescription, Hn as SetPublishStatusInputSchema, Ht as DisableRoutineInputSchema, I as removeProfile, In as SetMainAgentNameInputSchema, It as AddSubAgentInputSchema, J as addAgentProfileRef, Jn as isDefinedNonNullAny, Jt as ImportPackageInputSchema, K as setMainAgentImage, Kn as UpdateProfileInputSchema, Kt as ImportMainAgentInputSchema, L as reorderProfiles, Ln as SetObservabilityEnabledInputSchema, Lt as AddSupportedResourceInputSchema, M as setSubAgentDescription, Mn as SetExternalSkillGithubUrlInputSchema, Mt as AddModelInputSchema, N as setSubAgentName, Nn as SetExternalSkillNameInputSchema, Nt as AddPackageDocumentTypeInputSchema, O as setPackageVersion, On as ReorderProfilesInputSchema, Ot as AddAgentProfileRefInputSchema, P as addProfile, Pn as SetMainAgentDescriptionInputSchema, Pt as AddPowerhousePackageInputSchema, Q as removeAgentProfileRef, Qt as ImportSubAgentInputSchema, R as updateProfile, Rn as SetPackageIdentifierInputSchema, Rt as BumpVersionInputSchema, S as setPublishStatus, Sn as RemovePackageDocumentTypeInputSchema, St as setExternalSkillName, T as creators_exports$12, Tn as RemoveSubAgentInputSchema, Tt as removeSupportedResource, U as clearMainAgentImage, Un as SetSubAgentDescriptionInputSchema, Ut as EnableMastraInputSchema, V as removeModel, Vn as SetProxyEnabledInputSchema, Vt as DisableMastraInputSchema, W as creators_exports$8, Wn as SetSubAgentNameInputSchema, Wt as EnableRoutineInputSchema, X as addAgentToolPattern, Xt as ImportSkillInputSchema, Y as addAgentSkill, Yt as ImportProfileInputSchema, Z as creators_exports$7, Zt as ImportSpecInputSchema, _ as bumpVersion, _n as RemoveAgentProfileRefInputSchema, _t as setEnableChat, an as PhClintMastraFeatureSchema, at as creators_exports$5, b as publishProduction, bn as RemoveExternalSkillInputSchema, bt as removeExternalSkill, c as PhClintProjectPHStateSchema, cn as PhClintSubAgentSchema, ct as setVersion, d as isPhClintProjectDocument, dn as PublishDevInputSchema, dt as enableRoutine, en as PhClintAgentProfileSchema, et as removeAgentToolPattern, f as isPhClintProjectState, fn as PublishProductionInputSchema, ft as creators_exports$3, g as actions, gn as PublishTagSchema, gt as enableMastra, h as documentModel, hn as PublishStatusSchema, ht as disableMastra, i as initialLocalState, in as PhClintMastraCommonSchema, it as importSpec, j as removeSubAgent, jn as SetEnableChatInputSchema, jt as AddExternalSkillInputSchema, k as addSubAgent, kn as SetAgentModelInputSchema, kt as AddAgentSkillInputSchema, l as assertIsPhClintProjectDocument, ln as PowerhouseLevelSchema, lt as creators_exports$4, m as reducer, mn as PublishStagingInputSchema, mt as creators_exports$2, n as utils, nn as PhClintFeaturesSchema, nt as setAgentModel, o as PhClintProjectDocumentHeaderSchema, on as PhClintProjectStateSchema, ot as setDescription, p as phClintProjectDocumentType, pn as PublishRecordSchema, pt as setPowerhouseLevel, q as setMainAgentName, qn as definedNonNullAnySchema, qt as ImportModelInputSchema, r as initialGlobalState, rn as PhClintMainAgentSchema, rt as creators_exports$6, s as PhClintProjectDocumentSchema, sn as PhClintRoutineFeatureSchema, st as setPackageIdentifier, t as PhClintProject, tn as PhClintDeploymentSchema, tt as reorderAgentProfileRefs, u as assertIsPhClintProjectState, un as PowerhousePackageSchema, ut as disableRoutine, v as creators_exports$13, vn as RemoveAgentSkillInputSchema, vt as addExternalSkill, w as addPowerhousePackage, wn as RemoveProfileInputSchema, wt as creators_exports, x as publishStaging, xn as RemoveModelInputSchema, xt as setExternalSkillGithubUrl, y as publishDev, yn as RemoveAgentToolPatternInputSchema, yt as creators_exports$1, z as addModel, zn as SetPackageVersionInputSchema, zt as ClearMainAgentDescriptionInputSchema } from "./module-BZ6W31hV.js";
2
+ import { S as PhClintProjectController, _ as createPhClintProjectDocument, a as usePhClintProjectDocumentsInSelectedDrive, b as defaultLocalState, i as usePhClintProjectDocumentById, n as latestVersion, o as usePhClintProjectDocumentsInSelectedFolder, r as supportedVersions, s as useSelectedPhClintProjectDocument, t as phClintProjectUpgradeManifest, v as createState, x as defaultPHState, y as defaultGlobalState } from "./ph-clint-project-3b5ZHznW.js";
3
3
  import { PhClintProjectEditor } from "./editors/ph-clint-project-editor/module.js";
4
4
  import { t as processorFactory } from "./factory-BorJujF7.js";
5
5
  //#region powerhouse.manifest.json
@@ -38,6 +38,6 @@ const editors = [PhClintProjectEditor];
38
38
  //#region index.ts
39
39
  const manifest = powerhouse_manifest_default;
40
40
  //#endregion
41
- export { AddAgentProfileRefInputSchema, AddAgentSkillInputSchema, AddAgentToolPatternInputSchema, AddExternalSkillInputSchema, AddModelInputSchema, AddPackageDocumentTypeInputSchema, AddPowerhousePackageInputSchema, AddProfileInputSchema, AddSubAgentInputSchema, AddSupportedResourceInputSchema, BumpVersionInputSchema, ClearMainAgentDescriptionInputSchema, ClearMainAgentImageInputSchema, DisableMastraInputSchema, DisableRoutineInputSchema, EnableMastraInputSchema, EnableRoutineInputSchema, ExternalSkillSchema, ImportMainAgentInputSchema, ImportModelInputSchema, ImportPackageInputSchema, ImportProfileInputSchema, ImportSkillInputSchema, ImportSpecInputSchema, ImportSubAgentInputSchema, PhClintAgentModelSchema, PhClintAgentProfileSchema, PhClintDeploymentSchema, PhClintFeaturesSchema, PhClintMainAgentSchema, PhClintMastraCommonSchema, PhClintMastraFeatureSchema, PhClintProject, PhClintProjectController, PhClintProjectDocumentHeaderSchema, PhClintProjectDocumentSchema, PhClintProjectPHStateSchema, PhClintProjectStateSchema, PhClintRoutineFeatureSchema, PhClintSubAgentSchema, PowerhouseLevelSchema, PowerhousePackageSchema, PublishDevInputSchema, PublishProductionInputSchema, PublishRecordSchema, PublishStagingInputSchema, PublishStatusSchema, PublishTagSchema, RemoveAgentProfileRefInputSchema, RemoveAgentSkillInputSchema, RemoveAgentToolPatternInputSchema, RemoveExternalSkillInputSchema, RemoveModelInputSchema, RemovePackageDocumentTypeInputSchema, RemovePowerhousePackageInputSchema, RemoveProfileInputSchema, RemoveSubAgentInputSchema, RemoveSupportedResourceInputSchema, ReorderAgentProfileRefsInputSchema, ReorderProfilesInputSchema, SetAgentModelInputSchema, SetDefaultModelInputSchema, SetDescriptionInputSchema, SetEnableChatInputSchema, SetExternalSkillGithubUrlInputSchema, SetExternalSkillNameInputSchema, SetMainAgentDescriptionInputSchema, SetMainAgentImageInputSchema, SetMainAgentNameInputSchema, SetObservabilityEnabledInputSchema, SetPackageIdentifierInputSchema, SetPackageVersionInputSchema, SetPowerhouseLevelInputSchema, SetProxyEnabledInputSchema, SetPublishStatusInputSchema, SetSubAgentDescriptionInputSchema, SetSubAgentNameInputSchema, SetVersionInputSchema, UpdateProfileInputSchema, actions, addAgentProfileRef, addAgentSkill, addAgentToolPattern, addExternalSkill, addModel, addPackageDocumentType, addPowerhousePackage, addProfile, addSubAgent, addSupportedResource, assertIsPhClintProjectDocument, assertIsPhClintProjectState, bumpVersion, clearMainAgentDescription, clearMainAgentImage, createPhClintProjectDocument, createState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, disableMastra, disableRoutine, documentModel, documentModels, editors, enableMastra, enableRoutine, importSpec, initialGlobalState, initialLocalState, isDefinedNonNullAny, isPhClintProjectDocument, isPhClintProjectState, latestVersion, manifest, creators_exports as phClintProjectDeploymentActions, phClintProjectDocumentType, creators_exports$1 as phClintProjectExternalSkillsActions, creators_exports$2 as phClintProjectFeaturesMastraActions, creators_exports$3 as phClintProjectFeaturesPowerhouseActions, creators_exports$4 as phClintProjectFeaturesRoutineActions, creators_exports$5 as phClintProjectIdentityActions, creators_exports$6 as phClintProjectLifecycleActions, creators_exports$7 as phClintProjectMastraAgentBindingsActions, creators_exports$8 as phClintProjectMastraMainAgentActions, creators_exports$9 as phClintProjectMastraModelsActions, creators_exports$10 as phClintProjectMastraProfilesActions, creators_exports$11 as phClintProjectMastraSubAgentsActions, creators_exports$12 as phClintProjectPowerhousePackagesActions, creators_exports$13 as phClintProjectPublishingActions, phClintProjectUpgradeManifest, processorFactory, publishDev, publishProduction, publishStaging, reducer, removeAgentProfileRef, removeAgentSkill, removeAgentToolPattern, removeExternalSkill, removeModel, removePackageDocumentType, removePowerhousePackage, removeProfile, removeSubAgent, removeSupportedResource, reorderAgentProfileRefs, reorderProfiles, setAgentModel, setDefaultModel, setDescription, setEnableChat, setExternalSkillGithubUrl, setExternalSkillName, setMainAgentDescription, setMainAgentImage, setMainAgentName, setObservabilityEnabled, setPackageIdentifier, setPackageVersion, setPowerhouseLevel, setProxyEnabled, setPublishStatus, setSubAgentDescription, setSubAgentName, setVersion, supportedVersions, updateProfile, upgradeManifests, usePhClintProjectDocumentById, usePhClintProjectDocumentsInSelectedDrive, usePhClintProjectDocumentsInSelectedFolder, useSelectedPhClintProjectDocument, utils };
41
+ export { AddAgentProfileRefInputSchema, AddAgentSkillInputSchema, AddAgentToolPatternInputSchema, AddExternalSkillInputSchema, AddModelInputSchema, AddPackageDocumentTypeInputSchema, AddPowerhousePackageInputSchema, AddProfileInputSchema, AddSubAgentInputSchema, AddSupportedResourceInputSchema, BumpVersionInputSchema, ClearMainAgentDescriptionInputSchema, ClearMainAgentImageInputSchema, DisableMastraInputSchema, DisableRoutineInputSchema, EnableMastraInputSchema, EnableRoutineInputSchema, ExternalSkillSchema, ImportMainAgentInputSchema, ImportModelInputSchema, ImportPackageInputSchema, ImportProfileInputSchema, ImportSkillInputSchema, ImportSpecInputSchema, ImportSubAgentInputSchema, PhClintAgentModelSchema, PhClintAgentProfileSchema, PhClintDeploymentSchema, PhClintFeaturesSchema, PhClintMainAgentSchema, PhClintMastraCommonSchema, PhClintMastraFeatureSchema, PhClintProject, PhClintProjectController, PhClintProjectDocumentHeaderSchema, PhClintProjectDocumentSchema, PhClintProjectPHStateSchema, PhClintProjectStateSchema, PhClintRoutineFeatureSchema, PhClintSubAgentSchema, PowerhouseLevelSchema, PowerhousePackageSchema, PublishDevInputSchema, PublishProductionInputSchema, PublishRecordSchema, PublishStagingInputSchema, PublishStatusSchema, PublishTagSchema, RemoveAgentProfileRefInputSchema, RemoveAgentSkillInputSchema, RemoveAgentToolPatternInputSchema, RemoveExternalSkillInputSchema, RemoveModelInputSchema, RemovePackageDocumentTypeInputSchema, RemovePowerhousePackageInputSchema, RemoveProfileInputSchema, RemoveSubAgentInputSchema, RemoveSupportedResourceInputSchema, ReorderAgentProfileRefsInputSchema, ReorderProfilesInputSchema, SetAgentModelInputSchema, SetDescriptionInputSchema, SetEnableChatInputSchema, SetExternalSkillGithubUrlInputSchema, SetExternalSkillNameInputSchema, SetMainAgentDescriptionInputSchema, SetMainAgentImageInputSchema, SetMainAgentNameInputSchema, SetObservabilityEnabledInputSchema, SetPackageIdentifierInputSchema, SetPackageVersionInputSchema, SetPowerhouseLevelInputSchema, SetProxyEnabledInputSchema, SetPublishStatusInputSchema, SetSubAgentDescriptionInputSchema, SetSubAgentNameInputSchema, SetVersionInputSchema, UpdateProfileInputSchema, actions, addAgentProfileRef, addAgentSkill, addAgentToolPattern, addExternalSkill, addModel, addPackageDocumentType, addPowerhousePackage, addProfile, addSubAgent, addSupportedResource, assertIsPhClintProjectDocument, assertIsPhClintProjectState, bumpVersion, clearMainAgentDescription, clearMainAgentImage, createPhClintProjectDocument, createState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, disableMastra, disableRoutine, documentModel, documentModels, editors, enableMastra, enableRoutine, importSpec, initialGlobalState, initialLocalState, isDefinedNonNullAny, isPhClintProjectDocument, isPhClintProjectState, latestVersion, manifest, creators_exports as phClintProjectDeploymentActions, phClintProjectDocumentType, creators_exports$1 as phClintProjectExternalSkillsActions, creators_exports$2 as phClintProjectFeaturesMastraActions, creators_exports$3 as phClintProjectFeaturesPowerhouseActions, creators_exports$4 as phClintProjectFeaturesRoutineActions, creators_exports$5 as phClintProjectIdentityActions, creators_exports$6 as phClintProjectLifecycleActions, creators_exports$7 as phClintProjectMastraAgentBindingsActions, creators_exports$8 as phClintProjectMastraMainAgentActions, creators_exports$9 as phClintProjectMastraModelsActions, creators_exports$10 as phClintProjectMastraProfilesActions, creators_exports$11 as phClintProjectMastraSubAgentsActions, creators_exports$12 as phClintProjectPowerhousePackagesActions, creators_exports$13 as phClintProjectPublishingActions, phClintProjectUpgradeManifest, processorFactory, publishDev, publishProduction, publishStaging, reducer, removeAgentProfileRef, removeAgentSkill, removeAgentToolPattern, removeExternalSkill, removeModel, removePackageDocumentType, removePowerhousePackage, removeProfile, removeSubAgent, removeSupportedResource, reorderAgentProfileRefs, reorderProfiles, setAgentModel, setDescription, setEnableChat, setExternalSkillGithubUrl, setExternalSkillName, setMainAgentDescription, setMainAgentImage, setMainAgentName, setObservabilityEnabled, setPackageIdentifier, setPackageVersion, setPowerhouseLevel, setProxyEnabled, setPublishStatus, setSubAgentDescription, setSubAgentName, setVersion, supportedVersions, updateProfile, upgradeManifests, usePhClintProjectDocumentById, usePhClintProjectDocumentsInSelectedDrive, usePhClintProjectDocumentsInSelectedFolder, useSelectedPhClintProjectDocument, utils };
42
42
 
43
43
  //# sourceMappingURL=index.js.map
@@ -8716,10 +8716,7 @@ function AddExternalSkillInputSchema() {
8716
8716
  });
8717
8717
  }
8718
8718
  function AddModelInputSchema() {
8719
- return object({
8720
- id: string(),
8721
- isDefault: boolean().nullish()
8722
- });
8719
+ return object({ id: string() });
8723
8720
  }
8724
8721
  function AddPackageDocumentTypeInputSchema() {
8725
8722
  return object({
@@ -8797,10 +8794,7 @@ function ImportMainAgentInputSchema() {
8797
8794
  });
8798
8795
  }
8799
8796
  function ImportModelInputSchema() {
8800
- return object({
8801
- id: string(),
8802
- isDefault: boolean()
8803
- });
8797
+ return object({ id: string() });
8804
8798
  }
8805
8799
  function ImportPackageInputSchema() {
8806
8800
  return object({
@@ -8859,8 +8853,7 @@ function ImportSubAgentInputSchema() {
8859
8853
  function PhClintAgentModelSchema() {
8860
8854
  return object({
8861
8855
  __typename: literal("PhClintAgentModel").optional(),
8862
- id: string(),
8863
- isDefault: boolean()
8856
+ id: string()
8864
8857
  });
8865
8858
  }
8866
8859
  function PhClintAgentProfileSchema() {
@@ -9048,9 +9041,6 @@ function SetAgentModelInputSchema() {
9048
9041
  modelId: string()
9049
9042
  });
9050
9043
  }
9051
- function SetDefaultModelInputSchema() {
9052
- return object({ id: string() });
9053
- }
9054
9044
  function SetDescriptionInputSchema() {
9055
9045
  return object({ description: string() });
9056
9046
  }
@@ -9265,12 +9255,10 @@ const clearMainAgentImage = (input) => createAction("CLEAR_MAIN_AGENT_IMAGE", {
9265
9255
  */
9266
9256
  var creators_exports$4 = /* @__PURE__ */ __exportAll({
9267
9257
  addModel: () => addModel,
9268
- removeModel: () => removeModel,
9269
- setDefaultModel: () => setDefaultModel
9258
+ removeModel: () => removeModel
9270
9259
  });
9271
9260
  const addModel = (input) => createAction("ADD_MODEL", { ...input }, void 0, AddModelInputSchema, "global");
9272
9261
  const removeModel = (input) => createAction("REMOVE_MODEL", { ...input }, void 0, RemoveModelInputSchema, "global");
9273
- const setDefaultModel = (input) => createAction("SET_DEFAULT_MODEL", { ...input }, void 0, SetDefaultModelInputSchema, "global");
9274
9262
  //#endregion
9275
9263
  //#region document-models/ph-clint-project/v1/gen/mastra-profiles/creators.ts
9276
9264
  /**
@@ -9382,7 +9370,7 @@ const documentModel = {
9382
9370
  initialValue: ""
9383
9371
  },
9384
9372
  global: {
9385
- schema: "type PhClintProjectState {\n name: String\n scope: String\n version: String!\n description: String!\n features: PhClintFeatures!\n packages: [PowerhousePackage!]!\n externalSkills: [ExternalSkill!]!\n publishHistory: [PublishRecord!]!\n deployment: PhClintDeployment!\n}\n\ntype PhClintFeatures {\n powerhouse: PowerhouseLevel!\n mastra: PhClintMastraFeature!\n routine: PhClintRoutineFeature!\n}\n\nenum PowerhouseLevel {\n Disabled\n Reactor\n Switchboard\n Connect\n}\n\ntype PhClintMastraFeature {\n enabled: Boolean!\n mainAgent: PhClintMainAgent\n subAgents: [PhClintSubAgent!]!\n models: [PhClintAgentModel!]!\n profiles: [PhClintAgentProfile!]!\n common: PhClintMastraCommon!\n}\n\ntype PhClintMainAgent {\n id: OID!\n name: String!\n description: String\n image: String\n modelId: OID!\n profileIds: [OID!]!\n skills: [String!]!\n toolPatterns: [String!]!\n}\n\ntype PhClintSubAgent {\n id: OID!\n name: String!\n description: String!\n modelId: OID!\n profileIds: [OID!]!\n skills: [String!]!\n toolPatterns: [String!]!\n}\n\ntype PhClintMastraCommon {\n enableChat: Boolean!\n}\n\ntype PhClintAgentModel {\n id: OID!\n isDefault: Boolean!\n}\n\ntype PhClintAgentProfile {\n id: OID!\n title: String!\n content: String!\n}\n\ntype PhClintRoutineFeature {\n enabled: Boolean!\n}\n\ntype PowerhousePackage {\n id: OID!\n packageName: String!\n documentTypes: [String!]!\n version: String\n managed: Boolean!\n}\n\ntype ExternalSkill {\n id: OID!\n name: String!\n githubUrl: URL!\n}\n\nenum PublishTag {\n Dev\n Staging\n Production\n}\n\nenum PublishStatus {\n Pending\n InProgress\n Succeeded\n Failed\n}\n\ntype PublishRecord {\n id: OID!\n tag: PublishTag!\n version: String!\n timestamp: DateTime!\n status: PublishStatus!\n}\n\ntype PhClintDeployment {\n proxyEnabled: Boolean!\n observabilityEnabled: Boolean!\n supportedResources: [String!]!\n}",
9373
+ schema: "type PhClintProjectState {\n name: String\n scope: String\n version: String!\n description: String!\n features: PhClintFeatures!\n packages: [PowerhousePackage!]!\n externalSkills: [ExternalSkill!]!\n publishHistory: [PublishRecord!]!\n deployment: PhClintDeployment!\n}\n\ntype PhClintFeatures {\n powerhouse: PowerhouseLevel!\n mastra: PhClintMastraFeature!\n routine: PhClintRoutineFeature!\n}\n\nenum PowerhouseLevel {\n Disabled\n Reactor\n Switchboard\n Connect\n}\n\ntype PhClintMastraFeature {\n enabled: Boolean!\n mainAgent: PhClintMainAgent\n subAgents: [PhClintSubAgent!]!\n models: [PhClintAgentModel!]!\n profiles: [PhClintAgentProfile!]!\n common: PhClintMastraCommon!\n}\n\ntype PhClintMainAgent {\n id: OID!\n name: String!\n description: String\n image: String\n modelId: OID!\n profileIds: [OID!]!\n skills: [String!]!\n toolPatterns: [String!]!\n}\n\ntype PhClintSubAgent {\n id: OID!\n name: String!\n description: String!\n modelId: OID!\n profileIds: [OID!]!\n skills: [String!]!\n toolPatterns: [String!]!\n}\n\ntype PhClintMastraCommon {\n enableChat: Boolean!\n}\n\ntype PhClintAgentModel {\n id: OID!\n}\n\ntype PhClintAgentProfile {\n id: OID!\n title: String!\n content: String!\n}\n\ntype PhClintRoutineFeature {\n enabled: Boolean!\n}\n\ntype PowerhousePackage {\n id: OID!\n packageName: String!\n documentTypes: [String!]!\n version: String\n managed: Boolean!\n}\n\ntype ExternalSkill {\n id: OID!\n name: String!\n githubUrl: URL!\n}\n\nenum PublishTag {\n Dev\n Staging\n Production\n}\n\nenum PublishStatus {\n Pending\n InProgress\n Succeeded\n Failed\n}\n\ntype PublishRecord {\n id: OID!\n tag: PublishTag!\n version: String!\n timestamp: DateTime!\n status: PublishStatus!\n}\n\ntype PhClintDeployment {\n proxyEnabled: Boolean!\n observabilityEnabled: Boolean!\n supportedResources: [String!]!\n}",
9386
9374
  examples: [],
9387
9375
  initialValue: "{\n \"name\": null,\n \"scope\": null,\n \"version\": \"0.1.0\",\n \"description\": \"\",\n \"features\": {\n \"powerhouse\": \"Disabled\",\n \"mastra\": {\n \"enabled\": false,\n \"mainAgent\": null,\n \"subAgents\": [],\n \"models\": [],\n \"profiles\": [],\n \"common\": { \"enableChat\": false }\n },\n \"routine\": { \"enabled\": false }\n },\n \"packages\": [],\n \"externalSkills\": [],\n \"publishHistory\": [],\n \"deployment\": {\n \"proxyEnabled\": false,\n \"observabilityEnabled\": false,\n \"supportedResources\": [\n \"vetra-agent-s\",\n \"vetra-agent-m\",\n \"vetra-agent-l\",\n \"vetra-agent-xl\",\n \"vetra-agent-xxl\"\n ]\n }\n}"
9388
9376
  }
@@ -9803,9 +9791,9 @@ const documentModel = {
9803
9791
  id: "o-import-spec",
9804
9792
  name: "IMPORT_SPEC",
9805
9793
  description: "Bulk-import a full project spec into the document. Sets all identity fields, features, packages, and skills. Used by the multi-project boot sync.",
9806
- schema: "input ImportSpecInput {\n name: String!\n scope: String\n version: String!\n description: String!\n powerhouse: PowerhouseLevel!\n mastraEnabled: Boolean!\n routineEnabled: Boolean!\n packages: [ImportPackageInput!]!\n externalSkills: [ImportSkillInput!]!\n mainAgent: ImportMainAgentInput\n subAgents: [ImportSubAgentInput!]!\n models: [ImportModelInput!]!\n profiles: [ImportProfileInput!]!\n enableChat: Boolean\n proxyEnabled: Boolean\n observabilityEnabled: Boolean\n supportedResources: [String!]\n}\n\ninput ImportPackageInput {\n id: OID!\n packageName: String!\n documentTypes: [String!]!\n version: String\n}\n\ninput ImportSkillInput {\n id: OID!\n name: String!\n githubUrl: URL!\n}\n\ninput ImportModelInput {\n id: OID!\n isDefault: Boolean!\n}\n\ninput ImportProfileInput {\n id: OID!\n title: String!\n content: String!\n}\n\ninput ImportMainAgentInput {\n id: OID!\n name: String!\n description: String\n image: String\n modelId: OID!\n profileIds: [OID!]!\n skills: [String!]!\n toolPatterns: [String!]!\n}\n\ninput ImportSubAgentInput {\n id: OID!\n name: String!\n description: String!\n modelId: OID!\n profileIds: [OID!]!\n skills: [String!]!\n toolPatterns: [String!]!\n}",
9794
+ schema: "input ImportSpecInput {\n name: String!\n scope: String\n version: String!\n description: String!\n powerhouse: PowerhouseLevel!\n mastraEnabled: Boolean!\n routineEnabled: Boolean!\n packages: [ImportPackageInput!]!\n externalSkills: [ImportSkillInput!]!\n mainAgent: ImportMainAgentInput\n subAgents: [ImportSubAgentInput!]!\n models: [ImportModelInput!]!\n profiles: [ImportProfileInput!]!\n enableChat: Boolean\n proxyEnabled: Boolean\n observabilityEnabled: Boolean\n supportedResources: [String!]\n}\n\ninput ImportPackageInput {\n id: OID!\n packageName: String!\n documentTypes: [String!]!\n version: String\n}\n\ninput ImportSkillInput {\n id: OID!\n name: String!\n githubUrl: URL!\n}\n\ninput ImportModelInput {\n id: OID!\n}\n\ninput ImportProfileInput {\n id: OID!\n title: String!\n content: String!\n}\n\ninput ImportMainAgentInput {\n id: OID!\n name: String!\n description: String\n image: String\n modelId: OID!\n profileIds: [OID!]!\n skills: [String!]!\n toolPatterns: [String!]!\n}\n\ninput ImportSubAgentInput {\n id: OID!\n name: String!\n description: String!\n modelId: OID!\n profileIds: [OID!]!\n skills: [String!]!\n toolPatterns: [String!]!\n}",
9807
9795
  template: "Bulk-import a full project spec into the document. Sets all identity fields, features, packages, and skills. Used by the multi-project boot sync.",
9808
- reducer: "state.name = action.input.name;\nstate.scope = action.input.scope || null;\nstate.version = action.input.version;\nstate.description = action.input.description;\nstate.features.powerhouse = action.input.powerhouse;\nstate.features.mastra.enabled = action.input.mastraEnabled;\nstate.features.routine.enabled = action.input.routineEnabled;\n\nconst appBase = action.input.name.replace(/-cli$/, '-app');\nconst appPkgName = action.input.scope\n ? `${action.input.scope}/${appBase}`\n : appBase;\nconst phEnabled = action.input.powerhouse !== 'Disabled';\n\nstate.packages = action.input.packages.map((p) => ({\n id: p.id,\n packageName: p.packageName,\n documentTypes: [...p.documentTypes],\n version: p.version || null,\n managed: phEnabled && p.packageName === appPkgName,\n}));\nstate.externalSkills = action.input.externalSkills.map((s) => ({\n id: s.id,\n name: s.name,\n githubUrl: s.githubUrl,\n}));\n\nstate.features.mastra.models = action.input.models.map((m) => ({\n id: m.id,\n isDefault: m.isDefault,\n}));\nstate.features.mastra.profiles = action.input.profiles.map((p) => ({\n id: p.id,\n title: p.title,\n content: p.content,\n}));\n\nif (action.input.mainAgent && state.features.mastra.enabled) {\n const m = action.input.mainAgent;\n let image = null;\n if (m.image) {\n if (!/^data:[a-z]+\\/[a-z0-9.+-]+;base64,/.test(m.image)) {\n throw new InvalidAgentImageError(\n 'Invalid image: must be a data URL (data:<mime>;base64,...)',\n );\n }\n image = m.image;\n }\n state.features.mastra.mainAgent = {\n id: m.id,\n name: m.name,\n description: m.description || null,\n image,\n modelId: m.modelId,\n profileIds: [...m.profileIds],\n skills: [...m.skills],\n toolPatterns: [...m.toolPatterns],\n };\n} else {\n state.features.mastra.mainAgent = null;\n}\n\nif (state.features.mastra.enabled) {\n state.features.mastra.subAgents = action.input.subAgents.map((s) => ({\n id: s.id,\n name: s.name,\n description: s.description,\n modelId: s.modelId,\n profileIds: [...s.profileIds],\n skills: [...s.skills],\n toolPatterns: [...s.toolPatterns],\n }));\n} else {\n state.features.mastra.subAgents = [];\n}\n\nif (\n action.input.enableChat &&\n state.features.mastra.enabled &&\n state.features.powerhouse !== 'Disabled'\n) {\n state.features.mastra.common.enableChat = true;\n const CLINT_COMMON_PKG = '@powerhousedao/clint-common';\n const CHAT_DOC_TYPE = 'powerhouse/chat-session';\n const existing = state.packages.find(\n (p) => p.packageName === CLINT_COMMON_PKG,\n );\n if (!existing) {\n state.packages.push({\n id: 'pkg-clint-common',\n packageName: CLINT_COMMON_PKG,\n documentTypes: [CHAT_DOC_TYPE],\n version: null,\n managed: true,\n });\n } else if (!existing.documentTypes.includes(CHAT_DOC_TYPE)) {\n existing.documentTypes.push(CHAT_DOC_TYPE);\n }\n} else {\n state.features.mastra.common.enableChat = false;\n}\n\nstate.deployment.proxyEnabled = action.input.proxyEnabled ?? false;\nstate.deployment.observabilityEnabled = action.input.observabilityEnabled ?? false;\nstate.deployment.supportedResources = action.input.supportedResources\n ? [...action.input.supportedResources]\n : [];",
9796
+ reducer: "state.name = action.input.name;\nstate.scope = action.input.scope || null;\nstate.version = action.input.version;\nstate.description = action.input.description;\nstate.features.powerhouse = action.input.powerhouse;\nstate.features.mastra.enabled = action.input.mastraEnabled;\nstate.features.routine.enabled = action.input.routineEnabled;\n\nconst appBase = action.input.name.replace(/-cli$/, '-app');\nconst appPkgName = action.input.scope\n ? `${action.input.scope}/${appBase}`\n : appBase;\nconst phEnabled = action.input.powerhouse !== 'Disabled';\n\nstate.packages = action.input.packages.map((p) => ({\n id: p.id,\n packageName: p.packageName,\n documentTypes: [...p.documentTypes],\n version: p.version || null,\n managed: phEnabled && p.packageName === appPkgName,\n}));\nstate.externalSkills = action.input.externalSkills.map((s) => ({\n id: s.id,\n name: s.name,\n githubUrl: s.githubUrl,\n}));\n\nstate.features.mastra.models = action.input.models.map((m) => ({\n id: m.id,\n}));\nstate.features.mastra.profiles = action.input.profiles.map((p) => ({\n id: p.id,\n title: p.title,\n content: p.content,\n}));\n\nif (action.input.mainAgent && state.features.mastra.enabled) {\n const m = action.input.mainAgent;\n let image = null;\n if (m.image) {\n if (!/^data:[a-z]+\\/[a-z0-9.+-]+;base64,/.test(m.image)) {\n throw new InvalidAgentImageError(\n 'Invalid image: must be a data URL (data:<mime>;base64,...)',\n );\n }\n image = m.image;\n }\n state.features.mastra.mainAgent = {\n id: m.id,\n name: m.name,\n description: m.description || null,\n image,\n modelId: m.modelId,\n profileIds: [...m.profileIds],\n skills: [...m.skills],\n toolPatterns: [...m.toolPatterns],\n };\n} else {\n state.features.mastra.mainAgent = null;\n}\n\nif (state.features.mastra.enabled) {\n state.features.mastra.subAgents = action.input.subAgents.map((s) => ({\n id: s.id,\n name: s.name,\n description: s.description,\n modelId: s.modelId,\n profileIds: [...s.profileIds],\n skills: [...s.skills],\n toolPatterns: [...s.toolPatterns],\n }));\n} else {\n state.features.mastra.subAgents = [];\n}\n\nif (\n action.input.enableChat &&\n state.features.mastra.enabled &&\n state.features.powerhouse !== 'Disabled'\n) {\n state.features.mastra.common.enableChat = true;\n const CLINT_COMMON_PKG = '@powerhousedao/clint-common';\n const CHAT_DOC_TYPE = 'powerhouse/chat-session';\n const existing = state.packages.find(\n (p) => p.packageName === CLINT_COMMON_PKG,\n );\n if (!existing) {\n state.packages.push({\n id: 'pkg-clint-common',\n packageName: CLINT_COMMON_PKG,\n documentTypes: [CHAT_DOC_TYPE],\n version: null,\n managed: true,\n });\n } else if (!existing.documentTypes.includes(CHAT_DOC_TYPE)) {\n existing.documentTypes.push(CHAT_DOC_TYPE);\n }\n} else {\n state.features.mastra.common.enableChat = false;\n}\n\nstate.deployment.proxyEnabled = action.input.proxyEnabled ?? false;\nstate.deployment.observabilityEnabled = action.input.observabilityEnabled ?? false;\nstate.deployment.supportedResources = action.input.supportedResources\n ? [...action.input.supportedResources]\n : [];",
9809
9797
  errors: [{
9810
9798
  id: "e-import-spec-invalid-image",
9811
9799
  name: "InvalidAgentImageError",
@@ -9891,7 +9879,7 @@ const documentModel = {
9891
9879
  description: "Enable Mastra. Seeds mainAgent with a default model (clint/demo-agent) and a base profile. Idempotent.",
9892
9880
  schema: "input EnableMastraInput {\n agentId: OID!\n agentName: String!\n}",
9893
9881
  template: "Enable the Mastra agent feature. Seeds mainAgent with the seeded model + profile.",
9894
- reducer: "if (!/^[a-z][a-z0-9-]*$/.test(action.input.agentId)) {\n throw new InvalidAgentIdError(\n `Invalid agent ID: ${action.input.agentId}. Must be lowercase kebab-case.`,\n );\n}\nconst trimmedName = action.input.agentName.trim();\nif (!trimmedName) {\n throw new InvalidAgentNameError('Agent name must not be empty.');\n}\nstate.features.mastra.enabled = true;\nif (state.features.mastra.models.length === 0) {\n state.features.mastra.models.push({ id: 'clint/demo-agent', isDefault: true });\n}\nif (state.features.mastra.profiles.length === 0) {\n state.features.mastra.profiles.push({ id: 'base', title: 'Base Profile', content: 'You are a helpful assistant.' });\n}\nconst existing = state.features.mastra.mainAgent;\nif (!existing) {\n state.features.mastra.mainAgent = {\n id: action.input.agentId,\n name: trimmedName,\n description: null,\n image: null,\n modelId: 'clint/demo-agent',\n profileIds: ['base'],\n skills: [],\n toolPatterns: [],\n };\n} else {\n existing.id = action.input.agentId;\n existing.name = trimmedName;\n}",
9882
+ reducer: "if (!/^[a-z][a-z0-9-]*$/.test(action.input.agentId)) {\n throw new InvalidAgentIdError(\n `Invalid agent ID: ${action.input.agentId}. Must be lowercase kebab-case.`,\n );\n}\nconst trimmedName = action.input.agentName.trim();\nif (!trimmedName) {\n throw new InvalidAgentNameError('Agent name must not be empty.');\n}\nstate.features.mastra.enabled = true;\nif (state.features.mastra.models.length === 0) {\n state.features.mastra.models.push({ id: 'clint/demo-agent' });\n}\nif (state.features.mastra.profiles.length === 0) {\n state.features.mastra.profiles.push({ id: 'base', title: 'Base Profile', content: 'You are a helpful assistant.' });\n}\nconst existing = state.features.mastra.mainAgent;\nif (!existing) {\n state.features.mastra.mainAgent = {\n id: action.input.agentId,\n name: trimmedName,\n description: null,\n image: null,\n modelId: 'clint/demo-agent',\n profileIds: ['base'],\n skills: [],\n toolPatterns: [],\n };\n} else {\n existing.id = action.input.agentId;\n existing.name = trimmedName;\n}",
9895
9883
  errors: [{
9896
9884
  id: "e-enable-mastra-invalid-id",
9897
9885
  name: "InvalidAgentIdError",
@@ -9948,97 +9936,71 @@ const documentModel = {
9948
9936
  id: "m-mastra-models",
9949
9937
  name: "mastra_models",
9950
9938
  description: "Model library CRUD. Models are referenced by main and sub agents via modelId.",
9951
- operations: [
9952
- {
9953
- id: "o-add-model",
9954
- name: "ADD_MODEL",
9955
- description: "Add a model to the library. ID must be provider/model-name format. First model is forced default. If isDefault is true, previous default is unset.",
9956
- schema: "input AddModelInput {\n id: OID!\n isDefault: Boolean\n}",
9957
- template: "Add a model to the library.",
9958
- reducer: "if (!state.features.mastra.enabled) {\n throw new MastraNotEnabledError('Cannot add model when Mastra is disabled.');\n}\nif (!/^[a-z0-9-]+\\/[a-z0-9._-]+$/.test(action.input.id)) {\n throw new InvalidModelIdError(`Invalid model ID: ${action.input.id}. Must be provider/model-name format.`);\n}\nif (state.features.mastra.models.find(m => m.id === action.input.id)) {\n throw new DuplicateModelError(`Model already exists: ${action.input.id}`);\n}\nconst isFirst = state.features.mastra.models.length === 0;\nconst makeDefault = isFirst || action.input.isDefault === true;\nif (makeDefault) {\n for (const m of state.features.mastra.models) {\n m.isDefault = false;\n }\n}\nstate.features.mastra.models.push({\n id: action.input.id,\n isDefault: makeDefault,\n});",
9959
- errors: [
9960
- {
9961
- id: "e-add-model-not-enabled",
9962
- name: "MastraNotEnabledError",
9963
- code: "MASTRA_NOT_ENABLED",
9964
- description: "Mastra must be enabled before managing models.",
9965
- template: ""
9966
- },
9967
- {
9968
- id: "e-add-model-invalid-id",
9969
- name: "InvalidModelIdError",
9970
- code: "INVALID_MODEL_ID",
9971
- description: "Model ID must match provider/model-name format.",
9972
- template: ""
9973
- },
9974
- {
9975
- id: "e-add-model-duplicate",
9976
- name: "DuplicateModelError",
9977
- code: "DUPLICATE_MODEL",
9978
- description: "A model with this ID already exists.",
9979
- template: ""
9980
- }
9981
- ],
9982
- examples: [],
9983
- scope: "global"
9984
- },
9985
- {
9986
- id: "o-remove-model",
9987
- name: "REMOVE_MODEL",
9988
- description: "Remove a model from the library. Rejects when any agent (main or sub) references it. Promotes first remaining to default if removing the current default.",
9989
- schema: "input RemoveModelInput {\n id: OID!\n}",
9990
- template: "Remove a model from the library.",
9991
- reducer: "if (!state.features.mastra.enabled) {\n throw new MastraNotEnabledError('Cannot remove model when Mastra is disabled.');\n}\nconst idx = state.features.mastra.models.findIndex((m) => m.id === action.input.id);\nif (idx === -1) {\n throw new ModelNotFoundError(`Model not found: ${action.input.id}`);\n}\nconst main = state.features.mastra.mainAgent;\nconst usedByMain = !!main && main.modelId === action.input.id;\nconst usedBySub = state.features.mastra.subAgents.some(\n (s) => s.modelId === action.input.id,\n);\nif (usedByMain || usedBySub) {\n throw new ModelInUseError(\n `Model ${action.input.id} is in use by an agent.`,\n );\n}\nconst wasDefault = state.features.mastra.models[idx].isDefault;\nstate.features.mastra.models.splice(idx, 1);\nif (wasDefault && state.features.mastra.models.length > 0) {\n state.features.mastra.models[0].isDefault = true;\n}",
9992
- errors: [
9993
- {
9994
- id: "e-remove-model-not-enabled",
9995
- name: "MastraNotEnabledError",
9996
- code: "MASTRA_NOT_ENABLED",
9997
- description: "Mastra must be enabled before managing models.",
9998
- template: ""
9999
- },
10000
- {
10001
- id: "e-remove-model-not-found",
10002
- name: "ModelNotFoundError",
10003
- code: "MODEL_NOT_FOUND",
10004
- description: "The specified model was not found.",
10005
- template: ""
10006
- },
10007
- {
10008
- id: "e-remove-model-in-use",
10009
- name: "ModelInUseError",
10010
- code: "MODEL_IN_USE",
10011
- description: "Cannot remove a model that is still referenced by an agent.",
10012
- template: ""
10013
- }
10014
- ],
10015
- examples: [],
10016
- scope: "global"
10017
- },
10018
- {
10019
- id: "o-set-default-model",
10020
- name: "SET_DEFAULT_MODEL",
10021
- description: "Set a model as the default. Unsets the previous default.",
10022
- schema: "input SetDefaultModelInput {\n id: OID!\n}",
10023
- template: "Set a model as the default.",
10024
- reducer: "if (!state.features.mastra.enabled) {\n throw new MastraNotEnabledError('Cannot set default model when Mastra is disabled.');\n}\nconst model = state.features.mastra.models.find(m => m.id === action.input.id);\nif (!model) {\n throw new ModelNotFoundError(`Model not found: ${action.input.id}`);\n}\nfor (const m of state.features.mastra.models) {\n m.isDefault = false;\n}\nmodel.isDefault = true;",
10025
- errors: [{
10026
- id: "e-set-default-model-not-enabled",
9939
+ operations: [{
9940
+ id: "o-add-model",
9941
+ name: "ADD_MODEL",
9942
+ description: "Add a model to the library. ID must be provider/model-name format. First model is forced default. If isDefault is true, previous default is unset.",
9943
+ schema: "input AddModelInput {\n id: OID!\n}",
9944
+ template: "Add a model to the library.",
9945
+ reducer: "if (!state.features.mastra.enabled) {\n throw new MastraNotEnabledError('Cannot add model when Mastra is disabled.');\n}\nif (!/^[a-z0-9-]+\\/[a-z0-9._-]+$/.test(action.input.id)) {\n throw new InvalidModelIdError(`Invalid model ID: ${action.input.id}. Must be provider/model-name format.`);\n}\nif (state.features.mastra.models.find((m) => m.id === action.input.id)) {\n throw new DuplicateModelError(`Model already exists: ${action.input.id}`);\n}\nstate.features.mastra.models.push({ id: action.input.id });",
9946
+ errors: [
9947
+ {
9948
+ id: "e-add-model-not-enabled",
10027
9949
  name: "MastraNotEnabledError",
10028
9950
  code: "MASTRA_NOT_ENABLED",
10029
9951
  description: "Mastra must be enabled before managing models.",
10030
9952
  template: ""
10031
- }, {
10032
- id: "e-set-default-model-not-found",
9953
+ },
9954
+ {
9955
+ id: "e-add-model-invalid-id",
9956
+ name: "InvalidModelIdError",
9957
+ code: "INVALID_MODEL_ID",
9958
+ description: "Model ID must match provider/model-name format.",
9959
+ template: ""
9960
+ },
9961
+ {
9962
+ id: "e-add-model-duplicate",
9963
+ name: "DuplicateModelError",
9964
+ code: "DUPLICATE_MODEL",
9965
+ description: "A model with this ID already exists.",
9966
+ template: ""
9967
+ }
9968
+ ],
9969
+ examples: [],
9970
+ scope: "global"
9971
+ }, {
9972
+ id: "o-remove-model",
9973
+ name: "REMOVE_MODEL",
9974
+ description: "Remove a model from the library. Rejects when any agent (main or sub) references it. Promotes first remaining to default if removing the current default.",
9975
+ schema: "input RemoveModelInput {\n id: OID!\n}",
9976
+ template: "Remove a model from the library.",
9977
+ reducer: "if (!state.features.mastra.enabled) {\n throw new MastraNotEnabledError('Cannot remove model when Mastra is disabled.');\n}\nconst idx = state.features.mastra.models.findIndex((m) => m.id === action.input.id);\nif (idx === -1) {\n throw new ModelNotFoundError(`Model not found: ${action.input.id}`);\n}\nconst main = state.features.mastra.mainAgent;\nconst usedByMain = !!main && main.modelId === action.input.id;\nconst usedBySub = state.features.mastra.subAgents.some(\n (s) => s.modelId === action.input.id,\n);\nif (usedByMain || usedBySub) {\n throw new ModelInUseError(\n `Model ${action.input.id} is in use by an agent.`,\n );\n}\nstate.features.mastra.models.splice(idx, 1);",
9978
+ errors: [
9979
+ {
9980
+ id: "e-remove-model-not-enabled",
9981
+ name: "MastraNotEnabledError",
9982
+ code: "MASTRA_NOT_ENABLED",
9983
+ description: "Mastra must be enabled before managing models.",
9984
+ template: ""
9985
+ },
9986
+ {
9987
+ id: "e-remove-model-not-found",
10033
9988
  name: "ModelNotFoundError",
10034
9989
  code: "MODEL_NOT_FOUND",
10035
9990
  description: "The specified model was not found.",
10036
9991
  template: ""
10037
- }],
10038
- examples: [],
10039
- scope: "global"
10040
- }
10041
- ]
9992
+ },
9993
+ {
9994
+ id: "e-remove-model-in-use",
9995
+ name: "ModelInUseError",
9996
+ code: "MODEL_IN_USE",
9997
+ description: "Cannot remove a model that is still referenced by an agent.",
9998
+ template: ""
9999
+ }
10000
+ ],
10001
+ examples: [],
10002
+ scope: "global"
10003
+ }]
10042
10004
  },
10043
10005
  {
10044
10006
  id: "m-mastra-profiles",
@@ -10796,10 +10758,7 @@ const phClintProjectFeaturesMastraOperations = {
10796
10758
  const trimmedName = action.input.agentName.trim();
10797
10759
  if (!trimmedName) throw new InvalidAgentNameError$2("Agent name must not be empty.");
10798
10760
  state.features.mastra.enabled = true;
10799
- if (state.features.mastra.models.length === 0) state.features.mastra.models.push({
10800
- id: "clint/demo-agent",
10801
- isDefault: true
10802
- });
10761
+ if (state.features.mastra.models.length === 0) state.features.mastra.models.push({ id: "clint/demo-agent" });
10803
10762
  if (state.features.mastra.profiles.length === 0) state.features.mastra.profiles.push({
10804
10763
  id: "base",
10805
10764
  title: "Base Profile",
@@ -10991,10 +10950,7 @@ const phClintProjectLifecycleOperations = { importSpecOperation(state, action) {
10991
10950
  name: s.name,
10992
10951
  githubUrl: s.githubUrl
10993
10952
  }));
10994
- state.features.mastra.models = action.input.models.map((m) => ({
10995
- id: m.id,
10996
- isDefault: m.isDefault
10997
- }));
10953
+ state.features.mastra.models = action.input.models.map((m) => ({ id: m.id }));
10998
10954
  state.features.mastra.profiles = action.input.profiles.map((p) => ({
10999
10955
  id: p.id,
11000
10956
  title: p.title,
@@ -11267,12 +11223,7 @@ const phClintProjectMastraModelsOperations = {
11267
11223
  if (!state.features.mastra.enabled) throw new MastraNotEnabledError$2("Cannot add model when Mastra is disabled.");
11268
11224
  if (!/^[a-z0-9-]+\/[a-z0-9._-]+$/.test(action.input.id)) throw new InvalidModelIdError(`Invalid model ID: ${action.input.id}. Must be provider/model-name format.`);
11269
11225
  if (state.features.mastra.models.find((m) => m.id === action.input.id)) throw new DuplicateModelError(`Model already exists: ${action.input.id}`);
11270
- const makeDefault = state.features.mastra.models.length === 0 || action.input.isDefault === true;
11271
- if (makeDefault) for (const m of state.features.mastra.models) m.isDefault = false;
11272
- state.features.mastra.models.push({
11273
- id: action.input.id,
11274
- isDefault: makeDefault
11275
- });
11226
+ state.features.mastra.models.push({ id: action.input.id });
11276
11227
  },
11277
11228
  removeModelOperation(state, action) {
11278
11229
  if (!state.features.mastra.enabled) throw new MastraNotEnabledError$2("Cannot remove model when Mastra is disabled.");
@@ -11282,16 +11233,7 @@ const phClintProjectMastraModelsOperations = {
11282
11233
  const usedByMain = !!main && main.modelId === action.input.id;
11283
11234
  const usedBySub = state.features.mastra.subAgents.some((s) => s.modelId === action.input.id);
11284
11235
  if (usedByMain || usedBySub) throw new ModelInUseError(`Model ${action.input.id} is in use by an agent.`);
11285
- const wasDefault = state.features.mastra.models[idx].isDefault;
11286
11236
  state.features.mastra.models.splice(idx, 1);
11287
- if (wasDefault && state.features.mastra.models.length > 0) state.features.mastra.models[0].isDefault = true;
11288
- },
11289
- setDefaultModelOperation(state, action) {
11290
- if (!state.features.mastra.enabled) throw new MastraNotEnabledError$2("Cannot set default model when Mastra is disabled.");
11291
- const model = state.features.mastra.models.find((m) => m.id === action.input.id);
11292
- if (!model) throw new ModelNotFoundError(`Model not found: ${action.input.id}`);
11293
- for (const m of state.features.mastra.models) m.isDefault = false;
11294
- model.isDefault = true;
11295
11237
  }
11296
11238
  };
11297
11239
  //#endregion
@@ -11730,10 +11672,6 @@ const stateReducer = (state, action, dispatch) => {
11730
11672
  RemoveModelInputSchema().parse(action.input);
11731
11673
  phClintProjectMastraModelsOperations.removeModelOperation(state[action.scope], action, dispatch);
11732
11674
  break;
11733
- case "SET_DEFAULT_MODEL":
11734
- SetDefaultModelInputSchema().parse(action.input);
11735
- phClintProjectMastraModelsOperations.setDefaultModelOperation(state[action.scope], action, dispatch);
11736
- break;
11737
11675
  case "ADD_PROFILE":
11738
11676
  AddProfileInputSchema().parse(action.input);
11739
11677
  phClintProjectMastraProfilesOperations.addProfileOperation(state[action.scope], action, dispatch);
@@ -11956,6 +11894,6 @@ const PhClintProject = {
11956
11894
  documentModel: createState(defaultBaseState(), documentModel)
11957
11895
  };
11958
11896
  //#endregion
11959
- export { removeAgentProfileRef as $, logger as $n, ImportSubAgentInputSchema as $t, creators_exports$2 as A, SetAgentModelInputSchema as An, union as Ar, AddAgentSkillInputSchema as At, creators_exports$4 as B, SetPackageIdentifierInputSchema as Bn, ClearMainAgentDescriptionInputSchema as Bt, addPackageDocumentType as C, RemovePackageDocumentTypeInputSchema as Cn, _enum as Cr, setExternalSkillName as Ct, removePowerhousePackage as D, RemoveSupportedResourceInputSchema as Dn, literal as Dr, setObservabilityEnabled as Dt, removePackageDocumentType as E, RemoveSubAgentInputSchema as En, boolean as Er, removeSupportedResource as Et, creators_exports$3 as F, SetExternalSkillNameInputSchema as Fn, AddPowerhousePackageInputSchema as Ft, creators_exports$5 as G, SetSubAgentDescriptionInputSchema as Gn, EnableRoutineInputSchema as Gt, setDefaultModel as H, SetPowerhouseLevelInputSchema as Hn, DisableMastraInputSchema as Ht, removeProfile as I, SetMainAgentDescriptionInputSchema as In, AddProfileInputSchema as It, setMainAgentName as J, UpdateProfileInputSchema as Jn, ImportModelInputSchema as Jt, setMainAgentDescription as K, SetSubAgentNameInputSchema as Kn, ExternalSkillSchema as Kt, reorderProfiles as L, SetMainAgentImageInputSchema as Ln, AddSubAgentInputSchema as Lt, setSubAgentDescription as M, SetDescriptionInputSchema as Mn, AddExternalSkillInputSchema as Mt, setSubAgentName as N, SetEnableChatInputSchema as Nn, AddModelInputSchema as Nt, setPackageVersion as O, ReorderAgentProfileRefsInputSchema as On, object as Or, setProxyEnabled as Ot, addProfile as P, SetExternalSkillGithubUrlInputSchema as Pn, AddPackageDocumentTypeInputSchema as Pt, creators_exports$6 as Q, documentModelDocumentModelModule as Qn, ImportSpecInputSchema as Qt, updateProfile as R, SetMainAgentNameInputSchema as Rn, AddSupportedResourceInputSchema as Rt, setPublishStatus as S, RemoveModelInputSchema as Sn, capitalCase as Sr, setExternalSkillGithubUrl as St, creators_exports$1 as T, RemoveProfileInputSchema as Tn, array as Tr, creators_exports$13 as Tt, clearMainAgentDescription as U, SetProxyEnabledInputSchema as Un, DisableRoutineInputSchema as Ut, removeModel as V, SetPackageVersionInputSchema as Vn, ClearMainAgentImageInputSchema as Vt, clearMainAgentImage as W, SetPublishStatusInputSchema as Wn, EnableMastraInputSchema as Wt, addAgentSkill as X, isDefinedNonNullAny as Xn, ImportProfileInputSchema as Xt, addAgentProfileRef as Y, definedNonNullAnySchema as Yn, ImportPackageInputSchema as Yt, addAgentToolPattern as Z, PHDocumentController as Zn, ImportSkillInputSchema as Zt, bumpVersion as _, PublishTagSchema as _n, setName as _r, enableMastra as _t, utils$1 as a, PhClintMastraCommonSchema as an, buildSignedAction as ar, importSpec as at, publishProduction as b, RemoveAgentToolPatternInputSchema as bn, validateModules as br, creators_exports$12 as bt, PhClintProjectPHStateSchema as c, PhClintRoutineFeatureSchema as cn, createPresignedHeader as cr, setPackageIdentifier as ct, isPhClintProjectDocument as d, PowerhousePackageSchema as dn, createZip as dr, disableRoutine as dt, PhClintAgentModelSchema as en, BaseDocumentHeaderSchema as er, removeAgentSkill as et, isPhClintProjectState as f, PublishDevInputSchema as fn, defaultBaseState as fr, enableRoutine as ft, actions as g, PublishStatusSchema as gn, replayDocument as gr, disableMastra as gt, documentModel as h, PublishStagingInputSchema as hn, redo as hr, creators_exports$11 as ht, initialLocalState as i, PhClintMainAgentSchema as in, baseSaveToFileHandle as ir, creators_exports$7 as it, removeSubAgent as j, SetDefaultModelInputSchema as jn, generateId as jr, AddAgentToolPatternInputSchema as jt, addSubAgent as k, ReorderProfilesInputSchema as kn, string as kr, AddAgentProfileRefInputSchema as kt, assertIsPhClintProjectDocument as l, PhClintSubAgentSchema as ln, createReducer as lr, setVersion as lt, reducer as m, PublishRecordSchema as mn, isDocumentAction as mr, setPowerhouseLevel as mt, utils as n, PhClintDeploymentSchema as nn, baseCreateDocument as nr, reorderAgentProfileRefs as nt, PhClintProjectDocumentHeaderSchema as o, PhClintMastraFeatureSchema as on, createAction as or, creators_exports$8 as ot, phClintProjectDocumentType as p, PublishProductionInputSchema as pn, documentModelDocumentType as pr, creators_exports$10 as pt, setMainAgentImage as q, SetVersionInputSchema as qn, ImportMainAgentInputSchema as qt, initialGlobalState as r, PhClintFeaturesSchema as rn, baseLoadFromInput as rr, setAgentModel as rt, PhClintProjectDocumentSchema as s, PhClintProjectStateSchema as sn, createBaseState as sr, setDescription as st, PhClintProject as t, PhClintAgentProfileSchema as tn, BaseDocumentStateSchema as tr, removeAgentToolPattern as tt, assertIsPhClintProjectState as u, PowerhouseLevelSchema as un, createState as ur, creators_exports$9 as ut, creators_exports as v, RemoveAgentProfileRefInputSchema as vn, undo as vr, setEnableChat as vt, addPowerhousePackage as w, RemovePowerhousePackageInputSchema as wn, any as wr, addSupportedResource as wt, publishStaging as x, RemoveExternalSkillInputSchema as xn, validateStateSchemaName as xr, removeExternalSkill as xt, publishDev as y, RemoveAgentSkillInputSchema as yn, validateInitialState as yr, addExternalSkill as yt, addModel as z, SetObservabilityEnabledInputSchema as zn, BumpVersionInputSchema as zt };
11897
+ export { removeAgentSkill as $, BaseDocumentStateSchema as $n, PhClintAgentModelSchema as $t, creators_exports$2 as A, SetDescriptionInputSchema as An, AddAgentToolPatternInputSchema as At, creators_exports$4 as B, SetPowerhouseLevelInputSchema as Bn, ClearMainAgentImageInputSchema as Bt, addPackageDocumentType as C, RemovePowerhousePackageInputSchema as Cn, array as Cr, addSupportedResource as Ct, removePowerhousePackage as D, ReorderAgentProfileRefsInputSchema as Dn, string as Dr, setProxyEnabled as Dt, removePackageDocumentType as E, RemoveSupportedResourceInputSchema as En, object as Er, setObservabilityEnabled as Et, creators_exports$3 as F, SetMainAgentImageInputSchema as Fn, AddProfileInputSchema as Ft, setMainAgentDescription as G, SetVersionInputSchema as Gn, ExternalSkillSchema as Gt, clearMainAgentDescription as H, SetPublishStatusInputSchema as Hn, DisableRoutineInputSchema as Ht, removeProfile as I, SetMainAgentNameInputSchema as In, AddSubAgentInputSchema as It, addAgentProfileRef as J, isDefinedNonNullAny as Jn, ImportPackageInputSchema as Jt, setMainAgentImage as K, UpdateProfileInputSchema as Kn, ImportMainAgentInputSchema as Kt, reorderProfiles as L, SetObservabilityEnabledInputSchema as Ln, AddSupportedResourceInputSchema as Lt, setSubAgentDescription as M, SetExternalSkillGithubUrlInputSchema as Mn, AddModelInputSchema as Mt, setSubAgentName as N, SetExternalSkillNameInputSchema as Nn, AddPackageDocumentTypeInputSchema as Nt, setPackageVersion as O, ReorderProfilesInputSchema as On, union as Or, AddAgentProfileRefInputSchema as Ot, addProfile as P, SetMainAgentDescriptionInputSchema as Pn, AddPowerhousePackageInputSchema as Pt, removeAgentProfileRef as Q, BaseDocumentHeaderSchema as Qn, ImportSubAgentInputSchema as Qt, updateProfile as R, SetPackageIdentifierInputSchema as Rn, BumpVersionInputSchema as Rt, setPublishStatus as S, RemovePackageDocumentTypeInputSchema as Sn, any as Sr, setExternalSkillName as St, creators_exports$1 as T, RemoveSubAgentInputSchema as Tn, literal as Tr, removeSupportedResource as Tt, clearMainAgentImage as U, SetSubAgentDescriptionInputSchema as Un, EnableMastraInputSchema as Ut, removeModel as V, SetProxyEnabledInputSchema as Vn, DisableMastraInputSchema as Vt, creators_exports$5 as W, SetSubAgentNameInputSchema as Wn, EnableRoutineInputSchema as Wt, addAgentToolPattern as X, documentModelDocumentModelModule as Xn, ImportSkillInputSchema as Xt, addAgentSkill as Y, PHDocumentController as Yn, ImportProfileInputSchema as Yt, creators_exports$6 as Z, logger as Zn, ImportSpecInputSchema as Zt, bumpVersion as _, RemoveAgentProfileRefInputSchema as _n, validateInitialState as _r, setEnableChat as _t, utils$1 as a, PhClintMastraFeatureSchema as an, createBaseState as ar, creators_exports$8 as at, publishProduction as b, RemoveExternalSkillInputSchema as bn, capitalCase as br, removeExternalSkill as bt, PhClintProjectPHStateSchema as c, PhClintSubAgentSchema as cn, createState as cr, setVersion as ct, isPhClintProjectDocument as d, PublishDevInputSchema as dn, documentModelDocumentType as dr, enableRoutine as dt, PhClintAgentProfileSchema as en, baseCreateDocument as er, removeAgentToolPattern as et, isPhClintProjectState as f, PublishProductionInputSchema as fn, isDocumentAction as fr, creators_exports$10 as ft, actions as g, PublishTagSchema as gn, undo as gr, enableMastra as gt, documentModel as h, PublishStatusSchema as hn, setName as hr, disableMastra as ht, initialLocalState as i, PhClintMastraCommonSchema as in, createAction as ir, importSpec as it, removeSubAgent as j, SetEnableChatInputSchema as jn, AddExternalSkillInputSchema as jt, addSubAgent as k, SetAgentModelInputSchema as kn, generateId as kr, AddAgentSkillInputSchema as kt, assertIsPhClintProjectDocument as l, PowerhouseLevelSchema as ln, createZip as lr, creators_exports$9 as lt, reducer as m, PublishStagingInputSchema as mn, replayDocument as mr, creators_exports$11 as mt, utils as n, PhClintFeaturesSchema as nn, baseSaveToFileHandle as nr, setAgentModel as nt, PhClintProjectDocumentHeaderSchema as o, PhClintProjectStateSchema as on, createPresignedHeader as or, setDescription as ot, phClintProjectDocumentType as p, PublishRecordSchema as pn, redo as pr, setPowerhouseLevel as pt, setMainAgentName as q, definedNonNullAnySchema as qn, ImportModelInputSchema as qt, initialGlobalState as r, PhClintMainAgentSchema as rn, buildSignedAction as rr, creators_exports$7 as rt, PhClintProjectDocumentSchema as s, PhClintRoutineFeatureSchema as sn, createReducer as sr, setPackageIdentifier as st, PhClintProject as t, PhClintDeploymentSchema as tn, baseLoadFromInput as tr, reorderAgentProfileRefs as tt, assertIsPhClintProjectState as u, PowerhousePackageSchema as un, defaultBaseState as ur, disableRoutine as ut, creators_exports as v, RemoveAgentSkillInputSchema as vn, validateModules as vr, addExternalSkill as vt, addPowerhousePackage as w, RemoveProfileInputSchema as wn, boolean as wr, creators_exports$13 as wt, publishStaging as x, RemoveModelInputSchema as xn, _enum as xr, setExternalSkillGithubUrl as xt, publishDev as y, RemoveAgentToolPatternInputSchema as yn, validateStateSchemaName as yr, creators_exports$12 as yt, addModel as z, SetPackageVersionInputSchema as zn, ClearMainAgentDescriptionInputSchema as zt };
11960
11898
 
11961
- //# sourceMappingURL=module-K5q3UobV.js.map
11899
+ //# sourceMappingURL=module-BZ6W31hV.js.map