alpha
Login
or
Join now
kueda.net
/
tangled-cli
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
/
src
/
utils
/
at
fix-persist-refreshed-session
10 files
Ken-ichi Ueda
fix: reuse valid access tokens instead of refreshing every command
5w ago
39187400
.gitkeep
fix: reuse valid access tokens instead of refreshing every command Each tang call refreshed the access token, rotating the single-use refresh token every time. If a command was interrupted or overlapped another, the stored token got revoked before the new one was saved, forcing re-auth. This reuses a still-valid cached token and only refreshes when it has actually expired. Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
1 month ago
at-uri.ts
refactor: rename repoAtUri for accuracy * Repos are identified by their DID now, hence the name change * Update tests accordingly * Consolidate @atproto/identity usage into pds-resolver.ts by moving resolveHandleToDid there; at-uri.ts re-exports it and no longer imports @atproto/identity directly Co-authored-by: Claude (claude-sonnet-4-6) <noreply@anthropic.com>
2 months ago
auth-helpers.ts
fix: report auth state based on session validation Instead of trusting cached metadata, it actually ensures the session is valid, and distinguishes between lack of auth and an expired session. Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
1 month 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
jwt.ts
fix: reuse valid access tokens instead of refreshing every command Each tang call refreshed the access token, rotating the single-use refresh token every time. If a command was interrupted or overlapped another, the stored token got revoked before the new one was saved, forcing re-auth. This reuses a still-valid cached token and only refreshes when it has actually expired. Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
1 month ago
pds-resolver.ts
refactor: rename repoAtUri for accuracy * Repos are identified by their DID now, hence the name change * Update tests accordingly * Consolidate @atproto/identity usage into pds-resolver.ts by moving resolveHandleToDid there; at-uri.ts re-exports it and no longer imports @atproto/identity directly Co-authored-by: Claude (claude-sonnet-4-6) <noreply@anthropic.com>
2 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
Formatting
5 months ago