chatroom-cli 1.117.0 → 1.117.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 CHANGED
@@ -111191,7 +111191,10 @@ var init_git_request = __esm(() => {
111191
111191
 
111192
111192
  // src/daemon/infrastructure/convex/subscribers/machine-command-inbox.ts
111193
111193
  function getMachineCommandConcurrencyKey(command) {
111194
- return "workingDir" in command && typeof command.workingDir === "string" ? `workspace:${command.workingDir}` : MACHINE_COMMAND_KEY;
111194
+ if ("chatroomId" in command && typeof command.chatroomId === "string" && "role" in command && typeof command.role === "string" && "workingDir" in command && typeof command.workingDir === "string") {
111195
+ return `agent:${command.chatroomId}:${command.role.toLowerCase()}:${command.workingDir}`;
111196
+ }
111197
+ return MACHINE_COMMAND_KEY;
111195
111198
  }
111196
111199
  function startMachineCommandInboxSubscriber(deps, onClaimed) {
111197
111200
  let draining = false;
@@ -135398,4 +135401,4 @@ program2.hook("preAction", async (_thisCommand, actionCommand) => {
135398
135401
  });
135399
135402
  program2.parse();
135400
135403
 
135401
- //# debugId=748906A7379D43E464756E2164756E21
135404
+ //# debugId=0D8052898F090FF564756E2164756E21