@forwardimpact/pathway 0.25.10 → 0.25.12
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/bin/fit-pathway.js +1 -1
- package/package.json +1 -1
- package/src/commands/agent.js +16 -4
- package/templates/install.template.sh +4 -3
package/bin/fit-pathway.js
CHANGED
package/package.json
CHANGED
package/src/commands/agent.js
CHANGED
|
@@ -450,7 +450,10 @@ export async function runAgentCommand({
|
|
|
450
450
|
|
|
451
451
|
// Output to console (default) or write to files (with --output)
|
|
452
452
|
if (!options.output) {
|
|
453
|
-
const teamInstructions = interpolateTeamInstructions(
|
|
453
|
+
const teamInstructions = interpolateTeamInstructions(
|
|
454
|
+
agentTrack,
|
|
455
|
+
humanDiscipline,
|
|
456
|
+
);
|
|
454
457
|
if (teamInstructions) {
|
|
455
458
|
console.log("# Team Instructions (CLAUDE.md)\n");
|
|
456
459
|
console.log(teamInstructions.trim());
|
|
@@ -460,7 +463,10 @@ export async function runAgentCommand({
|
|
|
460
463
|
return;
|
|
461
464
|
}
|
|
462
465
|
|
|
463
|
-
const teamInstructions = interpolateTeamInstructions(
|
|
466
|
+
const teamInstructions = interpolateTeamInstructions(
|
|
467
|
+
agentTrack,
|
|
468
|
+
humanDiscipline,
|
|
469
|
+
);
|
|
464
470
|
await writeTeamInstructions(teamInstructions, baseDir);
|
|
465
471
|
await writeProfile(profile, baseDir, agentTemplate);
|
|
466
472
|
await generateClaudeCodeSettings(baseDir, agentData.claudeCodeSettings);
|
|
@@ -540,7 +546,10 @@ export async function runAgentCommand({
|
|
|
540
546
|
|
|
541
547
|
// Output to console (default) or write to files (with --output)
|
|
542
548
|
if (!options.output) {
|
|
543
|
-
const teamInstructions = interpolateTeamInstructions(
|
|
549
|
+
const teamInstructions = interpolateTeamInstructions(
|
|
550
|
+
agentTrack,
|
|
551
|
+
humanDiscipline,
|
|
552
|
+
);
|
|
544
553
|
if (teamInstructions) {
|
|
545
554
|
console.log("# Team Instructions (CLAUDE.md)\n");
|
|
546
555
|
console.log(teamInstructions.trim());
|
|
@@ -553,7 +562,10 @@ export async function runAgentCommand({
|
|
|
553
562
|
return;
|
|
554
563
|
}
|
|
555
564
|
|
|
556
|
-
const teamInstructions = interpolateTeamInstructions(
|
|
565
|
+
const teamInstructions = interpolateTeamInstructions(
|
|
566
|
+
agentTrack,
|
|
567
|
+
humanDiscipline,
|
|
568
|
+
);
|
|
557
569
|
await writeTeamInstructions(teamInstructions, baseDir);
|
|
558
570
|
for (const profile of profiles) {
|
|
559
571
|
await writeProfile(profile, baseDir, agentTemplate);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# {{{frameworkTitle}}} — Local Install
|
|
3
3
|
# Generated by @forwardimpact/pathway v{{{version}}}
|
|
4
4
|
#
|
|
5
|
-
# Installs fit-pathway globally via
|
|
5
|
+
# Installs fit-pathway globally via npm and downloads organization data
|
|
6
6
|
# to ~/.fit/data/pathway/.
|
|
7
7
|
#
|
|
8
8
|
# Usage:
|
|
@@ -13,11 +13,12 @@ set -euo pipefail
|
|
|
13
13
|
SITE_URL="{{{siteUrl}}}"
|
|
14
14
|
INSTALL_DIR="${HOME}/.fit/data/pathway"
|
|
15
15
|
|
|
16
|
-
command -v
|
|
16
|
+
command -v node >/dev/null 2>&1 || { echo "Error: Node.js 18+ is required. https://nodejs.org"; exit 1; }
|
|
17
|
+
command -v npm >/dev/null 2>&1 || { echo "Error: npm is required. https://nodejs.org"; exit 1; }
|
|
17
18
|
|
|
18
19
|
# Install fit-pathway globally (provides the fit-pathway binary on PATH)
|
|
19
20
|
echo "Installing @forwardimpact/pathway globally..."
|
|
20
|
-
|
|
21
|
+
npm install -g @forwardimpact/pathway@{{{version}}}
|
|
21
22
|
|
|
22
23
|
# Download organization data to ~/.fit/data/pathway/
|
|
23
24
|
echo "Downloading organization data to ${INSTALL_DIR}..."
|