@agentxm/extension-lifecycle 0.28.8 → 0.28.10

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.
@@ -55,7 +55,13 @@ export const enableSkill = (op) => Effect.gen(function* () {
55
55
  }
56
56
  const sanitizedName = sanitizeName(op.args.skillName);
57
57
  const materializationAgents = yield* DefaultCodingAgentRepository.getMaterializationAgents().pipe(Effect.provideService(WorkspaceMutations, ws));
58
- const skillSrcPath = canonical.value.observation.path;
58
+ const accepted = canonical.value.accepted;
59
+ const portable = accepted !== undefined &&
60
+ "packageFormat" in accepted &&
61
+ accepted.packageFormat === "agent-skill";
62
+ const skillSrcPath = portable
63
+ ? canonical.value.observation.path
64
+ : path.join(canonical.value.observation.path, "src");
59
65
  const installableTargets = yield* ws.runTransaction({
60
66
  transition: Effect.gen(function* () {
61
67
  const resolvedTargets = yield* Effect.forEach(materializationAgents, (agent) => agent.resolveEffectiveSkillsDir({ workspaceRoot: base }).pipe(Effect.provide(fsPathLayer), Effect.map((outcome) => ({ agent, outcome }))), { concurrency: "unbounded" });
package/package.json CHANGED
@@ -4,13 +4,14 @@
4
4
  "url": "https://github.com/agentxm/axm/issues"
5
5
  },
6
6
  "dependencies": {
7
- "@agentxm/extension-model": "^0.28.8",
8
- "@agentxm/extension-sources": "^0.28.8",
9
- "@agentxm/extension-workspace": "^0.28.8",
10
- "@agentxm/registry-client": "^0.28.8",
11
- "@agentxm/registry-protocol": "^0.28.8",
12
- "@agentxm/workspace-operations": "^0.28.8",
13
- "@agentxm/workspace-state": "^0.28.8",
7
+ "@agentxm/extension-model": "^0.28.10",
8
+ "@agentxm/extension-sources": "^0.28.10",
9
+ "@agentxm/extension-workspace": "^0.28.10",
10
+ "@agentxm/registry-client": "^0.28.10",
11
+ "@agentxm/registry-protocol": "^0.28.10",
12
+ "@agentxm/workspace-operations": "^0.28.10",
13
+ "@agentxm/workspace-state": "^0.28.10",
14
+ "@napi-rs/keyring": "^1.3.0",
14
15
  "effect": "4.0.0-rc.112",
15
16
  "semver": "^7.8.5"
16
17
  },
@@ -60,5 +61,5 @@
60
61
  },
61
62
  "sideEffects": false,
62
63
  "type": "module",
63
- "version": "0.28.8"
64
+ "version": "0.28.10"
64
65
  }