@rryando/arcs 3.4.1 → 3.4.2

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": "@rryando/arcs",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "description": "ARCS — DAG-based task orchestration for AI agents. Persistent workflow continuity via graph-structured context.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -237,15 +237,23 @@ function buildAgentSources() {
237
237
  const tier = agentTierMap[stem] || "standard";
238
238
  const model = tierModels[tier];
239
239
 
240
- const toolsArray = meta.tools.split(",").map((t) => t.trim());
241
- const toolsYaml = `[${toolsArray.map((t) => `"${t}"`).join(", ")}]`;
240
+ // Claude Code requires `name` to be a kebab-case identifier (lowercase
241
+ // letters + hyphens). The filename stem already satisfies this and is
242
+ // unique, so it IS the agent name — the human-readable label lives in
243
+ // `description`. The default-agent setting (DEFAULT_AGENT) references this
244
+ // same stem, so it resolves. Display names with spaces/parens/apostrophes
245
+ // (meta.name) are invalid here and caused intermittent init failures.
246
+ const toolsCsv = meta.tools
247
+ .split(",")
248
+ .map((t) => t.trim())
249
+ .join(", ");
242
250
 
243
251
  const compiledContent = [
244
252
  "---",
245
- `name: ${meta.name}`,
253
+ `name: ${stem}`,
246
254
  `description: ${meta.description}`,
247
255
  `model: ${model}`,
248
- `tools: ${toolsYaml}`,
256
+ `tools: ${toolsCsv}`,
249
257
  "---",
250
258
  "",
251
259
  promptContent,