Skip to content

Smörgåsbord of improvements that I wanted to share#57

Open
L8D wants to merge 9 commits intoczottmann:mainfrom
L8D:latest-work-rebased-on-latest-linearis-release
Open

Smörgåsbord of improvements that I wanted to share#57
L8D wants to merge 9 commits intoczottmann:mainfrom
L8D:latest-work-rebased-on-latest-linearis-release

Conversation

@L8D
Copy link
Copy Markdown

@L8D L8D commented Mar 11, 2026

Hello Linearis maintainers!

I just wanted to open this pull request to give you guys a chance to look at the code I've been using. This branch happens to be a state of the Linearis CLI tool that I have introduced many customizations to because I use Linearis in my own personal agentic workflows. I figured it might be beneficial to share the code I've been using for my personal projects just in case we can get a conversation started and figure out which patches are worth merging. It would be great to get some of this merged into the official Linearis tool so that I myself don't need to keep merging upstream commits and re-releasing it myself in order to get the latest Linearis features.

What's included?

  • a linearis documents update command for updating the content of a document
  • a linearis whoami command
  • changes to the file uploads to fix some bugs I ran into with it
  • support for attaching files documents to issues during linearis issues update
  • including a documents property for an overview of an issue's documents when using linearis issues read
  • including a url property when using linearis issues read (the url for the linear issue)
  • also added a 'prepare' npm script so that this would auto-build when packing npm tarballs

L8D and others added 9 commits March 9, 2026 13:14
Adds 'prepare' script to automatically build the package when installed
from GitHub. This enables team members to install directly with:
  npm install -g github:L8D/linearis

The prepare script runs 'npm run build' which compiles TypeScript and
sets execute permissions on dist/main.js.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
The prepare script was running before dependencies were installed when
installing from GitHub, causing TypeScript compilation errors. The
postinstall script runs after all dependencies are installed, ensuring
the build has access to @types/node, typescript, and other devDependencies.

This fixes the error:
  error TS2688: Cannot find type definition file for 'node'

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Switching to tarball distribution approach via npm pack and GitHub Releases.
This ensures consistent builds with exact devDependency versions and
faster installation without build step.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…e created; include url property for documents
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.

1 participant