@saadnvd1/agent-os 0.3.684 → 0.3.691

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 (123) hide show
  1. package/app/api/dev-servers/detect/route.ts +1 -2
  2. package/app/api/projects/[id]/dev-servers/[dsId]/route.ts +2 -4
  3. package/app/page.tsx +1 -2
  4. package/components/Artifacts/ArtifactsPanel.tsx +1 -1
  5. package/components/FileExplorer/FileTabs.tsx +1 -1
  6. package/components/Pane/DesktopTabBar.tsx +2 -2
  7. package/components/QuickSwitcher.tsx +24 -21
  8. package/components/SessionList/SessionRowMenu.tsx +0 -1
  9. package/components/Settings/ExperimentsSection.test.ts +7 -1
  10. package/components/Settings/NoApprovalsSection.test.ts +7 -1
  11. package/components/Terminal/TerminalToolbar.tsx +1 -1
  12. package/components/Terminal/VirtualKeyboard.tsx +1 -1
  13. package/components/WorkerCard.tsx +1 -7
  14. package/components/Workspaces/WorkspaceNameDialog.tsx +5 -3
  15. package/components/a/AButton.tsx +1 -6
  16. package/components/a/AIconButton.tsx +1 -5
  17. package/contexts/PaneContext.tsx +1 -6
  18. package/data/lumifyhub/index.ts +2 -4
  19. package/hooks/useDirectoryBrowser.ts +5 -4
  20. package/hooks/useDrawerAnimation.ts +11 -14
  21. package/hooks/useFileDrop.ts +2 -6
  22. package/hooks/useKeybarVisibility.ts +10 -29
  23. package/hooks/useSidebarPinned.ts +7 -23
  24. package/hooks/useSpeechRecognition.ts +19 -5
  25. package/hooks/useStoredFlag.ts +47 -0
  26. package/hooks/useViewport.ts +11 -17
  27. package/lib/approvals/no-approvals.ts +1 -7
  28. package/lib/artifacts/store.ts +1 -2
  29. package/lib/away/report.ts +1 -2
  30. package/lib/away/run.ts +1 -2
  31. package/lib/away/state.ts +1 -2
  32. package/lib/bookmarks/store.ts +1 -2
  33. package/lib/bus/delivery.ts +1 -2
  34. package/lib/bus/index.ts +1 -2
  35. package/lib/chat/compact-context.ts +1 -2
  36. package/lib/chat/stop.ts +1 -2
  37. package/lib/chat/worker/host.ts +1 -1
  38. package/lib/code-health/reports.ts +1 -2
  39. package/lib/db/lumifyhub.ts +2 -4
  40. package/lib/db/schedules-move.ts +1 -2
  41. package/lib/db/session-parts/tasks.ts +1 -2
  42. package/lib/db/stacks.ts +3 -9
  43. package/lib/db/types.ts +1 -7
  44. package/lib/doctor/checks.ts +7 -9
  45. package/lib/done/archive.ts +1 -2
  46. package/lib/experiments/meter.ts +1 -7
  47. package/lib/health/env/classes.ts +0 -2
  48. package/lib/health/env/recordHit.ts +1 -2
  49. package/lib/health/spin.ts +1 -4
  50. package/lib/health/store.ts +1 -2
  51. package/lib/hosts/index.ts +1 -2
  52. package/lib/hosts/peer-sync.ts +2 -4
  53. package/lib/hosts/remote-api.ts +1 -2
  54. package/lib/lumifyhub/types.ts +2 -8
  55. package/lib/notify/index.ts +1 -2
  56. package/lib/notify/push/index.ts +2 -7
  57. package/lib/orchestrator/external-pr.ts +1 -2
  58. package/lib/orchestrator/gates.ts +1 -6
  59. package/lib/orchestrator/needs-you-items.ts +16 -20
  60. package/lib/orchestrator/pr-wake.ts +1 -2
  61. package/lib/orchestrator/rebase.ts +1 -2
  62. package/lib/orchestrator/review.ts +1 -2
  63. package/lib/orchestrator/usage.ts +1 -2
  64. package/lib/plans/claim.ts +1 -2
  65. package/lib/plans/features.ts +4 -11
  66. package/lib/plans/release.ts +2 -4
  67. package/lib/ports.ts +1 -2
  68. package/lib/program-status/records.ts +1 -1
  69. package/lib/project-config/database.ts +1 -2
  70. package/lib/projects.ts +1 -2
  71. package/lib/recipes/settle.ts +2 -4
  72. package/lib/recipes/store.ts +2 -4
  73. package/lib/schedules/store.ts +2 -4
  74. package/lib/search/conversations/backfill.ts +2 -4
  75. package/lib/security/auth.ts +1 -2
  76. package/lib/security/passkeys.ts +1 -2
  77. package/lib/security/presence.ts +1 -7
  78. package/lib/session-artifacts/types.ts +1 -8
  79. package/lib/session-audit/transcript.ts +1 -3
  80. package/lib/session-logs/index.ts +1 -2
  81. package/lib/sessions/launch.ts +1 -2
  82. package/lib/share/snapshot.ts +1 -7
  83. package/lib/share/store.ts +1 -2
  84. package/lib/sidebar/orchestrator-row.ts +1 -6
  85. package/lib/sidebar/row-menu.ts +1 -2
  86. package/lib/sidebar/shelves.ts +1 -6
  87. package/lib/simulator/index.ts +1 -2
  88. package/lib/simulator/lease.ts +1 -5
  89. package/lib/stacks/index.ts +1 -1
  90. package/lib/stacks/plan.ts +1 -1
  91. package/lib/stacks/restack.ts +1 -2
  92. package/lib/stacks/tick.ts +1 -2
  93. package/lib/status/socket.ts +1 -2
  94. package/lib/tasks/contract/authorize.ts +1 -2
  95. package/lib/tasks/contract/plan.ts +1 -2
  96. package/lib/tasks/contract/sync.ts +1 -2
  97. package/lib/tasks/holds.ts +1 -5
  98. package/lib/tasks/index.ts +1 -2
  99. package/lib/tasks/loop-types.ts +1 -6
  100. package/lib/tasks/move-guard.ts +1 -2
  101. package/lib/tasks/move.ts +1 -2
  102. package/lib/tasks/moved-away.ts +1 -2
  103. package/lib/tasks/pause-hold.ts +1 -2
  104. package/lib/tasks/pause.ts +3 -6
  105. package/lib/tasks/pr-activity.ts +1 -3
  106. package/lib/tasks/queue-rows.ts +2 -4
  107. package/lib/tasks/queue-types.ts +1 -5
  108. package/lib/tasks/queue.ts +1 -2
  109. package/lib/tasks/refresh-base.ts +1 -2
  110. package/lib/tasks/start.ts +2 -4
  111. package/lib/tasks/starter.ts +1 -2
  112. package/lib/tasks/state.ts +1 -6
  113. package/lib/theme-config.ts +1 -8
  114. package/lib/updates/banner.ts +1 -6
  115. package/lib/updates/run.ts +1 -2
  116. package/lib/usage/aggregate.ts +1 -1
  117. package/lib/usage/nightly.ts +1 -2
  118. package/lib/usage/rate-limits.ts +1 -2
  119. package/lib/usage/turns.ts +1 -2
  120. package/lib/usage/windows.ts +5 -7
  121. package/lib/workspaces.ts +1 -2
  122. package/lib/worktree-sweep/databases.ts +0 -1
  123. package/package.json +3 -3
