opencharm 0.8.8 → 0.8.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/main.mjs CHANGED
@@ -997,7 +997,7 @@ function sendAdmin(socketPath, request) {
997
997
  }
998
998
  //#endregion
999
999
  //#region package.json
1000
- var version = "0.8.8";
1000
+ var version = "0.8.9";
1001
1001
  function channelToCube(value) {
1002
1002
  if (value < 48) return 0;
1003
1003
  if (value < 115) return 1;
@@ -3945,7 +3945,7 @@ function createAcpAgent(options) {
3945
3945
  await agent.context.request(acp.methods.agent.session.setMode, {
3946
3946
  sessionId: created.sessionId,
3947
3947
  modeId: mode
3948
- });
3948
+ }).catch((error) => log(`mode "${mode}" refused, staying in "${created.modes?.currentModeId}": ${friendly(error, program).message}`));
3949
3949
  }
3950
3950
  return {
3951
3951
  agent,
@@ -5056,7 +5056,7 @@ function formatIdentity(unit, version, commit) {
5056
5056
  let cached;
5057
5057
  function identity() {
5058
5058
  if (cached) return cached;
5059
- const commit = "89e832a";
5059
+ const commit = "b4c1d9d";
5060
5060
  cached = {
5061
5061
  version: `cli@${version}`,
5062
5062
  commit,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencharm",
3
- "version": "0.8.8",
3
+ "version": "0.8.9",
4
4
  "description": "An open-source body for the AI agent you already run: a face, a voice, one key. Claude Code, Codex, Gemini CLI, Hermes, OpenClaw or any ACP or OpenAI-compatible agent; on a small board, your Mac's notch or the browser.",
5
5
  "type": "module",
6
6
  "bin": {
Binary file