@nomad-e/bluma-cli 0.0.110 → 0.0.111

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/README.md CHANGED
@@ -575,4 +575,4 @@ BluMa handles different classes of errors gracefully:
575
575
  - Protect your API keys: never commit `.env` files.
576
576
  - `edit_tool` can modify files — review previews before accepting.
577
577
  - Use restricted permissions for API tokens wherever possible.
578
- - If using on shared systems, ensure `.bluma-cli` config is private.
578
+ - If using on shared systems, ensure `.bluma` config is private.
@@ -504,7 +504,7 @@
504
504
  "type": "function",
505
505
  "function": {
506
506
  "name": "create_artifact",
507
- "description": "Create or update an artifact file in the artifacts directory (~/.bluma-cli/artifacts/). Use this to save implementation plans, walkthroughs, notes, or any document the user should review. Supports markdown files.",
507
+ "description": "Create or update an artifact file in the artifacts directory (~/.bluma/artifacts/). Use this to save implementation plans, walkthroughs, notes, or any document the user should review. Supports markdown files.",
508
508
  "parameters": {
509
509
  "type": "object",
510
510
  "properties": {
package/dist/main.js CHANGED
@@ -1998,7 +1998,7 @@ import * as path5 from "path";
1998
1998
  var taskStore = [];
1999
1999
  var nextId = 1;
2000
2000
  function getTodoFilePath() {
2001
- return path5.join(process.cwd(), ".bluma-cli", "todo.json");
2001
+ return path5.join(process.cwd(), ".bluma", "todo.json");
2002
2002
  }
2003
2003
  function loadTasksFromFile() {
2004
2004
  try {
@@ -2933,7 +2933,7 @@ var artifactsDir = null;
2933
2933
  async function getArtifactsDir() {
2934
2934
  if (artifactsDir) return artifactsDir;
2935
2935
  const homeDir = os3.homedir();
2936
- const baseDir = path9.join(homeDir, ".bluma-cli", "artifacts");
2936
+ const baseDir = path9.join(homeDir, ".bluma", "artifacts");
2937
2937
  const sessionId2 = Date.now().toString(36) + Math.random().toString(36).substr(2, 5);
2938
2938
  artifactsDir = path9.join(baseDir, sessionId2);
2939
2939
  await fs7.mkdir(artifactsDir, { recursive: true });
@@ -3285,9 +3285,7 @@ async function loadSkill(args) {
3285
3285
  }
3286
3286
  return {
3287
3287
  success: true,
3288
- message: `Skill "${skill_name}" loaded. Follow these instructions:
3289
-
3290
- ${skill.content}`,
3288
+ message: `Skill "${skill_name}" loaded.`,
3291
3289
  skill_name: skill.name,
3292
3290
  description: skill.description
3293
3291
  };
@@ -3403,7 +3401,7 @@ var MCPClient = class {
3403
3401
  const __filename = fileURLToPath2(import.meta.url);
3404
3402
  const __dirname = path11.dirname(__filename);
3405
3403
  const defaultConfigPath = path11.resolve(__dirname, "config", "bluma-mcp.json");
3406
- const userConfigPath = path11.join(os4.homedir(), ".bluma-cli", "bluma-mcp.json");
3404
+ const userConfigPath = path11.join(os4.homedir(), ".bluma", "bluma-mcp.json");
3407
3405
  const defaultConfig = await this.loadMcpConfig(defaultConfigPath, "Default");
3408
3406
  const userConfig = await this.loadMcpConfig(userConfigPath, "User");
3409
3407
  const mergedConfig = {
@@ -3617,7 +3615,7 @@ function expandHome(p) {
3617
3615
  return p;
3618
3616
  }
3619
3617
  function getPreferredAppDir() {
3620
- const fixed = path12.join(os5.homedir(), ".bluma-cli");
3618
+ const fixed = path12.join(os5.homedir(), ".bluma");
3621
3619
  return path12.resolve(expandHome(fixed));
3622
3620
  }
3623
3621
  async function safeRenameWithRetry(src, dest, maxRetries = 6) {
@@ -4322,6 +4320,12 @@ You have access to specialized knowledge modules called **skills**. Skills exten
4322
4320
  **Available skills:**
4323
4321
  ${skillsList}
4324
4322
 
4323
+ **Skill Lifecycle:**
4324
+ - Skills are **ephemeral** - they exist only for the current task
4325
+ - After completing a task, skill context is discarded
4326
+ - You MUST reload a skill with \`load_skill\` each time you need it
4327
+ - Never assume a skill is still loaded from a previous task
4328
+
4325
4329
  ---
4326
4330
 
4327
4331
  ### Skill Selection Process
@@ -5451,7 +5455,7 @@ var RouteManager = class {
5451
5455
  };
5452
5456
 
5453
5457
  // src/app/agent/agent.ts
5454
- var globalEnvPath = path16.join(os9.homedir(), ".bluma-cli", ".env");
5458
+ var globalEnvPath = path16.join(os9.homedir(), ".bluma", ".env");
5455
5459
  dotenv.config({ path: globalEnvPath });
5456
5460
  var Agent = class {
5457
5461
  sessionId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomad-e/bluma-cli",
3
- "version": "0.0.110",
3
+ "version": "0.0.111",
4
4
  "description": "BluMa independent agent for automation and advanced software engineering.",
5
5
  "author": "Alex Fonseca",
6
6
  "license": "Apache-2.0",