corrections
CI / CI configuration security checks (push) Successful in 6s
CI / Python tests and compilation (push) Failing after 12s
CI / QMD unit tests (push) Skipped
CI / Capabilities and shell quality (push) Successful in 1m50s
CI / Build and inspect generated packages (push) Skipped
CI / Bash integration and installation guards (push) Skipped
CI / Installed client configuration smoke tests (push) Skipped
CI / PowerShell tests on Ubuntu (push) Failing after 7m24s
CI / CI configuration security checks (push) Successful in 6s
CI / Python tests and compilation (push) Failing after 12s
CI / QMD unit tests (push) Skipped
CI / Capabilities and shell quality (push) Successful in 1m50s
CI / Build and inspect generated packages (push) Skipped
CI / Bash integration and installation guards (push) Skipped
CI / Installed client configuration smoke tests (push) Skipped
CI / PowerShell tests on Ubuntu (push) Failing after 7m24s
This commit is contained in:
1 parent
b35e2254b3
commit
c3e22eb902
39 files changed
+246
-151
No files matched your search
@@ -526,19 +526,6 @@ class Manager:
|
||||
config['defaultMode'] = PONYTAIL_MODE
|
||||
atomic_write(path, (json.dumps(config, indent=2) + '\n').encode('utf-8'))
|
||||
|
||||
def ensure_adhd_always_on(self):
|
||||
# i-have-adhd's SessionStart hook injects its full ruleset only while this opt-in flag exists.
|
||||
path = Path(os.environ.get('CLAUDE_CONFIG_DIR') or self.home / '.claude') / '.i-have-adhd-always'
|
||||
if path.is_file() and not linked(path):
|
||||
return
|
||||
if self.dry_run:
|
||||
if not self.summary:
|
||||
print('DRYRUN enable i-have-adhd always-on mode')
|
||||
return
|
||||
if linked(path) or path.exists():
|
||||
raise ValueError('i-have-adhd always-on flag path is a link or not a file.')
|
||||
atomic_write(path, b'')
|
||||
|
||||
def ensure_mcporter(self, entry, clients):
|
||||
server, url = entry['mcporter_name'], entry['mcporter_url']
|
||||
if not re.fullmatch(r'[a-z0-9-]+', server) or not re.fullmatch(r'https://[^\s]+', url):
|
||||
@@ -677,8 +664,6 @@ class Manager:
|
||||
self.ensure(client, entry)
|
||||
if 'Ponytail' in direct_entries:
|
||||
self.ensure_ponytail_mode()
|
||||
if 'i-have-adhd' in direct_entries:
|
||||
self.ensure_adhd_always_on()
|
||||
for entry in mcporter_entries.values():
|
||||
self.ensure_mcporter(entry, clients)
|
||||
print('EXTENSIONS: reconciliation complete' + (' (dry run)' if self.dry_run else ''))
|
||||
|
||||
Reference in new issue
Block a user