@aglyn/plugins-workflows 1.29.2 → 1.29.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aglyn/plugins-workflows",
3
- "version": "1.29.2",
3
+ "version": "1.29.3",
4
4
  "license": "Apache-2.0",
5
5
  "homepage": "https://aglyn.com",
6
6
  "repository": {
@@ -25,17 +25,17 @@
25
25
  "./package.json": "./package.json"
26
26
  },
27
27
  "dependencies": {
28
- "@aglyn/aglyn": "1.29.2",
29
- "@aglyn/shared-data-mdi": "1.29.2",
30
- "@aglyn/shared-ui-jsx": "1.29.2",
31
- "@aglyn/shared-ui-next": "1.29.2",
32
- "@aglyn/shared-ui-snackstack": "1.29.2",
33
- "@aglyn/shared-util-email": "1.29.2",
34
- "@aglyn/shared-util-http": "1.29.2",
35
- "@aglyn/shared-util-timestamp": "1.29.2",
36
- "@aglyn/tenant-data-admin": "1.29.2",
37
- "@aglyn/tenant-feature-instance": "1.29.2",
38
- "@aglyn/tenant-runtime": "1.29.2",
28
+ "@aglyn/aglyn": "1.29.3",
29
+ "@aglyn/shared-data-mdi": "1.29.3",
30
+ "@aglyn/shared-ui-jsx": "1.29.3",
31
+ "@aglyn/shared-ui-next": "1.29.3",
32
+ "@aglyn/shared-ui-snackstack": "1.29.3",
33
+ "@aglyn/shared-util-email": "1.29.3",
34
+ "@aglyn/shared-util-http": "1.29.3",
35
+ "@aglyn/shared-util-timestamp": "1.29.3",
36
+ "@aglyn/tenant-data-admin": "1.29.3",
37
+ "@aglyn/tenant-feature-instance": "1.29.3",
38
+ "@aglyn/tenant-runtime": "1.29.3",
39
39
  "@swc/helpers": "0.5.24"
40
40
  },
41
41
  "peerDependencies": {
@@ -22,11 +22,8 @@
22
22
  free: 0,
23
23
  starter: 500,
24
24
  pro: 5000,
25
- business: 50000,
26
- scale: 150000,
27
- advanced: 500000,
28
- agency: 2000000,
29
- // Agency's band × 2, the rule every Enterprise fallback follows.
25
+ // Twice the old top self-serve tier's band, the rule every Enterprise
26
+ // fallback followed (that tier was removed, AGL-4245).
30
27
  enterprise: 4000000
31
28
  };
32
29
  /** The workflows plugin's plan figures, for the manifest generator. */ export function workflowsPlanEntitlements() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../libs/plugins/workflows/src/lib/plan-entitlements.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// Types only: the manifest generator loads this module on its own to compile\n// the plan figures, so nothing here may reach a core module at runtime.\nimport type { OrgPlan } from '@aglyn/aglyn/foundation/definitions/org-billing.types'\nimport type { PluginPlanEntitlementsDeclaration } from '@aglyn/aglyn/plugin-manager/plugin-plan-entitlements'\n\n/**\n * THE WORKFLOWS PLUGIN'S PLAN BAND (AGL-3080): the workflow runs each plan\n * includes a month. Compiled into core's `PLAN_ENTITLEMENTS` by the manifest\n * generator (`register.planEntitlements`).\n */\ndeclare module '@aglyn/aglyn/plugin-manager/plugin-entitlement-keys' {\n interface PluginEntitlementQuotas {\n /** Event-triggered workflow runs per calendar month (AGL-165). */\n workflowRunsPerMonth?: number\n }\n}\n\n/**\n * The workflow runs each plan includes a month. Priced into the cost model at\n * `perRun` beside the action-run band, since 2026-09-07.\n */\nexport const WORKFLOW_RUNS_PER_MONTH_BY_PLAN: Readonly<Record<OrgPlan, number>> = {\n free: 0,\n starter: 500,\n pro: 5000,\n business: 50000,\n scale: 150000,\n advanced: 500000,\n agency: 2000000,\n // Agency's band × 2, the rule every Enterprise fallback follows.\n enterprise: 4_000_000,\n}\n\n/** The workflows plugin's plan figures, for the manifest generator. */\nexport function workflowsPlanEntitlements(): PluginPlanEntitlementsDeclaration {\n return {\n quotas: [\n {\n key: 'workflowRunsPerMonth',\n label: 'Workflow runs / mo',\n byPlan: WORKFLOW_RUNS_PER_MONTH_BY_PLAN,\n },\n ],\n }\n}\n"],"names":["WORKFLOW_RUNS_PER_MONTH_BY_PLAN","free","starter","pro","business","scale","advanced","agency","enterprise","workflowsPlanEntitlements","quotas","key","label","byPlan"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED,6EAA6E;AAC7E,wEAAwE;AAgBxE;;;CAGC,GACD,OAAO,MAAMA,kCAAqE;IAChFC,MAAM;IACNC,SAAS;IACTC,KAAK;IACLC,UAAU;IACVC,OAAO;IACPC,UAAU;IACVC,QAAQ;IACR,iEAAiE;IACjEC,YAAY;AACd,EAAC;AAED,qEAAqE,GACrE,OAAO,SAASC;IACd,OAAO;QACLC,QAAQ;YACN;gBACEC,KAAK;gBACLC,OAAO;gBACPC,QAAQb;YACV;SACD;IACH;AACF"}
