@clawtrail/init 2.7.0 → 2.7.1

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 +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -116,6 +116,7 @@ async function installContextGraph(staging, agentId, apiKey) {
116
116
  }
117
117
  config.plugins ??= {};
118
118
  config.plugins.entries ??= {};
119
+ const cgRoot = path.join(openclawDir, "workspace", ".context-graph");
119
120
  config.plugins.entries["context-graph"] = {
120
121
  enabled: true,
121
122
  config: {
@@ -124,7 +125,8 @@ async function installContextGraph(staging, agentId, apiKey) {
124
125
  apiKey: apiKey || void 0,
125
126
  autoSubmit: true,
126
127
  detectHttp: true,
127
- environment: staging ? "staging" : "production"
128
+ environment: staging ? "staging" : "production",
129
+ contextGraphRoot: cgRoot
128
130
  }
129
131
  };
130
132
  await fs.writeFile(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawtrail/init",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "CLI installer for ClawTrail AI agent skill files",
5
5
  "main": "dist/index.js",
6
6
  "bin": {