@forwardimpact/libwiki 0.2.8 → 0.2.9

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-wiki.js CHANGED
@@ -30,8 +30,9 @@ const wikiRootOpt = {
30
30
  const agentOpt = {
31
31
  agent: {
32
32
  type: "string",
33
- description: "Agent name (falls back to LIBEVAL_AGENT_PROFILE env var)",
34
- default: process.env.LIBEVAL_AGENT_PROFILE,
33
+ description:
34
+ "Agent name (falls back to LIBEVAL_AGENT_PROFILE, then staff-engineer)",
35
+ default: process.env.LIBEVAL_AGENT_PROFILE || "staff-engineer",
35
36
  },
36
37
  };
37
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardimpact/libwiki",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Wiki lifecycle primitives — stable memory for agent teams so coordination persists across sessions.",
5
5
  "keywords": [
6
6
  "wiki",
@@ -42,13 +42,8 @@ function renderMarkdown(digest) {
42
42
 
43
43
  /** Print the on-boot digest for the calling agent. JSON by default; --format markdown renders prose. */
44
44
  export function runBootCommand(values, _args, cli) {
45
- const agent = values.agent || process.env.LIBEVAL_AGENT_PROFILE;
46
- if (!agent) {
47
- cli.usageError(
48
- "boot requires --agent <name> or LIBEVAL_AGENT_PROFILE env var",
49
- );
50
- process.exit(2);
51
- }
45
+ const agent =
46
+ values.agent || process.env.LIBEVAL_AGENT_PROFILE || "staff-engineer";
52
47
 
53
48
  const logger = { debug() {} };
54
49
  const finder = new Finder(fsAsync, logger, process);