@capybara-hq/device 0.1.0-rc.2 → 0.1.0-rc.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/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/commands/login.js +1 -0
- package/package.json +2 -2
package/dist/client.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CommandLog } from "./command-log.js";
|
|
2
2
|
import type { Executor } from "./exec/types.js";
|
|
3
3
|
import type { Credential } from "./state.js";
|
|
4
|
-
export declare const OUTDATED_MESSAGE = "This capybara-device is too old for the deployment. Upgrade it: npm install -g @capybara-hq/device";
|
|
4
|
+
export declare const OUTDATED_MESSAGE = "This capybara-device is too old for the deployment. Upgrade it: npm install -g @capybara-hq/device@next";
|
|
5
5
|
export declare const DISCONNECTED_MESSAGE = "This machine was disconnected from the deployment. Run capybara-device logout, then capybara-device login.";
|
|
6
6
|
export declare const REPLACED_MESSAGE = "This machine connected elsewhere: a newer connection to this device replaced this one.";
|
|
7
7
|
export declare const DELETED_MESSAGE = "The device was deleted on the deployment. The files on this machine stay where they are.";
|
package/dist/client.js
CHANGED
|
@@ -2,7 +2,7 @@ import { DEVICE_PROTOCOL_VERSION, parseDeviceFrame, } from "@capybara-hq/plugin-
|
|
|
2
2
|
import WebSocket from "ws";
|
|
3
3
|
import { logEntryFor, runOp } from "./server-ops.js";
|
|
4
4
|
import { PROGRAM_VERSION } from "./version.js";
|
|
5
|
-
export const OUTDATED_MESSAGE = "This capybara-device is too old for the deployment. Upgrade it: npm install -g @capybara-hq/device";
|
|
5
|
+
export const OUTDATED_MESSAGE = "This capybara-device is too old for the deployment. Upgrade it: npm install -g @capybara-hq/device@next";
|
|
6
6
|
export const DISCONNECTED_MESSAGE = "This machine was disconnected from the deployment. Run capybara-device logout, then capybara-device login.";
|
|
7
7
|
export const REPLACED_MESSAGE = "This machine connected elsewhere: a newer connection to this device replaced this one.";
|
|
8
8
|
export const DELETED_MESSAGE = "The device was deleted on the deployment. The files on this machine stay where they are.";
|
package/dist/commands/login.js
CHANGED
|
@@ -98,6 +98,7 @@ export async function login(cmd, deps) {
|
|
|
98
98
|
maxFrameBytes: granted.maxFrameBytes ?? DEFAULT_MAX_FRAME_BYTES,
|
|
99
99
|
});
|
|
100
100
|
out(`Logged in. Device ${granted.deviceId}, working directory ${dir}`);
|
|
101
|
+
out("Run `capybara-device start` to bring it online (or `capybara-device service install` to connect at login).");
|
|
101
102
|
return 0;
|
|
102
103
|
}
|
|
103
104
|
catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capybara-hq/device",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.3",
|
|
4
4
|
"description": "capybara-device: connects a laptop or server to a Capybara deployment as a device",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@anthropic-ai/sandbox-runtime": "0.0.81",
|
|
36
36
|
"ws": "^8.18.0",
|
|
37
|
-
"@capybara-hq/plugin-sdk": "^0.1.0-rc.
|
|
37
|
+
"@capybara-hq/plugin-sdk": "^0.1.0-rc.14"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/ws": "^8.5.13"
|