@picassohq/cli 1.0.8 → 1.0.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 +4 -0
- package/dist/build-info.json +1 -1
- package/dist/index.js +1662 -1475
- package/package.json +1 -1
- package/runtime/dsh/picasso-providers.patch.yml +49 -61
- package/runtime/dsh/picasso-runtime.cordis.yml +49 -61
- package/runtime/engine-manifest.json +6 -6
- package/runtime/packages/picasso-browser/cordis.patch.yml +4 -0
- package/runtime/packages/picasso-browser/index.js +915 -0
- package/runtime/packages/picasso-browser/package.json +29 -0
- package/runtime/packages/picasso-commands/index.js +51 -1
- package/runtime/packages/picasso-lean-context/index.js +37 -7
- package/runtime/packages/picasso-model-router/connections.js +1 -1
- package/runtime/packages/picasso-progress-reports/index.js +121 -3
- package/runtime/packages/picasso-sdk-server/browser-host.js +94 -0
- package/runtime/packages/picasso-sdk-server/index.js +23 -3
- package/runtime/plugins/picasso-browser/index.js +319 -22
- package/runtime/plugins/picasso-browser/package.json +1 -1
- package/runtime/plugins/picasso-commands/index.js +51 -1
- package/runtime/plugins/picasso-lean-context/index.js +37 -7
- package/runtime/plugins/picasso-model-router/connections.js +1 -1
- package/runtime/plugins/picasso-progress-reports/index.js +121 -3
- package/runtime/relay/main.mjs +2974 -1157
- package/runtime/relay/remote/index.html +2 -1
- package/runtime/relay/remote/remote.css +293 -91
- package/runtime/relay/remote/remote.js +624 -77
- package/runtime/relay/versions-routes.mjs +38 -36
|
@@ -64,6 +64,8 @@ var RUNNER_ENV_KEYS = Object.freeze([
|
|
|
64
64
|
"PICASSO_MEMORY_FILE",
|
|
65
65
|
"PICASSO_HELPER_ATTACH",
|
|
66
66
|
"PICASSO_HELPER_HOST",
|
|
67
|
+
// Remote mode: pairing links on this Mac's certificate-named LAN and tailnet addresses, LAN first.
|
|
68
|
+
"PICASSO_HELPER_ADVERTISE_INTERFACES",
|
|
67
69
|
"PICASSO_HELPER_TLS_CERT",
|
|
68
70
|
"PICASSO_HELPER_TLS_KEY",
|
|
69
71
|
"DSH_TELEMETRY_MODE",
|
|
@@ -73,7 +75,37 @@ var RUNNER_ENV_KEYS = Object.freeze([
|
|
|
73
75
|
|
|
74
76
|
// ../../packages/shared-home/dist/chromium.js
|
|
75
77
|
import { existsSync as existsSync2 } from "node:fs";
|
|
78
|
+
import { dirname as dirname5, join as join6 } from "node:path";
|
|
79
|
+
|
|
80
|
+
// ../../packages/shared-home/dist/specs/settings.js
|
|
76
81
|
import { join as join5 } from "node:path";
|
|
82
|
+
var DEFAULT_PERMISSION_MODE = "auto";
|
|
83
|
+
var DEFAULT_SETTINGS_DIAGNOSTICS = Object.freeze({ crashReports: "off" });
|
|
84
|
+
var DEFAULT_PROGRESS_REPORT_INTERVAL_MINUTES = 10;
|
|
85
|
+
var DEFAULT_SETTINGS_PROGRESS_REPORTS = Object.freeze({
|
|
86
|
+
enabled: true,
|
|
87
|
+
intervalMinutes: DEFAULT_PROGRESS_REPORT_INTERVAL_MINUTES
|
|
88
|
+
});
|
|
89
|
+
var START_PAGE_CARDS = ["activity", "recent", "month", "contributions"];
|
|
90
|
+
var DEFAULT_START_PAGE = Object.freeze({
|
|
91
|
+
order: START_PAGE_CARDS,
|
|
92
|
+
hidden: [],
|
|
93
|
+
showsSuggestions: true,
|
|
94
|
+
sponsorPlacement: "belowComposer"
|
|
95
|
+
});
|
|
96
|
+
var DEFAULT_X_READER_BASE_URL = "https://mdfromx.com";
|
|
97
|
+
var DEFAULT_SETTINGS_X_READER = Object.freeze({
|
|
98
|
+
enabled: true,
|
|
99
|
+
baseUrl: DEFAULT_X_READER_BASE_URL,
|
|
100
|
+
format: "markdown"
|
|
101
|
+
});
|
|
102
|
+
var DEFAULT_SETTINGS_SYNC = Object.freeze({ cloudSessions: false, cloudMemory: false });
|
|
103
|
+
var DEFAULT_SHARED_SETTINGS = Object.freeze({
|
|
104
|
+
theme: "system",
|
|
105
|
+
permissionMode: DEFAULT_PERMISSION_MODE,
|
|
106
|
+
notificationsEnabled: true,
|
|
107
|
+
sync: DEFAULT_SETTINGS_SYNC
|
|
108
|
+
});
|
|
77
109
|
|
|
78
110
|
// ../../packages/shared-home/dist/attach-scope.js
|
|
79
111
|
import { timingSafeEqual } from "node:crypto";
|
|
@@ -124,7 +156,7 @@ var LOCAL_ATTACH_FORBIDDEN_DECISIONS = Object.freeze(["allow-always"]);
|
|
|
124
156
|
// ../../packages/shared-home/dist/account-session.js
|
|
125
157
|
import { execFile } from "node:child_process";
|
|
126
158
|
import { access, readFile as readFile6, unlink } from "node:fs/promises";
|
|
127
|
-
import { join as
|
|
159
|
+
import { join as join7 } from "node:path";
|
|
128
160
|
var KEYCHAIN_COMMAND_TIMEOUT_MS = 1e4;
|
|
129
161
|
var KEYCHAIN_TIMEOUT_EXIT_CODE = 124;
|
|
130
162
|
function createSecurityRunner(timeoutMs = KEYCHAIN_COMMAND_TIMEOUT_MS) {
|
|
@@ -157,36 +189,6 @@ function createSecurityRunner(timeoutMs = KEYCHAIN_COMMAND_TIMEOUT_MS) {
|
|
|
157
189
|
}
|
|
158
190
|
var defaultRunner = createSecurityRunner();
|
|
159
191
|
|
|
160
|
-
// ../../packages/shared-home/dist/specs/settings.js
|
|
161
|
-
import { join as join7 } from "node:path";
|
|
162
|
-
var DEFAULT_PERMISSION_MODE = "auto";
|
|
163
|
-
var DEFAULT_SETTINGS_DIAGNOSTICS = Object.freeze({ crashReports: "off" });
|
|
164
|
-
var DEFAULT_PROGRESS_REPORT_INTERVAL_MINUTES = 10;
|
|
165
|
-
var DEFAULT_SETTINGS_PROGRESS_REPORTS = Object.freeze({
|
|
166
|
-
enabled: true,
|
|
167
|
-
intervalMinutes: DEFAULT_PROGRESS_REPORT_INTERVAL_MINUTES
|
|
168
|
-
});
|
|
169
|
-
var START_PAGE_CARDS = ["activity", "recent", "month", "contributions"];
|
|
170
|
-
var DEFAULT_START_PAGE = Object.freeze({
|
|
171
|
-
order: START_PAGE_CARDS,
|
|
172
|
-
hidden: [],
|
|
173
|
-
showsSuggestions: true,
|
|
174
|
-
sponsorPlacement: "belowComposer"
|
|
175
|
-
});
|
|
176
|
-
var DEFAULT_X_READER_BASE_URL = "https://mdfromx.com";
|
|
177
|
-
var DEFAULT_SETTINGS_X_READER = Object.freeze({
|
|
178
|
-
enabled: true,
|
|
179
|
-
baseUrl: DEFAULT_X_READER_BASE_URL,
|
|
180
|
-
format: "markdown"
|
|
181
|
-
});
|
|
182
|
-
var DEFAULT_SETTINGS_SYNC = Object.freeze({ cloudSessions: false, cloudMemory: false });
|
|
183
|
-
var DEFAULT_SHARED_SETTINGS = Object.freeze({
|
|
184
|
-
theme: "system",
|
|
185
|
-
permissionMode: DEFAULT_PERMISSION_MODE,
|
|
186
|
-
notificationsEnabled: true,
|
|
187
|
-
sync: DEFAULT_SETTINGS_SYNC
|
|
188
|
-
});
|
|
189
|
-
|
|
190
192
|
// ../../packages/shared-home/dist/specs/projects.js
|
|
191
193
|
import { join as join8 } from "node:path";
|
|
192
194
|
|
|
@@ -552,11 +554,11 @@ import { join as join16 } from "node:path";
|
|
|
552
554
|
import { execFile as execFile2 } from "node:child_process";
|
|
553
555
|
import { existsSync as existsSync3, realpathSync, statSync } from "node:fs";
|
|
554
556
|
import { homedir as homedir2 } from "node:os";
|
|
555
|
-
import { basename as basename2, dirname as
|
|
557
|
+
import { basename as basename2, dirname as dirname6, isAbsolute, join as join17, resolve as resolve2, sep } from "node:path";
|
|
556
558
|
|
|
557
559
|
// ../../packages/shared-home/dist/memory-guard.js
|
|
558
560
|
import { appendFileSync, mkdirSync as mkdirSync3 } from "node:fs";
|
|
559
|
-
import { dirname as
|
|
561
|
+
import { dirname as dirname7, join as join18 } from "node:path";
|
|
560
562
|
import { getHeapStatistics } from "node:v8";
|
|
561
563
|
var GiB = 1024 * 1024 * 1024;
|
|
562
564
|
var MEMORY_HIGH_BYTES = 6 * GiB;
|
|
@@ -564,7 +566,7 @@ var MEMORY_CRITICAL_BYTES = 16 * GiB;
|
|
|
564
566
|
|
|
565
567
|
// ../../packages/shared-home/dist/route-listings.js
|
|
566
568
|
import { mkdirSync as mkdirSync4, readFileSync as readFileSync5, renameSync as renameSync3, writeFileSync as writeFileSync3 } from "node:fs";
|
|
567
|
-
import { dirname as
|
|
569
|
+
import { dirname as dirname8, join as join19 } from "node:path";
|
|
568
570
|
|
|
569
571
|
// ../../packages/shared-home/dist/model-id-migration.js
|
|
570
572
|
import { copyFileSync, existsSync as existsSync4, readFileSync as readFileSync6 } from "node:fs";
|
|
@@ -580,7 +582,7 @@ import { readFileSync as readFileSync8 } from "node:fs";
|
|
|
580
582
|
|
|
581
583
|
// ../../packages/shared-home/dist/project-models.js
|
|
582
584
|
import { mkdirSync as mkdirSync5, readFileSync as readFileSync9, realpathSync as realpathSync2, renameSync as renameSync4, statSync as statSync2, writeFileSync as writeFileSync4 } from "node:fs";
|
|
583
|
-
import { dirname as
|
|
585
|
+
import { dirname as dirname9, isAbsolute as isAbsolute2, join as join22, resolve as resolve3 } from "node:path";
|
|
584
586
|
|
|
585
587
|
// ../../packages/shared-home/dist/plugins.js
|
|
586
588
|
import { existsSync as existsSync6, readdirSync as readdirSync4, readFileSync as readFileSync10, statSync as statSync3 } from "node:fs";
|
|
@@ -1258,7 +1260,7 @@ import { resolve as resolve5 } from "node:path";
|
|
|
1258
1260
|
// ../../packages/sessions/dist/dsh-log-diagnostics.js
|
|
1259
1261
|
import { createHash } from "node:crypto";
|
|
1260
1262
|
import { existsSync as existsSync8, readFileSync as readFileSync13, statSync as statSync5 } from "node:fs";
|
|
1261
|
-
import { basename as basename4, dirname as
|
|
1263
|
+
import { basename as basename4, dirname as dirname10, join as join27 } from "node:path";
|
|
1262
1264
|
|
|
1263
1265
|
// ../../packages/sessions/dist/sharing.js
|
|
1264
1266
|
import { createHash as createHash2 } from "node:crypto";
|