mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-24 22:01:17 +00:00
* feat(android): add Wear proxy protocol Introduce a bounded, versioned phone/watch RPC contract and wire its test, lint, and build gates before either runtime endpoint lands. Co-authored-by: Sebastian Schubotz <git@sibbl.de> * test(android): lock Wear wire names Cover every supported RPC method and event discriminator so phone and watch cannot silently drift. Co-authored-by: Sebastian Schubotz <git@sibbl.net> * fix(android): bound Wear JSON depth Reject excessively nested Data Layer envelopes before kotlinx.serialization can recurse through them. * fix(android): enforce Wear depth on encode Keep outbound messages inside the same JSON nesting contract enforced by the decoder. * fix(android): preflight Wear payload depth Traverse arbitrary JSON payloads iteratively before serialization so deeply nested local trees fail safely. * feat(android): add Wear phone proxy Co-authored-by: Sebastian Schubotz <git@sibbl.net> * fix(ci): repair Wear and docs sync checks --------- Co-authored-by: Sebastian Schubotz <git@sibbl.de> Co-authored-by: Sebastian Schubotz <git@sibbl.net>
29 lines
835 B
TypeScript
29 lines
835 B
TypeScript
#!/usr/bin/env node
|
|
export function parseArgs(argv: unknown): {
|
|
target: string;
|
|
sourceRepo: string;
|
|
sourceSha: string;
|
|
clawhubRepo: string;
|
|
clawhubSourceRepo: string;
|
|
clawhubSourceSha: string;
|
|
};
|
|
export function pruneOrphanLocaleDocs(targetDocsDir: string): void;
|
|
/**
|
|
* Resolves the local ClawHub repository path used for docs mirroring.
|
|
*/
|
|
export function resolveClawHubRepoPath(value?: string, options?: Record<string, unknown>): string;
|
|
/** Removes locale pages whose canonical source page no longer exists. */
|
|
export function pruneOrphanLocaleDocs(targetDocsDir: string): void;
|
|
/**
|
|
* Mirrors ClawHub docs into the target docs tree.
|
|
*/
|
|
export function syncClawHubDocsTree(
|
|
targetDocsDir: unknown,
|
|
options?: Record<string, unknown>,
|
|
): {
|
|
repository: unknown;
|
|
sha: unknown;
|
|
path: string;
|
|
files: number;
|
|
};
|