From 61bed33c8ad0436b2ed3b5271fe6e0f7c612926e Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 10 Aug 2026 13:10:54 +0000 Subject: [PATCH] Reading additional input from stdin... OpenAI Codex v0.147.0 -------- workdir: /workspace/Personal/Web/shared model: gpt-5.6-luna provider: openai approval: never sandbox: read-only reasoning effort: xhigh reasoning summaries: none session id: 019febcc-0ed6-7d22-87cb-e6ad13926ec6 -------- user Write a concise git commit message for the following diff. Use the Conventional Commits style (e.g. "feat: ...", "fix: ..."), a summary line under 72 characters, optionally followed by a blank line and up to 3 short bullet points for notable details. Output only the commit message itself - no preamble, no explanation, no markdown fences. diff --git a/scripts/sync-consumers.ps1 b/scripts/sync-consumers.ps1 index fd6591f..1895c21 100644 --- a/scripts/sync-consumers.ps1 +++ b/scripts/sync-consumers.ps1 @@ -103,7 +103,12 @@ function Convert-ToConsumerWebUiPackage { $manifest = Get-Content -LiteralPath $PackagePath -Raw | ConvertFrom-Json $manifest.files = @('src', 'README.md') - $manifest.dependencies = [pscustomobject]@{} + if ($null -ne $manifest.dependencies) { + $designTokensDependency = $manifest.dependencies.PSObject.Properties['@gabriel20xx/design-tokens'] + if ($null -ne $designTokensDependency) { + $manifest.dependencies.PSObject.Properties.Remove('@gabriel20xx/design-tokens') + } + } $manifest.svelte = './src/index.ts' $manifest.types = './src/index.ts' @@ -133,6 +138,7 @@ function Convert-ToConsumerWebUiSources { if (Test-Path -LiteralPath $stylesPath) { $styles = Get-Content -LiteralPath $stylesPath -Raw $styles = $styles.Replace("@import '@gabriel20xx/design-tokens/theme.css';", "@import '../../../design-tokens/theme.css';") + $styles = $styles.Replace('@import "@gabriel20xx/design-tokens/theme.css";', "@import '../../../design-tokens/theme.css';") Write-Utf8NoBom -Path $stylesPath -Content $styles } warning: Codex could not find bubblewrap on PATH. Install bubblewrap with your OS package manager. See the sandbox prerequisites: https://developers.openai.com/codex/concepts/sandboxing#prerequisites. Codex will use the bundled bubblewrap in the meantime. codex fix: preserve consumer dependencies and rewrite token imports - Remove only the design-tokens dependency - Support single- and double-quoted CSS imports tokens used 10,345 fix: preserve consumer dependencies and rewrite token imports - Remove only the design-tokens dependency - Support single- and double-quoted CSS imports --- scripts/sync-consumers.ps1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/sync-consumers.ps1 b/scripts/sync-consumers.ps1 index fd6591f..1895c21 100644 --- a/scripts/sync-consumers.ps1 +++ b/scripts/sync-consumers.ps1 @@ -103,7 +103,12 @@ function Convert-ToConsumerWebUiPackage { $manifest = Get-Content -LiteralPath $PackagePath -Raw | ConvertFrom-Json $manifest.files = @('src', 'README.md') - $manifest.dependencies = [pscustomobject]@{} + if ($null -ne $manifest.dependencies) { + $designTokensDependency = $manifest.dependencies.PSObject.Properties['@gabriel20xx/design-tokens'] + if ($null -ne $designTokensDependency) { + $manifest.dependencies.PSObject.Properties.Remove('@gabriel20xx/design-tokens') + } + } $manifest.svelte = './src/index.ts' $manifest.types = './src/index.ts' @@ -133,6 +138,7 @@ function Convert-ToConsumerWebUiSources { if (Test-Path -LiteralPath $stylesPath) { $styles = Get-Content -LiteralPath $stylesPath -Raw $styles = $styles.Replace("@import '@gabriel20xx/design-tokens/theme.css';", "@import '../../../design-tokens/theme.css';") + $styles = $styles.Replace('@import "@gabriel20xx/design-tokens/theme.css";', "@import '../../../design-tokens/theme.css';") Write-Utf8NoBom -Path $stylesPath -Content $styles }