@processfocus/runtime-local 0.1.0-next.3 → 0.1.0-next.4

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 (36) hide show
  1. package/README.md +3 -0
  2. package/dist/authentication-server.mjs +3 -3
  3. package/dist/{chunk-bg5r4wpv.js → chunk-3wzp2sax.js} +168 -117
  4. package/dist/{chunk-cbd36jq1.js → chunk-5kjvzbwr.js} +1 -1
  5. package/dist/{chunk-727y6qkb.js → chunk-egeb4821.js} +2 -2
  6. package/dist/{chunk-d4ctj079.js → chunk-q5v72erd.js} +2 -2
  7. package/dist/{chunk-04r0t2mb.js → chunk-wvbz0nmd.js} +97 -49
  8. package/dist/{chunk-r5s2v669.js → chunk-y8fnwbx0.js} +512 -480
  9. package/dist/dashboard-source/apps/frontend/app/(protected)/connected-apps/disconnect-form.tsx +57 -0
  10. package/dist/dashboard-source/apps/frontend/app/(protected)/connected-apps/page.tsx +97 -0
  11. package/dist/dashboard-source/apps/frontend/app/(protected)/lists/[...listPath]/list-page-client.tsx +26 -1
  12. package/dist/dashboard-source/apps/frontend/app/(protected)/lists/[...listPath]/page.tsx +11 -12
  13. package/dist/dashboard-source/apps/frontend/app/(protected)/lists/components/list-create-form.tsx +7 -5
  14. package/dist/dashboard-source/apps/frontend/app/api/dev/import-events/route.ts +69 -1
  15. package/dist/dashboard-source/apps/frontend/app/app-shell.tsx +4 -3
  16. package/dist/dashboard-source/apps/frontend/app/mcp/[[...endpoint]]/route.ts +0 -3
  17. package/dist/dashboard-source/apps/frontend/components/Header.tsx +10 -0
  18. package/dist/dashboard-source/apps/frontend/lib/collections/collection-provider-factory.tsx +3 -2
  19. package/dist/dashboard-source/apps/frontend/lib/collections/graphql-stream.ts +21 -1
  20. package/dist/dashboard-source/apps/frontend/lib/dev/import-completed-query-invalidation.tsx +66 -9
  21. package/dist/dashboard-source/apps/frontend/lib/dev/import-completed-refresh.ts +10 -6
  22. package/dist/dashboard-source/apps/frontend/lib/generated/gql/gql.ts +3 -3
  23. package/dist/dashboard-source/apps/frontend/lib/generated/gql/graphql.ts +2 -3
  24. package/dist/dashboard-source/apps/frontend/lib/mcp/oauth.ts +61 -72
  25. package/dist/dashboard-source/apps/frontend/lib/mcp/origin.ts +20 -12
  26. package/dist/dashboard-source/apps/frontend/lib/mcp/store.ts +80 -166
  27. package/dist/dashboard-source/apps/frontend/lib/mcp/todos.ts +42 -19
  28. package/dist/dashboard-source/apps/frontend/package.json +2 -3
  29. package/dist/dashboard-source/modules/shadcn-components/src/lib/date-time-display.tsx +3 -2
  30. package/dist/dashboard-source.json +2 -3
  31. package/dist/graphql-server.mjs +34 -7
  32. package/dist/job-worker-supervisor.mjs +3 -3
  33. package/dist/job-worker.mjs +5 -5
  34. package/dist/main.mjs +7 -2
  35. package/dist/resources/graphql-schema/system.graphql +1 -0
  36. package/package.json +3 -4
package/README.md CHANGED
@@ -49,6 +49,7 @@ For local testing, `PF_BYPASS_AUTH` can name an existing user's email in
49
49
  development mode. Production mode rejects this bypass. The launcher generates
50
50
  an `INTERNAL_API_SECRET` when none is supplied; set a stable value if signed
51
51
  file links need to survive restarts.
52
+ It also generates a separate MCP storage secret for the Dashboard and GraphQL server.
52
53
 
53
54
  ## Monorepo development
54
55
 
@@ -62,6 +63,8 @@ PF_ORG=/path/to/organisation \
62
63
  This imports the organisation and checks worker configuration before starting
63
64
  the services, import watcher, and Dashboard development server.
64
65
  Set a shared `INTERNAL_API_SECRET` for internal callbacks and signed file routes.
66
+ For MCP connections, set `PF_MCP_STORAGE_SECRET` to a separate random secret
67
+ shared by the Dashboard and GraphQL server. Do not pass it to Docker Steps.
65
68
 
66
69
  See [architecture](ARCHITECTURE.md) for how the services fit together and which
67
70
  edits need a restart. Build and packaging targets are defined in
@@ -14,17 +14,17 @@ import {
14
14
  SqliteAuthenticationDatabaseLive,
15
15
  SqliteOpenAuthStorageServiceLive,
16
16
  makeLocalSqlClientLayer
17
- } from "./chunk-04r0t2mb.js";
17
+ } from "./chunk-wvbz0nmd.js";
18
18
  import {
19
19
  NumberFromString
20
- } from "./chunk-cbd36jq1.js";
20
+ } from "./chunk-5kjvzbwr.js";
21
21
  import {
22
22
  serveOnExactPort,
23
23
  serveWithPortFallback,
24
24
  writePortFile,
25
25
  LocalRuntimeAuditLive,
26
26
  LocalPolicyRevisionLive
27
- } from "./chunk-727y6qkb.js";
27
+ } from "./chunk-egeb4821.js";
28
28
 
29
29
  // src/authentication-server/authentication-server.ts
30
30
  import { parseArgs as utilParseArgs } from "util";