Skip to content

Heartbeat Rework + Mini Tool#299

Merged
StephenDev0 merged 11 commits into
StephenDev0:mainfrom
hugeBlack:main
Dec 14, 2025
Merged

Heartbeat Rework + Mini Tool#299
StephenDev0 merged 11 commits into
StephenDev0:mainfrom
hugeBlack:main

Conversation

@hugeBlack

Copy link
Copy Markdown
Collaborator
  • Rework heartbeat related codes so all JITEnableContext methods ensures heartbeat recently happened or restart heartbeat before proceeding.
  • Add a 5s limit to heartbeat initialization so it times out quickly instead of waiting for tokio to time out (which takes around 60s)
  • Move mounting related codes inside JITEnableContext to avoid race conditions between heartbeat and mount status check.
  • Fix a typo in ProfileView.swift
  • Add a new feature called "stiktool" (WIP)

Implement a "Mini Tool" feature in this project. The mini tool feature allows users to import ".stiktool" bundles into current app.
The stiktool bundle contains 2 files: index.html and background.js.
The index.html works as a UI of the mini tool and is displayed inside a WKWebView.
The background.js works as the backend of the mini tool and runs inside JavaScriptCore.
They both can send messages to each other through a provided api.
Write a tool list view which displays all available mini tools inside Documents/tools. User can launch an app from the view and the related stiktool should be loaded. See JSSupport/ScriptListView.swift for style reference. Users shoule be able to view and edit the code of the stiktool bundle.

@hugeBlack hugeBlack marked this pull request as draft December 6, 2025 12:12
…heir own files.

Fix local pairing file is removed after switched to external device by directly loading the remote device's pairing file in place.
@StephenDev0

Copy link
Copy Markdown
Owner

Let me know when this is ready to merge

@StephenDev0

Copy link
Copy Markdown
Owner

And thanks for fixing my mess

@hugeBlack hugeBlack marked this pull request as ready for review December 14, 2025 07:05
@StephenDev0 StephenDev0 merged commit dca36d5 into StephenDev0:main Dec 14, 2025
1 check passed
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