upfynai-code 2.7.2 → 2.7.3
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/package.json +1 -1
- package/src/connect.js +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "upfynai-code",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.3",
|
|
4
4
|
"description": "Unified AI coding interface — access AI chat, terminal, file explorer, git, and visual canvas from any browser. Connect your local machine and code from anywhere.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/src/connect.js
CHANGED
|
@@ -259,7 +259,6 @@ async function handleRelayCommand(data, ws) {
|
|
|
259
259
|
|
|
260
260
|
// Stream-JSON mode for real-time token streaming (opencode pattern)
|
|
261
261
|
const args = ['-p', '--output-format', 'stream-json', '--include-partial-messages'];
|
|
262
|
-
if (options?.projectPath) args.push('--cwd', options.projectPath);
|
|
263
262
|
if (options?.sessionId) args.push('--continue', options.sessionId);
|
|
264
263
|
|
|
265
264
|
const proc = spawn('claude', [...args, command || ''], {
|
|
@@ -500,7 +499,6 @@ async function handleRelayCommand(data, ws) {
|
|
|
500
499
|
const taskArgs = ['-p', '--output-format', 'stream-json', '--include-partial-messages'];
|
|
501
500
|
// Sub-agents are read-only: use --allowedTools to restrict
|
|
502
501
|
taskArgs.push('--allowedTools', 'View,Glob,Grep,LS,Read');
|
|
503
|
-
if (taskOpts?.projectPath) taskArgs.push('--cwd', taskOpts.projectPath);
|
|
504
502
|
// Sub-agents always start fresh (no --continue)
|
|
505
503
|
|
|
506
504
|
const taskProc = spawn('claude', [...taskArgs, taskCmd || ''], {
|