@agent-native/dispatch 0.7.0 → 0.8.1

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.
Files changed (235) hide show
  1. package/README.md +56 -3
  2. package/dist/actions/apply-dream-proposal.d.ts +3 -0
  3. package/dist/actions/apply-dream-proposal.d.ts.map +1 -0
  4. package/dist/actions/apply-dream-proposal.js +11 -0
  5. package/dist/actions/apply-dream-proposal.js.map +1 -0
  6. package/dist/actions/create-dream-report.d.ts +3 -0
  7. package/dist/actions/create-dream-report.d.ts.map +1 -0
  8. package/dist/actions/create-dream-report.js +67 -0
  9. package/dist/actions/create-dream-report.js.map +1 -0
  10. package/dist/actions/create-workspace-resource.js +3 -3
  11. package/dist/actions/create-workspace-resource.js.map +1 -1
  12. package/dist/actions/delete-workspace-resource.js +1 -1
  13. package/dist/actions/delete-workspace-resource.js.map +1 -1
  14. package/dist/actions/ensure-dream-job.d.ts +3 -0
  15. package/dist/actions/ensure-dream-job.d.ts.map +1 -0
  16. package/dist/actions/ensure-dream-job.js +73 -0
  17. package/dist/actions/ensure-dream-job.js.map +1 -0
  18. package/dist/actions/get-dream-settings.d.ts +3 -0
  19. package/dist/actions/get-dream-settings.d.ts.map +1 -0
  20. package/dist/actions/get-dream-settings.js +11 -0
  21. package/dist/actions/get-dream-settings.js.map +1 -0
  22. package/dist/actions/get-dream.d.ts +3 -0
  23. package/dist/actions/get-dream.d.ts.map +1 -0
  24. package/dist/actions/get-dream.js +13 -0
  25. package/dist/actions/get-dream.js.map +1 -0
  26. package/dist/actions/get-workspace-resource-effective-context.d.ts +3 -0
  27. package/dist/actions/get-workspace-resource-effective-context.d.ts.map +1 -0
  28. package/dist/actions/get-workspace-resource-effective-context.js +27 -0
  29. package/dist/actions/get-workspace-resource-effective-context.js.map +1 -0
  30. package/dist/actions/index.d.ts.map +1 -1
  31. package/dist/actions/index.js +30 -4
  32. package/dist/actions/index.js.map +1 -1
  33. package/dist/actions/list-dream-candidates.d.ts +3 -0
  34. package/dist/actions/list-dream-candidates.d.ts.map +1 -0
  35. package/dist/actions/list-dream-candidates.js +68 -0
  36. package/dist/actions/list-dream-candidates.js.map +1 -0
  37. package/dist/actions/list-dreams.d.ts +3 -0
  38. package/dist/actions/list-dreams.d.ts.map +1 -0
  39. package/dist/actions/list-dreams.js +17 -0
  40. package/dist/actions/list-dreams.js.map +1 -0
  41. package/dist/actions/list-workspace-resources-for-app.d.ts +3 -0
  42. package/dist/actions/list-workspace-resources-for-app.d.ts.map +1 -0
  43. package/dist/actions/list-workspace-resources-for-app.js +12 -0
  44. package/dist/actions/list-workspace-resources-for-app.js.map +1 -0
  45. package/dist/actions/list-workspace-resources.js +1 -1
  46. package/dist/actions/list-workspace-resources.js.map +1 -1
  47. package/dist/actions/navigate.d.ts +1 -0
  48. package/dist/actions/navigate.d.ts.map +1 -1
  49. package/dist/actions/navigate.js +2 -1
  50. package/dist/actions/navigate.js.map +1 -1
  51. package/dist/actions/preview-dream-proposal.d.ts +3 -0
  52. package/dist/actions/preview-dream-proposal.d.ts.map +1 -0
  53. package/dist/actions/preview-dream-proposal.js +13 -0
  54. package/dist/actions/preview-dream-proposal.js.map +1 -0
  55. package/dist/actions/preview-workspace-resource-change.d.ts +3 -0
  56. package/dist/actions/preview-workspace-resource-change.d.ts.map +1 -0
  57. package/dist/actions/preview-workspace-resource-change.js +24 -0
  58. package/dist/actions/preview-workspace-resource-change.js.map +1 -0
  59. package/dist/actions/reject-dream-proposal.d.ts +3 -0
  60. package/dist/actions/reject-dream-proposal.d.ts.map +1 -0
  61. package/dist/actions/reject-dream-proposal.js +12 -0
  62. package/dist/actions/reject-dream-proposal.js.map +1 -0
  63. package/dist/actions/restore-starter-workspace-resources.d.ts +3 -0
  64. package/dist/actions/restore-starter-workspace-resources.d.ts.map +1 -0
  65. package/dist/actions/restore-starter-workspace-resources.js +14 -0
  66. package/dist/actions/restore-starter-workspace-resources.js.map +1 -0
  67. package/dist/actions/send-code-agent-remote-command.d.ts +3 -0
  68. package/dist/actions/send-code-agent-remote-command.d.ts.map +1 -0
  69. package/dist/actions/send-code-agent-remote-command.js +53 -0
  70. package/dist/actions/send-code-agent-remote-command.js.map +1 -0
  71. package/dist/actions/set-dream-settings.d.ts +3 -0
  72. package/dist/actions/set-dream-settings.d.ts.map +1 -0
  73. package/dist/actions/set-dream-settings.js +41 -0
  74. package/dist/actions/set-dream-settings.js.map +1 -0
  75. package/dist/actions/start-workspace-app-creation.js +1 -1
  76. package/dist/actions/start-workspace-app-creation.js.map +1 -1
  77. package/dist/actions/update-workspace-resource.js +1 -1
  78. package/dist/actions/update-workspace-resource.js.map +1 -1
  79. package/dist/actions/view-screen.d.ts.map +1 -1
  80. package/dist/actions/view-screen.js +73 -2
  81. package/dist/actions/view-screen.js.map +1 -1
  82. package/dist/components/approval-value-block.d.ts +7 -0
  83. package/dist/components/approval-value-block.d.ts.map +1 -0
  84. package/dist/components/approval-value-block.js +22 -0
  85. package/dist/components/approval-value-block.js.map +1 -0
  86. package/dist/components/create-app-popover.d.ts.map +1 -1
  87. package/dist/components/create-app-popover.js +6 -5
  88. package/dist/components/create-app-popover.js.map +1 -1
  89. package/dist/components/layout/Layout.d.ts.map +1 -1
  90. package/dist/components/layout/Layout.js +8 -1
  91. package/dist/components/layout/Layout.js.map +1 -1
  92. package/dist/components/ui/chart.d.ts +1 -1
  93. package/dist/components/workspace-app-card.d.ts.map +1 -1
  94. package/dist/components/workspace-app-card.js +25 -4
  95. package/dist/components/workspace-app-card.js.map +1 -1
  96. package/dist/components/workspace-resource-effective-stack.d.ts +11 -0
  97. package/dist/components/workspace-resource-effective-stack.d.ts.map +1 -0
  98. package/dist/components/workspace-resource-effective-stack.js +59 -0
  99. package/dist/components/workspace-resource-effective-stack.js.map +1 -0
  100. package/dist/components/workspace-resource-impact-preview.d.ts +9 -0
  101. package/dist/components/workspace-resource-impact-preview.d.ts.map +1 -0
  102. package/dist/components/workspace-resource-impact-preview.js +39 -0
  103. package/dist/components/workspace-resource-impact-preview.js.map +1 -0
  104. package/dist/db/migrations.d.ts.map +1 -1
  105. package/dist/db/migrations.js +59 -0
  106. package/dist/db/migrations.js.map +1 -1
  107. package/dist/db/schema.d.ts +714 -0
  108. package/dist/db/schema.d.ts.map +1 -1
  109. package/dist/db/schema.js +44 -2
  110. package/dist/db/schema.js.map +1 -1
  111. package/dist/hooks/use-navigation-state.d.ts +3 -0
  112. package/dist/hooks/use-navigation-state.d.ts.map +1 -1
  113. package/dist/hooks/use-navigation-state.js +23 -3
  114. package/dist/hooks/use-navigation-state.js.map +1 -1
  115. package/dist/lib/utils.d.ts +2 -1
  116. package/dist/lib/utils.d.ts.map +1 -1
  117. package/dist/lib/utils.js +5 -1
  118. package/dist/lib/utils.js.map +1 -1
  119. package/dist/routes/index.d.ts.map +1 -1
  120. package/dist/routes/index.js +1 -0
  121. package/dist/routes/index.js.map +1 -1
  122. package/dist/routes/pages/approval.d.ts.map +1 -1
  123. package/dist/routes/pages/approval.js +4 -1
  124. package/dist/routes/pages/approval.js.map +1 -1
  125. package/dist/routes/pages/approvals.js +1 -1
  126. package/dist/routes/pages/approvals.js.map +1 -1
  127. package/dist/routes/pages/dream-settings.d.ts +34 -0
  128. package/dist/routes/pages/dream-settings.d.ts.map +1 -0
  129. package/dist/routes/pages/dream-settings.js +68 -0
  130. package/dist/routes/pages/dream-settings.js.map +1 -0
  131. package/dist/routes/pages/dreams.d.ts +5 -0
  132. package/dist/routes/pages/dreams.d.ts.map +1 -0
  133. package/dist/routes/pages/dreams.js +435 -0
  134. package/dist/routes/pages/dreams.js.map +1 -0
  135. package/dist/routes/pages/workspace.d.ts.map +1 -1
  136. package/dist/routes/pages/workspace.js +187 -35
  137. package/dist/routes/pages/workspace.js.map +1 -1
  138. package/dist/server/lib/app-creation-store.d.ts.map +1 -1
  139. package/dist/server/lib/app-creation-store.js +3 -2
  140. package/dist/server/lib/app-creation-store.js.map +1 -1
  141. package/dist/server/lib/dispatch-integrations.d.ts +1 -1
  142. package/dist/server/lib/dispatch-integrations.d.ts.map +1 -1
  143. package/dist/server/lib/dispatch-integrations.js +9 -4
  144. package/dist/server/lib/dispatch-integrations.js.map +1 -1
  145. package/dist/server/lib/dispatch-remote-commands.d.ts +83 -0
  146. package/dist/server/lib/dispatch-remote-commands.d.ts.map +1 -0
  147. package/dist/server/lib/dispatch-remote-commands.js +256 -0
  148. package/dist/server/lib/dispatch-remote-commands.js.map +1 -0
  149. package/dist/server/lib/dispatch-store.d.ts +26 -0
  150. package/dist/server/lib/dispatch-store.d.ts.map +1 -1
  151. package/dist/server/lib/dispatch-store.js +17 -1
  152. package/dist/server/lib/dispatch-store.js.map +1 -1
  153. package/dist/server/lib/dreams-store.d.ts +398 -0
  154. package/dist/server/lib/dreams-store.d.ts.map +1 -0
  155. package/dist/server/lib/dreams-store.js +2330 -0
  156. package/dist/server/lib/dreams-store.js.map +1 -0
  157. package/dist/server/lib/thread-debug-store.d.ts +2 -2
  158. package/dist/server/lib/vault-store.d.ts +1 -1
  159. package/dist/server/lib/workspace-resources-store.d.ts +181 -17
  160. package/dist/server/lib/workspace-resources-store.d.ts.map +1 -1
  161. package/dist/server/lib/workspace-resources-store.js +737 -108
  162. package/dist/server/lib/workspace-resources-store.js.map +1 -1
  163. package/dist/server/plugins/agent-chat.js +1 -1
  164. package/dist/server/plugins/agent-chat.js.map +1 -1
  165. package/dist/server/plugins/integrations.js +2 -2
  166. package/dist/server/plugins/integrations.js.map +1 -1
  167. package/package.json +4 -2
  168. package/src/actions/apply-dream-proposal.ts +12 -0
  169. package/src/actions/create-dream-report.ts +76 -0
  170. package/src/actions/create-workspace-resource.ts +3 -3
  171. package/src/actions/delete-workspace-resource.ts +1 -1
  172. package/src/actions/ensure-dream-job.ts +76 -0
  173. package/src/actions/get-dream-settings.ts +12 -0
  174. package/src/actions/get-dream.ts +14 -0
  175. package/src/actions/get-workspace-resource-effective-context.ts +34 -0
  176. package/src/actions/index.spec.ts +26 -0
  177. package/src/actions/index.ts +31 -4
  178. package/src/actions/list-dream-candidates.ts +77 -0
  179. package/src/actions/list-dreams.ts +17 -0
  180. package/src/actions/list-workspace-resources-for-app.ts +13 -0
  181. package/src/actions/list-workspace-resources.ts +1 -1
  182. package/src/actions/navigate.ts +2 -1
  183. package/src/actions/preview-dream-proposal.ts +14 -0
  184. package/src/actions/preview-workspace-resource-change.ts +25 -0
  185. package/src/actions/reject-dream-proposal.ts +12 -0
  186. package/src/actions/restore-starter-workspace-resources.ts +17 -0
  187. package/src/actions/send-code-agent-remote-command.ts +59 -0
  188. package/src/actions/set-dream-settings.spec.ts +81 -0
  189. package/src/actions/set-dream-settings.ts +44 -0
  190. package/src/actions/start-workspace-app-creation.ts +1 -1
  191. package/src/actions/update-workspace-resource.ts +1 -1
  192. package/src/actions/view-screen.ts +90 -2
  193. package/src/components/approval-value-block.spec.tsx +59 -0
  194. package/src/components/approval-value-block.tsx +33 -0
  195. package/src/components/create-app-popover.tsx +6 -5
  196. package/src/components/layout/Layout.tsx +8 -0
  197. package/src/components/workspace-app-card.tsx +166 -1
  198. package/src/components/workspace-resource-effective-stack.spec.tsx +125 -0
  199. package/src/components/workspace-resource-effective-stack.tsx +141 -0
  200. package/src/components/workspace-resource-impact-preview.spec.tsx +147 -0
  201. package/src/components/workspace-resource-impact-preview.tsx +116 -0
  202. package/src/db/migrations.spec.ts +79 -0
  203. package/src/db/migrations.ts +59 -0
  204. package/src/db/schema.ts +46 -2
  205. package/src/hooks/use-navigation-state.ts +24 -5
  206. package/src/lib/utils.ts +6 -1
  207. package/src/routes/index.ts +1 -0
  208. package/src/routes/pages/approval.tsx +14 -1
  209. package/src/routes/pages/approvals.tsx +1 -1
  210. package/src/routes/pages/dream-settings.spec.ts +130 -0
  211. package/src/routes/pages/dream-settings.ts +103 -0
  212. package/src/routes/pages/dreams.tsx +1828 -0
  213. package/src/routes/pages/workspace.tsx +577 -97
  214. package/src/server/lib/app-creation-store.ts +3 -2
  215. package/src/server/lib/dispatch-integrations.ts +10 -3
  216. package/src/server/lib/dispatch-remote-commands.spec.ts +167 -0
  217. package/src/server/lib/dispatch-remote-commands.ts +375 -0
  218. package/src/server/lib/dispatch-store.ts +37 -1
  219. package/src/server/lib/dreams-store.spec.ts +1492 -0
  220. package/src/server/lib/dreams-store.ts +3168 -0
  221. package/src/server/lib/workspace-resource-approval-lifecycle.spec.ts +226 -0
  222. package/src/server/lib/workspace-resources-store.spec.ts +1106 -0
  223. package/src/server/lib/workspace-resources-store.ts +1001 -134
  224. package/src/server/plugins/agent-chat.ts +1 -1
  225. package/src/server/plugins/integrations.ts +2 -2
  226. package/dist/actions/sync-workspace-resources-to-all.d.ts +0 -3
  227. package/dist/actions/sync-workspace-resources-to-all.d.ts.map +0 -1
  228. package/dist/actions/sync-workspace-resources-to-all.js +0 -9
  229. package/dist/actions/sync-workspace-resources-to-all.js.map +0 -1
  230. package/dist/actions/sync-workspace-resources-to-app.d.ts +0 -3
  231. package/dist/actions/sync-workspace-resources-to-app.d.ts.map +0 -1
  232. package/dist/actions/sync-workspace-resources-to-app.js +0 -11
  233. package/dist/actions/sync-workspace-resources-to-app.js.map +0 -1
  234. package/src/actions/sync-workspace-resources-to-all.ts +0 -10
  235. package/src/actions/sync-workspace-resources-to-app.ts +0 -12
