@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.
- package/dist/index.js +3 -1
- 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(
|