8000 feat(assistant): make and change extensions by asking in chat or by voice by adeelahmad · Pull Request #94 · adeelahmad/lense · GitHub
[go: up one dir, main page]

Skip to content

feat(assistant): make and change extensions by asking in chat or by voice - #94

Merged
adeelahmad merged 1 commit into
mainfrom
claude/project-thread-t9tw9j
Oct 3, 2026
Merged

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

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Description

Before: you could only create extensions through the API, as code (#81) or as canvas graphs (#92).

After: you can ask the assistant in chat or by voice ("make me a tool that translates text"). It drafts the manifest. When the check fails, it reads the error and fixes the draft. It then asks for approval before saving anything.

It can also list your extensions, read one back, save a new version, and switch one on or off. Saving and switching always ask first, even in a setup conversation.

Approved saves are recorded as made in chat. The docs (docs/assistant.md) gain a section on extending the assistant.

How: new built-in tools in ai_tools.py (list_extensions, read_extension, save_extension, switch_extension). They are offered while ai.extensions is on. Viewers get only the two read tools. The approval re-checks the manifest when it is decided.

Motivation and Context

A simple user can customize the assistant through chat or voice as far as an advanced user can through code or the canvas.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • The title is a Conventional Commit.
  • My code follows the code style of this project.
  • I added or updated tests. The full backend suite gives 459 passed; the only failure is the LibreOffice conversion test, which fails in this environment for reasons unrelated to this change. mypy is clean.
  • My change requires documentation updates, and I have updated docs/ accordingly.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JroZmoXJUKvyfkvDYvmbka


Generated by Claude Code

…oice

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JroZmoXJUKvyfkvDYvmbka
@adeelahmad
adeelahmad merged commit 96c37b5 into main Oct 3, 2026
1 of 5 checks passed
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