Skip to content

Add ListApps and DeployApp methods to TypeScript client#40

Merged
maxhodak merged 1 commit intomainfrom
feat/list-apps-deploy
Jan 11, 2026
Merged

Add ListApps and DeployApp methods to TypeScript client#40
maxhodak merged 1 commit intomainfrom
feat/list-apps-deploy

Conversation

@maxhodak
Copy link
Contributor

Summary

  • Add listApps() method for querying installed applications
  • Add deployApp() method with streaming upload support
  • Bump version to 2.2.6

Usage

const device = new Device("192.168.1.100:647");

// List apps
const { response } = await device.listApps();
response.apps.forEach(app => console.log(app.name, app.version));

// Deploy app
const deployment = device.deployApp({}, {
  onData: (response) => console.log(response.message),
  onEnd: () => console.log("Done"),
});
deployment.sendMetadata({ name: "myapp.deb", size: fileSize, sha256Sum });
deployment.sendChunk(chunk1);
deployment.sendChunk(chunk2);
deployment.end();

Test plan

  • listApps() returns apps list from compatible device
  • deployApp() uploads file with progress callbacks

Dependencies

- Add listApps() method for querying installed applications
- Add deployApp() method with streaming upload support
- Bump version to 2.2.6

DeployApp supports chunked file upload with progress callbacks
for large .deb package files.
@maxhodak maxhodak force-pushed the feat/list-apps-deploy branch from a7c93c1 to 5727985 Compare January 11, 2026 21:45
@maxhodak maxhodak merged commit 6bc3896 into main Jan 11, 2026
2 of 4 checks passed
@maxhodak maxhodak deleted the feat/list-apps-deploy branch January 11, 2026 21:53
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.

1 participant