@promptowl/contextnest-cli 0.3.0 → 0.4.0

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.
Files changed (2) hide show
  1. package/dist/index.js +20 -20
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -32180,7 +32180,7 @@ var ContextInjector = class {
32180
32180
  }
32181
32181
  };
32182
32182
 
32183
- // src/starters/claude-md-base.ts
32183
+ // src/starters/agent-config-base.ts
32184
32184
  var BASE_CONTEXT = `
32185
32185
  [CONTEXT NEST VAULT INITIALIZED]
32186
32186
 
@@ -32203,26 +32203,26 @@ Frontmatter fields: title, type (document|snippet|glossary|persona|prompt|source
32203
32203
  Selectors: tag:#name, type:document, path:nodes/api-*, pack:pack-name, status:published
32204
32204
  Combine with + (union) or & (intersection)
32205
32205
  `.trim();
32206
- var CLAUDE_MD_GENERATION_INSTRUCTIONS = `
32207
- [ACTION REQUIRED \u2014 GENERATE CLAUDE.md]
32206
+ var CONTEXT_MD_GENERATION_INSTRUCTIONS = `
32207
+ [ACTION REQUIRED \u2014 GENERATE CONTEXT.md]
32208
32208
 
32209
- Generate a CLAUDE.md file in this vault's root directory:
32209
+ Generate a CONTEXT.md file in this vault's root directory:
32210
32210
  1. Ask the user about their specific use case, team, and what they want to capture
32211
- 2. Generate a CLAUDE.md that includes:
32211
+ 2. Generate a CONTEXT.md that includes:
32212
32212
  - The vault structure and ctx commands reference
32213
32213
  - Role-specific guidance tailored to their answers
32214
32214
  - A "Getting Started" section with their first 3-5 actions
32215
- - Guidelines for how you (Claude) should interact with this vault
32215
+ - Guidelines for how an AI assistant should interact with this vault
32216
32216
  3. Write the file using the Write tool
32217
32217
  `.trim();
32218
32218
  function getPostInitPrompt(starterId, starterDescription) {
32219
32219
  const roleHint = `[STARTER: ${starterId}] \u2014 ${starterDescription}
32220
- Use this role context to guide your questions and the CLAUDE.md you generate.`;
32220
+ Use this role context to guide your questions and the CONTEXT.md you generate.`;
32221
32221
  return {
32222
32222
  context: BASE_CONTEXT,
32223
32223
  instructions: `${roleHint}
32224
32224
 
32225
- ${CLAUDE_MD_GENERATION_INSTRUCTIONS}`
32225
+ ${CONTEXT_MD_GENERATION_INSTRUCTIONS}`
32226
32226
  };
32227
32227
  }
32228
32228
 
@@ -32938,7 +32938,7 @@ tr:hover td { background: var(--bg-alt); }
32938
32938
  <div class="card">
32939
32939
  <h2><span class="icon">&#127919;</span> What To Do Next</h2>
32940
32940
  <ul class="checklist">
32941
- <li><div class="check-box" onclick="this.classList.toggle('checked')"></div><div><strong>Open this project in Claude Code</strong> &mdash; it reads your vault automatically via CLAUDE.md</div></li>
32941
+ <li><div class="check-box" onclick="this.classList.toggle('checked')"></div><div><strong>Open this project in your AI assistant</strong> &mdash; it reads your vault automatically via CONTEXT.md</div></li>
32942
32942
  <li><div class="check-box" onclick="this.classList.toggle('checked')"></div><div><strong>Try searching:</strong> <code>ctx search "your topic"</code></div></li>
32943
32943
  <li><div class="check-box" onclick="this.classList.toggle('checked')"></div><div><strong>Add your first document:</strong> <code>ctx add nodes/my-doc --title "My Document"</code></div></li>
32944
32944
  <li><div class="check-box" onclick="this.classList.toggle('checked')"></div><div><strong>Explore a cloud pack:</strong> <code>ctx inject @promptowl/starter-pack</code></div></li>
@@ -32950,15 +32950,15 @@ tr:hover td { background: var(--bg-alt); }
32950
32950
  <div class="card">
32951
32951
  <h2><span class="icon">&#129417;</span> Explore PromptOwl</h2>
32952
32952
  <div class="surfaces">
32953
- <a class="surface-card" href="https://promptowl.ai/claude-code" target="_blank">
32953
+ <a class="surface-card" href="https://promptowl.ai/integrations" target="_blank">
32954
32954
  <div class="surface-icon">&#9000;</div>
32955
- <h3>Claude Code</h3>
32956
- <p>CLI + vault + AI that knows your project</p>
32955
+ <h3>AI Integrations</h3>
32956
+ <p>Works with Claude, Cursor, Copilot, GPT &amp; more</p>
32957
32957
  </a>
32958
- <a class="surface-card" href="https://promptowl.ai/claude-desktop" target="_blank">
32958
+ <a class="surface-card" href="https://promptowl.ai/mcp" target="_blank">
32959
32959
  <div class="surface-icon">&#128421;</div>
32960
- <h3>Claude Desktop</h3>
32961
- <p>MCP server &mdash; 15 vault tools in Claude</p>
32960
+ <h3>MCP Server</h3>
32961
+ <p>15 vault tools for any MCP-compatible AI</p>
32962
32962
  </a>
32963
32963
  <a class="surface-card" href="https://promptowl.ai/chat" target="_blank">
32964
32964
  <div class="surface-icon">&#128172;</div>
@@ -33051,7 +33051,7 @@ function buildTreeLines(paths) {
33051
33051
 
33052
33052
  // src/index.ts
33053
33053
  var program = new Command();
33054
- program.name("ctx").description("Context Nest CLI \u2014 manage structured, versioned context vaults").version("0.1.0");
33054
+ program.name("ctx").description("Context Nest CLI \u2014 manage structured, versioned context vaults").version("0.4.0");
33055
33055
  function getVaultRoot() {
33056
33056
  return process.env.CONTEXTNEST_VAULT_PATH || process.cwd();
33057
33057
  }
@@ -33150,7 +33150,7 @@ ${chalk.dim("\u2500".repeat(60))}`);
33150
33150
  tags: (n.content.match(/^tags:\s*\[(.+)\]$/m)?.[1] || "").split(",").map((t) => t.trim()).filter(Boolean)