package/README.md CHANGED
@@ -14,6 +14,7 @@ The agent and the UI are equal citizens of the same system. Every action works b
14
14
  - **Context-aware** — The agent knows what you're looking at. Select text, hit Cmd+I, and tell it what to do.
15
15
  - **Per-user workspace** — Skills, memory, instructions, sub-agents, and MCP servers — SQL-backed, customizable per user. Claude-Code-level flexibility, SaaS-grade economics.
16
16
  - **Agents call agents** — Tag another agent from any app. They discover each other over A2A and take action across your stack.
17
+ - **Reusable integrations** — Connect a provider once in Dispatch, keep secret values in the vault, then grant apps like Brain, Analytics, Mail, and Dispatch access to the shared account metadata and credential refs.
17
18
  - **Apps that improve themselves** — Your apps get better on their own. The agent can add features, fix bugs, and refine the UI over time.
18
19
  - **Any database, any host** — Any SQL database Drizzle supports. Any hosting target Nitro supports. No lock-in.
19
20
  - **Any AI agent** — Claude Code, Codex, Gemini CLI, OpenCode, or Builder.io. Use whichever agent you prefer.
@@ -89,7 +90,7 @@ Create and edit Remotion video compositions with agent assistance.
89
90
 
90
91
  **Agent-Native Amplitude, Mixpanel**
