Skip to content

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

Closed
L8D wants to merge 9 commits intolinearis-oss:mainfrom
L8D:latest-work-rebased-on-latest-linearis-release
Closed

Smörgåsbord of improvements that I wanted to share#57
L8D wants to merge 9 commits intolinearis-oss: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
@iamfj
Copy link
Copy Markdown
Collaborator

iamfj commented Apr 7, 2026

Thanks for the collection of improvements, @L8D!

Unfortunately, the project went through a complete architecture rewrite (#49) since this was opened — five-layer design, GraphQL codegen, new client abstractions — which makes this PR incompatible with the current codebase.

Closing this PR, but if any of the individual improvements are still relevant, feel free to open focused PRs against the current architecture. The patterns are documented in AGENTS.md and docs/development.md.

Thanks for taking the time to contribute! 🙏

@iamfj iamfj closed this Apr 7, 2026
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