33151
33151
  })),
33152
33152
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
33153
- cliVersion: program.version() || "0.1.0"
33153
+ cliVersion: program.version() || "0.3.0"
33154
33154
  });
33155
33155
  openInBrowser(welcomePath);
33156
33156
  console.log(` ${chalk.dim("Opened welcome page in browser: .context/welcome.html")}
@@ -33180,7 +33180,7 @@ This vault was initialized without a starter recipe. To help the user get starte
33180
33180
  - team \u2014 General team knowledge base
33181
33181
  3. Run: ctx init --starter <recipe> (in the vault directory)
33182
33182
  Note: re-running init with --starter will add the starter content to the existing vault.
33183
- 4. After the starter is applied, generate a CLAUDE.md tailored to the user's needs.`);
33183
+ 4. After the starter is applied, generate a CONTEXT.md tailored to the user's needs.`);
33184
33184
  console.log(chalk.dim("\u2500".repeat(60)));
33185
33185
  console.log(`
33186
33186
  ${chalk.dim("Context Nest by PromptOwl \u2014 https://promptowl.ai")}
@@ -33192,7 +33192,7 @@ This vault was initialized without a starter recipe. To help the user get starte
33192
33192
  starterDisplayName: null,
33193
33193
  nodes: [],
33194
33194
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
33195
- cliVersion: program.version() || "0.1.0"
33195
+ cliVersion: program.version() || "0.3.0"
33196
33196
  });
33197
33197
  openInBrowser(welcomePath);
33198
33198
  console.log(` ${chalk.dim("Opened welcome page in browser: .context/welcome.html")}
@@ -33756,7 +33756,7 @@ program.command("welcome").description("Regenerate and open the vault welcome pa
33756
33756
  tags: (d.frontmatter.tags || []).map((t) => t.replace(/^#/, ""))
33757
33757
  })),
33758
33758
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
33759
- cliVersion: program.version() || "0.1.0"
33759
+ cliVersion: program.version() || "0.3.0"
33760
33760
  });
33761
33761
  console.log(chalk.green(`Generated welcome page: .context/welcome.html`));
33762
33762
  console.log(` ${docs.length} documents across ${new Set(docs.map((d) => d.id.split("/")[0])).size} folders`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptowl/contextnest-cli",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Command-line tool for Context Nest vault operations",
5
5
  "type": "module",
6
6
  "bin": {