@saadnvd1/agent-os 0.3.519 → 0.3.521

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 (50) hide show
  1. package/README.md +26 -0
  2. package/app/api/bus/spawn/route.ts +4 -0
  3. package/app/api/tasks/[id]/approve-plan/route.ts +22 -0
  4. package/app/api/tasks/route.ts +2 -0
  5. package/app/api/welcome/route.ts +22 -0
  6. package/app/page.tsx +6 -0
  7. package/app/welcome/page.tsx +6 -0
  8. package/components/Projects/AddProject/AddProjectDialog.tsx +2 -2
  9. package/components/Settings/SettingsDialog.tsx +9 -0
  10. package/components/Settings/SetupSection.tsx +37 -0
  11. package/components/Tasks/TaskRow.tsx +46 -1
  12. package/components/Tasks/task-state-labels.ts +1 -0
  13. package/components/Welcome/AgentList.tsx +73 -0
  14. package/components/Welcome/AgentRow.tsx +102 -0
  15. package/components/Welcome/ProjectStep.tsx +100 -0
  16. package/components/Welcome/SetupTerminal.tsx +64 -0
  17. package/components/Welcome/WelcomeDialog.tsx +153 -0
  18. package/data/agents/index.ts +16 -1
  19. package/data/tasks/index.ts +12 -0
  20. package/data/welcome/index.ts +36 -0
  21. package/hooks/useWelcome.ts +70 -0
  22. package/lib/agents/probe.ts +27 -0
  23. package/lib/agents/setup-commands.ts +54 -0
  24. package/lib/db/migrations.ts +29 -0
  25. package/lib/db/types.ts +3 -1
  26. package/lib/lumifyhub/lists.ts +1 -0
  27. package/lib/models/plan-step.ts +116 -32
  28. package/lib/models/roles.ts +3 -1
  29. package/lib/orchestrator/act.ts +24 -2
  30. package/lib/orchestrator/brief.ts +3 -1
  31. package/lib/orchestrator/conditions.ts +1 -0
  32. package/lib/orchestrator/describe.ts +1 -1
  33. package/lib/orchestrator/facts.ts +11 -2
  34. package/lib/orchestrator/serve.ts +8 -0
  35. package/lib/orchestrator/tool-names.ts +1 -0
  36. package/lib/orchestrator/tool-schemas.ts +18 -0
  37. package/lib/orchestrator/tools.ts +3 -1
  38. package/lib/settings-url.ts +1 -0
  39. package/lib/tasks/index.ts +28 -7
  40. package/lib/tasks/move-guard.ts +2 -0
  41. package/lib/tasks/move.ts +5 -1
  42. package/lib/tasks/plan-view.ts +6 -1
  43. package/lib/tasks/queue.ts +6 -2
  44. package/lib/tasks/start.ts +1 -1
  45. package/lib/tasks/state.ts +7 -1
  46. package/lib/welcome-url.ts +33 -0
  47. package/lib/welcome.ts +88 -0
  48. package/package.json +1 -1
  49. package/stores/addProject.ts +19 -1
  50. package/stores/welcomeUi.ts +26 -0
@@ -0,0 +1,26 @@
1
+ import { proxy } from "valtio";
2
+ import type { WelcomeStep } from "@/lib/welcome-url";
3
+
4
+ // The first-run welcome: whether it is on show, the step, and the project
5
+ // the user made (or picked) to start in.
6
+ export const welcomeUi = proxy<{
7
+ open: boolean;
8
+ step: WelcomeStep;
9
+ projectId: string | null;
10
+ }>({ open: false, step: "agents", projectId: null });
11
+
12
+ export const welcomeUiActions = {
13
+ open: (step: WelcomeStep = "agents") => {
14
+ welcomeUi.step = step;
15
+ welcomeUi.open = true;
16
+ },
17
+ go: (step: WelcomeStep) => {
18
+ welcomeUi.step = step;
19
+ },
20
+ setProject: (projectId: string | null) => {
21
+ welcomeUi.projectId = projectId;
22
+ },
23
+ close: () => {
24
+ welcomeUi.open = false;
25
+ },
26
+ };