@objectstack/platform-objects 7.2.0 → 7.3.0

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/dist/index.js CHANGED
@@ -12,9 +12,12 @@ var SysUser = data.ObjectSchema.create({
12
12
  icon: "user",
13
13
  isSystem: true,
14
14
  managedBy: "better-auth",
15
- // ADR-0010 — identity table is managed by better-auth, schema must not drift.
16
- _lock: "full",
17
- _lockReason: "Identity table managed by better-auth \u2014 see ADR-0010.",
15
+ // ADR-0010 §3.7 — identity table is managed by better-auth; schema must not drift.
16
+ protection: {
17
+ lock: "full",
18
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
19
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
20
+ },
18
21
  description: "User accounts for authentication",
19
22
  displayNameField: "name",
20
23
  titleFormat: "{name}",
@@ -427,6 +430,14 @@ var SysSession = data.ObjectSchema.create({
427
430
  icon: "key",
428
431
  isSystem: true,
429
432
  managedBy: "better-auth",
433
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
434
+ // but may add overlay row-level config. Use `no-overlay` if you need to
435
+ // forbid sys_metadata overlays entirely.
436
+ protection: {
437
+ lock: "full",
438
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
439
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
440
+ },
430
441
  description: "Active user sessions",
431
442
  displayNameField: "user_id",
432
443
  titleFormat: "Session \u2014 {user_id}",
@@ -582,6 +593,14 @@ var SysAccount = data.ObjectSchema.create({
582
593
  icon: "link",
583
594
  isSystem: true,
584
595
  managedBy: "better-auth",
596
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
597
+ // but may add overlay row-level config. Use `no-overlay` if you need to
598
+ // forbid sys_metadata overlays entirely.
599
+ protection: {
600
+ lock: "full",
601
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
602
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
603
+ },
585
604
  description: "OAuth and authentication provider accounts",
586
605
  titleFormat: "{provider_id} - {account_id}",
587
606
  compactLayout: ["provider_id", "user_id", "account_id"],
@@ -755,6 +774,14 @@ var SysVerification = data.ObjectSchema.create({
755
774
  icon: "shield-check",
756
775
  isSystem: true,
757
776
  managedBy: "better-auth",
777
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
778
+ // but may add overlay row-level config. Use `no-overlay` if you need to
779
+ // forbid sys_metadata overlays entirely.
780
+ protection: {
781
+ lock: "full",
782
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
783
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
784
+ },
758
785
  description: "Email and phone verification tokens",
759
786
  titleFormat: "Verification for {identifier}",
760
787
  compactLayout: ["identifier", "expires_at", "created_at"],
@@ -810,6 +837,14 @@ var SysOrganization = data.ObjectSchema.create({
810
837
  icon: "building-2",
811
838
  isSystem: true,
812
839
  managedBy: "better-auth",
840
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
841
+ // but may add overlay row-level config. Use `no-overlay` if you need to
842
+ // forbid sys_metadata overlays entirely.
843
+ protection: {
844
+ lock: "full",
845
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
846
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
847
+ },
813
848
  description: "Organizations for multi-tenant grouping",
814
849
  displayNameField: "name",
815
850
  titleFormat: "{name}",
@@ -1012,6 +1047,14 @@ var SysMember = data.ObjectSchema.create({
1012
1047
  icon: "user-check",
1013
1048
  isSystem: true,
1014
1049
  managedBy: "better-auth",
1050
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
1051
+ // but may add overlay row-level config. Use `no-overlay` if you need to
1052
+ // forbid sys_metadata overlays entirely.
1053
+ protection: {
1054
+ lock: "full",
1055
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
1056
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
1057
+ },
1015
1058
  description: "Organization membership records",
1016
1059
  titleFormat: "{user_id} in {organization_id}",
1017
1060
  compactLayout: ["user_id", "organization_id", "role"],
@@ -1161,6 +1204,14 @@ var SysInvitation = data.ObjectSchema.create({
1161
1204
  icon: "mail",
1162
1205
  isSystem: true,
1163
1206
  managedBy: "better-auth",
1207
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
1208
+ // but may add overlay row-level config. Use `no-overlay` if you need to
1209
+ // forbid sys_metadata overlays entirely.
1210
+ protection: {
1211
+ lock: "full",
1212
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
1213
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
1214
+ },
1164
1215
  description: "Organization invitations for user onboarding",
1165
1216
  titleFormat: "Invitation to {organization_id}",
1166
1217
  compactLayout: ["email", "organization_id", "status"],
@@ -1361,6 +1412,14 @@ var SysTeam = data.ObjectSchema.create({
1361
1412
  icon: "users",
1362
1413
  isSystem: true,
1363
1414
  managedBy: "better-auth",
1415
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
1416
+ // but may add overlay row-level config. Use `no-overlay` if you need to
1417
+ // forbid sys_metadata overlays entirely.
1418
+ protection: {
1419
+ lock: "full",
1420
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
1421
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
1422
+ },
1364
1423
  description: "Teams within organizations for fine-grained grouping",
1365
1424
  displayNameField: "name",
1366
1425
  titleFormat: "{name}",
@@ -1498,6 +1557,14 @@ var SysTeamMember = data.ObjectSchema.create({
1498
1557
  icon: "user-plus",
1499
1558
  isSystem: true,
1500
1559
  managedBy: "better-auth",
1560
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
1561
+ // but may add overlay row-level config. Use `no-overlay` if you need to
1562
+ // forbid sys_metadata overlays entirely.
1563
+ protection: {
1564
+ lock: "full",
1565
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
1566
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
1567
+ },
1501
1568
  description: "Team membership records linking users to teams",
1502
1569
  titleFormat: "{user_id} in {team_id}",
1503
1570
  compactLayout: ["user_id", "team_id", "created_at"],
@@ -1825,6 +1892,14 @@ var SysApiKey = data.ObjectSchema.create({
1825
1892
  icon: "key-round",
1826
1893
  isSystem: true,
1827
1894
  managedBy: "better-auth",
1895
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
1896
+ // but may add overlay row-level config. Use `no-overlay` if you need to
1897
+ // forbid sys_metadata overlays entirely.
1898
+ protection: {
1899
+ lock: "full",
1900
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
1901
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
1902
+ },
1828
1903
  description: "API keys for programmatic access",
1829
1904
  displayNameField: "name",
1830
1905
  titleFormat: "{name}",
@@ -2007,6 +2082,14 @@ var SysTwoFactor = data.ObjectSchema.create({
2007
2082
  icon: "smartphone",
2008
2083
  isSystem: true,
2009
2084
  managedBy: "better-auth",
2085
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
2086
+ // but may add overlay row-level config. Use `no-overlay` if you need to
2087
+ // forbid sys_metadata overlays entirely.
2088
+ protection: {
2089
+ lock: "full",
2090
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
2091
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
2092
+ },
2010
2093
  description: "Two-factor authentication credentials",
2011
2094
  titleFormat: "Two-factor for {user_id}",
2012
2095
  compactLayout: ["user_id", "created_at"],
@@ -2153,6 +2236,14 @@ var SysDeviceCode = data.ObjectSchema.create({
2153
2236
  icon: "key-round",
2154
2237
  isSystem: true,
2155
2238
  managedBy: "better-auth",
2239
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
2240
+ // but may add overlay row-level config. Use `no-overlay` if you need to
2241
+ // forbid sys_metadata overlays entirely.
2242
+ protection: {
2243
+ lock: "full",
2244
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
2245
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
2246
+ },
2156
2247
  description: "OAuth 2.0 Device Authorization Grant (RFC 8628) pending requests",
2157
2248
  titleFormat: "{user_code}",
2158
2249
  compactLayout: ["user_code", "status", "client_id", "expires_at"],
@@ -2332,6 +2423,14 @@ var SysOauthApplication = data.ObjectSchema.create({
2332
2423
  icon: "key-round",
2333
2424
  isSystem: true,
2334
2425
  managedBy: "better-auth",
2426
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
2427
+ // but may add overlay row-level config. Use `no-overlay` if you need to
2428
+ // forbid sys_metadata overlays entirely.
2429
+ protection: {
2430
+ lock: "full",
2431
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
2432
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
2433
+ },
2335
2434
  description: "Registered OAuth/OIDC client applications",
2336
2435
  displayNameField: "name",
2337
2436
  titleFormat: "{name}",
@@ -2726,6 +2825,14 @@ var SysOauthAccessToken = data.ObjectSchema.create({
2726
2825
  icon: "ticket",
2727
2826
  isSystem: true,
2728
2827
  managedBy: "better-auth",
2828
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
2829
+ // but may add overlay row-level config. Use `no-overlay` if you need to
2830
+ // forbid sys_metadata overlays entirely.
2831
+ protection: {
2832
+ lock: "full",
2833
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
2834
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
2835
+ },
2729
2836
  description: "Opaque OAuth access tokens issued to client applications",
2730
2837
  compactLayout: ["client_id", "user_id", "expires_at"],
2731
2838
  fields: {
@@ -2804,6 +2911,14 @@ var SysOauthRefreshToken = data.ObjectSchema.create({
2804
2911
  icon: "refresh-cw",
2805
2912
  isSystem: true,
2806
2913
  managedBy: "better-auth",
2914
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
2915
+ // but may add overlay row-level config. Use `no-overlay` if you need to
2916
+ // forbid sys_metadata overlays entirely.
2917
+ protection: {
2918
+ lock: "full",
2919
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
2920
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
2921
+ },
2807
2922
  description: "Opaque OAuth refresh tokens (linked to a session)",
2808
2923
  compactLayout: ["client_id", "user_id", "expires_at"],
2809
2924
  fields: {
@@ -2886,6 +3001,14 @@ var SysOauthConsent = data.ObjectSchema.create({
2886
3001
  icon: "shield-check",
2887
3002
  isSystem: true,
2888
3003
  managedBy: "better-auth",
3004
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
3005
+ // but may add overlay row-level config. Use `no-overlay` if you need to
3006
+ // forbid sys_metadata overlays entirely.
3007
+ protection: {
3008
+ lock: "full",
3009
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
3010
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
3011
+ },
2889
3012
  description: "User consent records for OAuth client applications",
2890
3013
  compactLayout: ["client_id", "user_id", "scopes"],
2891
3014
  fields: {
@@ -2946,6 +3069,14 @@ var SysJwks = data.ObjectSchema.create({
2946
3069
  icon: "key",
2947
3070
  isSystem: true,
2948
3071
  managedBy: "better-auth",
3072
+ // ADR-0010 §3.7 — managed by better-auth; tenants may not edit schema,
3073
+ // but may add overlay row-level config. Use `no-overlay` if you need to
3074
+ // forbid sys_metadata overlays entirely.
3075
+ protection: {
3076
+ lock: "full",
3077
+ reason: "Identity table managed by better-auth \u2014 see ADR-0010.",
3078
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
3079
+ },
2949
3080
  description: "Asymmetric key pairs used to sign and verify issued JWTs",
2950
3081
  compactLayout: ["id", "created_at", "expires_at"],
2951
3082
  fields: {
@@ -2993,6 +3124,13 @@ var SysRole = data.ObjectSchema.create({
2993
3124
  icon: "shield",
2994
3125
  isSystem: true,
2995
3126
  managedBy: "config",
3127
+ // ADR-0010 §3.7 — RBAC primitive; tenants may add custom rows
3128
+ // (created via UI / API) but the schema itself is locked.
3129
+ protection: {
3130
+ lock: "no-overlay",
3131
+ reason: "RBAC schema is platform-defined \u2014 see ADR-0010.",
3132
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
3133
+ },
2996
3134
  description: "Role definitions for RBAC access control",
2997
3135
  displayNameField: "label",
2998
3136
  titleFormat: "{label}",
@@ -3196,6 +3334,13 @@ var SysPermissionSet = data.ObjectSchema.create({
3196
3334
  icon: "lock",
3197
3335
  isSystem: true,
3198
3336
  managedBy: "config",
3337
+ // ADR-0010 §3.7 — RBAC primitive; tenants may add custom rows
3338
+ // (created via UI / API) but the schema itself is locked.
3339
+ protection: {
3340
+ lock: "no-overlay",
3341
+ reason: "RBAC schema is platform-defined \u2014 see ADR-0010.",
3342
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
3343
+ },
3199
3344
  description: "Named permission groupings for fine-grained access control",
3200
3345
  displayNameField: "label",
3201
3346
  titleFormat: "{label}",
@@ -7449,9 +7594,13 @@ var SETUP_APP = {
7449
7594
  icon: "settings",
7450
7595
  active: true,
7451
7596
  isDefault: false,
7452
- // ADR-0010 — core admin UI must not be overlay-edited or deleted.
7453
- _lock: "full",
7454
- _lockReason: "Core admin UI shipped by @objectstack/platform-objects \u2014 see ADR-0010.",
7597
+ // ADR-0010 §3.7 author-facing protection block. Loader translates
7598
+ // this into the `_lock` envelope at registration time.
7599
+ protection: {
7600
+ lock: "full",
7601
+ reason: "Core admin UI shipped by @objectstack/platform-objects \u2014 see ADR-0010.",
7602
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
7603
+ },
7455
7604
  branding: {
7456
7605
  primaryColor: "#475569"
7457
7606
  // Slate-600 — neutral admin palette
@@ -7678,11 +7827,41 @@ var STUDIO_APP = {
7678
7827
  icon: "hammer",
7679
7828
  active: true,
7680
7829
  isDefault: false,
7830
+ // Studio is the metadata-authoring host, so its ambient copilot is
7831
+ // pinned to the schema-architect agent. Resolved by the ambient chat
7832
+ // endpoint via `app.defaultAgent` — no UI-side `?agent=` override
7833
+ // needed. Every other app falls back to the data-query agent.
7834
+ defaultAgent: "metadata_assistant",
7681
7835
  branding: {
7682
7836
  primaryColor: "#6366f1"
7683
7837
  // Indigo-500 — distinct from Setup's slate
7684
7838
  },
7685
7839
  requiredPermissions: ["studio.access"],
7840
+ contextSelectors: [
7841
+ {
7842
+ // Package scope — pinned to the sidebar header. Selecting a package
7843
+ // injects `{active_package}` into every `metadata:resource` nav
7844
+ // item below, so the whole workbench filters to that package in
7845
+ // one click. Options come from the installed-packages REST surface,
7846
+ // narrowed to project-scoped packages: this dropdown exists so
7847
+ // third-party developers can scope to *their* custom package, so we
7848
+ // deliberately hide the platform's own system/cloud kernel packages
7849
+ // (auth, security, audit, queue, …) which are not user-authored.
7850
+ id: "active_package",
7851
+ label: "Package",
7852
+ icon: "package",
7853
+ optionsSource: {
7854
+ endpoint: "/api/v1/packages",
7855
+ valueKey: "manifest.id",
7856
+ labelKey: "manifest.name",
7857
+ filter: [{ key: "manifest.scope", op: "nin", value: ["system", "cloud"] }]
7858
+ },
7859
+ includeAll: true,
7860
+ allValue: "",
7861
+ persist: "query",
7862
+ placement: "sidebar_header"
7863
+ }
7864
+ ],
7686
7865
  navigation: [
7687
7866
  {
7688
7867
  id: "group_overview",
@@ -7696,6 +7875,13 @@ var STUDIO_APP = {
7696
7875
  label: "All Metadata Types",
7697
7876
  componentRef: "metadata:directory",
7698
7877
  icon: "layers"
7878
+ },
7879
+ {
7880
+ id: "nav_packages",
7881
+ type: "component",
7882
+ label: "Packages",
7883
+ componentRef: "developer:packages",
7884
+ icon: "package"
7699
7885
  }
7700
7886
  ]
7701
7887
  },
@@ -7713,7 +7899,7 @@ var STUDIO_APP = {
7713
7899
  type: "component",
7714
7900
  label: "Objects",
7715
7901
  componentRef: "metadata:resource",
7716
- params: { type: "object" },
7902
+ params: { type: "object", package: "{active_package}" },
7717
7903
  icon: "box"
7718
7904
  },
7719
7905
  {
@@ -7721,7 +7907,7 @@ var STUDIO_APP = {
7721
7907
  type: "component",
7722
7908
  label: "Validations",
7723
7909
  componentRef: "metadata:resource",
7724
- params: { type: "validation" },
7910
+ params: { type: "validation", package: "{active_package}" },
7725
7911
  icon: "check-square"
7726
7912
  }
7727
7913
  ]
@@ -7738,7 +7924,7 @@ var STUDIO_APP = {
7738
7924
  type: "component",
7739
7925
  label: "Apps",
7740
7926
  componentRef: "metadata:resource",
7741
- params: { type: "app" },
7927
+ params: { type: "app", package: "{active_package}" },
7742
7928
  icon: "app-window"
7743
7929
  },
7744
7930
  {
@@ -7746,7 +7932,7 @@ var STUDIO_APP = {
7746
7932
  type: "component",
7747
7933
  label: "Views",
7748
7934
  componentRef: "metadata:resource",
7749
- params: { type: "view" },
7935
+ params: { type: "view", package: "{active_package}" },
7750
7936
  icon: "table"
7751
7937
  },
7752
7938
  {
@@ -7754,7 +7940,7 @@ var STUDIO_APP = {
7754
7940
  type: "component",
7755
7941
  label: "Pages",
7756
7942
  componentRef: "metadata:resource",
7757
- params: { type: "page" },
7943
+ params: { type: "page", package: "{active_package}" },
7758
7944
  icon: "file-text"
7759
7945
  },
7760
7946
  {
@@ -7762,7 +7948,7 @@ var STUDIO_APP = {
7762
7948
  type: "component",
7763
7949
  label: "Dashboards",
7764
7950
  componentRef: "metadata:resource",
7765
- params: { type: "dashboard" },
7951
+ params: { type: "dashboard", package: "{active_package}" },
7766
7952
  icon: "layout-dashboard"
7767
7953
  },
7768
7954
  {
@@ -7770,7 +7956,7 @@ var STUDIO_APP = {
7770
7956
  type: "component",
7771
7957
  label: "Reports",
7772
7958
  componentRef: "metadata:resource",
7773
- params: { type: "report" },
7959
+ params: { type: "report", package: "{active_package}" },
7774
7960
  icon: "bar-chart-3"
7775
7961
  }
7776
7962
  ]
@@ -7787,7 +7973,7 @@ var STUDIO_APP = {
7787
7973
  type: "component",
7788
7974
  label: "Actions",
7789
7975
  componentRef: "metadata:resource",
7790
- params: { type: "action" },
7976
+ params: { type: "action", package: "{active_package}" },
7791
7977
  icon: "mouse-pointer-click"
7792
7978
  },
7793
7979
  {
@@ -7795,7 +7981,7 @@ var STUDIO_APP = {
7795
7981
  type: "component",
7796
7982
  label: "Hooks",
7797
7983
  componentRef: "metadata:resource",
7798
- params: { type: "hook" },
7984
+ params: { type: "hook", package: "{active_package}" },
7799
7985
  icon: "webhook"
7800
7986
  }
7801
7987
  ]
@@ -7812,7 +7998,7 @@ var STUDIO_APP = {
7812
7998
  type: "component",
7813
7999
  label: "Flows",
7814
8000
  componentRef: "metadata:resource",
7815
- params: { type: "flow" },
8001
+ params: { type: "flow", package: "{active_package}" },
7816
8002
  icon: "git-branch"
7817
8003
  },
7818
8004
  {
@@ -7820,7 +8006,7 @@ var STUDIO_APP = {
7820
8006
  type: "component",
7821
8007
  label: "Workflow Rules",
7822
8008
  componentRef: "metadata:resource",
7823
- params: { type: "workflow" },
8009
+ params: { type: "workflow", package: "{active_package}" },
7824
8010
  icon: "zap"
7825
8011
  },
7826
8012
  {
@@ -7828,7 +8014,7 @@ var STUDIO_APP = {
7828
8014
  type: "component",
7829
8015
  label: "Approval Processes",
7830
8016
  componentRef: "metadata:resource",
7831
- params: { type: "approval" },
8017
+ params: { type: "approval", package: "{active_package}" },
7832
8018
  icon: "check-circle"
7833
8019
  }
7834
8020
  ]
@@ -7847,7 +8033,7 @@ var STUDIO_APP = {
7847
8033
  type: "component",
7848
8034
  label: "Agents",
7849
8035
  componentRef: "metadata:resource",
7850
- params: { type: "agent" },
8036
+ params: { type: "agent", package: "{active_package}" },
7851
8037
  icon: "bot"
7852
8038
  },
7853
8039
  {
@@ -7855,7 +8041,7 @@ var STUDIO_APP = {
7855
8041
  type: "component",
7856
8042
  label: "Tools",
7857
8043
  componentRef: "metadata:resource",
7858
- params: { type: "tool" },
8044
+ params: { type: "tool", package: "{active_package}" },
7859
8045
  icon: "wrench"
7860
8046
  },
7861
8047
  {
@@ -7863,7 +8049,7 @@ var STUDIO_APP = {
7863
8049
  type: "component",
7864
8050
  label: "Skills",
7865
8051
  componentRef: "metadata:resource",
7866
- params: { type: "skill" },
8052
+ params: { type: "skill", package: "{active_package}" },
7867
8053
  icon: "brain"
7868
8054
  }
7869
8055
  ]
@@ -7916,7 +8102,7 @@ var STUDIO_APP = {
7916
8102
  type: "component",
7917
8103
  label: "Email Templates",
7918
8104
  componentRef: "metadata:resource",
7919
- params: { type: "email_template" },
8105
+ params: { type: "email_template", package: "{active_package}" },
7920
8106
  icon: "mail"
7921
8107
  }
7922
8108
  ]