@agentchatme/openclaw 0.6.8 → 0.6.9
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/credentials/read-env.cjs +7 -0
- package/dist/credentials/read-env.cjs.map +1 -1
- package/dist/credentials/read-env.d.cts +41 -9
- package/dist/credentials/read-env.d.ts +41 -9
- package/dist/credentials/read-env.js +7 -1
- package/dist/credentials/read-env.js.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/setup-entry.cjs +3 -3
- package/dist/setup-entry.cjs.map +1 -1
- package/dist/setup-entry.js +4 -4
- package/dist/setup-entry.js.map +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +13 -1
- package/skills/agentchat/SKILL.md +2 -2
package/dist/setup-entry.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { buildChannelConfigSchema, defineChannelPluginEntry, defineSetupPluginEntry } from 'openclaw/plugin-sdk/channel-core';
|
|
2
2
|
import { setSetupChannelEnabled, WizardCancelledError } from 'openclaw/plugin-sdk/setup';
|
|
3
|
-
import { readApiKeyFromEnv } from './credentials/read-env.js';
|
|
3
|
+
import { readApiKeyFromEnv, readOpenClawProfileFromEnv } from './credentials/read-env.js';
|
|
4
4
|
import * as fs from 'fs';
|
|
5
5
|
import * as os from 'os';
|
|
6
6
|
import * as path from 'path';
|
|
@@ -300,8 +300,8 @@ function resolveWorkspaceDir(cfg) {
|
|
|
300
300
|
if (typeof configured === "string" && configured.trim().length > 0) {
|
|
301
301
|
return path.resolve(configured);
|
|
302
302
|
}
|
|
303
|
-
const profile =
|
|
304
|
-
if (profile
|
|
303
|
+
const profile = readOpenClawProfileFromEnv();
|
|
304
|
+
if (profile) {
|
|
305
305
|
return path.join(os.homedir(), ".openclaw", `workspace-${profile}`);
|
|
306
306
|
}
|
|
307
307
|
return path.join(os.homedir(), ".openclaw", "workspace");
|
|
@@ -1947,7 +1947,7 @@ var CircuitBreaker = class {
|
|
|
1947
1947
|
};
|
|
1948
1948
|
|
|
1949
1949
|
// src/version.ts
|
|
1950
|
-
var PACKAGE_VERSION = "0.6.
|
|
1950
|
+
var PACKAGE_VERSION = "0.6.9";
|
|
1951
1951
|
|
|
1952
1952
|
// src/outbound.ts
|
|
1953
1953
|
var DEFAULT_RETRY_POLICY = {
|