8000 feat(import): capture one URL, several or a list from the API and the assistant by adeelahmad · Pull Request #272 · adeelahmad/lense · GitHub
[go: up one dir, main page]

Skip to content

feat(import): capture one URL, several or a list from the API and the assistant - #272

Merged
adeelahmad merged 1 commit into
mainfrom
claude/project-thread-ew8f8n
Oct 10, 2026
Merged

adeelahmad merged 1 commit into
mainfrom
claude/project-thread-ew8f8n

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Before: the web app could capture one page or a pasted/uploaded list of links, but the API took lists only as text or a file, and the assistant couldn't capture web pages at all.

After: POST /import/web/links also takes urls (a JSON list), and the assistant has an import_urls tool: one address, several, a pasted list, or an attached list/bookmark file. It picks the namespace like import_files and waits for approval.

How: the queueing loop moved from the route into links.queue, shared by the route and the tool. uploads.held_bytes reads an attached list without importing it. Docs, Settings tool list and the OpenAPI client are updated.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WQdDgCNPBWVWxydBXSenZD


Generated by Claude Code

… assistant

POST /import/web/links takes urls as a JSON list besides pasted text and a file;
the queueing moves to links.queue so the assistant's new import_urls tool
(addresses, pasted list, or an attached list/bookmark file) shares it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WQdDgCNPBWVWxydBXSenZD
@adeelahmad adeelahmad self-assigned this Oct 10, 2026
@adeelahmad
adeelahmad merged commit 016872e into main Oct 10, 2026
7 checks passed
@adeelahmad
adeelahmad deleted the claude/project-thread-ew8f8n branch October 10, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0