Skip to content

Releases: Mooling0602/dsh-web-file-uploader

v1.0.0-rc.2

v1.0.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Oct 11:23
Immutable release. Only release title and notes can be modified.
c41f859

Note

Copy the attached plugin package link and paste it into dsh's "Add plugin" input field to install or update. Copy the full release-note texts and paste to AI to get the translation for other languages.

复制插件包链接并粘贴到 dsh 的“添加插件”输入框中,即可安装或更新。复制更新日志全文并粘贴给 AI 以获取中文翻译。

Features

  • Restore the composer's attachment cards after a page reload: mount pulls the host's live references once per session and rebuilds a card for each, so a reload no longer leaves references that keep injecting with nothing on screen to release them. A row whose stored copy vanished is released instead of drawn, in commit 260b9d7.
  • Ask before a card's permanent delete: the trash button opens a confirmation dialog, because it is the one card action that removes bytes on disk, in commit 43db8ad.
  • Ask before a card's un-reference: the × now confirms too, because dropping the composer's only handle on a file stops it being attached to later messages and a local reference has no other way back, in commit 43db8ad.
  • Skip the transfer when the content is already stored: picking a file hashes it in the page and asks the host first, and a hit references the stored copy without sending a byte. Only this plugin's own index answers, so a miss, an unreadable file or a host without the route uploads as before, in commit 43db8ad.

Fixes

  • Batch "remove all" and "delete all" leave a card still hashing alone, so a batch never discards a pick mid-flight, in commit 43db8ad.
  • Closing a card while it is still hashing no longer falls back to uploading, which would have sent bytes for a card nobody can see and left an orphan reference behind, in commit 43db8ad.

CI/CD

  • Compose release bodies from one line per block: the composer joins the soft-wrapped lines of each paragraph, list item and blockquote paragraph, so notes no longer render as a narrow column with the rest of the page empty, in commit 44ff58b.
  • Stop gating the workflows on markdownlint: GitHub renders Markdown differently in its file preview and its issue, pull request and release renderers, so a lint failure did not describe what actually renders; the config stays in the tree as an editor-facing convenience, in commit aa3a0ba.

Docs

  • Write every tracked Markdown file as one line per paragraph, matching how GitHub reflows a long line, in commit 9c335a5.
  • Simplify both READMEs and add CI, license and Awesome DSH Plugin badges, in commits 0dffdab, 736fb64 and 8ff5740.
  • Add GALLARY.md and GALLARY_zh_CN.md with plugin interface screenshots for the English and Chinese locales, and link them from the READMEs, in commits e14398d, 61a3929 and 78ae6c5.
  • Refresh PUBLISHING.md, in commit ba6a78d.

Full Changelog: 1.0.0-rc.1...1.0.0-rc.2

v1.0.0-rc.1

v1.0.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Oct 10:08
Immutable release. Only release title and notes can be modified.
bce3ef4

Note

Copy the attached plugin package link and paste it into dsh's "Add plugin" input field to install or update.

复制插件包链接并粘贴到 dsh 的“添加插件”输入框中,即可安装或更新。

Features

  • Reference Desktop local files by their original absolute path instead of uploading them: when the shell reports a real host path the composer registers a local reference (card marked Local), nothing is copied into the uploads directory, no dedup index entry is written and TTL/GC never touches the file. References inject and fold like the existing-file group, and the host never deletes the original. The web UI keeps uploading because a browser page cannot see absolute paths. Permission mode is not a gate — the DSH sandbox confines writes only, so reads stay available in every mode — in commits 5e3e9cd and 6e7977e.
  • Add the "Skip upload for local files" setting (default on, Desktop only): turning it off sends every file through the upload channel even when a host path is available, in commit b1eecc7.

Fixes

  • End the folded existing-group paths.txt with a newline so line-based readers see the last entry, in commit a894e01.
  • Use "have been uploaded" in the injected [Attached files] prompt, in commit d85c4d0.
  • Keep the local badge separator outside the badge border so the pill closes around its label only, in commit 5588c41.
  • Simplify the skip-upload hint to say "Desktop" only, in commit 4d99f3c.

