@yu_robotics/remote-cli 1.6.8 → 1.6.10
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/README.md +11 -3
- package/dist/client/MessageHandler.d.ts +14 -1
- package/dist/client/MessageHandler.d.ts.map +1 -1
- package/dist/client/MessageHandler.js +405 -39
- package/dist/client/MessageHandler.js.map +1 -1
- package/dist/thread/ThreadExecutorPool.d.ts +9 -2
- package/dist/thread/ThreadExecutorPool.d.ts.map +1 -1
- package/dist/thread/ThreadExecutorPool.js +39 -2
- package/dist/thread/ThreadExecutorPool.js.map +1 -1
- package/dist/thread/ThreadManager.d.ts +5 -2
- package/dist/thread/ThreadManager.d.ts.map +1 -1
- package/dist/thread/ThreadManager.js +14 -1
- package/dist/thread/ThreadManager.js.map +1 -1
- package/dist/thread/types.d.ts +3 -0
- package/dist/thread/types.d.ts.map +1 -1
- package/dist/types/index.d.ts +13 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,12 +76,20 @@ Help me fix TypeScript errors in ~/projects/my-app
|
|
|
76
76
|
| Command | Description |
|
|
77
77
|
|---------|-------------|
|
|
78
78
|
| `/help` | Show help information |
|
|
79
|
-
| `/status` |
|
|
79
|
+
| `/status` | Show backend, model, effort, queue, and thread status |
|
|
80
|
+
| `/context` | Show current session context and queue diagnostics |
|
|
81
|
+
| `/skills` | List available skills for the active backend |
|
|
80
82
|
| `/abort` | Abort executing task in current thread |
|
|
83
|
+
| `/queue` | Inspect or manage confirmed messages waiting in thread queues |
|
|
81
84
|
| `/clear` | Clear context for this thread |
|
|
82
85
|
| `/compact` | Compress history to save tokens |
|
|
83
86
|
| `/cd <dir>` | Change working directory for this thread |
|
|
84
|
-
| `/
|
|
87
|
+
| `/model [name]` | List models for the active backend or set this thread's model |
|
|
88
|
+
| `/effort [auto|low|medium|high]` | Show or set Codex/AGY reasoning effort |
|
|
89
|
+
| `/backend` | List backends and show the current thread's effective backend |
|
|
90
|
+
| `/backend <index>` | Switch all threads and clear per-thread backend overrides |
|
|
91
|
+
| `/backend <index> @` | Switch only the current thread |
|
|
92
|
+
| `/backend default @` | Clear the current thread override and follow the global backend |
|
|
85
93
|
| `/bind <码>` | Bind a new device |
|
|
86
94
|
| `/unbind` | Unbind all devices |
|
|
87
95
|
| `/device` | List and switch between bound devices |
|
|
@@ -99,7 +107,7 @@ Help me fix TypeScript errors in ~/projects/my-app
|
|
|
99
107
|
|
|
100
108
|
### AI CLI Commands Passthrough
|
|
101
109
|
|
|
102
|
-
All commands/skills supported by local Claude Code or Gemini CLI are passed through directly
|
|
110
|
+
All commands/skills supported by local Claude Code or Gemini CLI are passed through directly where the backend protocol supports them. The built-in `/status`, `/context`, and `/skills` commands provide a consistent remote view across backends.
|
|
103
111
|
- `/commit` - Commit code changes
|
|
104
112
|
- `/review` - Code review
|
|
105
113
|
- `/test` - Run tests
|
|
@@ -29,6 +29,10 @@ export declare class MessageHandler {
|
|
|
29
29
|
private notificationAdapter;
|
|
30
30
|
private machineCommands;
|
|
31
31
|
private pendingReplaces;
|
|
32
|
+
private readonly threadQueues;
|
|
33
|
+
private readonly pendingQueueConfirmations;
|
|
34
|
+
private readonly pausedQueues;
|
|
35
|
+
private readonly messageOpenIds;
|
|
32
36
|
constructor(wsClient: WebSocketClient, threadPool: ThreadExecutorPool, threadManager: ThreadManager, directoryGuard: DirectoryGuard, config: ConfigManager);
|
|
33
37
|
/**
|
|
34
38
|
* Handle message (supports new IncomingMessage format)
|
|
@@ -52,6 +56,13 @@ export declare class MessageHandler {
|
|
|
52
56
|
* Returns true if handled.
|
|
53
57
|
*/
|
|
54
58
|
private handleBuiltInCommand;
|
|
59
|
+
private createQueueConfirmation;
|
|
60
|
+
private removeExpiredQueueConfirmations;
|
|
61
|
+
private clearThreadQueue;
|
|
62
|
+
private clearAllQueues;
|
|
63
|
+
private handleQueueCommand;
|
|
64
|
+
private startNextQueuedCommand;
|
|
65
|
+
private hasThreadQueueState;
|
|
55
66
|
/**
|
|
56
67
|
* Bare /model: show the thread's current model on the active backend plus
|
|
57
68
|
* the available models. Listing source per backend (all verified live):
|
|
@@ -99,8 +110,9 @@ export declare class MessageHandler {
|
|
|
99
110
|
* its own --print invocation").
|
|
100
111
|
*/
|
|
101
112
|
private static readonly AGY_PASSTHROUGH_COMMANDS;
|
|
113
|
+
private listLocalSkills;
|
|
102
114
|
/**
|
|
103
|
-
* Which backend slash commands should be forwarded to
|
|
115
|
+
* Which backend slash commands should be forwarded to for a thread.
|
|
104
116
|
* 'auto'/claude-* always resolve to Claude; legacy 'gemini' means AGY.
|
|
105
117
|
*/
|
|
106
118
|
private resolveSlashBackend;
|
|
@@ -127,6 +139,7 @@ export declare class MessageHandler {
|
|
|
127
139
|
private executeCommand;
|
|
128
140
|
private clearInvalidCodexModel;
|
|
129
141
|
private isUnavailableCodexModelError;
|
|
142
|
+
private getMessageOpenId;
|
|
130
143
|
private sendStreamChunk;
|
|
131
144
|
private sendToolUse;
|
|
132
145
|
private sendToolResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageHandler.d.ts","sourceRoot":"","sources":["../../src/client/MessageHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"MessageHandler.d.ts","sourceRoot":"","sources":["../../src/client/MessageHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAsG,MAAM,UAAU,CAAC;AAC/I,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC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