@tiflis-io/tiflis-code-workstation 0.3.1 → 0.3.2
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.js +5 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -168,11 +168,15 @@ function parseAgentAliases() {
|
|
|
168
168
|
return aliases;
|
|
169
169
|
}
|
|
170
170
|
function parseCommandString(command) {
|
|
171
|
+
let cmd = command.trim();
|
|
172
|
+
if (cmd.startsWith('"') && cmd.endsWith('"') || cmd.startsWith("'") && cmd.endsWith("'")) {
|
|
173
|
+
cmd = cmd.slice(1, -1);
|
|
174
|
+
}
|
|
171
175
|
const parts = [];
|
|
172
176
|
let current = "";
|
|
173
177
|
let inQuote = false;
|
|
174
178
|
let quoteChar = "";
|
|
175
|
-
for (const char of
|
|
179
|
+
for (const char of cmd) {
|
|
176
180
|
if (!inQuote && (char === '"' || char === "'")) {
|
|
177
181
|
inQuote = true;
|
|
178
182
|
quoteChar = char;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiflis-io/tiflis-code-workstation",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Workstation server for tiflis-code - manages agent sessions and terminal access",
|
|
5
5
|
"author": "Roman Barinov <rbarinov@gmail.com>",
|
|
6
6
|
"license": "FSL-1.1-NC",
|