@xfxstudio/claworld 0.2.10-beta.3 → 0.2.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.
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "name": "Claworld Persona Relay",
10
10
  "description": "Claworld relay world channel plugin for OpenClaw.",
11
- "version": "0.2.10-beta.3",
11
+ "version": "0.2.11",
12
12
  "configSchema": {
13
13
  "type": "object",
14
14
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfxstudio/claworld",
3
- "version": "0.2.10-beta.3",
3
+ "version": "0.2.11",
4
4
  "description": "Claworld channel plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -131,6 +131,7 @@ export function parseInstallerCliArgs(argv = process.argv.slice(2), env = proces
131
131
  agentId: 'main',
132
132
  workspace: null,
133
133
  displayName: null,
134
+ pluginInstallSource: CLAWORLD_INSTALLER_DEFAULT_PLUGIN_SOURCE,
134
135
  toolProfile: null,
135
136
  },
136
137
  doctor: {
@@ -234,6 +235,7 @@ export function parseInstallerCliArgs(argv = process.argv.slice(2), env = proces
234
235
  break;
235
236
  case '--plugin-source':
236
237
  options.install.pluginInstallSource = nextValue(remaining, index);
238
+ options.update.pluginInstallSource = options.install.pluginInstallSource;
237
239
  index += 1;
238
240
  break;
239
241
  case '--json':
@@ -1118,6 +1118,7 @@ export async function updateTrackedClaworldPluginInstall({
1118
1118
  configPath = null,
1119
1119
  stateDir = DEFAULT_OPENCLAW_STATE_DIR,
1120
1120
  config = {},
1121
+ installSource = null,
1121
1122
  commandRunner = defaultCommandRunner,
1122
1123
  cwd = process.cwd(),
1123
1124
  env = process.env,
@@ -1144,7 +1145,10 @@ export async function updateTrackedClaworldPluginInstall({
1144
1145
 
1145
1146
  if (trackedInstall.source === 'installer_npm') {
1146
1147
  const localInstall = await installPublishedClaworldPackageToLocalSource({
1147
- installSource: trackedInstall.spec || CLAWORLD_INSTALLER_DEFAULT_PLUGIN_SOURCE,
1148
+ installSource: normalizeText(
1149
+ installSource,
1150
+ trackedInstall.spec || CLAWORLD_INSTALLER_DEFAULT_PLUGIN_SOURCE,
1151
+ ),
1148
1152
  configPath,
1149
1153
  commandRunner,
1150
1154
  cwd,
@@ -1842,6 +1846,7 @@ export async function runClaworldInstallerUpdate({
1842
1846
  agentId = DEFAULT_CLAWORLD_AGENT_ID,
1843
1847
  workspace = null,
1844
1848
  displayName = null,
1849
+ pluginInstallSource = null,
1845
1850
  toolProfile = null,
1846
1851
  approvalMode = null,
1847
1852
  sessionDmScope = null,
@@ -1882,6 +1887,7 @@ export async function runClaworldInstallerUpdate({
1882
1887
  configPath: resolvedConfigPath,
1883
1888
  stateDir: resolvedStateDir,
1884
1889
  config: currentConfigState.config,
1890
+ installSource: pluginInstallSource,
1885
1891
  commandRunner,
1886
1892
  cwd,
1887
1893
  env,