Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
echo "Running type check..."
npm run typecheck || exit 1

echo "Running Vite build (catches esbuild errors in server/)..."
npm run build:full || exit 1

echo "Running version sync check..."
npm run version:check || exit 1
1 change: 1 addition & 0 deletions api-cache.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions api/[domain]/v1/[rpc].ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ import { createPositiveEventsServiceRoutes } from '../../../src/generated/server
import { positiveEventsHandler } from '../../../server/worldmonitor/positive-events/v1/handler';
import { createGivingServiceRoutes } from '../../../src/generated/server/worldmonitor/giving/v1/service_server';
import { givingHandler } from '../../../server/worldmonitor/giving/v1/handler';
import { createTradeServiceRoutes } from '../../../src/generated/server/worldmonitor/trade/v1/service_server';
import { tradeHandler } from '../../../server/worldmonitor/trade/v1/handler';

import type { ServerOptions } from '../../../src/generated/server/worldmonitor/seismology/v1/service_server';

Expand All @@ -75,6 +77,7 @@ const allRoutes = [
...createMilitaryServiceRoutes(militaryHandler, serverOptions),
...createPositiveEventsServiceRoutes(positiveEventsHandler, serverOptions),
...createGivingServiceRoutes(givingHandler, serverOptions),
...createTradeServiceRoutes(tradeHandler, serverOptions),
];

const router = createRouter(allRoutes);
Expand Down
3 changes: 2 additions & 1 deletion docs/DESKTOP_CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ World Monitor desktop now uses a runtime configuration schema with per-feature t

## Secret keys

The desktop vault schema (Rust `SUPPORTED_SECRET_KEYS`) supports the following 21 keys:
The desktop vault schema (Rust `SUPPORTED_SECRET_KEYS`) supports the following 22 keys:

- `GROQ_API_KEY`
- `OPENROUTER_API_KEY`
Expand All @@ -27,6 +27,7 @@ The desktop vault schema (Rust `SUPPORTED_SECRET_KEYS`) supports the following 2
- `OLLAMA_API_URL`
- `OLLAMA_MODEL`
- `WORLDMONITOR_API_KEY` — gates cloud fallback access (min 16 chars)
- `WTO_API_KEY`

Note: `UC_DP_KEY` exists in the TypeScript `RuntimeSecretKey` union but is not in the desktop Rust keychain or sidecar.

Expand Down
Loading