From 56d238434c297400c927d01a573d75ce1e6effeb Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 26 Feb 2026 09:22:44 -0600 Subject: [PATCH 1/6] Add tracking pixel with session-scoped firing and opt-out setting Adds a 1x1 tracking pixel to the app layout that fires once per browser session to track unique users. Includes a disableTrackingPixel server config setting (env: TEMPORAL_DISABLE_TRACKING_PIXEL) to opt out. --- server/config/development.yaml | 1 + server/config/docker.yaml | 1 + server/server/api/handler.go | 2 ++ server/server/config/config.go | 2 ++ src/lib/services/settings-service.ts | 1 + src/lib/types/global.ts | 1 + src/lib/types/index.ts | 1 + src/routes/(app)/+layout.svelte | 22 ++++++++++++++++++++++ 8 files changed, 31 insertions(+) diff --git a/server/config/development.yaml b/server/config/development.yaml index 6e8eb8ee93..07a8c2772f 100644 --- a/server/config/development.yaml +++ b/server/config/development.yaml @@ -22,6 +22,7 @@ startWorkflowDisabled: false hideWorkflowQueryErrors: false refreshWorkflowCountsDisabled: false activityCommandsDisabled: false +disableTrackingPixel: false auth: enabled: false providers: diff --git a/server/config/docker.yaml b/server/config/docker.yaml index 203a4d6c71..8a99cc4be8 100644 --- a/server/config/docker.yaml +++ b/server/config/docker.yaml @@ -23,6 +23,7 @@ startWorkflowDisabled: {{ env "TEMPORAL_START_WORKFLOW_DISABLED" | default "fals hideWorkflowQueryErrors: {{ env "TEMPORAL_HIDE_WORKFLOW_QUERY_ERRORS" | default "false" }} refreshWorkflowCountsDisabled: {{ env "TEMPORAL_REFRESH_WORKFLOW_COUNTS_DISABLED" | default "false" }} activityCommandsDisabled: {{ env "TEMPORAL_ACTIVITY_COMMANDS_DISABLED" | default "false" }} +disableTrackingPixel: {{ env "TEMPORAL_DISABLE_TRACKING_PIXEL" | default "false" }} cors: cookieInsecure: {{ env "TEMPORAL_CSRF_COOKIE_INSECURE" | default "false" }} unsafeAllowAllOrigins: {{ env "TEMPORAL_CORS_UNSAFE_ALLOW_ALL_ORIGINS" | default "false" }} diff --git a/server/server/api/handler.go b/server/server/api/handler.go index 4af20a38c4..b18f826f11 100644 --- a/server/server/api/handler.go +++ b/server/server/api/handler.go @@ -76,6 +76,7 @@ type SettingsResponse struct { HideWorkflowQueryErrors bool RefreshWorkflowCountsDisabled bool ActivityCommandsDisabled bool + DisableTrackingPixel bool } func TemporalAPIHandler(cfgProvider *config.ConfigProviderWithRefresh, apiMiddleware []Middleware, conn *grpc.ClientConn) echo.HandlerFunc { @@ -153,6 +154,7 @@ func GetSettings(cfgProvider *config.ConfigProviderWithRefresh) func(echo.Contex HideWorkflowQueryErrors: cfg.HideWorkflowQueryErrors, RefreshWorkflowCountsDisabled: cfg.RefreshWorkflowCountsDisabled, ActivityCommandsDisabled: cfg.ActivityCommandsDisabled, + DisableTrackingPixel: cfg.DisableTrackingPixel, } return c.JSON(http.StatusOK, settings) diff --git a/server/server/config/config.go b/server/server/config/config.go index a569e689e9..5cde50982f 100644 --- a/server/server/config/config.go +++ b/server/server/config/config.go @@ -67,6 +67,8 @@ type ( RefreshWorkflowCountsDisabled bool `yaml:"refreshWorkflowCountsDisabled"` // Whether to disable activity commands in the UI ActivityCommandsDisabled bool `yaml:"activityCommandsDisabled"` + // Whether to disable the tracking pixel in the UI + DisableTrackingPixel bool `yaml:"disableTrackingPixel"` // Forward specified HTTP headers from HTTP API requests to Temporal gRPC backend ForwardHeaders []string `yaml:"forwardHeaders"` HideLogs bool `yaml:"hideLogs"` diff --git a/src/lib/services/settings-service.ts b/src/lib/services/settings-service.ts index dee19493bb..e1184d89d2 100644 --- a/src/lib/services/settings-service.ts +++ b/src/lib/services/settings-service.ts @@ -48,6 +48,7 @@ export const fetchSettings = async (request = fetch): Promise => { refreshWorkflowCountsDisabled: !!settingsResponse?.RefreshWorkflowCountsDisabled, activityCommandsDisabled: !!settingsResponse?.ActivityCommandsDisabled, + disableTrackingPixel: !!settingsResponse?.DisableTrackingPixel, showTemporalSystemNamespace: settingsResponse?.ShowTemporalSystemNamespace, feedbackURL: settingsResponse?.FeedbackURL, diff --git a/src/lib/types/global.ts b/src/lib/types/global.ts index b8b1c9d809..8cc898cd37 100644 --- a/src/lib/types/global.ts +++ b/src/lib/types/global.ts @@ -99,6 +99,7 @@ export type Settings = { hideWorkflowQueryErrors: boolean; batchActionsDisabled: boolean; activityCommandsDisabled: boolean; + disableTrackingPixel: boolean; showTemporalSystemNamespace: boolean; feedbackURL: string; runtimeEnvironment: { diff --git a/src/lib/types/index.ts b/src/lib/types/index.ts index 2c977f7d38..a1616a20d8 100644 --- a/src/lib/types/index.ts +++ b/src/lib/types/index.ts @@ -299,6 +299,7 @@ export type SettingsResponse = { HideWorkflowQueryErrors: boolean; RefreshWorkflowCountsDisabled: boolean; ActivityCommandsDisabled: boolean; + DisableTrackingPixel: boolean; ShowTemporalSystemNamespace: boolean; FeedbackURL: string; Version: string; diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index 97686cea2f..5fe11bdd91 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -261,6 +261,18 @@ setCoreContext({ getUserIdentifier: () => $authUser.email || '', }); + + let showTrackingPixel = $state(false); + + $effect(() => { + if ( + !page.data?.settings?.disableTrackingPixel && + !sessionStorage.getItem('tracking-pixel-fired') + ) { + sessionStorage.setItem('tracking-pixel-fired', 'true'); + showTrackingPixel = true; + } + }); @@ -316,3 +328,13 @@ +{#if showTrackingPixel} + +{/if} From 7f6b0844990f41930d88172a3658c5211873d72a Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 26 Feb 2026 09:38:01 -0600 Subject: [PATCH 2/6] Use onMount instead of $effect for tracking pixel --- src/routes/(app)/+layout.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index 5fe11bdd91..f38e97f08a 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -1,5 +1,6 @@ + +{#if trackingPixelURL} + +{/if} diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index a80953b739..b24c568f05 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -1,6 +1,5 @@ @@ -331,13 +317,4 @@ -{#if showTrackingPixel} - -{/if} + From 6f07921cf77dfb9f653537a9115ba19dce6e4e77 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 26 Feb 2026 12:47:54 -0600 Subject: [PATCH 5/6] Add to mocks --- .omc/project-memory.json | 410 ++++++++++++++++++ ...f69d77e8-31d1-4615-b078-b12807f16362.jsonl | 8 + .omc/state/hud-state.json | 6 + .omc/state/hud-stdin-cache.json | 34 ++ .omc/state/idle-notif-cooldown.json | 3 + .omc/state/subagent-tracking.json | 17 + src/lib/svelte-mocks/app/stores.ts | 1 + 7 files changed, 479 insertions(+) create mode 100644 .omc/project-memory.json create mode 100644 .omc/state/agent-replay-f69d77e8-31d1-4615-b078-b12807f16362.jsonl create mode 100644 .omc/state/hud-state.json create mode 100644 .omc/state/hud-stdin-cache.json create mode 100644 .omc/state/idle-notif-cooldown.json create mode 100644 .omc/state/subagent-tracking.json diff --git a/.omc/project-memory.json b/.omc/project-memory.json new file mode 100644 index 0000000000..b2c6dcbd9c --- /dev/null +++ b/.omc/project-memory.json @@ -0,0 +1,410 @@ +{ + "version": "1.0.0", + "lastScanned": 1772121496136, + "projectRoot": "/Users/alex.tideman/Temporal/ui", + "techStack": { + "languages": [ + { + "name": "JavaScript/TypeScript", + "version": ">=22.14.0", + "confidence": "high", + "markers": ["package.json"] + }, + { + "name": "TypeScript", + "version": null, + "confidence": "high", + "markers": ["tsconfig.json"] + } + ], + "frameworks": [ + { + "name": "@playwright/test", + "version": "1.55.1", + "category": "testing" + }, + { + "name": "@sveltejs/kit", + "version": "2.53.0", + "category": "fullstack" + }, + { + "name": "esbuild", + "version": "0.25.0", + "category": "build" + }, + { + "name": "express", + "version": "4.18.2", + "category": "backend" + }, + { + "name": "react", + "version": "18.2.0", + "category": "frontend" + }, + { + "name": "react-dom", + "version": "18.2.0", + "category": "frontend" + }, + { + "name": "svelte", + "version": "5.53.3", + "category": "frontend" + }, + { + "name": "vite", + "version": "6.3.0", + "category": "build" + }, + { + "name": "vitest", + "version": "3.1.1", + "category": "testing" + }, + { + "name": "webpack", + "version": "5.105.2", + "category": "build" + } + ], + "packageManager": "pnpm", + "runtime": "Node.js 22.14.0" + }, + "build": { + "buildCommand": null, + "testCommand": "pnpm test", + "lintCommand": "pnpm lint", + "devCommand": "pnpm dev", + "scripts": { + "prepare": "svelte-kit sync && esno scripts/download-temporal.ts && husky install", + "eslint": "eslint .", + "eslint:fix": "eslint --fix .", + "dev": "pnpm dev:ui-server -- --open", + "dev:ui-server": ". ./.env.ui-server && vite dev --mode ui-server", + "dev:local-temporal": ". ./.env.local-temporal && vite dev --mode local-temporal", + "dev:temporal-cli": "vite dev --mode temporal-server", + "dev:docker": ". ./.env && VITE_API=http://localhost:8080 vite dev --mode docker", + "dev:with-auth": "vite dev --mode with-auth", + "build:local": "vite build", + "build:docker": "VITE_API=http://localhost:8080 vite build", + "build:server": "VITE_API= BUILD_PATH=server/ui/assets/local vite build", + "temporal-server": "esno scripts/start-temporal-server.ts --codecEndpoint http://127.0.0.1:8888", + "codec-server": "esno ./scripts/start-codec-server.ts --port 8888", + "oidc-server": "esno ./scripts/start-oidc-server.ts --port 8889", + "serve:playwright:e2e": "vite build && vite preview --mode test.e2e", + "serve:playwright:integration": "vite build && vite preview --mode test.integration --port 3333", + "test": "TZ=UTC vitest", + "test:ui": "TZ=UTC vitest --ui", + "test:coverage": "TZ=UTC vitest run --coverage", + "test:e2e": "PW_MODE=e2e playwright test tests/e2e", + "test:e2e:ui": "pnpm test:e2e --ui", + "test:integration": "PW_MODE=integration playwright test tests/integration", + "test:integration:ui": "PW_MODE=integration playwright test --ui tests/integration", + "lint": "pnpm prettier; pnpm eslint; pnpm stylelint", + "lint:ci": "pnpm prettier && pnpm eslint && pnpm stylelint", + "format": "pnpm prettier:fix; pnpm eslint:fix; pnpm stylelint:fix", + "check": "VITE_TEMPORAL_UI_BUILD_TARGET=local svelte-check --tsconfig ./tsconfig.json", + "check:watch": "VITE_TEMPORAL_UI_BUILD_TARGET=local svelte-check --tsconfig ./tsconfig.json --watch", + "prettier": "prettier --check --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss .", + "prettier:fix": "prettier --write --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss .", + "preview:local": "VITE_TEMPORAL_UI_BUILD_TARGET=local vite preview", + "preview:docker": "VITE_API=http://localhost:8080 VITE_TEMPORAL_UI_BUILD_TARGET=local vite preview", + "package": "svelte-package", + "package:patch": "pnpm version patch && svelte-package", + "package:minor": "pnpm version minor && svelte-package", + "package:major": "pnpm version major && svelte-package", + "stories:dev": "storybook dev -p 6006", + "stories:build": "storybook build", + "stories:test": "test-storybook --index-json", + "stylelint": "stylelint \"src/**/*.{css,postcss,svelte}\"", + "stylelint:fix": "stylelint --fix \"src/**/*.{css,postcss,svelte}\"", + "generate:locales": "esno scripts/generate-locales.ts", + "workflows": "esno scripts/workflows.ts", + "audit:tailwind": "esno scripts/audit-tailwind-colors", + "audit:holocene-props": "esno scripts/generate-holocene-props.ts", + "validate:versions": "./scripts/validate-versions.sh" + } + }, + "conventions": { + "namingStyle": null, + "importStyle": null, + "testPattern": null, + "fileOrganization": null + }, + "structure": { + "isMonorepo": false, + "workspaces": [], + "mainDirectories": ["bin", "scripts", "src", "static", "tests"], + "gitBranches": { + "defaultBranch": "main", + "branchingStrategy": null + } + }, + "customNotes": [], + "directoryMap": { + "bin": { + "path": "bin", + "purpose": "Executable scripts", + "fileCount": 0, + "lastAccessed": 1772121496086, + "keyFiles": [] + }, + "build": { + "path": "build", + "purpose": "Build output", + "fileCount": 2, + "lastAccessed": 1772121496088, + "keyFiles": ["favicon.ico", "index.html"] + }, + "dist": { + "path": "dist", + "purpose": "Distribution/build output", + "fileCount": 1, + "lastAccessed": 1772121496107, + "keyFiles": [] + }, + "playwright-report": { + "path": "playwright-report", + "purpose": null, + "fileCount": 2, + "lastAccessed": 1772121496108, + "keyFiles": ["index.html", "test-results.json"] + }, + "plugins": { + "path": "plugins", + "purpose": null, + "fileCount": 3, + "lastAccessed": 1772121496109, + "keyFiles": [ + "vite-plugin-oidc-server.ts", + "vite-plugin-temporal-server.ts", + "vite-plugin-ui-server.ts" + ] + }, + "scripts": { + "path": "scripts", + "purpose": "Build/utility scripts", + "fileCount": 11, + "lastAccessed": 1772121496109, + "keyFiles": [ + "check-go-vulnerabilities.sh", + "count-strict-errors.ts", + "download-temporal.ts", + "generate-holocene-props.ts", + "get-project-root.ts" + ] + }, + "server": { + "path": "server", + "purpose": null, + "fileCount": 9, + "lastAccessed": 1772121496109, + "keyFiles": ["Dockerfile", "LICENSE", "Makefile", "README.md", "go.mod"] + }, + "src": { + "path": "src", + "purpose": "Source code", + "fileCount": 9, + "lastAccessed": 1772121496110, + "keyFiles": ["app.css", "app.d.ts", "app.html", "env.d.ts", "global.d.ts"] + }, + "static": { + "path": "static", + "purpose": "Static files", + "fileCount": 1, + "lastAccessed": 1772121496110, + "keyFiles": ["favicon.ico"] + }, + "temporal": { + "path": "temporal", + "purpose": null, + "fileCount": 6, + "lastAccessed": 1772121496110, + "keyFiles": [ + "client.ts", + "codec-server.ts", + "data-converter.ts", + "payload-codec.ts", + "workers.ts" + ] + }, + "test-results": { + "path": "test-results", + "purpose": null, + "fileCount": 0, + "lastAccessed": 1772121496112, + "keyFiles": [] + }, + "tests": { + "path": "tests", + "purpose": "Test files", + "fileCount": 3, + "lastAccessed": 1772121496113, + "keyFiles": ["global-setup.ts", "global-teardown.ts", "tsconfig.json"] + }, + "utilities": { + "path": "utilities", + "purpose": null, + "fileCount": 2, + "lastAccessed": 1772121496114, + "keyFiles": ["temporal-server.ts", "ui-server.ts"] + }, + "dist/components": { + "path": "dist/components", + "purpose": "UI components", + "fileCount": 77, + "lastAccessed": 1772121496115, + "keyFiles": [ + "advanced-visibility-guard.svelte", + "advanced-visibility-guard.svelte.d.ts", + "auto-refresh-workflow.svelte" + ] + }, + "dist/models": { + "path": "dist/models", + "purpose": "Data models", + "fileCount": 16, + "lastAccessed": 1772121496119, + "keyFiles": [ + "core-user.d.ts", + "core-user.js", + "search-attribute-filters.d.ts" + ] + }, + "dist/pages": { + "path": "dist/pages", + "purpose": "Page components", + "fileCount": 68, + "lastAccessed": 1772121496122, + "keyFiles": [ + "batch-operation.svelte", + "batch-operation.svelte.d.ts", + "batch-operations.svelte" + ] + }, + "dist/services": { + "path": "dist/services", + "purpose": "Business logic services", + "fileCount": 35, + "lastAccessed": 1772121496124, + "keyFiles": [ + "batch-service.d.ts", + "batch-service.js", + "batch-service.test.js" + ] + }, + "playwright-report/data": { + "path": "playwright-report/data", + "purpose": "Data files", + "fileCount": 133, + "lastAccessed": 1772121496126, + "keyFiles": [ + "059fc95e814fd3bc4b901fad1a901f38c8ce121c.zip", + "0638bfb93c893e9acb8088b81ce9ee011aae4c46.zip", + "065f3365bed8bb43b8849fa6d865c568552a317b.zip" + ] + }, + "server/config": { + "path": "server/config", + "purpose": "Configuration files", + "fileCount": 5, + "lastAccessed": 1772121496128, + "keyFiles": ["base.yaml", "development.yaml", "docker.yaml"] + }, + "src/fixtures": { + "path": "src/fixtures", + "purpose": "Test fixtures", + "fileCount": 51, + "lastAccessed": 1772121496129, + "keyFiles": [ + "all-event-types.json", + "cluster.json", + "event-groups.canceled.json" + ] + }, + "src/lib": { + "path": "src/lib", + "purpose": "Library code", + "fileCount": 1, + "lastAccessed": 1772121496133, + "keyFiles": [] + }, + "tests/fixtures": { + "path": "tests/fixtures", + "purpose": "Test fixtures", + "fileCount": 1, + "lastAccessed": 1772121496135, + "keyFiles": ["completed-event-history.json"] + }, + "tests/pages": { + "path": "tests/pages", + "purpose": "Page components", + "fileCount": 3, + "lastAccessed": 1772121496135, + "keyFiles": [ + "data-encoder-settings.ts", + "start-standalone-activity.ts", + "workflow-pause.ts" + ] + } + }, + "hotPaths": [ + { + "path": "src/routes/(app)/+layout.svelte", + "accessCount": 9, + "lastAccessed": 1772130578308, + "type": "file" + }, + { + "path": "src/lib/components/session-pixel.svelte", + "accessCount": 4, + "lastAccessed": 1772130576806, + "type": "file" + }, + { + "path": "README.md", + "accessCount": 1, + "lastAccessed": 1772121582387, + "type": "file" + }, + { + "path": "src/lib/services/settings-service.ts", + "accessCount": 1, + "lastAccessed": 1772121587483, + "type": "file" + }, + { + "path": "server/server/api/handler.go", + "accessCount": 1, + "lastAccessed": 1772121590205, + "type": "file" + }, + { + "path": "server/server/config/config.go", + "accessCount": 1, + "lastAccessed": 1772121592726, + "type": "file" + }, + { + "path": "server/config/development.yaml", + "accessCount": 1, + "lastAccessed": 1772121594818, + "type": "file" + }, + { + "path": "server/config/docker.yaml", + "accessCount": 1, + "lastAccessed": 1772121596382, + "type": "file" + }, + { + "path": "src/routes/(app)/+layout.ts", + "accessCount": 1, + "lastAccessed": 1772130876831, + "type": "directory" + } + ], + "userDirectives": [] +} diff --git a/.omc/state/agent-replay-f69d77e8-31d1-4615-b078-b12807f16362.jsonl b/.omc/state/agent-replay-f69d77e8-31d1-4615-b078-b12807f16362.jsonl new file mode 100644 index 0000000000..a48906aecc --- /dev/null +++ b/.omc/state/agent-replay-f69d77e8-31d1-4615-b078-b12807f16362.jsonl @@ -0,0 +1,8 @@ +{"t":0,"agent":"a79751a","agent_type":"Explore","event":"agent_start","parent_mode":"none"} +{"t":0,"agent":"a79751a","agent_type":"Explore","event":"agent_stop","success":true,"duration_ms":92359} +{"t":0,"agent":"ad54db7","agent_type":"unknown","event":"agent_stop","success":true} +{"t":0,"agent":"ac51279","agent_type":"unknown","event":"agent_stop","success":true} +{"t":0,"agent":"a92c119","agent_type":"unknown","event":"agent_stop","success":true} +{"t":0,"agent":"a73e7ba","agent_type":"unknown","event":"agent_stop","success":true} +{"t":0,"agent":"ab0b1ab","agent_type":"unknown","event":"agent_stop","success":true} +{"t":0,"agent":"a0ad52a","agent_type":"unknown","event":"agent_stop","success":true} diff --git a/.omc/state/hud-state.json b/.omc/state/hud-state.json new file mode 100644 index 0000000000..b2ea84118c --- /dev/null +++ b/.omc/state/hud-state.json @@ -0,0 +1,6 @@ +{ + "timestamp": "2026-02-26T15:58:44.470Z", + "backgroundTasks": [], + "sessionStartTimestamp": "2026-02-26T15:58:15.597Z", + "sessionId": "f69d77e8-31d1-4615-b078-b12807f16362" +} diff --git a/.omc/state/hud-stdin-cache.json b/.omc/state/hud-stdin-cache.json new file mode 100644 index 0000000000..8357b58135 --- /dev/null +++ b/.omc/state/hud-stdin-cache.json @@ -0,0 +1,34 @@ +{ + "session_id": "f69d77e8-31d1-4615-b078-b12807f16362", + "transcript_path": "/Users/alex.tideman/.claude/projects/-Users-alex-tideman-Temporal-ui/f69d77e8-31d1-4615-b078-b12807f16362.jsonl", + "cwd": "/Users/alex.tideman/Temporal/ui", + "model": { "id": "claude-opus-4-6", "display_name": "Opus 4.6" }, + "workspace": { + "current_dir": "/Users/alex.tideman/Temporal/ui", + "project_dir": "/Users/alex.tideman/Temporal/ui", + "added_dirs": [] + }, + "version": "2.1.59", + "output_style": { "name": "default" }, + "cost": { + "total_cost_usd": 2.1551239500000006, + "total_duration_ms": 9640369, + "total_api_duration_ms": 286992, + "total_lines_added": 13, + "total_lines_removed": 7 + }, + "context_window": { + "total_input_tokens": 116620, + "total_output_tokens": 13943, + "context_window_size": 200000, + "current_usage": { + "input_tokens": 3, + "output_tokens": 607, + "cache_creation_input_tokens": 201, + "cache_read_input_tokens": 41056 + }, + "used_percentage": 21, + "remaining_percentage": 79 + }, + "exceeds_200k_tokens": false +} diff --git a/.omc/state/idle-notif-cooldown.json b/.omc/state/idle-notif-cooldown.json new file mode 100644 index 0000000000..de33c6ef82 --- /dev/null +++ b/.omc/state/idle-notif-cooldown.json @@ -0,0 +1,3 @@ +{ + "lastSentAt": "2026-02-26T18:37:56.139Z" +} diff --git a/.omc/state/subagent-tracking.json b/.omc/state/subagent-tracking.json new file mode 100644 index 0000000000..bdcec67f39 --- /dev/null +++ b/.omc/state/subagent-tracking.json @@ -0,0 +1,17 @@ +{ + "agents": [ + { + "agent_id": "a79751a1e0edcaad9", + "agent_type": "Explore", + "started_at": "2026-02-26T15:59:18.823Z", + "parent_mode": "none", + "status": "completed", + "completed_at": "2026-02-26T16:00:51.182Z", + "duration_ms": 92359 + } + ], + "total_spawned": 1, + "total_completed": 1, + "total_failed": 0, + "last_updated": "2026-02-26T18:38:57.431Z" +} diff --git a/src/lib/svelte-mocks/app/stores.ts b/src/lib/svelte-mocks/app/stores.ts index dae2bf70ae..7469f8415b 100644 --- a/src/lib/svelte-mocks/app/stores.ts +++ b/src/lib/svelte-mocks/app/stores.ts @@ -34,6 +34,7 @@ const settings: Settings = { workflowTerminateDisabled: false, hideWorkflowQueryErrors: false, activityCommandsDisabled: false, + disableTrackingPixel: false, feedbackURL: '', runtimeEnvironment: { isCloud: false, From e4fd0f748077817cc49d870c4ba970ed2be923f0 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 26 Feb 2026 12:48:38 -0600 Subject: [PATCH 6/6] Remove .omc --- .omc/project-memory.json | 410 ------------------ ...f69d77e8-31d1-4615-b078-b12807f16362.jsonl | 8 - .omc/state/hud-state.json | 6 - .omc/state/hud-stdin-cache.json | 34 -- .omc/state/idle-notif-cooldown.json | 3 - .omc/state/subagent-tracking.json | 17 - 6 files changed, 478 deletions(-) delete mode 100644 .omc/project-memory.json delete mode 100644 .omc/state/agent-replay-f69d77e8-31d1-4615-b078-b12807f16362.jsonl delete mode 100644 .omc/state/hud-state.json delete mode 100644 .omc/state/hud-stdin-cache.json delete mode 100644 .omc/state/idle-notif-cooldown.json delete mode 100644 .omc/state/subagent-tracking.json diff --git a/.omc/project-memory.json b/.omc/project-memory.json deleted file mode 100644 index b2c6dcbd9c..0000000000 --- a/.omc/project-memory.json +++ /dev/null @@ -1,410 +0,0 @@ -{ - "version": "1.0.0", - "lastScanned": 1772121496136, - "projectRoot": "/Users/alex.tideman/Temporal/ui", - "techStack": { - "languages": [ - { - "name": "JavaScript/TypeScript", - "version": ">=22.14.0", - "confidence": "high", - "markers": ["package.json"] - }, - { - "name": "TypeScript", - "version": null, - "confidence": "high", - "markers": ["tsconfig.json"] - } - ], - "frameworks": [ - { - "name": "@playwright/test", - "version": "1.55.1", - "category": "testing" - }, - { - "name": "@sveltejs/kit", - "version": "2.53.0", - "category": "fullstack" - }, - { - "name": "esbuild", - "version": "0.25.0", - "category": "build" - }, - { - "name": "express", - "version": "4.18.2", - "category": "backend" - }, - { - "name": "react", - "version": "18.2.0", - "category": "frontend" - }, - { - "name": "react-dom", - "version": "18.2.0", - "category": "frontend" - }, - { - "name": "svelte", - "version": "5.53.3", - "category": "frontend" - }, - { - "name": "vite", - "version": "6.3.0", - "category": "build" - }, - { - "name": "vitest", - "version": "3.1.1", - "category": "testing" - }, - { - "name": "webpack", - "version": "5.105.2", - "category": "build" - } - ], - "packageManager": "pnpm", - "runtime": "Node.js 22.14.0" - }, - "build": { - "buildCommand": null, - "testCommand": "pnpm test", - "lintCommand": "pnpm lint", - "devCommand": "pnpm dev", - "scripts": { - "prepare": "svelte-kit sync && esno scripts/download-temporal.ts && husky install", - "eslint": "eslint .", - "eslint:fix": "eslint --fix .", - "dev": "pnpm dev:ui-server -- --open", - "dev:ui-server": ". ./.env.ui-server && vite dev --mode ui-server", - "dev:local-temporal": ". ./.env.local-temporal && vite dev --mode local-temporal", - "dev:temporal-cli": "vite dev --mode temporal-server", - "dev:docker": ". ./.env && VITE_API=http://localhost:8080 vite dev --mode docker", - "dev:with-auth": "vite dev --mode with-auth", - "build:local": "vite build", - "build:docker": "VITE_API=http://localhost:8080 vite build", - "build:server": "VITE_API= BUILD_PATH=server/ui/assets/local vite build", - "temporal-server": "esno scripts/start-temporal-server.ts --codecEndpoint http://127.0.0.1:8888", - "codec-server": "esno ./scripts/start-codec-server.ts --port 8888", - "oidc-server": "esno ./scripts/start-oidc-server.ts --port 8889", - "serve:playwright:e2e": "vite build && vite preview --mode test.e2e", - "serve:playwright:integration": "vite build && vite preview --mode test.integration --port 3333", - "test": "TZ=UTC vitest", - "test:ui": "TZ=UTC vitest --ui", - "test:coverage": "TZ=UTC vitest run --coverage", - "test:e2e": "PW_MODE=e2e playwright test tests/e2e", - "test:e2e:ui": "pnpm test:e2e --ui", - "test:integration": "PW_MODE=integration playwright test tests/integration", - "test:integration:ui": "PW_MODE=integration playwright test --ui tests/integration", - "lint": "pnpm prettier; pnpm eslint; pnpm stylelint", - "lint:ci": "pnpm prettier && pnpm eslint && pnpm stylelint", - "format": "pnpm prettier:fix; pnpm eslint:fix; pnpm stylelint:fix", - "check": "VITE_TEMPORAL_UI_BUILD_TARGET=local svelte-check --tsconfig ./tsconfig.json", - "check:watch": "VITE_TEMPORAL_UI_BUILD_TARGET=local svelte-check --tsconfig ./tsconfig.json --watch", - "prettier": "prettier --check --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss .", - "prettier:fix": "prettier --write --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss .", - "preview:local": "VITE_TEMPORAL_UI_BUILD_TARGET=local vite preview", - "preview:docker": "VITE_API=http://localhost:8080 VITE_TEMPORAL_UI_BUILD_TARGET=local vite preview", - "package": "svelte-package", - "package:patch": "pnpm version patch && svelte-package", - "package:minor": "pnpm version minor && svelte-package", - "package:major": "pnpm version major && svelte-package", - "stories:dev": "storybook dev -p 6006", - "stories:build": "storybook build", - "stories:test": "test-storybook --index-json", - "stylelint": "stylelint \"src/**/*.{css,postcss,svelte}\"", - "stylelint:fix": "stylelint --fix \"src/**/*.{css,postcss,svelte}\"", - "generate:locales": "esno scripts/generate-locales.ts", - "workflows": "esno scripts/workflows.ts", - "audit:tailwind": "esno scripts/audit-tailwind-colors", - "audit:holocene-props": "esno scripts/generate-holocene-props.ts", - "validate:versions": "./scripts/validate-versions.sh" - } - }, - "conventions": { - "namingStyle": null, - "importStyle": null, - "testPattern": null, - "fileOrganization": null - }, - "structure": { - "isMonorepo": false, - "workspaces": [], - "mainDirectories": ["bin", "scripts", "src", "static", "tests"], - "gitBranches": { - "defaultBranch": "main", - "branchingStrategy": null - } - }, - "customNotes": [], - "directoryMap": { - "bin": { - "path": "bin", - "purpose": "Executable scripts", - "fileCount": 0, - "lastAccessed": 1772121496086, - "keyFiles": [] - }, - "build": { - "path": "build", - "purpose": "Build output", - "fileCount": 2, - "lastAccessed": 1772121496088, - "keyFiles": ["favicon.ico", "index.html"] - }, - "dist": { - "path": "dist", - "purpose": "Distribution/build output", - "fileCount": 1, - "lastAccessed": 1772121496107, - "keyFiles": [] - }, - "playwright-report": { - "path": "playwright-report", - "purpose": null, - "fileCount": 2, - "lastAccessed": 1772121496108, - "keyFiles": ["index.html", "test-results.json"] - }, - "plugins": { - "path": "plugins", - "purpose": null, - "fileCount": 3, - "lastAccessed": 1772121496109, - "keyFiles": [ - "vite-plugin-oidc-server.ts", - "vite-plugin-temporal-server.ts", - "vite-plugin-ui-server.ts" - ] - }, - "scripts": { - "path": "scripts", - "purpose": "Build/utility scripts", - "fileCount": 11, - "lastAccessed": 1772121496109, - "keyFiles": [ - "check-go-vulnerabilities.sh", - "count-strict-errors.ts", - "download-temporal.ts", - "generate-holocene-props.ts", - "get-project-root.ts" - ] - }, - "server": { - "path": "server", - "purpose": null, - "fileCount": 9, - "lastAccessed": 1772121496109, - "keyFiles": ["Dockerfile", "LICENSE", "Makefile", "README.md", "go.mod"] - }, - "src": { - "path": "src", - "purpose": "Source code", - "fileCount": 9, - "lastAccessed": 1772121496110, - "keyFiles": ["app.css", "app.d.ts", "app.html", "env.d.ts", "global.d.ts"] - }, - "static": { - "path": "static", - "purpose": "Static files", - "fileCount": 1, - "lastAccessed": 1772121496110, - "keyFiles": ["favicon.ico"] - }, - "temporal": { - "path": "temporal", - "purpose": null, - "fileCount": 6, - "lastAccessed": 1772121496110, - "keyFiles": [ - "client.ts", - "codec-server.ts", - "data-converter.ts", - "payload-codec.ts", - "workers.ts" - ] - }, - "test-results": { - "path": "test-results", - "purpose": null, - "fileCount": 0, - "lastAccessed": 1772121496112, - "keyFiles": [] - }, - "tests": { - "path": "tests", - "purpose": "Test files", - "fileCount": 3, - "lastAccessed": 1772121496113, - "keyFiles": ["global-setup.ts", "global-teardown.ts", "tsconfig.json"] - }, - "utilities": { - "path": "utilities", - "purpose": null, - "fileCount": 2, - "lastAccessed": 1772121496114, - "keyFiles": ["temporal-server.ts", "ui-server.ts"] - }, - "dist/components": { - "path": "dist/components", - "purpose": "UI components", - "fileCount": 77, - "lastAccessed": 1772121496115, - "keyFiles": [ - "advanced-visibility-guard.svelte", - "advanced-visibility-guard.svelte.d.ts", - "auto-refresh-workflow.svelte" - ] - }, - "dist/models": { - "path": "dist/models", - "purpose": "Data models", - "fileCount": 16, - "lastAccessed": 1772121496119, - "keyFiles": [ - "core-user.d.ts", - "core-user.js", - "search-attribute-filters.d.ts" - ] - }, - "dist/pages": { - "path": "dist/pages", - "purpose": "Page components", - "fileCount": 68, - "lastAccessed": 1772121496122, - "keyFiles": [ - "batch-operation.svelte", - "batch-operation.svelte.d.ts", - "batch-operations.svelte" - ] - }, - "dist/services": { - "path": "dist/services", - "purpose": "Business logic services", - "fileCount": 35, - "lastAccessed": 1772121496124, - "keyFiles": [ - "batch-service.d.ts", - "batch-service.js", - "batch-service.test.js" - ] - }, - "playwright-report/data": { - "path": "playwright-report/data", - "purpose": "Data files", - "fileCount": 133, - "lastAccessed": 1772121496126, - "keyFiles": [ - "059fc95e814fd3bc4b901fad1a901f38c8ce121c.zip", - "0638bfb93c893e9acb8088b81ce9ee011aae4c46.zip", - "065f3365bed8bb43b8849fa6d865c568552a317b.zip" - ] - }, - "server/config": { - "path": "server/config", - "purpose": "Configuration files", - "fileCount": 5, - "lastAccessed": 1772121496128, - "keyFiles": ["base.yaml", "development.yaml", "docker.yaml"] - }, - "src/fixtures": { - "path": "src/fixtures", - "purpose": "Test fixtures", - "fileCount": 51, - "lastAccessed": 1772121496129, - "keyFiles": [ - "all-event-types.json", - "cluster.json", - "event-groups.canceled.json" - ] - }, - "src/lib": { - "path": "src/lib", - "purpose": "Library code", - "fileCount": 1, - "lastAccessed": 1772121496133, - "keyFiles": [] - }, - "tests/fixtures": { - "path": "tests/fixtures", - "purpose": "Test fixtures", - "fileCount": 1, - "lastAccessed": 1772121496135, - "keyFiles": ["completed-event-history.json"] - }, - "tests/pages": { - "path": "tests/pages", - "purpose": "Page components", - "fileCount": 3, - "lastAccessed": 1772121496135, - "keyFiles": [ - "data-encoder-settings.ts", - "start-standalone-activity.ts", - "workflow-pause.ts" - ] - } - }, - "hotPaths": [ - { - "path": "src/routes/(app)/+layout.svelte", - "accessCount": 9, - "lastAccessed": 1772130578308, - "type": "file" - }, - { - "path": "src/lib/components/session-pixel.svelte", - "accessCount": 4, - "lastAccessed": 1772130576806, - "type": "file" - }, - { - "path": "README.md", - "accessCount": 1, - "lastAccessed": 1772121582387, - "type": "file" - }, - { - "path": "src/lib/services/settings-service.ts", - "accessCount": 1, - "lastAccessed": 1772121587483, - "type": "file" - }, - { - "path": "server/server/api/handler.go", - "accessCount": 1, - "lastAccessed": 1772121590205, - "type": "file" - }, - { - "path": "server/server/config/config.go", - "accessCount": 1, - "lastAccessed": 1772121592726, - "type": "file" - }, - { - "path": "server/config/development.yaml", - "accessCount": 1, - "lastAccessed": 1772121594818, - "type": "file" - }, - { - "path": "server/config/docker.yaml", - "accessCount": 1, - "lastAccessed": 1772121596382, - "type": "file" - }, - { - "path": "src/routes/(app)/+layout.ts", - "accessCount": 1, - "lastAccessed": 1772130876831, - "type": "directory" - } - ], - "userDirectives": [] -} diff --git a/.omc/state/agent-replay-f69d77e8-31d1-4615-b078-b12807f16362.jsonl b/.omc/state/agent-replay-f69d77e8-31d1-4615-b078-b12807f16362.jsonl deleted file mode 100644 index a48906aecc..0000000000 --- a/.omc/state/agent-replay-f69d77e8-31d1-4615-b078-b12807f16362.jsonl +++ /dev/null @@ -1,8 +0,0 @@ -{"t":0,"agent":"a79751a","agent_type":"Explore","event":"agent_start","parent_mode":"none"} -{"t":0,"agent":"a79751a","agent_type":"Explore","event":"agent_stop","success":true,"duration_ms":92359} -{"t":0,"agent":"ad54db7","agent_type":"unknown","event":"agent_stop","success":true} -{"t":0,"agent":"ac51279","agent_type":"unknown","event":"agent_stop","success":true} -{"t":0,"agent":"a92c119","agent_type":"unknown","event":"agent_stop","success":true} -{"t":0,"agent":"a73e7ba","agent_type":"unknown","event":"agent_stop","success":true} -{"t":0,"agent":"ab0b1ab","agent_type":"unknown","event":"agent_stop","success":true} -{"t":0,"agent":"a0ad52a","agent_type":"unknown","event":"agent_stop","success":true} diff --git a/.omc/state/hud-state.json b/.omc/state/hud-state.json deleted file mode 100644 index b2ea84118c..0000000000 --- a/.omc/state/hud-state.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "timestamp": "2026-02-26T15:58:44.470Z", - "backgroundTasks": [], - "sessionStartTimestamp": "2026-02-26T15:58:15.597Z", - "sessionId": "f69d77e8-31d1-4615-b078-b12807f16362" -} diff --git a/.omc/state/hud-stdin-cache.json b/.omc/state/hud-stdin-cache.json deleted file mode 100644 index 8357b58135..0000000000 --- a/.omc/state/hud-stdin-cache.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "session_id": "f69d77e8-31d1-4615-b078-b12807f16362", - "transcript_path": "/Users/alex.tideman/.claude/projects/-Users-alex-tideman-Temporal-ui/f69d77e8-31d1-4615-b078-b12807f16362.jsonl", - "cwd": "/Users/alex.tideman/Temporal/ui", - "model": { "id": "claude-opus-4-6", "display_name": "Opus 4.6" }, - "workspace": { - "current_dir": "/Users/alex.tideman/Temporal/ui", - "project_dir": "/Users/alex.tideman/Temporal/ui", - "added_dirs": [] - }, - "version": "2.1.59", - "output_style": { "name": "default" }, - "cost": { - "total_cost_usd": 2.1551239500000006, - "total_duration_ms": 9640369, - "total_api_duration_ms": 286992, - "total_lines_added": 13, - "total_lines_removed": 7 - }, - "context_window": { - "total_input_tokens": 116620, - "total_output_tokens": 13943, - "context_window_size": 200000, - "current_usage": { - "input_tokens": 3, - "output_tokens": 607, - "cache_creation_input_tokens": 201, - "cache_read_input_tokens": 41056 - }, - "used_percentage": 21, - "remaining_percentage": 79 - }, - "exceeds_200k_tokens": false -} diff --git a/.omc/state/idle-notif-cooldown.json b/.omc/state/idle-notif-cooldown.json deleted file mode 100644 index de33c6ef82..0000000000 --- a/.omc/state/idle-notif-cooldown.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "lastSentAt": "2026-02-26T18:37:56.139Z" -} diff --git a/.omc/state/subagent-tracking.json b/.omc/state/subagent-tracking.json deleted file mode 100644 index bdcec67f39..0000000000 --- a/.omc/state/subagent-tracking.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "agents": [ - { - "agent_id": "a79751a1e0edcaad9", - "agent_type": "Explore", - "started_at": "2026-02-26T15:59:18.823Z", - "parent_mode": "none", - "status": "completed", - "completed_at": "2026-02-26T16:00:51.182Z", - "duration_ms": 92359 - } - ], - "total_spawned": 1, - "total_completed": 1, - "total_failed": 0, - "last_updated": "2026-02-26T18:38:57.431Z" -}