@firatcand/roster 1.0.0 → 1.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firatcand/roster",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A CLI that scaffolds a structured multi-agent workspace on top of AI coding tools (Claude Code, Codex CLI, Gemini)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -36,7 +36,9 @@ the flat ## Tools and bindings schema documented in conventions.md
36
36
  ("Tool bindings" section). The Phase 2 reshape (env-merge loader +
37
37
  config.yaml/.env split) will rebuild this flow.
38
38
 
39
- Until Phase 2 lands, configure tool bindings by hand:
39
+ Configure tool bindings by hand (the env-merge loader reads them at
40
+ runtime — what's missing is the auto-mirroring generator this script
41
+ was meant to provide):
40
42
 
41
43
  1. Open <function>/<agent>/agent.md and confirm the ## Tools and
42
44
  bindings YAML block lists each tool with env_var, required, and
@@ -272,10 +272,12 @@ cat > "$TARGET/subagents/_template.md" << 'EOF'
272
272
  EOF
273
273
 
274
274
  # config.yaml — agent config (guideline refs + tool bindings)
275
- # Minimal stub. Until the Phase 2 env-merge loader lands, bindings are
276
- # hand-edited: copy the ## Tools and bindings YAML block from agent.md
277
- # into the tools: mapping below, then fill the corresponding env vars
278
- # in workspace /.env (or this agent's .env).
275
+ # Minimal stub. The env-merge loader (resolveAgentEnv) reads bindings
276
+ # from this file's tools: block, with env-var values sourced from
277
+ # workspace /.env (or this agent's .env override). Until the dialogue-
278
+ # driven generator that auto-mirrors agent.md → config.yaml ships,
279
+ # copy the ## Tools and bindings YAML block from agent.md into the
280
+ # tools: mapping below by hand.
279
281
  cat > "$TARGET/config.yaml" << EOF
280
282
  agent: $FN/$NAME
281
283
  plans_dir: ./plans/
@@ -351,7 +353,7 @@ if [ -t 0 ] && [ "${AGENT_TEAM_NO_CONFIRM:-0}" != "1" ]; then
351
353
  echo ""
352
354
  echo "## Tools and bindings"
353
355
  echo ""
354
- echo "Tool bindings expected by this agent. Until the Phase 2 env-merge loader ships, configure them by hand: mirror the YAML block below into \`<agent>/config.yaml\` under a \`tools:\` key, and put the env var values in workspace \`/.env\` (or \`<agent>/.env\` for agent-scoped overrides)."
356
+ echo "Tool bindings expected by this agent. The env-merge loader reads these from \`<agent>/config.yaml\` (under a \`tools:\` key), with env-var values from workspace \`/.env\` (overridable in \`<agent>/.env\`). For now, mirror the YAML block below into \`config.yaml\` by hand — the auto-mirroring generator that would derive it from this section is not yet shipped."
355
357
  echo ""
356
358
  echo "Fill in each tool's bindings below. Schema per conventions.md § \"Tool bindings\": each tool has a \`env_var\` (the env-var name the runtime reads), a \`required\` flag (true/false), and a one-line \`description\`."
357
359
  echo ""
@@ -369,7 +371,7 @@ if [ -t 0 ] && [ "${AGENT_TEAM_NO_CONFIRM:-0}" != "1" ]; then
369
371
  echo ""
370
372
  echo "✓ Added '## Tools and bindings' to $NEW_AGENT_MD with stubs for: ${TOOL_NAMES[*]}"
371
373
  echo " Edit agent.md to fill in env_var names + descriptions, then mirror the tools: block into <agent>/config.yaml by hand."
372
- echo " (Phase 2 will add an env-merge loader + automated config.yaml/.env wiring; until then this step is manual.)"
374
+ echo " (The env-merge loader reads bindings from <agent>/config.yaml at runtime; the auto-mirroring generator that would copy this block for you is not yet shipped, so this step is manual.)"
373
375
  else
374
376
  echo " No valid tool names provided. Skipping section."
375
377
  fi