91
92
 
92
- Connect any data source, prompt for any chart. Build reusable dashboards, not throwaway Q&A.
93
+ Connect analytics data sources, prompt for real charts, and build reusable dashboards. Shared workspace connections can provide provider credentials, while Analytics still owns metrics, source-of-truth choices, and saved analyses.
93
94
 
94
95
  </td>
95
96
  </tr>
@@ -124,7 +125,7 @@ Create and edit visual designs by prompt or by hand, with the agent as your co-d
124
125
 
125
126
  **Mission control for agent-native apps**
126
127
 
127
- Message, manage, and delegate to agents from Slack, Telegram, or the web, with routing, memory, and approvals built in.
128
+ Message, manage, and delegate to agents from Slack, Telegram, or the web. Dispatch is also the control plane for vault secrets, reusable provider connections, app grants, routing, memory, and approvals.
128
129
 
129
130
  </td>
130
131
  </tr>
@@ -140,7 +141,17 @@ Message, manage, and delegate to agents from Slack, Telegram, or the web, with r
140
141
  Generate forms from a prompt, branch logic with the agent, and own every response in your own database.
141
142
 
142
143
  </td>
143
- <td width="33%" align="center" valign="top"></td>
144
+ <td width="33%" align="center" valign="top">
145
+
146
+ **Brain**
147
+
148
+ <a href="https://agent-native.com/templates/brain"><strong>Open Brain template</strong></a>
149
+
150
+ **Company chat with cited memory**
151
+
152
+ Ask clean company chat questions backed by cited institutional memory from approved Slack, meetings, transcripts, GitHub, and webhooks. For live app-owned data, Brain can delegate to specialized agents instead of owning every connector itself.
153
+
154
+ </td>
144
155
  <td width="33%" align="center" valign="top"></td>
145
156
  </tr>
146
157
  </table>
@@ -164,6 +175,48 @@ Want a single app, no monorepo? Use `--standalone`:
164
175
  npx @agent-native/core create my-app --standalone --template mail