CI/CD

  • Make release reruns safe for immutable releases: an existing immutable release keeps its assets and only its editable title and notes are refreshed; a missing expected asset fails with a clear "bump the version" message, in commit b53906b.
  • Lint CHANGELOG.md with markdownlint before its content can reach a release body: a docs: push that edits it is lint-checked in CI even on the fast path, the release workflow lints it again before composing the notes, and a failing lint still ships the build and the GitHub Release but with an empty body and a failed run, in commit c747fa2.
  • Add the .markdownlint.json config the changelog lint runs with, allowing repeated category headings across version sections, in commit 3a51717.
  • Add a manual release-notes workflow that lints the changelog and regenerates only the body of an existing release from main's CHANGELOG.md, for any published tag, with ref and dry_run inputs; assets are never touched, so it repairs immutable releases too, in commit c747fa2.
  • Resolve a single-commit push's changed files through the commit-files API in the CI gate: the Actions push payload carries no file lists, so a docs push editing CHANGELOG.md skipped the changelog lint and a docs push that changed package.json would have skipped the full gate; an unreadable file list now runs the checks instead of skipping them, in commit e33d8ba.

Docs

  • Record the Desktop-only local-reference decision: the web UI always uploads, permission mode is not consulted, and the host never copies or deletes the original file, in commit 27f03b0.
  • Document the changelog lint, the empty-body behavior on a failed lint and the release-notes repair workflow in AGENTS.md and PUBLISHING.md, in commit c747fa2.
  • Turn the release-note Header into a bilingual GitHub note that tells readers to copy the attached package link into dsh's "Add plugin" input field, in commits e8478e0 and b2e82d9.

Full Changelog: 1.0.0-alpha.5...1.0.0-rc.1

v1.0.0-alpha.5

v1.0.0-alpha.5 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Oct 14:58
Immutable release. Only release title and notes can be modified.
e2d84d4

Note

Copy the attached plugin package link and paste it into dsh's "Add plugin" input field to install or update.

复制插件包链接并粘贴到 dsh 的“添加插件”输入框中,即可安装或更新。

Features

  • Fold large upload groups at send time: a card group that reaches the fold threshold is injected as one timestamped folder (the new uploads move into it) or one paths.txt (the existing deduplicated uploads are not moved), and the files return to the uploads root once the session's cards are cleared or on the next startup sweep; add the fold-threshold setting (2..100, default 100) in commit 341bb3c.
  • Add a "max files per upload" setting (default 100, 0 = unlimited): a picker selection over the limit is refused whole with a notice — nothing is uploaded or discarded — and the host config persists the limit in commit cdc84e3.
  • Add batch actions to the upload dock: "copy all paths", a two-step "remove all" that drops the cards but keeps the files, and a two-step "delete all" that deletes the files and un-references shared deduplicated copies, in commits 4c7ff54 and 001afe2.

Fixes

  • Give the settings page the shell's content inset, so its copy starts and ends where the shell's own settings pages do, in commit e1357f0.
  • Cap the upload dock's card list at two rows and scroll it vertically instead of letting the dock push the conversation off screen in commit 23d5227.
  • Inject every card reference: drop the 100-entry pending cap, so a card in the composer can no longer silently disappear from the injected context in commit 2f8a269.
  • Keep shared card references in sync with folds: the injected text no longer lists uploads-root paths that have moved, and a folded group counts distinct files instead of card entries, in commit a0d4201.
  • Merge a repeat upload into the existing card for the same stored path instead of showing a duplicate card, and release a card by its stable id so clearing the cards after a fold removes the injection in commit 5a11053.

CI/CD

  • Publish the npm package through OIDC trusted publishing instead of an optional token secret, keeping the pre-release dist-tag policy and letting npm sign the provenance attestation, in commit d235d76.
  • Gate the npm publish step behind the NPM_PUBLISH_ENABLED repository variable, so GitHub Releases keep shipping while the one-time trusted publisher setup is pending, in commit 1b0f8ae.

Docs

  • Document the npm channel bootstrap, the repository-variable switch and the tarball install path used until the first publish in commit b4f1787.
  • Describe the fold-threshold and max-files settings and the extended config keys in the READMEs in commits 341bb3c and cdc84e3.

Full Changelog: 1.0.0-alpha.4...1.0.0-alpha.5

v1.0.0-alpha.4

v1.0.0-alpha.4 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Oct 11:41
Immutable release. Only release title and notes can be modified.
6df7d7b

Note

Copy the attached plugin package link and paste it into dsh's "Add plugin" input field to install or update.

复制插件包链接并粘贴到 dsh 的“添加插件”输入框中,即可安装或更新。

