@adhdev/daemon-core 0.9.82-rc.338 → 0.9.82-rc.339
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/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -6
- package/dist/index.mjs.map +1 -1
- package/dist/providers/contracts.d.ts +9 -0
- package/dist/shared-types.d.ts +7 -0
- package/package.json +2 -2
- package/src/providers/contracts.ts +9 -0
- package/src/providers/provider-loader.ts +8 -0
- package/src/shared-types.ts +7 -0
package/dist/index.js
CHANGED
|
@@ -316,10 +316,10 @@ function readInjected(value) {
|
|
|
316
316
|
}
|
|
317
317
|
function getDaemonBuildInfo() {
|
|
318
318
|
if (cached) return cached;
|
|
319
|
-
const commit = readInjected(true ? "
|
|
320
|
-
const commitShort = readInjected(true ? "
|
|
321
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
322
|
-
const builtAt = readInjected(true ? "2026-06-
|
|
319
|
+
const commit = readInjected(true ? "042075899bbd2feb9c22f9ccd01990408323443d" : void 0) ?? "unknown";
|
|
320
|
+
const commitShort = readInjected(true ? "04207589" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
321
|
+
const version = readInjected(true ? "0.9.82-rc.339" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
322
|
+
const builtAt = readInjected(true ? "2026-06-20T12:40:45.079Z" : void 0);
|
|
323
323
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
324
324
|
return cached;
|
|
325
325
|
}
|
|
@@ -40042,6 +40042,7 @@ function synthesizeControlsFromControlBar(specControls) {
|
|
|
40042
40042
|
const actionType = ctl?.action?.type;
|
|
40043
40043
|
if (!id || !actionType) return;
|
|
40044
40044
|
const label = typeof ctl?.label === "string" && ctl.label.trim() ? ctl.label : id;
|
|
40045
|
+
const visibleWhenState = Array.isArray(ctl?.visible_when_state) ? ctl.visible_when_state.filter((s) => typeof s === "string") : void 0;
|
|
40045
40046
|
if (actionType === "open_picker") {
|
|
40046
40047
|
out.push({
|
|
40047
40048
|
id,
|
|
@@ -40052,7 +40053,8 @@ function synthesizeControlsFromControlBar(specControls) {
|
|
|
40052
40053
|
listScript: id,
|
|
40053
40054
|
setScript: id,
|
|
40054
40055
|
readFrom: id,
|
|
40055
|
-
order: index
|
|
40056
|
+
order: index,
|
|
40057
|
+
...visibleWhenState && visibleWhenState.length > 0 ? { visibleWhenState } : {}
|
|
40056
40058
|
});
|
|
40057
40059
|
} else if (actionType === "send_keys") {
|
|
40058
40060
|
out.push({
|
|
@@ -40062,7 +40064,8 @@ function synthesizeControlsFromControlBar(specControls) {
|
|
|
40062
40064
|
placement: "bar",
|
|
40063
40065
|
invokeScript: id,
|
|
40064
40066
|
resultDisplay: "none",
|
|
40065
|
-
order: index
|
|
40067
|
+
order: index,
|
|
40068
|
+
...visibleWhenState && visibleWhenState.length > 0 ? { visibleWhenState } : {}
|
|
40066
40069
|
});
|
|
40067
40070
|
}
|
|
40068
40071
|
});
|