Skip to content

Dev - #36

Merged
FANATFANATA merged 15 commits into
prodfrom
dev
Sep 15, 2026
Merged

Dev#36
FANATFANATA merged 15 commits into
prodfrom
dev

Conversation

@FANATFANATA

@FANATFANATA FANATFANATA commented Sep 15, 2026

Copy link
Copy Markdown
Owner

Pull Request Template

Description

Brief description of changes.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • CI/CD update

Testing

  • Tests pass locally
  • PoW solvers tested (C + JS)
  • Live tests if applicable

Checklist

  • My code follows the project style
  • I have performed a self-review
  • No new warnings from linters
  • Documentation updated if needed

SHARKgamestudio and others added 15 commits September 14, 2026 13:37
…okens.bat)

Guided browser wizard that pulls DeepSeek/Qwen auth tokens via a
bookmarklet and a local 127.0.0.1-only server; .bat locates a Python
3.6+ interpreter and forwards extra args.

🤖
check_repo_guards() bans U+2014/U+2013 in docs/ text files; the copied
script had 8 of them. Replaced with ASCII hyphens, no content changes.

🤖
- Python string literals: adjacent-literal concatenation (identical values)
- Favicon / fonts / noise data-URIs: shared constants injected via the
  existing __key__ placeholder machinery (also fully percent-encodes the
  noise SVG, which previously mixed raw spaces with %20)
- HTML: break between attributes, with a neutralizing comment between
  inline elements so no whitespace node is introduced
- CSS: break between declarations inside rules

Rendered setup/results pages and the bookmarklet are unchanged except
for comment text and the percent-encoded noise URI.

🤖
…eassignment (ruff PLW0603)

render_setup_page() and serve() now take the port as a parameter; the
handler carries it as a class attribute set in serve(), so the setup
page's bookmarklet still calls back on the effective --port. serve()
also takes over the --no-browser handling from main().

Verified: ruff clean, and the setup/results pages + token collection
work end-to-end on both the default port and a custom --port.

🤖
Purely mechanical: quote normalization, collapsed redundant parens, and
a blank line after a local import. No behavior changes; snapshot
comparison confirms TEXTS and the built bookmarklet are unchanged.

🤖
…uild (ruff PLW1510)

The compiler probes intentionally tolerate failure (returncode is
checked manually to try a fallback command), so check=False documents
the existing behavior explicitly. No behavior change; unblocks the
pre-existing 'ruff check .' CI failures on a clean dev checkout.

🤖
pylint cannot infer members on the sys.stdout TextIO wrapper, so read
the encoding via getattr() + str() with an explicit truthiness guard.
Behavior is identical (missing/None/empty encoding skips the re-wrap).

🤖
…launcher

get_tokens.py / run_get_tokens.bat did not describe what the tool is;
renamed to token_utility.py / token_utility.bat and updated the three
stale self-references inside the script.

token_utility.sh mirrors the .bat: probes python3/python and actually
executes each candidate before accepting it, since some systems ship a
python3 launcher that resolves but fails to run (127). Passes all
arguments through to the Python script.

Verified: both launchers run the script end-to-end, full test suite
passes (ALL CHECKS PASSED).

🤖
Add standalone token utility
…subprocess check=False

- Add incremental.finish() after aiter_bytes loop in _stream_openai and stream_openai
  so trailing SSE blocks without trailing newline are processed instead of dropped.
- Fix PLW1510: add explicit check=False to subprocess.run calls in app.py.
@FANATFANATA
FANATFANATA merged commit 237aebc into prod Sep 15, 2026
17 of 18 checks passed
@FANATFANATA
FANATFANATA deleted the dev branch September 15, 2026 15:11
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