1
+ {"version":3,"sources":["../../../../../../libs/plugins/workflows/src/lib/plan-entitlements.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// Types only: the manifest generator loads this module on its own to compile\n// the plan figures, so nothing here may reach a core module at runtime.\nimport type { OrgPlan } from '@aglyn/aglyn/foundation/definitions/org-billing.types'\nimport type { PluginPlanEntitlementsDeclaration } from '@aglyn/aglyn/plugin-manager/plugin-plan-entitlements'\n\n/**\n * THE WORKFLOWS PLUGIN'S PLAN BAND (AGL-3080): the workflow runs each plan\n * includes a month. Compiled into core's `PLAN_ENTITLEMENTS` by the manifest\n * generator (`register.planEntitlements`).\n */\ndeclare module '@aglyn/aglyn/plugin-manager/plugin-entitlement-keys' {\n interface PluginEntitlementQuotas {\n /** Event-triggered workflow runs per calendar month (AGL-165). */\n workflowRunsPerMonth?: number\n }\n}\n\n/**\n * The workflow runs each plan includes a month. Priced into the cost model at\n * `perRun` beside the action-run band, since 2026-09-07.\n */\nexport const WORKFLOW_RUNS_PER_MONTH_BY_PLAN: Readonly<Record<OrgPlan, number>> = {\n free: 0,\n starter: 500,\n pro: 5000,\n // Twice the old top self-serve tier's band, the rule every Enterprise\n // fallback followed (that tier was removed, AGL-4245).\n enterprise: 4_000_000,\n}\n\n/** The workflows plugin's plan figures, for the manifest generator. */\nexport function workflowsPlanEntitlements(): PluginPlanEntitlementsDeclaration {\n return {\n quotas: [\n {\n key: 'workflowRunsPerMonth',\n label: 'Workflow runs / mo',\n byPlan: WORKFLOW_RUNS_PER_MONTH_BY_PLAN,\n },\n ],\n }\n}\n"],"names":["WORKFLOW_RUNS_PER_MONTH_BY_PLAN","free","starter","pro","enterprise","workflowsPlanEntitlements","quotas","key","label","byPlan"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED,6EAA6E;AAC7E,wEAAwE;AAgBxE;;;CAGC,GACD,OAAO,MAAMA,kCAAqE;IAChFC,MAAM;IACNC,SAAS;IACTC,KAAK;IACL,sEAAsE;IACtE,uDAAuD;IACvDC,YAAY;AACd,EAAC;AAED,qEAAqE,GACrE,OAAO,SAASC;IACd,OAAO;QACLC,QAAQ;YACN;gBACEC,KAAK;gBACLC,OAAO;gBACPC,QAAQT;YACV;SACD;IACH;AACF"}