linkshell-cli 0.3.0 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkshell-cli",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Remote terminal bridge for Claude Code / Codex / Gemini / Copilot — control from your phone",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -34,9 +34,9 @@
34
34
  "node-pty": "^1.0.0",
35
35
  "qrcode-terminal": "^0.12.0",
36
36
  "ws": "^8.18.1",
37
- "zod": "^3.24.3",
38
- "@linkshell/protocol": "0.3.0",
39
- "@linkshell/gateway": "0.3.0"
37
+ "zod": "^4.4.3",
38
+ "@linkshell/gateway": "0.3.1",
39
+ "@linkshell/protocol": "0.3.1"
40
40
  },
41
41
  "optionalDependencies": {
42
42
  "@anthropic-ai/claude-agent-sdk": "^0.2.128",
@@ -1,62 +0,0 @@
1
- import { type Envelope } from "@linkshell/protocol";
2
- import type { AgentProvider } from "./provider-resolver.js";
3
- export declare class AgentSessionProxy {
4
- private readonly input;
5
- private client;
6
- private activeProvider;
7
- private activeProtocol;
8
- private agentSessionId;
9
- private status;
10
- private error;
11
- private initialized;
12
- private currentTurnId;
13
- private messages;
14
- private toolCalls;
15
- private toolOutputBuffers;
16
- private plan;
17
- private planDeltaBuffers;
18
- private pendingPermissions;
19
- private permissionWaiters;
20
- private permissionSources;
21
- constructor(input: {
22
- hostDeviceId: string;
23
- cwd: string;
24
- availableProviders: AgentProvider[];
25
- command?: string;
26
- send: (envelope: Envelope) => void;
27
- verbose?: boolean;
28
- });
29
- handleEnvelope(envelope: Envelope): Promise<void>;
30
- stop(): void;
31
- private initialize;
32
- private tryStartFirstAvailable;
33
- private ensureClient;
34
- private ensureSession;
35
- private sendPrompt;
36
- private handleRequest;
37
- private sendSessionList;
38
- private handleNotification;
39
- private handlePermission;
40
- private handleAgentMessageDelta;
41
- private handlePlanUpdated;
42
- private handlePlanDelta;
43
- private handleItemStarted;
44
- private handleItemCompleted;
45
- private handleToolDelta;
46
- private handleFilePatchUpdated;
47
- private handleTurnDiffUpdated;
48
- private handleCommandExecDelta;
49
- private handleCompletedMessageItem;
50
- private toolCallFromItem;
51
- private handleUpdate;
52
- private handleExit;
53
- private cancelPendingPermissions;
54
- private upsertMessage;
55
- private withToolCreatedAt;
56
- private findDuplicateFileTool;
57
- private sendCapabilities;
58
- private sendSnapshot;
59
- private sendUpdate;
60
- private extractSessionId;
61
- private extractTurnId;
62
- }