@dench.com/cli 3.11.38-staging.836 → 3.11.40-staging.861
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/app-sdk.d.ts
CHANGED
|
@@ -3560,7 +3560,7 @@ export interface ApiRequests {
|
|
|
3560
3560
|
account?: string;
|
|
3561
3561
|
model?: string;
|
|
3562
3562
|
};
|
|
3563
|
-
/** Run an external tool action. SLACK_* slugs (SLACK_SEND_MESSAGE with Block Kit blocks/buttons, SLACK_FETCH_HISTORY, SLACK_LIST_CHANNELS, …) run through Dench's in-house Slack app install — any channel in the connected workspace — and are always preferred over any third-party Slack connection. — `dench tool run` — POST /api/v1/tools/run */
|
|
3563
|
+
/** Run an external tool action. SLACK_* slugs (SLACK_SEND_MESSAGE with Block Kit blocks/buttons, SLACK_FETCH_HISTORY, SLACK_LIST_CHANNELS, …) run through Dench's in-house Slack app install — any channel in the connected workspace — and are always preferred over any third-party Slack connection. Slack writes (send, react, upload, edit, delete) are shared-only: they act as the shared Dench bot, so a personal CLI session or chat is refused with `slack_shared_only`; ask Dench in Slack, or create a shared Slack automation there. — `dench tool run` — POST /api/v1/tools/run */
|
|
3564
3564
|
"tool.run": {
|
|
3565
3565
|
/** Execution ref from a prior search, OR pass session_id+tool_slug. */
|
|
3566
3566
|
execution_ref?: string;
|
|
@@ -9792,7 +9792,7 @@ export type DenchApiTree = {
|
|
|
9792
9792
|
/** List human names given to connected accounts. (`dench tool labels`) */
|
|
9793
9793
|
list(args?: Req<"tool.labels.list">): Promise<Res<"tool.labels.list">>;
|
|
9794
9794
|
};
|
|
9795
|
-
/** Run an external tool action. SLACK_* slugs (SLACK_SEND_MESSAGE with Block Kit blocks/buttons, SLACK_FETCH_HISTORY, SLACK_LIST_CHANNELS, …) run through Dench's in-house Slack app install — any channel in the connected workspace — and are always preferred over any third-party Slack connection. (`dench tool run`) */
|
|
9795
|
+
/** Run an external tool action. SLACK_* slugs (SLACK_SEND_MESSAGE with Block Kit blocks/buttons, SLACK_FETCH_HISTORY, SLACK_LIST_CHANNELS, …) run through Dench's in-house Slack app install — any channel in the connected workspace — and are always preferred over any third-party Slack connection. Slack writes (send, react, upload, edit, delete) are shared-only: they act as the shared Dench bot, so a personal CLI session or chat is refused with `slack_shared_only`; ask Dench in Slack, or create a shared Slack automation there. (`dench tool run`) */
|
|
9796
9796
|
run(args: Req<"tool.run">): Promise<Res<"tool.run">>;
|
|
9797
9797
|
/** Search for external tool actions. (`dench tool search`) */
|
|
9798
9798
|
search(args: Req<"tool.search">): Promise<Res<"tool.search">>;
|
|
@@ -476,7 +476,7 @@ export const APP_SDK_OPERATIONS: readonly AppSdkOperationInfo[] = [
|
|
|
476
476
|
{"id":"tool.status","group":"gateway","summary":"List connected tool accounts.","cli":"dench tool status","method":"GET","path":"/tools/status","permission":"integrations:read","pathParams":[]},
|
|
477
477
|
{"id":"tool.connect","group":"gateway","summary":"Create a tool OAuth connection link. Slack is in-house, never a third-party connection: for toolkit slack the CLI prints the first-party install URL (/api/slack/install?slug=<workspace>, org admin) instead of calling this endpoint.","cli":"dench tool connect","method":"POST","path":"/tools/connections","permission":"integrations:write","pathParams":[]},
|
|
478
478
|
{"id":"tool.search","group":"gateway","summary":"Search for external tool actions.","cli":"dench tool search","method":"POST","path":"/tools/search","permission":"integrations:read","pathParams":[]},
|
|
479
|
-
{"id":"tool.run","group":"gateway","summary":"Run an external tool action. SLACK_* slugs (SLACK_SEND_MESSAGE with Block Kit blocks/buttons, SLACK_FETCH_HISTORY, SLACK_LIST_CHANNELS, …) run through Dench's in-house Slack app install — any channel in the connected workspace — and are always preferred over any third-party Slack connection.","cli":"dench tool run","method":"POST","path":"/tools/run","permission":"integrations:write","pathParams":[]},
|
|
479
|
+
{"id":"tool.run","group":"gateway","summary":"Run an external tool action. SLACK_* slugs (SLACK_SEND_MESSAGE with Block Kit blocks/buttons, SLACK_FETCH_HISTORY, SLACK_LIST_CHANNELS, …) run through Dench's in-house Slack app install — any channel in the connected workspace — and are always preferred over any third-party Slack connection. Slack writes (send, react, upload, edit, delete) are shared-only: they act as the shared Dench bot, so a personal CLI session or chat is refused with `slack_shared_only`; ask Dench in Slack, or create a shared Slack automation there.","cli":"dench tool run","method":"POST","path":"/tools/run","permission":"integrations:write","pathParams":[]},
|
|
480
480
|
{"id":"tool.disconnect","group":"gateway","summary":"Disconnect an external tool account.","cli":"dench tool disconnect","method":"DELETE","path":"/tools/connections/{connectionId}","permission":"integrations:write","pathParams":["connectionId"]},
|
|
481
481
|
{"id":"tool.labels.list","group":"gateway","summary":"List human names given to connected accounts.","cli":"dench tool labels","method":"GET","path":"/tools/labels","permission":"integrations:read","pathParams":[]},
|
|
482
482
|
{"id":"tool.label.set","group":"gateway","summary":"Name a connected account, or clear its name with an empty string.","cli":"dench tool label","method":"PUT","path":"/tools/connections/{connectionId}/label","permission":"integrations:write","pathParams":["connectionId"]},
|
package/lib/command-registry.ts
CHANGED
|
@@ -5469,7 +5469,11 @@ const rawApiOperations = [
|
|
|
5469
5469
|
"with Block Kit blocks/buttons, SLACK_FETCH_HISTORY, " +
|
|
5470
5470
|
"SLACK_LIST_CHANNELS, …) run through Dench's in-house Slack app " +
|
|
5471
5471
|
"install — any channel in the connected workspace — and are always " +
|
|
5472
|
-
"preferred over any third-party Slack connection."
|
|
5472
|
+
"preferred over any third-party Slack connection. Slack writes (send, " +
|
|
5473
|
+
"react, upload, edit, delete) are shared-only: they act as the shared " +
|
|
5474
|
+
"Dench bot, so a personal CLI session or chat is refused with " +
|
|
5475
|
+
"`slack_shared_only`; ask Dench in Slack, or create a shared Slack " +
|
|
5476
|
+
"automation there.",
|
|
5473
5477
|
cli: "dench tool run",
|
|
5474
5478
|
method: "POST",
|
|
5475
5479
|
path: "/tools/run",
|