alpha
Login
or
Join now
thunfisch987.eurosky.social
/
tangled-cli-fork
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
WIP: A simple cli for daily tangled use cases and AI integration. This is for my personal use right now, but happy if others get mileage from it! :)
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
tangled-cli-fork
/
src
/
utils
/
at
main
8 files
Oliver Sader
add repo create
2mo ago
bee05bab
.gitkeep
add repo create
2 months ago
at-uri.ts
Fix repository AT-URI to use record rkey instead of name Issue records were not appearing on tangled.org because the repo field used an incorrect AT-URI format with the repository name as the rkey instead of the actual record key. Changes: - Update buildRepoAtUri() to query PDS for sh.tangled.repo records - Find matching repository by name field in record value - Return record's URI which contains the correct rkey - Add comprehensive tests for new query-based resolution Before: at://did:plc:xxx/sh.tangled.repo/tangled-cli After: at://did:plc:xxx/sh.tangled.repo/3mef23waqwq22 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
5 months ago
auth-helpers.ts
Fix #17: detect locked keychain and preserve credentials on access failure - Export KeychainAccessError from session.ts; thrown when getPassword() fails (platform error like locked keychain), not when an entry is missing (undefined) - resumeSession() now rethrows KeychainAccessError without clearing metadata, so temporarily locked keychains no longer wipe stored credentials - Add ensureAuthenticated(client) to auth-helpers.ts: on KeychainAccessError, attempts to unlock the keychain via `security unlock-keychain` (macOS only), retries once, then falls back to a clear error message with manual instructions - Replace 7 repeated inline auth-check blocks in issue.ts with ensureAuthenticated() - Add/update tests for KeychainAccessError propagation and ensureAuthenticated behavior Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
5 months ago
body-input.ts
Apply code formatting to source files Auto-format source files with Biome formatter (import organization, spacing, etc.). Generated lexicon files are now excluded from formatting. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
5 months ago
formatting.ts
Formatting
5 months ago
git.ts
Implement Git utilities for parsing tangled.org remote URLs Add utilities to parse and validate tangled.org Git remote URLs: - isTangledRemote(): Check if URL points to tangled.org - parseTangledRemote(): Extract owner, repo name, protocol from URL - Support both SSH (git@tangled.org:owner/repo.git) and HTTPS (https://tangled.org/owner/repo) formats - Parse owner as DID (did:plc:...) or AT Protocol handle - Extract repository name and protocol information Uses validation helpers from validation.ts for DID and handle checking. Includes comprehensive test coverage (17 tests) for all URL formats and edge cases. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
5 months ago
prompts.ts
Add prompts for remote selection and config persistence Extend prompts module with: - promptForRemoteSelection(): Interactive picker for Git remotes with default to "origin" if present - promptToSaveRemote(): Confirmation prompt to persist remote choice to .tangledrc config file These prompts are used by context resolution when multiple tangled.org remotes exist and user input is needed. Includes comprehensive test coverage (10 tests total, 5 new tests). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
5 months ago
validation.ts
add repo create
2 months ago