@@ -101,13 +101,11 @@ async function planLimits(): Promise<Cached> {
101
101
  if (cache && Date.now() - cache.at < TTL_MS) return cache;
102
102
  inflight ??= askAgent()
103
103
  .then((limits): Cached => ({ at: Date.now(), limits }))
104
- .catch(
105
- (error: unknown): Cached => ({
106
- at: Date.now(),
107
- limits: null,
108
- error: error instanceof Error ? error.message : String(error),
109
- })
110
- )
104
+ .catch((error: unknown): Cached => ({
105
+ at: Date.now(),
106
+ limits: null,
107
+ error: error instanceof Error ? error.message : String(error),
108
+ }))
111
109
  .then((c) => (cache = c))
112
110
  .finally(() => {
113
111
  inflight = null;
package/lib/workspaces.ts CHANGED
@@ -53,8 +53,7 @@ export function listWorkspaces(): Workspace[] {
53
53
 
54
54
  export function getWorkspace(id: string): Workspace | null {
55
55
  const row = db.prepare(`SELECT * FROM workspaces WHERE id = ?`).get(id) as
56
- | WorkspaceRow
57
- | undefined;
56
+ WorkspaceRow | undefined;
58
57
  return row ? toWorkspace(row) : null;
59
58
  }
60
59
 
@@ -22,7 +22,6 @@ import { loadProjectConfig } from "../project-config";
22
22
  import { expandHome } from "../project-config/session";
23
23
  import {
24
24
  LOCAL_HOSTS,
25
- MARK,
26
25
  SOCKET_DIR,
27
26
  pgEnv,
28
27
  pgRun,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saadnvd1/agent-os",
3
- "version": "0.3.684",
3
+ "version": "0.3.691",
4
4
  "description": "Self-hosted web UI for managing Claude Code sessions",
5
5
  "bin": {
6
6
  "agent-os": "scripts/agent-os"
@@ -157,7 +157,7 @@
157
157
  },
158
158
  "devDependencies": {
159
159
  "@tailwindcss/postcss": "^4.1.18",
160
- "@types/better-sqlite3": "^7.6.13",
160
+ "@types/better-sqlite3": "^9.6.0",
161
161
  "@types/hast": "^3.0.4",
162
162
  "@types/jsdom": "^30.0.0",
163
163
  "@types/mdast": "^4.0.4",
@@ -171,7 +171,7 @@
171
171
  "husky": "^9.1.7",
172
172
  "jsdom": "^30.1.2",
173
173
  "prettier": "^3.7.4",
174
- "prettier-plugin-tailwindcss": "^0.7.2",
174
+ "prettier-plugin-tailwindcss": "^0.8.1",
175
175
  "remark-parse": "^11.0.0",
176
176
  "sharp": "^0.35.5",
177
177
  "tailwindcss": "^4.1.18",