Spaces:
Running
Running
Sync from felladrin/MiniSearch@5f0835f
Browse filesFiles changed (5)
83 unmodified lines8485868788899083 unmodified linesattributes:label: MiniSearch versiondescription: What version of MiniSearch are you using?placeholder: latest, v1.0.0, etc.validations:required: true83 unmodified lines8485868788899083 unmodified linesattributes:label: MiniSearch versiondescription: What version of MiniSearch are you using?placeholder: latest, 2026.12.2, etc.validations:required: true
142 unmodified lines143144145146147148142 unmodified linesfiecho "version=$VERSION" >> "$GITHUB_OUTPUT"- name: Record the commit being releasedid: record-commitrun: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"142 unmodified lines143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203142 unmodified linesfiecho "version=$VERSION" >> "$GITHUB_OUTPUT"- name: Stamp the release version into the package manifestenv:VERSION: ${{ steps.validate-version.outputs.version }}run: |# The image reports its own version: server/outboundUserAgent.ts# builds the User-Agent that every page read and thumbnail fetch# carries from package.json, and the running instance reports the# build on /status. The committed manifest cannot hold a release# version, because a release is cut from a commit that predates the# version, so the validated version is written into the working tree# here and never committed. This job holds `contents: read`, and the# build context is the only reader.## A same-day sequence release is not valid semver:# semver.valid("2026.12.3.1") is null. The sequence becomes semver# build metadata, 2026.12.3+1, which parses and compares equal to the# bare date. The prerelease form (2026.12.3-1) was ruled out: it sorts# before 2026.12.3, which would rank a later same-day release below# the first one.if [[ $VERSION =~ ^([0-9]{4}\.[1-9][0-9]?\.[1-9][0-9]?)\.([1-9][0-9]*)$ ]]; thenpackage_version="${BASH_REMATCH[1]}+${BASH_REMATCH[2]}"elsepackage_version=$VERSIONfiexport PACKAGE_VERSION="$package_version"# Written with node rather than `npm version`, because npm normalizes# the version it writes and drops the build metadata: `npm version# 2026.12.3+1` leaves 2026.12.3 in the manifest, which loses the# sequence. package-lock.json carries the root version twice, and the# Dockerfile's `npm ci` fails when the two files disagree, so both# fields move with the manifest.node -e 'const fs = require("node:fs");const version = process.env.PACKAGE_VERSION;const manifest = JSON.parse(fs.readFileSync("package.json", "utf8"));manifest.version = version;fs.writeFileSync("package.json", JSON.stringify(manifest, null, 2) + "\n");const lock = JSON.parse(fs.readFileSync("package-lock.json", "utf8"));lock.version = version;lock.packages[""].version = version;fs.writeFileSync("package-lock.json", JSON.stringify(lock, null, 2) + "\n");'# Fail the run here rather than publish an image that reports a# version other than the release it is tagging.node -e 'const manifest = require("./package.json");const lock = require("./package-lock.json");const expected = process.env.PACKAGE_VERSION;const found = [manifest.version, lock.version, lock.packages[""].version];if (new Set(found).size !== 1 || found[0] !== expected) {console.error(`Stamped ${found.join(", ")}, expected ${expected}.`);process.exit(1);}console.log(`Stamped package.json and package-lock.json at ${manifest.version}.`);'- name: Record the commit being releasedid: record-commitrun: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
1fc1190015f0835f
156 unmodified lines157158159160161162163156 unmodified lines<details><summary>Can others use my instance with my API key without seeing it?</summary>Yes. Configure the `INTERNAL_OPENAI_COMPATIBLE_API_*` variables from the [Configuration](#configuration) table and restart the container. A new option with the name you chose appears in the "AI Processing Location" menu, and the key stays on the server.</details>156 unmodified lines157158159160161162163156 unmodified lines<details><summary>Can others use my instance with my API key without seeing it?</summary>Yes. Configure the `INTERNAL_OPENAI_COMPATIBLE_API_*` variables from the Internal API configuration table in [docs/configuration.md](docs/configuration.md) and restart the container. A new option with the name you chose appears in the "AI Processing Location" menu, and the key stays on the server.</details>
3 unmodified lines4567893 unmodified lines## 2026-12-02- Reading an answer aloud no longer joins words linked by an underscore. Every `_` was removed before speaking, so "snake_case" was read as one word, "snakecase". Now an underscore between letters or digits is kept, and both engines read it as a word break, while underscores that open or close emphasis are still removed.- The access key page no longer fails when the browser blocks site data. With a blocked profile (Safari with all cookies blocked, Chrome set to not let sites save data), reading the saved key threw and the app stayed on its loading screen, and a correct key was reported as "Error validating access key" because the server's yes could not be saved. Now the saved key is treated as missing, so the access key page shows, and a key the server accepts lets you in for that visit, to be asked for again on the next one.- The suggested follow-up question is no longer taken from the model's reasoning. When the model reasoned about possible questions and its reply held no question outside the reasoning block, or never left the block, a question from its reasoning ended up in the box. Now only what comes after the reasoning is read, and the box stays empty when there is no question there.3 unmodified lines456789103 unmodified lines## 2026-12-02- The published image now reports the version it was released as. The package manifest in git stays at `1.0.0`, because a release is cut from a commit that predates its version, so the release workflow stamps the version into the manifest in its own build context. The server's outbound `User-Agent` and the version the running instance reports name the release (a second release on one day reports as `2026.12.3+1`) instead of `1.0.0` forever.- Reading an answer aloud no longer joins words linked by an underscore. Every `_` was removed before speaking, so "snake_case" was read as one word, "snakecase". Now an underscore between letters or digits is kept, and both engines read it as a word break, while underscores that open or close emphasis are still removed.- The access key page no longer fails when the browser blocks site data. With a blocked profile (Safari with all cookies blocked, Chrome set to not let sites save data), reading the saved key threw and the app stayed on its loading screen, and a correct key was reported as "Error validating access key" because the server's yes could not be saved. Now the saved key is treated as missing, so the access key page shows, and a key the server accepts lets you in for that visit, to be asked for again on the next one.- The suggested follow-up question is no longer taken from the model's reasoning. When the model reasoned about possible questions and its reply held no question outside the reasoning block, or never left the block, a question from its reasoning ended up in the box. Now only what comes after the reasoning is read, and the box stays empty when there is no question there.
.github/ISSUE_TEMPLATE/bug_report.yml+1-1
.github/workflows/publish-docker-image.yml+55
.source-commit+1-1
README.md+1-1
changelog.md+1