claude-remote-cli 2.12.0 → 2.13.0
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/frontend/index.html
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
12
12
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
13
13
|
<meta name="theme-color" content="#1a1a1a" />
|
|
14
|
-
<script type="module" crossorigin src="/assets/index-
|
|
14
|
+
<script type="module" crossorigin src="/assets/index-YKIeThK-.js"></script>
|
|
15
15
|
<link rel="stylesheet" crossorigin href="/assets/index-nIPDa7NP.css">
|
|
16
16
|
</head>
|
|
17
17
|
<body>
|
package/dist/server/sessions.js
CHANGED
|
@@ -24,7 +24,13 @@ function generateTmuxSessionName(displayName, id) {
|
|
|
24
24
|
function resolveTmuxSpawn(command, args, tmuxSessionName) {
|
|
25
25
|
return {
|
|
26
26
|
command: 'tmux',
|
|
27
|
-
args: [
|
|
27
|
+
args: [
|
|
28
|
+
'-u', 'new-session', '-s', tmuxSessionName, '--', command, ...args,
|
|
29
|
+
// ';' tokens are tmux command separators — parsed at the top level before
|
|
30
|
+
// dispatching to new-session, not passed as argv to `command`.
|
|
31
|
+
';', 'set', 'set-clipboard', 'on',
|
|
32
|
+
';', 'set', 'allow-passthrough', 'on',
|
|
33
|
+
],
|
|
28
34
|
};
|
|
29
35
|
}
|
|
30
36
|
// In-memory registry: id -> Session
|
|
@@ -269,7 +269,11 @@ describe('sessions', () => {
|
|
|
269
269
|
const result = resolveTmuxSpawn('claude', ['--continue'], 'test-session');
|
|
270
270
|
assert.deepStrictEqual(result, {
|
|
271
271
|
command: 'tmux',
|
|
272
|
-
args: [
|
|
272
|
+
args: [
|
|
273
|
+
'-u', 'new-session', '-s', 'test-session', '--', 'claude', '--continue',
|
|
274
|
+
';', 'set', 'set-clipboard', 'on',
|
|
275
|
+
';', 'set', 'allow-passthrough', 'on',
|
|
276
|
+
],
|
|
273
277
|
});
|
|
274
278
|
});
|
|
275
279
|
it('generateTmuxSessionName has crc- prefix', () => {
|