165
176
  ```
166
177
 
178
+ Need a coding agent workspace? `agent-native` or `agent-native code` opens an open-source Claude Code/Codex-like Code workspace with no prompt required. From there, type a task, run slash goals interactively, or call them directly from your shell:
179
+
180
+ ```bash
181
+ npx @agent-native/core@latest
182
+ npx @agent-native/core@latest "fix the failing auth tests"
183
+ npx @agent-native/core@latest code
184
+ npx @agent-native/core@latest code "fix the failing auth tests"
185
+ npx @agent-native/core@latest code exec "fix the failing auth tests"
186
+ npx @agent-native/core@latest code -p "fix the failing auth tests"
187
+ npx @agent-native/core@latest code --plan "explain the auth test failures"
188
+ npx @agent-native/core@latest code --auto "fix the failing auth tests"
189
+ npx @agent-native/core@latest code /migrate ./my-next-app --out ../migrated-app
190
+ npx @agent-native/core@latest code /migrate ./my-next-app --emit ../migration-dossier
191
+ npx @agent-native/core@latest code list
192
+ npx @agent-native/core@latest code status --last
193
+ npx @agent-native/core@latest code attach --last
194
+ npx @agent-native/core@latest code logs --last
195
+ npx @agent-native/core@latest code stop --last
196
+ npx @agent-native/core@latest code ui
197
+ npx @agent-native/core@latest code approve --last
198
+ npx @agent-native/core@latest code resume --last
199
+ npx @agent-native/core@latest code --continue "check the auth edge cases next"
200
+ npx @agent-native/core@latest code resume --last "check the auth edge cases next"
201
+ ```
202
+
203
+ Slash goals can run from the interactive shell or directly from the command line, and `agent-native code goals` shows the goals registered in your checkout. A bare prompt starts a local coding-agent session, streams work, records transcript/status/tool events, and accepts follow-up prompts; `/migrate` is one specialized capability inside that general Code workspace. Project-specific slash commands live in `.agents/commands/*.md`, so teams can add prompts such as `/release-check` or `/migrate-commerce` without changing the framework. Installed `agent-native` with no arguments launches the Code workspace; `agent-native "fix tests"` starts an Agent-Native Code task directly. Use `agent-native create` when you want to create apps or workspaces.
204
+
205
+ Working inside this repository? Use `pnpm dev:cli ...` to run the source CLI without building first, for example `pnpm dev:cli --help` or `pnpm dev:cli code goals`.
206
+
207
+ The Code workspace uses the familiar Codex/Claude-style session loop: pick a previous session, list runs, check status, attach to live output, print logs, stop work, resume with context, open the local UI, and continue the same run from Desktop or CLI. The Desktop Code tab, `agent-native code ui`, background sessions, and sub-agent sessions all converge on the shared run harness/controller model instead of separate ad hoc runners. The primary modes are intentionally simple:
208
+
209
+ - **Plan mode** (`--plan`) inspects, explains, and proposes without writing files.
210
+ - **Auto mode** (`--auto`, default) edits files, runs checks, and only pauses for genuinely destructive file, git, publish, or data operations.
211
+
212
+ `agent-native migrate` still works as a direct shortcut; `code /migrate` is the Agent-Native Code entrypoint for the migration goal. By default it creates an Agent-Native Code session and portable migration dossier, not a scaffolded app/template. `resume --last` reopens the latest run handoff; adding a quoted prompt records it as a follow-up transcript event for that run so the next active coding agent can pick it up. If a high-risk command is paused for approval, `code approve --last` runs that one pending command and then points you back to resume the session. Use `--app-surface` only when you want the legacy hidden migration detail app for assessment, approval, tasks, artifacts, and verification.
213
+ Use `--emit` when you want only the portable dossier for Codex, Claude Code, Cursor, or another coding agent.
214
+ Agent-Native Code also includes lightweight goals such as `/audit`:
215
+
216
+ ```bash
217
+ npx @agent-native/core@latest code /audit --url https://example.com
218
+ ```
219
+
167
220
  ## Workspaces (Monorepo)
168
221
 
169
222
  A workspace is the default shape of an agent-native project. Every app sits under `apps/`, and `packages/shared/` is available for the small amount of code, instructions, skills, or branding that should truly apply to every app.
@@ -0,0 +1,3 @@
1
+ declare const _default: any;
2
+ export default _default;
3
+ //# sourceMappingURL=apply-dream-proposal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apply-dream-proposal.d.ts","sourceRoot":"","sources":["../../src/actions/apply-dream-proposal.ts"],"names":[],"mappings":";AAIA,wBAOG"}
@@ -0,0 +1,11 @@
1
+ import { defineAction } from "@agent-native/core";
2
+ import { z } from "zod";
3
+ import { applyDreamProposal } from "../server/lib/dreams-store.js";
4
+ export default defineAction({
5
+ description: "Apply one pending Dispatch dream proposal. Personal memory applies directly; shared LEARNINGS.md and workspace resource proposals queue an approval request when approval policy is enabled.",
6
+ schema: z.object({
7
+ id: z.string().min(1).describe("Dream proposal id."),
8
+ }),
9
+ run: async ({ id }) => applyDreamProposal(id),
10
+ });
11
+ //# sourceMappingURL=apply-dream-proposal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apply-dream-proposal.js","sourceRoot":"","sources":["../../src/actions/apply-dream-proposal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,eAAe,YAAY,CAAC;IAC1B,WAAW,EACT,8LAA8L;IAChM,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,oBAAoB,CAAC;KACrD,CAAC;IACF,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC;CAC9C,CAAC,CAAC","sourcesContent":["import { defineAction } from \"@agent-native/core\";\nimport { z } from \"zod\";\nimport { applyDreamProposal } from \"../server/lib/dreams-store.js\";\n\nexport default defineAction({\n description:\n \"Apply one pending Dispatch dream proposal. Personal memory applies directly; shared LEARNINGS.md and workspace resource proposals queue an approval request when approval policy is enabled.\",\n schema: z.object({\n id: z.string().min(1).describe(\"Dream proposal id.\"),\n }),\n run: async ({ id }) => applyDreamProposal(id),\n});\n"]}
@@ -0,0 +1,3 @@
1
+ declare const _default: any;
2
+ export default _default;
3
+ //# sourceMappingURL=create-dream-report.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-dream-report.d.ts","sourceRoot":"","sources":["../../src/actions/create-dream-report.ts"],"names":[],"mappings":";AAIA,wBAuEG"}
@@ -0,0 +1,67 @@
1
+ import { defineAction } from "@agent-native/core";
2
+ import { z } from "zod";
3
+ import { createDreamReport } from "../server/lib/dreams-store.js";
4
+ export default defineAction({
5
+ description: "Create a Dispatch dream report from existing thread-debug records and produce pending, evidence-backed memory proposals without calling an LLM.",
6
+ schema: z.object({
7
+ sourceId: z
8
+ .string()
9
+ .default("current")
10
+ .describe("Thread debug source id from list-agent-thread-sources. Use 'all' to scan every connected source."),
11
+ sourceIds: z
12
+ .array(z.string().min(1))
13
+ .optional()
14
+ .describe("Optional explicit source ids to scan together. When provided, sourceId is treated as aggregate."),
15
+ allSources: z.coerce
16
+ .boolean()
17
+ .default(false)
18
+ .describe("Scan every connected thread-debug source with partial results."),
19
+ query: z
20
+ .string()
21
+ .optional()
22
+ .describe("Optional search term to focus dream candidate discovery."),
23
+ ownerEmail: z
24
+ .string()
25
+ .optional()
26
+ .describe("Optional owner email filter. Admins may pass '*' or omit to use their admin-visible scope."),
27
+ limit: z.coerce.number().int().min(1).max(50).default(20),
28
+ sourceTimeoutMs: z.coerce
29
+ .number()
30
+ .int()
31
+ .min(1000)
32
+ .max(60000)
33
+ .default(15000)
34
+ .describe("Per-source timeout in milliseconds for partial scans."),
35
+ sourceConcurrency: z.coerce
36
+ .number()
37
+ .int()
38
+ .min(1)
39
+ .max(8)
40
+ .default(2)
41
+ .describe("How many thread-debug sources to scan at once."),
42
+ sourceStartStaggerMs: z.coerce
43
+ .number()
44
+ .int()
45
+ .min(0)
46
+ .max(5000)
47
+ .default(250)
48
+ .describe("Delay between source starts within a scan batch."),
49
+ threadConcurrency: z.coerce
50
+ .number()
51
+ .int()
52
+ .min(1)
53
+ .max(10)
54
+ .default(3)
55
+ .describe("How many threads to inspect at once within each source."),
56
+ threadTimeoutMs: z.coerce
57
+ .number()
58
+ .int()
59
+ .min(1000)
60
+ .max(30000)
61
+ .default(8000)
62
+ .describe("Per-thread debug timeout in milliseconds."),
63
+ title: z.string().optional().describe("Optional title for the dream pass."),
64
+ }),
65
+ run: async (input) => createDreamReport(input),
66
+ });
67
+ //# sourceMappingURL=create-dream-report.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-dream-report.js","sourceRoot":"","sources":["../../src/actions/create-dream-report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,eAAe,YAAY,CAAC;IAC1B,WAAW,EACT,iJAAiJ;IACnJ,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,OAAO,CAAC,SAAS,CAAC;aAClB,QAAQ,CACP,kGAAkG,CACnG;QACH,SAAS,EAAE,CAAC;aACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;aACxB,QAAQ,EAAE;aACV,QAAQ,CACP,iGAAiG,CAClG;QACH,UAAU,EAAE,CAAC,CAAC,MAAM;aACjB,OAAO,EAAE;aACT,OAAO,CAAC,KAAK,CAAC;aACd,QAAQ,CACP,gEAAgE,CACjE;QACH,KAAK,EAAE,CAAC;aACL,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,0DAA0D,CAAC;QACvE,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,4FAA4F,CAC7F;QACH,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;QACzD,eAAe,EAAE,CAAC,CAAC,MAAM;aACtB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,IAAI,CAAC;aACT,GAAG,CAAC,KAAK,CAAC;aACV,OAAO,CAAC,KAAK,CAAC;aACd,QAAQ,CAAC,uDAAuD,CAAC;QACpE,iBAAiB,EAAE,CAAC,CAAC,MAAM;aACxB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,CAAC,CAAC;aACN,OAAO,CAAC,CAAC,CAAC;aACV,QAAQ,CAAC,gDAAgD,CAAC;QAC7D,oBAAoB,EAAE,CAAC,CAAC,MAAM;aAC3B,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,IAAI,CAAC;aACT,OAAO,CAAC,GAAG,CAAC;aACZ,QAAQ,CAAC,kDAAkD,CAAC;QAC/D,iBAAiB,EAAE,CAAC,CAAC,MAAM;aACxB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,EAAE,CAAC;aACP,OAAO,CAAC,CAAC,CAAC;aACV,QAAQ,CAAC,yDAAyD,CAAC;QACtE,eAAe,EAAE,CAAC,CAAC,MAAM;aACtB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,IAAI,CAAC;aACT,GAAG,CAAC,KAAK,CAAC;aACV,OAAO,CAAC,IAAI,CAAC;aACb,QAAQ,CAAC,2CAA2C,CAAC;QACxD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;KAC5E,CAAC;IACF,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC;CAC/C,CAAC,CAAC","sourcesContent":["import { defineAction } from \"@agent-native/core\";\nimport { z } from \"zod\";\nimport { createDreamReport } from \"../server/lib/dreams-store.js\";\n\nexport default defineAction({\n description:\n \"Create a Dispatch dream report from existing thread-debug records and produce pending, evidence-backed memory proposals without calling an LLM.\",\n schema: z.object({\n sourceId: z\n .string()\n .default(\"current\")\n .describe(\n \"Thread debug source id from list-agent-thread-sources. Use 'all' to scan every connected source.\",\n ),\n sourceIds: z\n .array(z.string().min(1))\n .optional()\n .describe(\n \"Optional explicit source ids to scan together. When provided, sourceId is treated as aggregate.\",\n ),\n allSources: z.coerce\n .boolean()\n .default(false)\n .describe(\n \"Scan every connected thread-debug source with partial results.\",\n ),\n query: z\n .string()\n .optional()\n .describe(\"Optional search term to focus dream candidate discovery.\"),\n ownerEmail: z\n .string()\n .optional()\n .describe(\n \"Optional owner email filter. Admins may pass '*' or omit to use their admin-visible scope.\",\n ),\n limit: z.coerce.number().int().min(1).max(50).default(20),\n sourceTimeoutMs: z.coerce\n .number()\n .int()\n .min(1000)\n .max(60000)\n .default(15000)\n .describe(\"Per-source timeout in milliseconds for partial scans.\"),\n sourceConcurrency: z.coerce\n .number()\n .int()\n .min(1)\n .max(8)\n .default(2)\n .describe(\"How many thread-debug sources to scan at once.\"),\n sourceStartStaggerMs: z.coerce\n .number()\n .int()\n .min(0)\n .max(5000)\n .default(250)\n .describe(\"Delay between source starts within a scan batch.\"),\n threadConcurrency: z.coerce\n .number()\n .int()\n .min(1)\n .max(10)\n .default(3)\n .describe(\"How many threads to inspect at once within each source.\"),\n threadTimeoutMs: z.coerce\n .number()\n .int()\n .min(1000)\n .max(30000)\n .default(8000)\n .describe(\"Per-thread debug timeout in milliseconds.\"),\n title: z.string().optional().describe(\"Optional title for the dream pass.\"),\n }),\n run: async (input) => createDreamReport(input),\n});\n"]}
@@ -2,7 +2,7 @@ import { defineAction } from "@agent-native/core";
2
2
  import { z } from "zod";
3
3
  import { createWorkspaceResource } from "../server/lib/workspace-resources-store.js";
4
4
  export default defineAction({
5
- description: 'Create a workspace-wide skill, instruction, agent profile, or knowledge pack. Set scope to "all" to push to every app, or "selected" to grant per-app.',
5
+ description: 'Create a workspace-wide skill, instruction, agent profile, or reference resource. Set scope to "all" for runtime inheritance by every app, or "selected" to grant per-app. When Dispatch approval policy is enabled, All-app creates queue an approval request before taking effect.',
6
6
  schema: z.object({
7
7
  kind: z
8
8
  .enum(["skill", "instruction", "agent", "knowledge"])
@@ -11,13 +11,13 @@ export default defineAction({
11
11
  description: z.string().optional().describe("Short description"),
12
12
  path: z
13
13
  .string()
14
- .describe('Resource path, e.g. "skills/designer.md", "agents/researcher.md", "context/gtm-messaging.md", or "remote-agents/researcher.json"'),
14
+ .describe('Resource path in target apps. Use "skills/<name>/SKILL.md" for skills, "AGENTS.md" or "instructions/<name>.md" for always-on guardrails, "context/<name>.md" for reference resources, and "agents/<name>.md" for custom agents.'),
15
15
  content: z
16
16
  .string()
17
17
  .describe("Full resource content (markdown or remote-agent JSON)"),
18
18
  scope: z
19
19
  .enum(["all", "selected"])
20
- .describe('"all" = push to every app, "selected" = only apps with explicit grants'),
20
+ .describe('"all" = inherited by every app at runtime, "selected" = only apps with explicit grants'),
21
21
  }),
22
22
  run: async (args) => createWorkspaceResource(args),
23
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"create-workspace-resource.js","sourceRoot":"","sources":["../../src/actions/create-workspace-resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAErF,eAAe,YAAY,CAAC;IAC1B,WAAW,EACT,wJAAwJ;IAC1J,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,IAAI,EAAE,CAAC;aACJ,IAAI,CAAC,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;aACpD,QAAQ,CAAC,wDAAwD,CAAC;QACrE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;QAChD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;QAChE,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,QAAQ,CACP,kIAAkI,CACnI;QACH,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,CAAC,uDAAuD,CAAC;QACpE,KAAK,EAAE,CAAC;aACL,IAAI,CAAC,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;aACzB,QAAQ,CACP,wEAAwE,CACzE;KACJ,CAAC;IACF,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,uBAAuB,CAAC,IAAI,CAAC;CACnD,CAAC,CAAC","sourcesContent":["import { defineAction } from \"@agent-native/core\";\nimport { z } from \"zod\";\nimport { createWorkspaceResource } from \"../server/lib/workspace-resources-store.js\";\n\nexport default defineAction({\n description:\n 'Create a workspace-wide skill, instruction, agent profile, or knowledge pack. Set scope to \"all\" to push to every app, or \"selected\" to grant per-app.',\n schema: z.object({\n kind: z\n .enum([\"skill\", \"instruction\", \"agent\", \"knowledge\"])\n .describe(\"Resource kind: skill, instruction, agent, or knowledge\"),\n name: z.string().describe(\"Human-readable name\"),\n description: z.string().optional().describe(\"Short description\"),\n path: z\n .string()\n .describe(\n 'Resource path, e.g. \"skills/designer.md\", \"agents/researcher.md\", \"context/gtm-messaging.md\", or \"remote-agents/researcher.json\"',\n ),\n content: z\n .string()\n .describe(\"Full resource content (markdown or remote-agent JSON)\"),\n scope: z\n .enum([\"all\", \"selected\"])\n .describe(\n '\"all\" = push to every app, \"selected\" = only apps with explicit grants',\n ),\n }),\n run: async (args) => createWorkspaceResource(args),\n});\n"]}
1
+ {"version":3,"file":"create-workspace-resource.js","sourceRoot":"","sources":["../../src/actions/create-workspace-resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAErF,eAAe,YAAY,CAAC;IAC1B,WAAW,EACT,sRAAsR;IACxR,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,IAAI,EAAE,CAAC;aACJ,IAAI,CAAC,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;aACpD,QAAQ,CAAC,wDAAwD,CAAC;QACrE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;QAChD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;QAChE,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,QAAQ,CACP,iOAAiO,CAClO;QACH,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,CAAC,uDAAuD,CAAC;QACpE,KAAK,EAAE,CAAC;aACL,IAAI,CAAC,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;aACzB,QAAQ,CACP,wFAAwF,CACzF;KACJ,CAAC;IACF,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,uBAAuB,CAAC,IAAI,CAAC;CACnD,CAAC,CAAC","sourcesContent":["import { defineAction } from \"@agent-native/core\";\nimport { z } from \"zod\";\nimport { createWorkspaceResource } from \"../server/lib/workspace-resources-store.js\";\n\nexport default defineAction({\n description:\n 'Create a workspace-wide skill, instruction, agent profile, or reference resource. Set scope to \"all\" for runtime inheritance by every app, or \"selected\" to grant per-app. When Dispatch approval policy is enabled, All-app creates queue an approval request before taking effect.',\n schema: z.object({\n kind: z\n .enum([\"skill\", \"instruction\", \"agent\", \"knowledge\"])\n .describe(\"Resource kind: skill, instruction, agent, or knowledge\"),\n name: z.string().describe(\"Human-readable name\"),\n description: z.string().optional().describe(\"Short description\"),\n path: z\n .string()\n .describe(\n 'Resource path in target apps. Use \"skills/<name>/SKILL.md\" for skills, \"AGENTS.md\" or \"instructions/<name>.md\" for always-on guardrails, \"context/<name>.md\" for reference resources, and \"agents/<name>.md\" for custom agents.',\n ),\n content: z\n .string()\n .describe(\"Full resource content (markdown or remote-agent JSON)\"),\n scope: z\n .enum([\"all\", \"selected\"])\n .describe(\n '\"all\" = inherited by every app at runtime, \"selected\" = only apps with explicit grants',\n ),\n }),\n run: async (args) => createWorkspaceResource(args),\n});\n"]}
@@ -2,7 +2,7 @@ import { defineAction } from "@agent-native/core";
2
2
  import { z } from "zod";
3
3
  import { deleteWorkspaceResource } from "../server/lib/workspace-resources-store.js";
4
4
  export default defineAction({
5
- description: "Delete a workspace resource and revoke all its grants. Admin only.",
5
+ description: "Delete a workspace resource and revoke all its grants. When Dispatch approval policy is enabled, deleting an All-app resource queues an approval request before taking effect.",
6
6
  schema: z.object({
7
7
  id: z.string().describe("Resource ID to delete"),
8
8
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"delete-workspace-resource.js","sourceRoot":"","sources":["../../src/actions/delete-workspace-resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAErF,eAAe,YAAY,CAAC;IAC1B,WAAW,EACT,oEAAoE;IACtE,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;KACjD,CAAC;IACF,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,uBAAuB,CAAC,IAAI,CAAC,EAAE,CAAC;CACtD,CAAC,CAAC","sourcesContent":["import { defineAction } from \"@agent-native/core\";\nimport { z } from \"zod\";\nimport { deleteWorkspaceResource } from \"../server/lib/workspace-resources-store.js\";\n\nexport default defineAction({\n description:\n \"Delete a workspace resource and revoke all its grants. Admin only.\",\n schema: z.object({\n id: z.string().describe(\"Resource ID to delete\"),\n }),\n run: async (args) => deleteWorkspaceResource(args.id),\n});\n"]}
1
+ {"version":3,"file":"delete-workspace-resource.js","sourceRoot":"","sources":["../../src/actions/delete-workspace-resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAErF,eAAe,YAAY,CAAC;IAC1B,WAAW,EACT,gLAAgL;IAClL,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;KACjD,CAAC;IACF,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,uBAAuB,CAAC,IAAI,CAAC,EAAE,CAAC;CACtD,CAAC,CAAC","sourcesContent":["import { defineAction } from \"@agent-native/core\";\nimport { z } from \"zod\";\nimport { deleteWorkspaceResource } from \"../server/lib/workspace-resources-store.js\";\n\nexport default defineAction({\n description:\n \"Delete a workspace resource and revoke all its grants. When Dispatch approval policy is enabled, deleting an All-app resource queues an approval request before taking effect.\",\n schema: z.object({\n id: z.string().describe(\"Resource ID to delete\"),\n }),\n run: async (args) => deleteWorkspaceResource(args.id),\n});\n"]}
@@ -0,0 +1,3 @@
1
+ declare const _default: any;
2
+ export default _default;
3
+ //# sourceMappingURL=ensure-dream-job.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensure-dream-job.d.ts","sourceRoot":"","sources":["../../src/actions/ensure-dream-job.ts"],"names":[],"mappings":";AAIA,wBAuEG"}
@@ -0,0 +1,73 @@
1
+ import { defineAction } from "@agent-native/core";
2
+ import { z } from "zod";
3
+ import { ensureDreamJob } from "../server/lib/dreams-store.js";
4
+ export default defineAction({
5
+ description: "Create or update the personal recurring Dispatch dream job resource at jobs/dispatch-dream.md.",
6
+ schema: z.object({
7
+ schedule: z
8
+ .string()
9
+ .optional()
10
+ .describe('Optional five-field cron schedule. Defaults to weekly: "0 9 * * 1".'),
11
+ sourceId: z
12
+ .string()
13
+ .default("all")
14
+ .describe("Thread debug source id for the recurring dream pass."),
15
+ sourceIds: z
16
+ .array(z.string().min(1))
17
+ .optional()
18
+ .describe("Optional explicit source ids for recurring dream passes."),
19
+ allSources: z.coerce
20
+ .boolean()
21
+ .default(true)
22
+ .describe("Scan every connected source for recurring dream passes."),
23
+ query: z
24
+ .string()
25
+ .optional()
26
+ .describe("Optional search term to focus recurring dream passes."),
27
+ limit: z.coerce.number().int().min(1).max(50).default(8),
28
+ sourceTimeoutMs: z.coerce
29
+ .number()
30
+ .int()
31
+ .min(1000)
32
+ .max(60000)
33
+ .default(30000)
34
+ .describe("Per-source timeout in milliseconds."),
35
+ sourceConcurrency: z.coerce
36
+ .number()
37
+ .int()
38
+ .min(1)
39
+ .max(8)
40
+ .default(2)
41
+ .describe("How many sources to scan at once."),
42
+ sourceStartStaggerMs: z.coerce
43
+ .number()
44
+ .int()
45
+ .min(0)
46
+ .max(5000)
47
+ .default(250)
48
+ .describe("Delay between source starts within each scan batch."),
49
+ threadConcurrency: z.coerce
50
+ .number()
51
+ .int()
52
+ .min(1)
53
+ .max(10)
54
+ .default(3)
55
+ .describe("How many threads to inspect at once within each source."),
56
+ threadTimeoutMs: z.coerce
57
+ .number()
58
+ .int()
59
+ .min(1000)
60
+ .max(30000)
61
+ .default(8000)
62
+ .describe("Per-thread debug timeout in milliseconds."),
63
+ minCandidateCount: z.coerce
64
+ .number()
65
+ .int()
66
+ .min(0)
67
+ .max(50)
68
+ .default(1)
69
+ .describe("Skip recurring report creation below this candidate count."),
70
+ }),
71
+ run: async (input) => ensureDreamJob(input),
72
+ });
73
+ //# sourceMappingURL=ensure-dream-job.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensure-dream-job.js","sourceRoot":"","sources":["../../src/actions/ensure-dream-job.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,eAAe,YAAY,CAAC;IAC1B,WAAW,EACT,gGAAgG;IAClG,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,qEAAqE,CACtE;QACH,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,OAAO,CAAC,KAAK,CAAC;aACd,QAAQ,CAAC,sDAAsD,CAAC;QACnE,SAAS,EAAE,CAAC;aACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;aACxB,QAAQ,EAAE;aACV,QAAQ,CAAC,0DAA0D,CAAC;QACvE,UAAU,EAAE,CAAC,CAAC,MAAM;aACjB,OAAO,EAAE;aACT,OAAO,CAAC,IAAI,CAAC;aACb,QAAQ,CAAC,yDAAyD,CAAC;QACtE,KAAK,EAAE,CAAC;aACL,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,uDAAuD,CAAC;QACpE,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QACxD,eAAe,EAAE,CAAC,CAAC,MAAM;aACtB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,IAAI,CAAC;aACT,GAAG,CAAC,KAAK,CAAC;aACV,OAAO,CAAC,KAAK,CAAC;aACd,QAAQ,CAAC,qCAAqC,CAAC;QAClD,iBAAiB,EAAE,CAAC,CAAC,MAAM;aACxB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,CAAC,CAAC;aACN,OAAO,CAAC,CAAC,CAAC;aACV,QAAQ,CAAC,mCAAmC,CAAC;QAChD,oBAAoB,EAAE,CAAC,CAAC,MAAM;aAC3B,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,IAAI,CAAC;aACT,OAAO,CAAC,GAAG,CAAC;aACZ,QAAQ,CAAC,qDAAqD,CAAC;QAClE,iBAAiB,EAAE,CAAC,CAAC,MAAM;aACxB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,EAAE,CAAC;aACP,OAAO,CAAC,CAAC,CAAC;aACV,QAAQ,CAAC,yDAAyD,CAAC;QACtE,eAAe,EAAE,CAAC,CAAC,MAAM;aACtB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,IAAI,CAAC;aACT,GAAG,CAAC,KAAK,CAAC;aACV,OAAO,CAAC,IAAI,CAAC;aACb,QAAQ,CAAC,2CAA2C,CAAC;QACxD,iBAAiB,EAAE,CAAC,CAAC,MAAM;aACxB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,EAAE,CAAC;aACP,OAAO,CAAC,CAAC,CAAC;aACV,QAAQ,CAAC,4DAA4D,CAAC;KAC1E,CAAC;IACF,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC;CAC5C,CAAC,CAAC","sourcesContent":["import { defineAction } from \"@agent-native/core\";\nimport { z } from \"zod\";\nimport { ensureDreamJob } from \"../server/lib/dreams-store.js\";\n\nexport default defineAction({\n description:\n \"Create or update the personal recurring Dispatch dream job resource at jobs/dispatch-dream.md.\",\n schema: z.object({\n schedule: z\n .string()\n .optional()\n .describe(\n 'Optional five-field cron schedule. Defaults to weekly: \"0 9 * * 1\".',\n ),\n sourceId: z\n .string()\n .default(\"all\")\n .describe(\"Thread debug source id for the recurring dream pass.\"),\n sourceIds: z\n .array(z.string().min(1))\n .optional()\n .describe(\"Optional explicit source ids for recurring dream passes.\"),\n allSources: z.coerce\n .boolean()\n .default(true)\n .describe(\"Scan every connected source for recurring dream passes.\"),\n query: z\n .string()\n .optional()\n .describe(\"Optional search term to focus recurring dream passes.\"),\n limit: z.coerce.number().int().min(1).max(50).default(8),\n sourceTimeoutMs: z.coerce\n .number()\n .int()\n .min(1000)\n .max(60000)\n .default(30000)\n .describe(\"Per-source timeout in milliseconds.\"),\n sourceConcurrency: z.coerce\n .number()\n .int()\n .min(1)\n .max(8)\n .default(2)\n .describe(\"How many sources to scan at once.\"),\n sourceStartStaggerMs: z.coerce\n .number()\n .int()\n .min(0)\n .max(5000)\n .default(250)\n .describe(\"Delay between source starts within each scan batch.\"),\n threadConcurrency: z.coerce\n .number()\n .int()\n .min(1)\n .max(10)\n .default(3)\n .describe(\"How many threads to inspect at once within each source.\"),\n threadTimeoutMs: z.coerce\n .number()\n .int()\n .min(1000)\n .max(30000)\n .default(8000)\n .describe(\"Per-thread debug timeout in milliseconds.\"),\n minCandidateCount: z.coerce\n .number()\n .int()\n .min(0)\n .max(50)\n .default(1)\n .describe(\"Skip recurring report creation below this candidate count.\"),\n }),\n run: async (input) => ensureDreamJob(input),\n});\n"]}
@@ -0,0 +1,3 @@
1
+ declare const _default: any;
2
+ export default _default;
3
+ //# sourceMappingURL=get-dream-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-dream-settings.d.ts","sourceRoot":"","sources":["../../src/actions/get-dream-settings.ts"],"names":[],"mappings":";AAIA,wBAOG"}
@@ -0,0 +1,11 @@
1
+ import { defineAction } from "@agent-native/core";
2
+ import { z } from "zod";
3
+ import { getDreamSettings } from "../server/lib/dreams-store.js";
4
+ export default defineAction({
5
+ description: "Read recurring Dispatch dream settings, including schedule, source scope, timeout, and minimum candidate threshold.",
6
+ schema: z.object({}),
7
+ http: { method: "GET" },
8
+ readOnly: true,
9
+ run: async () => getDreamSettings(),
10
+ });
11
+ //# sourceMappingURL=get-dream-settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-dream-settings.js","sourceRoot":"","sources":["../../src/actions/get-dream-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,eAAe,YAAY,CAAC;IAC1B,WAAW,EACT,qHAAqH;IACvH,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;IACpB,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;IACvB,QAAQ,EAAE,IAAI;IACd,GAAG,EAAE,KAAK,IAAI,EAAE,CAAC,gBAAgB,EAAE;CACpC,CAAC,CAAC","sourcesContent":["import { defineAction } from \"@agent-native/core\";\nimport { z } from \"zod\";\nimport { getDreamSettings } from \"../server/lib/dreams-store.js\";\n\nexport default defineAction({\n description:\n \"Read recurring Dispatch dream settings, including schedule, source scope, timeout, and minimum candidate threshold.\",\n schema: z.object({}),\n http: { method: \"GET\" },\n readOnly: true,\n run: async () => getDreamSettings(),\n});\n"]}
@@ -0,0 +1,3 @@
1
+ declare const _default: any;
2
+ export default _default;
3
+ //# sourceMappingURL=get-dream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-dream.d.ts","sourceRoot":"","sources":["../../src/actions/get-dream.ts"],"names":[],"mappings":";AAIA,wBASG"}
@@ -0,0 +1,13 @@
1
+ import { defineAction } from "@agent-native/core";
2
+ import { z } from "zod";
3
+ import { getDream } from "../server/lib/dreams-store.js";
4
+ export default defineAction({
5
+ description: "Get one Dispatch dream report and its evidence-backed proposals.",
6
+ schema: z.object({
7
+ id: z.string().min(1).describe("Dream id."),
8
+ }),
9
+ http: { method: "GET" },
10
+ readOnly: true,
11
+ run: async ({ id }) => getDream(id),
12
+ });
13
+ //# sourceMappingURL=get-dream.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-dream.js","sourceRoot":"","sources":["../../src/actions/get-dream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAEzD,eAAe,YAAY,CAAC;IAC1B,WAAW,EACT,kEAAkE;IACpE,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC;KAC5C,CAAC;IACF,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;IACvB,QAAQ,EAAE,IAAI;IACd,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;CACpC,CAAC,CAAC","sourcesContent":["import { defineAction } from \"@agent-native/core\";\nimport { z } from \"zod\";\nimport { getDream } from \"../server/lib/dreams-store.js\";\n\nexport default defineAction({\n description:\n \"Get one Dispatch dream report and its evidence-backed proposals.\",\n schema: z.object({\n id: z.string().min(1).describe(\"Dream id.\"),\n }),\n http: { method: \"GET\" },\n readOnly: true,\n run: async ({ id }) => getDream(id),\n});\n"]}
@@ -0,0 +1,3 @@
1
+ declare const _default: any;
2
+ export default _default;
3
+ //# sourceMappingURL=get-workspace-resource-effective-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-workspace-resource-effective-context.d.ts","sourceRoot":"","sources":["../../src/actions/get-workspace-resource-effective-context.ts"],"names":[],"mappings":";AAIA,wBA6BG"}
@@ -0,0 +1,27 @@
1
+ import { defineAction } from "@agent-native/core";
2
+ import { z } from "zod";
3
+ import { getWorkspaceResourceEffectiveContext } from "../server/lib/workspace-resources-store.js";
4
+ export default defineAction({
5
+ description: "Preview how a Dispatch workspace resource resolves for an app/user at runtime: workspace default, organization/app override, and personal override, plus whether the resource is all-app or selected-only.",
6
+ schema: z.object({
7
+ resourceId: z
8
+ .string()
9
+ .optional()
10
+ .describe("Workspace resource id to inspect."),
11
+ path: z
12
+ .string()
13
+ .optional()
14
+ .describe("Resource path to inspect, such as context/brand.md. Optional when resourceId is provided."),
15
+ appId: z
16
+ .string()
17
+ .optional()
18
+ .describe("Workspace app id to preview. All-app resources are inherited by every app; selected-only resources require a grant."),
19
+ userEmail: z
20
+ .string()
21
+ .optional()
22
+ .describe("User email for personal overrides. Defaults to the current Dispatch user."),
23
+ }),
24
+ http: { method: "GET" },
25
+ run: async (args) => getWorkspaceResourceEffectiveContext(args),
26
+ });
27
+ //# sourceMappingURL=get-workspace-resource-effective-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-workspace-resource-effective-context.js","sourceRoot":"","sources":["../../src/actions/get-workspace-resource-effective-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAElG,eAAe,YAAY,CAAC;IAC1B,WAAW,EACT,4MAA4M;IAC9M,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,mCAAmC,CAAC;QAChD,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,2FAA2F,CAC5F;QACH,KAAK,EAAE,CAAC;aACL,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,qHAAqH,CACtH;QACH,SAAS,EAAE,CAAC;aACT,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,2EAA2E,CAC5E;KACJ,CAAC;IACF,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;IACvB,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,oCAAoC,CAAC,IAAI,CAAC;CAChE,CAAC,CAAC","sourcesContent":["import { defineAction } from \"@agent-native/core\";\nimport { z } from \"zod\";\nimport { getWorkspaceResourceEffectiveContext } from \"../server/lib/workspace-resources-store.js\";\n\nexport default defineAction({\n description:\n \"Preview how a Dispatch workspace resource resolves for an app/user at runtime: workspace default, organization/app override, and personal override, plus whether the resource is all-app or selected-only.\",\n schema: z.object({\n resourceId: z\n .string()\n .optional()\n .describe(\"Workspace resource id to inspect.\"),\n path: z\n .string()\n .optional()\n .describe(\n \"Resource path to inspect, such as context/brand.md. Optional when resourceId is provided.\",\n ),\n appId: z\n .string()\n .optional()\n .describe(\n \"Workspace app id to preview. All-app resources are inherited by every app; selected-only resources require a grant.\",\n ),\n userEmail: z\n .string()\n .optional()\n .describe(\n \"User email for personal overrides. Defaults to the current Dispatch user.\",\n ),\n }),\n http: { method: \"GET\" },\n run: async (args) => getWorkspaceResourceEffectiveContext(args),\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AA+D7D;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CA8DvD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AA4E7D;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CA4EvD,CAAC"}
@@ -7,14 +7,19 @@ import createVaultGrant from "./create-vault-grant.js";
7
7
  import createVaultSecret from "./create-vault-secret.js";
8
8
  import createWorkspaceResourceGrant from "./create-workspace-resource-grant.js";
9
9
  import createWorkspaceResource from "./create-workspace-resource.js";
10
+ import createDreamReport from "./create-dream-report.js";
10
11
  import deleteDestination from "./delete-destination.js";
11
12
  import deleteVaultSecret from "./delete-vault-secret.js";
12
13
  import deleteWorkspaceResource from "./delete-workspace-resource.js";
13
14
  import denyVaultRequest from "./deny-vault-request.js";
15
+ import ensureDreamJob from "./ensure-dream-job.js";
14
16
  import getAppCreationSettings from "./get-app-creation-settings.js";
15
17
  import getAgentThreadDebug from "./get-agent-thread-debug.js";
18
+ import getDream from "./get-dream.js";
19
+ import getDreamSettings from "./get-dream-settings.js";
16
20
  import getDispatchSettings from "./get-dispatch-settings.js";
17
21
  import getVaultAccessSettings from "./get-vault-access-settings.js";
22
+ import getWorkspaceResourceEffectiveContext from "./get-workspace-resource-effective-context.js";
18
23
  import getWorkspaceInfo from "./get-workspace-info.js";
19
24
  import grantWorkspaceResourcesToApp from "./grant-workspace-resources-to-app.js";
20
25
  import grantVaultSecretsToApp from "./grant-vault-secrets-to-app.js";
@@ -26,6 +31,8 @@ import listDispatchApprovals from "./list-dispatch-approvals.js";
26
31
  import listDispatchAudit from "./list-dispatch-audit.js";
27
32
  import listDispatchOverview from "./list-dispatch-overview.js";
28
33
  import listDispatchUsageMetrics from "./list-dispatch-usage-metrics.js";
34
+ import listDreamCandidates from "./list-dream-candidates.js";
35
+ import listDreams from "./list-dreams.js";
29
36
  import listIntegrationsCatalog from "./list-integrations-catalog.js";
30
37
  import listLinkedIdentities from "./list-linked-identities.js";
31
38
  import listVaultAudit from "./list-vault-audit.js";
@@ -36,23 +43,29 @@ import listVaultSecrets from "./list-vault-secrets.js";
36
43
  import listWorkspaceApps from "./list-workspace-apps.js";
37
44
  import listWorkspaceResourceOptions from "./list-workspace-resource-options.js";
38
45
  import listWorkspaceResourceGrants from "./list-workspace-resource-grants.js";
46
+ import listWorkspaceResourcesForApp from "./list-workspace-resources-for-app.js";
39
47
  import listWorkspaceResources from "./list-workspace-resources.js";
40
48
  import navigate from "./navigate.js";
49
+ import applyDreamProposal from "./apply-dream-proposal.js";
50
+ import previewDreamProposal from "./preview-dream-proposal.js";
51
+ import previewWorkspaceResourceChange from "./preview-workspace-resource-change.js";
41
52
  import rejectDispatchChange from "./reject-dispatch-change.js";
53
+ import rejectDreamProposal from "./reject-dream-proposal.js";
42
54
  import removePendingWorkspaceApp from "./remove-pending-workspace-app.js";
43
55
  import requestVaultSecret from "./request-vault-secret.js";
44
56
  import revokeVaultGrant from "./revoke-vault-grant.js";
45
57
  import revokeWorkspaceResourceGrant from "./revoke-workspace-resource-grant.js";
58
+ import restoreStarterWorkspaceResources from "./restore-starter-workspace-resources.js";
46
59
  import scaffoldWorkspaceApp from "./scaffold-workspace-app.js";
47
60
  import searchAgentThreads from "./search-agent-threads.js";
61
+ import sendCodeAgentRemoteCommand from "./send-code-agent-remote-command.js";
48
62
  import sendPlatformMessage from "./send-platform-message.js";
49
63
  import setAppCreationSettings from "./set-app-creation-settings.js";
50
64
  import setDispatchApprovalPolicy from "./set-dispatch-approval-policy.js";
65
+ import setDreamSettings from "./set-dream-settings.js";
51
66
  import setVaultAccessSettings from "./set-vault-access-settings.js";
52
67
  import startWorkspaceAppCreation from "./start-workspace-app-creation.js";
53
68
  import syncVaultToApp from "./sync-vault-to-app.js";
54
- import syncWorkspaceResourcesToAll from "./sync-workspace-resources-to-all.js";
55
- import syncWorkspaceResourcesToApp from "./sync-workspace-resources-to-app.js";
56
69
  import unarchiveWorkspaceApp from "./unarchive-workspace-app.js";
57
70
  import updateWorkspaceAppMetadata from "./update-workspace-app-metadata.js";
58
71
  import updateVaultSecret from "./update-vault-secret.js";
@@ -75,14 +88,19 @@ export const dispatchActions = {
75
88
  "create-vault-secret": createVaultSecret,
76
89
  "create-workspace-resource-grant": createWorkspaceResourceGrant,
77
90
  "create-workspace-resource": createWorkspaceResource,
91
+ "create-dream-report": createDreamReport,
78
92
  "delete-destination": deleteDestination,
79
93
  "delete-vault-secret": deleteVaultSecret,
80
94
  "delete-workspace-resource": deleteWorkspaceResource,
81
95
  "deny-vault-request": denyVaultRequest,
96
+ "ensure-dream-job": ensureDreamJob,
82
97
  "get-app-creation-settings": getAppCreationSettings,
83
98
  "get-agent-thread-debug": getAgentThreadDebug,
99
+ "get-dream": getDream,
100
+ "get-dream-settings": getDreamSettings,
84
101
  "get-dispatch-settings": getDispatchSettings,
85
102
  "get-vault-access-settings": getVaultAccessSettings,
103
+ "get-workspace-resource-effective-context": getWorkspaceResourceEffectiveContext,
86
104
  "get-workspace-info": getWorkspaceInfo,
87
105
  "grant-workspace-resources-to-app": grantWorkspaceResourcesToApp,
88
106
  "grant-vault-secrets-to-app": grantVaultSecretsToApp,
@@ -94,6 +112,8 @@ export const dispatchActions = {
94
112
  "list-dispatch-audit": listDispatchAudit,
95
113
  "list-dispatch-overview": listDispatchOverview,
96
114
  "list-dispatch-usage-metrics": listDispatchUsageMetrics,
115
+ "list-dream-candidates": listDreamCandidates,
116
+ "list-dreams": listDreams,
97
117
  "list-integrations-catalog": listIntegrationsCatalog,
98
118
  "list-linked-identities": listLinkedIdentities,
99
119
  "list-vault-audit": listVaultAudit,
@@ -104,23 +124,29 @@ export const dispatchActions = {
104
124
  "list-workspace-apps": listWorkspaceApps,
105
125
  "list-workspace-resource-options": listWorkspaceResourceOptions,
106
126
  "list-workspace-resource-grants": listWorkspaceResourceGrants,
127
+ "list-workspace-resources-for-app": listWorkspaceResourcesForApp,
107
128
  "list-workspace-resources": listWorkspaceResources,
108
129
  navigate: navigate,
130
+ "apply-dream-proposal": applyDreamProposal,
131
+ "preview-dream-proposal": previewDreamProposal,
132
+ "preview-workspace-resource-change": previewWorkspaceResourceChange,
109
133
  "reject-dispatch-change": rejectDispatchChange,
134
+ "reject-dream-proposal": rejectDreamProposal,
110
135
  "remove-pending-workspace-app": removePendingWorkspaceApp,
111
136
  "request-vault-secret": requestVaultSecret,
112
137
  "revoke-vault-grant": revokeVaultGrant,
113
138
  "revoke-workspace-resource-grant": revokeWorkspaceResourceGrant,
139
+ "restore-starter-workspace-resources": restoreStarterWorkspaceResources,
114
140
  "scaffold-workspace-app": scaffoldWorkspaceApp,
115
141
  "search-agent-threads": searchAgentThreads,
142
+ "send-code-agent-remote-command": sendCodeAgentRemoteCommand,
116
143
  "send-platform-message": sendPlatformMessage,
117
144
  "set-app-creation-settings": setAppCreationSettings,
118
145
  "set-dispatch-approval-policy": setDispatchApprovalPolicy,
146
+ "set-dream-settings": setDreamSettings,
119
147
  "set-vault-access-settings": setVaultAccessSettings,
120
148
  "start-workspace-app-creation": startWorkspaceAppCreation,
121
149
  "sync-vault-to-app": syncVaultToApp,
122
- "sync-workspace-resources-to-all": syncWorkspaceResourcesToAll,
123
- "sync-workspace-resources-to-app": syncWorkspaceResourcesToApp,
124
150
  "unarchive-workspace-app": unarchiveWorkspaceApp,
125
151
  "update-workspace-app-metadata": updateWorkspaceAppMetadata,
126
152
  "update-vault-secret": updateVaultSecret,