@rubytech/taskmaster 1.21.3 → 1.22.1

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.
@@ -7,17 +7,17 @@ export const PRELOADED_SKILL_AGENTS = {
7
7
  "log-review": ["admin"],
8
8
  "strategic-proactivity": ["admin"],
9
9
  "skill-builder": ["admin"],
10
- "anthropic": ["admin"],
11
- "openai": ["admin"],
10
+ anthropic: ["admin"],
11
+ openai: ["admin"],
12
12
  "google-ai": ["admin"],
13
- "tavily": ["admin"],
14
- "twilio": ["admin"],
15
- "brevo": ["admin"],
16
- "stripe": ["admin"],
17
- "taskmaster": ["admin", "public"],
13
+ tavily: ["admin"],
14
+ twilio: ["admin"],
15
+ brevo: ["admin"],
16
+ stripe: ["admin"],
17
+ taskmaster: ["admin", "public"],
18
18
  "business-assistant": ["admin", "public"],
19
19
  "event-management": ["admin", "public"],
20
- "weather": ["admin", "public"],
20
+ weather: ["admin", "public"],
21
21
  "image-gen": ["admin", "public"],
22
22
  "qr-code": ["admin", "public"],
23
23
  "sales-closer": ["admin", "public"],
@@ -3,6 +3,7 @@ import path from "node:path";
3
3
  import { CONFIG_DIR } from "../utils.js";
4
4
  import { hasMarker } from "../license/skill-pack.js";
5
5
  import { hasBinary, isBundledSkillAllowed, isConfigPathTruthy, loadWorkspaceSkillEntries, resolveBundledAllowlist, resolveBundledSkillsDir, resolveConfigPath, resolveSkillConfig, resolveSkillsInstallPreferences, } from "./skills.js";
6
+ import { resolveSkillAgents } from "./skills/agent-scope.js";
6
7
  function resolveSkillKey(entry) {
7
8
  return entry.taskmaster?.skillKey ?? entry.skill.name;
8
9
  }
@@ -149,6 +150,8 @@ function buildSkillStatus(entry, config, prefs, eligibility, bundledSkillNames)
149
150
  missing.config.length === 0 &&
150
151
  missing.os.length === 0));
151
152
  const preloaded = bundledSkillNames ? bundledSkillNames.has(entry.skill.name) : false;
153
+ const agents = [...resolveSkillAgents(entry.skill.name, preloaded, config)];
154
+ const agentsLocked = preloaded;
152
155
  const isMarketplace = hasMarker(entry.skill.baseDir);
153
156
  let marketplaceVersion;
154
157
  if (isMarketplace) {
@@ -177,6 +180,8 @@ function buildSkillStatus(entry, config, prefs, eligibility, bundledSkillNames)
177
180
  blockedByAllowlist,
178
181
  eligible,
179
182
  preloaded,
183
+ agents,
184
+ agentsLocked,
180
185
  marketplace: isMarketplace,
181
186
  marketplaceVersion,
182
187
  requirements: {
@@ -115,6 +115,7 @@ export async function runPreparedReply(params) {
115
115
  workspaceDir,
116
116
  cfg,
117
117
  skillFilter: opts?.skillFilter,
118
+ agentId: _agentId,
118
119
  });
119
120
  sessionEntry = skillResult.sessionEntry ?? sessionEntry;
120
121
  currentSystemSent = skillResult.systemSent;
@@ -116,7 +116,7 @@ export async function prependSystemEvents(params) {
116
116
  return `${block}\n\n${params.prefixedBodyBase}`;
117
117
  }
118
118
  export async function ensureSkillSnapshot(params) {
119
- const { sessionEntry, sessionStore, sessionKey, storePath, sessionId, isFirstTurnInSession, workspaceDir, cfg, skillFilter, } = params;
119
+ const { sessionEntry, sessionStore, sessionKey, storePath, sessionId, isFirstTurnInSession, workspaceDir, cfg, skillFilter, agentId, } = params;
120
120
  let nextEntry = sessionEntry;
121
121
  let systemSent = sessionEntry?.systemSent ?? false;
122
122
  const remoteEligibility = getRemoteSkillEligibility();
@@ -135,6 +135,7 @@ export async function ensureSkillSnapshot(params) {
135
135
  skillFilter,
136
136
  eligibility: { remote: remoteEligibility },
137
137
  snapshotVersion,
138
+ agentId,
138
139
  })
139
140
  : current.skillsSnapshot;
140
141
  nextEntry = {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.21.3",
3
- "commit": "1d781522fc324ec5ec42d425cb04e37184af6cd7",
4
- "builtAt": "2026-03-06T21:08:26.808Z"
2
+ "version": "1.22.1",
3
+ "commit": "b35175198e3fe48ac4c26829a281478a72e0e622",
4
+ "builtAt": "2026-03-07T06:05:58.594Z"
5
5
  }