squadrant 0.12.0 → 0.12.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 +66 -21
- package/dist/index.js.map +1 -1
- package/dist/squadrantd.js +10 -4
- package/dist/squadrantd.js.map +1 -1
- package/package.json +1 -1
package/dist/squadrantd.js
CHANGED
|
@@ -89,14 +89,14 @@ function getDefaultConfig() {
|
|
|
89
89
|
models: {
|
|
90
90
|
command: "opus",
|
|
91
91
|
captain: "opus",
|
|
92
|
-
crew: "
|
|
92
|
+
crew: "sonnet",
|
|
93
93
|
exploration: "haiku",
|
|
94
94
|
review: "opus"
|
|
95
95
|
},
|
|
96
96
|
roles: {
|
|
97
97
|
command: { agent: "claude", model: "opus" },
|
|
98
98
|
captain: { agent: "claude", model: "opus" },
|
|
99
|
-
crew: { agent: "claude", model: "
|
|
99
|
+
crew: { agent: "claude", model: "sonnet" },
|
|
100
100
|
exploration: { agent: "claude", model: "haiku" },
|
|
101
101
|
side: { agent: "claude", model: "opus" }
|
|
102
102
|
},
|
|
@@ -4394,8 +4394,14 @@ function createCmuxDriver() {
|
|
|
4394
4394
|
}
|
|
4395
4395
|
},
|
|
4396
4396
|
async sendToPane(pane, message) {
|
|
4397
|
-
await
|
|
4398
|
-
await
|
|
4397
|
+
await this.pasteToPane(pane, message);
|
|
4398
|
+
await this.sendKeyToPane(pane, "Enter");
|
|
4399
|
+
},
|
|
4400
|
+
async pasteToPane(pane, text) {
|
|
4401
|
+
await cmux(["send", "--workspace", pane.workspaceId, "--surface", pane.surfaceId, sanitizeForCmuxSend(text)]);
|
|
4402
|
+
},
|
|
4403
|
+
async sendKeyToPane(pane, key) {
|
|
4404
|
+
await cmux(["send-key", "--workspace", pane.workspaceId, "--surface", pane.surfaceId, key]);
|
|
4399
4405
|
},
|
|
4400
4406
|
async readPaneScreen(pane) {
|
|
4401
4407
|
try {
|