@probelabs/visor 0.1.154-ee → 0.1.155-ee
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-main.d.ts.map +1 -1
- package/dist/index.js +364 -108
- package/dist/sdk/{check-provider-registry-PZ6K7G4G.mjs → check-provider-registry-OBUYAPPC.mjs} +2 -2
- package/dist/sdk/{chunk-LIRIQICI.mjs → chunk-2XSKH755.mjs} +8 -8
- package/dist/sdk/{host-7Y25DDOR.mjs → host-MIHKJ63G.mjs} +2 -2
- package/dist/sdk/{schedule-tool-KZ36XTW4.mjs → schedule-tool-M2H7O5WL.mjs} +2 -2
- package/dist/sdk/{schedule-tool-handler-2V4EJEQT.mjs → schedule-tool-handler-J3CJWB6A.mjs} +2 -2
- package/dist/sdk/sdk.js +21 -0
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +1 -1
- package/dist/sdk/slack-frontend-6KDUMDDI.mjs +896 -0
- package/dist/sdk/slack-frontend-6KDUMDDI.mjs.map +1 -0
- package/dist/sdk/{workflow-check-provider-TXAEY7OU.mjs → workflow-check-provider-7RLM3T2I.mjs} +2 -2
- package/dist/slack/client.d.ts +9 -0
- package/dist/slack/client.d.ts.map +1 -1
- package/dist/slack/socket-runner.d.ts +27 -0
- package/dist/slack/socket-runner.d.ts.map +1 -1
- package/package.json +1 -1
- /package/dist/sdk/{check-provider-registry-PZ6K7G4G.mjs.map → check-provider-registry-OBUYAPPC.mjs.map} +0 -0
- /package/dist/sdk/{chunk-LIRIQICI.mjs.map → chunk-2XSKH755.mjs.map} +0 -0
- /package/dist/sdk/{host-7Y25DDOR.mjs.map → host-MIHKJ63G.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-KZ36XTW4.mjs.map → schedule-tool-M2H7O5WL.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-2V4EJEQT.mjs.map → schedule-tool-handler-J3CJWB6A.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-TXAEY7OU.mjs.map → workflow-check-provider-7RLM3T2I.mjs.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
handleScheduleAction,
|
|
5
5
|
init_schedule_tool,
|
|
6
6
|
isScheduleTool
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2XSKH755.mjs";
|
|
8
8
|
import "./chunk-KFKHU6CM.mjs";
|
|
9
9
|
import "./chunk-M3BYMES6.mjs";
|
|
10
10
|
import "./chunk-LG4AUKHB.mjs";
|
|
@@ -32,4 +32,4 @@ export {
|
|
|
32
32
|
handleScheduleAction,
|
|
33
33
|
isScheduleTool
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=schedule-tool-
|
|
35
|
+
//# sourceMappingURL=schedule-tool-M2H7O5WL.mjs.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
extractSlackContext,
|
|
7
7
|
init_schedule_tool_handler,
|
|
8
8
|
isScheduleToolCall
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2XSKH755.mjs";
|
|
10
10
|
import "./chunk-KFKHU6CM.mjs";
|
|
11
11
|
import "./chunk-M3BYMES6.mjs";
|
|
12
12
|
import "./chunk-LG4AUKHB.mjs";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
extractSlackContext,
|
|
37
37
|
isScheduleToolCall
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=schedule-tool-handler-
|
|
39
|
+
//# sourceMappingURL=schedule-tool-handler-J3CJWB6A.mjs.map
|
package/dist/sdk/sdk.js
CHANGED
|
@@ -57865,6 +57865,27 @@ var init_client = __esm({
|
|
|
57865
57865
|
}
|
|
57866
57866
|
}
|
|
57867
57867
|
};
|
|
57868
|
+
views = {
|
|
57869
|
+
publish: async ({
|
|
57870
|
+
user_id,
|
|
57871
|
+
view
|
|
57872
|
+
}) => {
|
|
57873
|
+
try {
|
|
57874
|
+
const resp = await this.api("views.publish", { user_id, view });
|
|
57875
|
+
if (!resp || resp.ok !== true) {
|
|
57876
|
+
const err = resp && resp.error || "unknown_error";
|
|
57877
|
+
console.warn(`Slack views.publish failed (non-fatal): ${err}`);
|
|
57878
|
+
return { ok: false, error: err };
|
|
57879
|
+
}
|
|
57880
|
+
return { ok: true };
|
|
57881
|
+
} catch (e) {
|
|
57882
|
+
console.warn(
|
|
57883
|
+
`Slack views.publish threw (non-fatal): ${e instanceof Error ? e.message : String(e)}`
|
|
57884
|
+
);
|
|
57885
|
+
return { ok: false, error: e instanceof Error ? e.message : String(e) };
|
|
57886
|
+
}
|
|
57887
|
+
}
|
|
57888
|
+
};
|
|
57868
57889
|
getWebClient() {
|
|
57869
57890
|
return {
|
|
57870
57891
|
conversations: {
|