Breaking changes

  • Replace the official add-file entry instead of hiding an official composer button: the shell's Add → File row, shared by the add (+) menu and the / slash menu, is swapped in place for this plugin's own attach-file row, and the standalone composer button is now governed by two settings — "Replace the official add-file entry" and "Always show the standalone attach button" — in commit 3a7ffdf.
  • Rename the replacement setting and persist three keys in the settings file ({ ttl, replaceOfficial, alwaysShowButton }) in commit 3a7ffdf.

Fixes

  • Place the composer paperclip button directly to the right of the add button, ahead of the permission/mode chips, in commit 434ed56.
  • Hide the permanent delete action on cards created by a deduplicated re-upload: such a card borrows a shared stored copy and now only un-references it (×), leaving file-level deletion to the settings panel, in commit 7f73a31.

CI/CD

  • Compose each release body from CHANGELOG.md's Header, version section and Endfix, derive the Full Changelog compare link from the previous release tag and adopt the Header/Endfix format in commits 8ee22a4 and 6d97000.

Docs

  • Describe the current composer-button placement and add-menu replacement behavior, the three-key settings config and the new card actions in commit 59581f6.
  • Add the commit-type selection rules and allow amending unpushed commits in commits 2fd89f8 and b8d3054.
  • Allow agents to write changelog entries when the maintainer explicitly authorizes it in commit 1a34695.

Full Changelog: 1.0.0-alpha.3...1.0.0-alpha.4

v1.0.0-alpha.3

v1.0.0-alpha.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Oct 09:55
Immutable release. Only release title and notes can be modified.
f3ab6d6

Note

Copy the attached plugin package link and paste it into dsh's "Add plugin" input field to install or update.

复制插件包链接并粘贴到 dsh 的“添加插件”输入框中,即可安装或更新。

Release & CI

  • Trigger releases from bare version tags and give each GitHub Release a v-prefixed title in commit 56dcf2d.
  • Skip the full CI gate for docs and chore pushes in commit dd14d12.
  • Never skip the gate for a push that touches package.json, and reject a release tag whose commit subject is not release: v<version> in commit 1274fc7.

Distribution

  • Mark the committed build artifacts as generated for GitHub's language statistics in commit 2be2273.
  • Stop committing the generated bundle: lib/ and client/src/client.js are now git-ignored and ship only inside the release tarball, in commit 85c070a.
  • Document installing from the GitHub Release tarball, with rebuild instructions for git and local-directory installs, in commit 4451763.

Tooling

  • Convert every tool script and test suite from JavaScript to TypeScript in commit d912d71.

Docs

  • Record the release naming conventions (bare tags, v-prefixed commit subject and release title) in commit 3f4d4c4.
  • Forbid chore headers on version-bump commits in commit 8730130.
  • Document the CI skip gate in commit bb7aeed and fix misleading details in PUBLISHING.md in commit b044917.
  • Point the documented tooling paths at the TypeScript scripts in commit a0ca332.

No functional changes to the plugin's runtime behavior.

Full Changelog: 1.0.0-alpha.2...1.0.0-alpha.3

v1.0.0-alpha.2

v1.0.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Oct 09:14
Immutable release. Only release title and notes can be modified.
2040ec9

Note

Copy the attached plugin package link and paste it into dsh's "Add plugin" input field to install or update.

复制插件包链接并粘贴到 dsh 的“添加插件”输入框中,即可安装或更新。

CI/CD

  • Add CHANGELOG.md and improve release workflow in commits 167d6f6 and 6654cdd.

No other real source code changes.

Full Changelog: v1.0.0-alpha.1...1.0.0-alpha.2

v1.0.0-alpha.1

v1.0.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Oct 08:44
bd62c7e

Full Changelog: 0.4.3...v1.0.0-alpha.1

v0.4.3

Choose a tag to compare

@Mooling0602 Mooling0602 released this 26 Sep 03:53
Immutable release. Only release title and notes can be modified.
8f8fe5c

改进文件的锁定与释放机制,避免无法手动或自动GC。

Full Changelog: 0.4.2...0.4.3

v0.4.2

Choose a tag to compare

@Mooling0602 Mooling0602 released this 26 Sep 03:39
91e8b5e

添加了文件管理功能,现在可以批量管理由此插件跟踪索引的已上传文件。

Full Changelog: 0.4.1...0.4.2

v0.4.1

Choose a tag to compare

@Mooling0602 Mooling0602 released this 26 Sep 02:51
68ed243

设置界面的文件上传图标同步修改为斜45度,以与官方图标区别。

Full Changelog: 0.4.0...0.4.1