@cabane/companion 0.6.195 → 0.6.196
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/cli.js +1 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -11376,7 +11376,6 @@ import { join as join7 } from "path";
|
|
|
11376
11376
|
// src/device-state.ts
|
|
11377
11377
|
var DEVICE_STATES = ["waiting", "online", "offline", "deactivated"];
|
|
11378
11378
|
var DEFAULT_DEVICE_OFFLINE_THRESHOLD_MS = 9e4;
|
|
11379
|
-
var DEFAULT_DEVICE_RECONNECT_GRACE_MS = 9e4;
|
|
11380
11379
|
var HARNESS_STATES = [
|
|
11381
11380
|
"checking",
|
|
11382
11381
|
"connected",
|
|
@@ -16380,7 +16379,7 @@ function defaultSpawnDetached(args) {
|
|
|
16380
16379
|
// src/terminal-copy.ts
|
|
16381
16380
|
init_cabane_command();
|
|
16382
16381
|
var UNPAIRED = "This device isn't paired yet. Get a setup line from a workspace's Settings \u2192 Devices and paste it here.";
|
|
16383
|
-
var lease = DEFAULT_DEVICE_OFFLINE_THRESHOLD_MS
|
|
16382
|
+
var lease = DEFAULT_DEVICE_OFFLINE_THRESHOLD_MS;
|
|
16384
16383
|
function age(at, now) {
|
|
16385
16384
|
const seconds = Math.max(0, Math.floor((now - Date.parse(at)) / 1e3));
|
|
16386
16385
|
return seconds < 60 ? `${seconds}s` : seconds < 3600 ? `${Math.floor(seconds / 60)}m` : `${Math.floor(seconds / 3600)}h`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabane/companion",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.196",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The Cabane Companion (headless): connect an agent on your machine to your Cabane workspace as a responder — drive work against your own codebase, files, and MCP servers without putting any of it in Cabane.",
|
|
6
6
|
"license": "UNLICENSED",
|