Repository navigation
fix: harden Claude Code integration, add dps theme, de-dup wiring - #1
Merged
Merged
Conversation
Bug-fix, cleanup, and security-hardening pass on the Claude Code
integration. Bumps version 1.2.0 -> 1.3.0 across all manifests.
- Config file is parsed, not sourced. load_config no longer runs
`. "$CONFIG_FILE"`; a line parser accepts only allowlisted
DPS_<KEY>="<value>" lines and ignores everything else, removing a
code-execution path.
- Config writes escape embedded " and \ in every value (notably the
free-text DPS_ORG badge) so a quote can no longer break parsing or
inject shell. dps config now also persists DPS_HISTORY.
- Add `dps theme <name>` (default|mono|vivid): changes only DPS_THEME,
preserves every other key, prints confirmation plus a live preview.
Wired into cli.js FORWARD so `npx devpilot-studio theme` works too.
- Extract the shared settings.json validate/backup/merge logic into
scripts/lib/wire-statusline.sh; install.sh and scripts/setup.sh now
source it instead of each reimplementing it. No visible behavior
change to either script.
- Remove duplicate command files commands/dps-{configure,demo,setup,
uninstall}.md (byte-for-byte copies of the unprefixed versions);
update the CI required-file list.
- Docs: the plugin `Setup` hook only fires on `claude --init` /
`--maintenance`, not on `/plugin install`; the normal flow is to run
`/devpilot-studio:setup` once by hand. Drop the stale "Legacy
Fallback Support" section describing a CCB_*/CCBAR_* fallback that
does not exist in the code.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug-fix, cleanup, and security-hardening pass on the Claude Code
integration. Bumps version 1.2.0 -> 1.3.0 across all manifests.
. "$CONFIG_FILE"; a line parser accepts only allowlistedDPS_="" lines and ignores everything else, removing a
code-execution path.
free-text DPS_ORG badge) so a quote can no longer break parsing or
inject shell. dps config now also persists DPS_HISTORY.
dps theme <name>(default|mono|vivid): changes only DPS_THEME,preserves every other key, prints confirmation plus a live preview.
Wired into cli.js FORWARD so
npx devpilot-studio themeworks too.scripts/lib/wire-statusline.sh; install.sh and scripts/setup.sh now
source it instead of each reimplementing it. No visible behavior
change to either script.
uninstall}.md (byte-for-byte copies of the unprefixed versions);
update the CI required-file list.
Setuphook only fires onclaude --init/--maintenance, not on/plugin install; the normal flow is to run/devpilot-studio:setuponce by hand. Drop the stale "LegacyFallback Support" section describing a CCB_/CCBAR_ fallback that
does not exist in the code.
Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com