@ascenda-one/agent-mcp 0.1.10 → 0.1.11

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/cli.js +3 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -737,7 +737,9 @@ var require_stateStore = __commonJS({
737
737
  var path = __importStar(__require("path"));
738
738
  var tokenStore_1 = require_tokenStore();
739
739
  function defaultStateFilePath(toolInstallationId) {
740
- return path.join(os.homedir(), ".ascenda", "state", `${(0, tokenStore_1.sanitizeFilePart)(toolInstallationId)}.json`);
740
+ const dir = process.env.ASCENDA_STATE_DIR?.trim();
741
+ const base = dir ? dir : path.join(os.homedir(), ".ascenda", "state");
742
+ return path.join(base, `${(0, tokenStore_1.sanitizeFilePart)(toolInstallationId)}.json`);
741
743
  }
742
744
  function readCollectorState(stateFilePath) {
743
745
  try {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "publishConfig": { "access": "public" },
3
3
  "name": "@ascenda-one/agent-mcp",
4
- "version": "0.1.10",
4
+ "version": "0.1.11",
5
5
  "description": "MCP server exposing ascenda_emit_work_signal — the one submission interface for agent-observed (semantic) work-friction signals.",
6
6
  "repository": {
7
7
  "type": "git",