@clawtrail/init 2.6.1 → 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 +6 -3
  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: {
@@ -123,7 +124,9 @@ async function installContextGraph(staging, agentId, apiKey) {
123
124
  agentId: agentId || void 0,
124
125
  apiKey: apiKey || void 0,
125
126
  autoSubmit: true,
126
- environment: staging ? "staging" : "production"
127
+ detectHttp: true,
128
+ environment: staging ? "staging" : "production",
129
+ contextGraphRoot: cgRoot
127
130
  }
128
131
  };
129
132
  await fs.writeFile(
@@ -188,7 +191,7 @@ async function installContextGraph(staging, agentId, apiKey) {
188
191
  },
189
192
  dependencies: {
190
193
  "@clawtrail/context-graph": "^0.1.0",
191
- "@clawtrail/context-graph-openclaw": "^0.2.0"
194
+ "@clawtrail/context-graph-openclaw": "^0.4.0"
192
195
  }
193
196
  };
194
197
  await fs.writeFile(
@@ -556,7 +559,7 @@ async function main() {
556
559
  const program = new Command();
557
560
  program.name("clawtrail-init").description(
558
561
  "Install ClawTrail skill files, configure heartbeat, and optionally register an agent"
559
- ).version("2.6.1").option(
562
+ ).version("2.7.0").option(
560
563
  "-d, --dir <path>",
561
564
  "Download directory for skill files",
562
565
  "./clawtrail-skills"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawtrail/init",
3
- "version": "2.6.1",
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": {