@askexenow/exe-os 0.9.4 → 0.9.5

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.
@@ -11287,6 +11287,8 @@ ${typeBreakdown}`
11287
11287
  init_tasks();
11288
11288
  init_active_agent();
11289
11289
  init_tmux_routing();
11290
+ init_employees();
11291
+ init_plan_limits();
11290
11292
  import { z as z7 } from "zod";
11291
11293
  function registerCreateTask(server2) {
11292
11294
  server2.registerTool(
@@ -11309,6 +11311,18 @@ function registerCreateTask(server2) {
11309
11311
  }
11310
11312
  },
11311
11313
  async ({ title, assigned_to, project_name, priority, complexity, context, blocked_by, parent_task_id, reviewer, budget_tokens, budget_fallback_model }) => {
11314
+ if (!isCoordinatorName(assigned_to)) {
11315
+ const license = getLicenseSync();
11316
+ if (license.plan === "free") {
11317
+ return {
11318
+ content: [{
11319
+ type: "text",
11320
+ text: "Upgrade to hire specialists. Free plan includes your COO only. Get a license at https://askexe.com"
11321
+ }],
11322
+ isError: true
11323
+ };
11324
+ }
11325
+ }
11312
11326
  const { agentId: assignedBy } = getActiveAgent();
11313
11327
  const task = await createTask({
11314
11328
  title,
@@ -4618,6 +4618,8 @@ function getActiveAgent() {
4618
4618
 
4619
4619
  // src/mcp/tools/create-task.ts
4620
4620
  init_tmux_routing();
4621
+ init_employees();
4622
+ init_plan_limits();
4621
4623
  function registerCreateTask(server) {
4622
4624
  server.registerTool(
4623
4625
  "create_task",
@@ -4639,6 +4641,18 @@ function registerCreateTask(server) {
4639
4641
  }
4640
4642
  },
4641
4643
  async ({ title, assigned_to, project_name, priority, complexity, context, blocked_by, parent_task_id, reviewer, budget_tokens, budget_fallback_model }) => {
4644
+ if (!isCoordinatorName(assigned_to)) {
4645
+ const license = getLicenseSync();
4646
+ if (license.plan === "free") {
4647
+ return {
4648
+ content: [{
4649
+ type: "text",
4650
+ text: "Upgrade to hire specialists. Free plan includes your COO only. Get a license at https://askexe.com"
4651
+ }],
4652
+ isError: true
4653
+ };
4654
+ }
4655
+ }
4642
4656
  const { agentId: assignedBy } = getActiveAgent();
4643
4657
  const task = await createTask({
4644
4658
  title,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "AI employee operating system — persistent memory, task management, and multi-agent coordination for Claude Code.",
5
5
  "license": "CC-BY-NC-4.0",
6
6
  "type": "module",