Personal blog / Field notes

JavaYu.

Notes on technology, ideas, and continuous learning.

Recent writing

09
  1. OpenCode / Plugin development / TypeScript / Open source

    Inside OpenCode V1/V2 Plugin Loading: One Package for Two Versions and Local Debugging

    OpenCode V1 and V2 use fundamentally different plugin mechanisms, and their plugin definitions are not interchangeable. However, the official migration guide provides a dual-version plugin pattern: by exposing separate V1 and V2 entry points, one npm package can support both versions. This article explains the differences between local directories, npm packages, and server entry points through concrete examples, then presents a packaging strategy for dual-version plugins.

    Read article
  2. Philosophy of Technology / Cybernetics / AI / Agent / Industrial Revolution / Productivity

    AI: A New Kind of ‘Entropy Reduction’

    From steam engines to large language models, explore how four industrial revolutions countered entropy increase—and how AI could become the core engine of next-generation civilisation by autonomously generating rules.

    Read article
View all writing