Skip to content

EasonZhu1997/Eason-Agent-Skills / skills/aiui-everos-direct

aiui-everos-direct

Verified

Integrate EverOS memory into Rokid AIUI agents using the bundled reusable JavaScript SDK, without a companion APK. Use for Cloud or self-hosted memory write, recall, identity scoping, lifecycle handling, and verification; use a separate OAuth/MCP workflow for EverMe personal accounts.

FileKindSize
LICENSEother1.0 KB
SKILL.mdskill md4.2 KB
agents/openai.yamlconfig349 B
assets/everos-client.mjsscript177 B
references/aiui-adapter.mdmarkdown5.1 KB
references/api-v2.mdmarkdown5.4 KB
references/verification.mdmarkdown2.7 KB
references/versions-and-sources.mdmarkdown4.1 KB
scripts/everos-client.test.mjsscript7.6 KB
scripts/everos-sdk.test.mjsscript7.7 KB
sdk/LICENSEother1.0 KB
sdk/README.mdmarkdown6.1 KB
sdk/index.d.tsscript2.6 KB
sdk/index.jsscript8.9 KB
sdk/package.jsonmanifest565 B

sdk/index.d.ts

View on GitHub
export declare const EVEROS_SDK_VERSION: '0.1.0';

/** Identifiers are captured at construction; create a new client for a new owner. */
export interface EverosScope {
  appId: string;
  projectId: string;
  userId: string;
  assistantId: string;
}

export interface EverosMessage {
  role: 'user' | 'assistant';
  /** Unix milliseconds, not Unix seconds. */
  timestamp: number;
  content: string;
}

export type EverosSearchMethod = 'keyword' | 'vector' | 'hybrid' | 'agentic';

export interface EverosResult {
  httpStatus: 200 | 202;
  requestId: string;
  /** Provider payload; narrow fields using the current EverOS API contract. */
  data: Record<string, unknown>;
}

/** Errors have a stable message, with this optional delay for HTTP 429 / 503. */
export interface EverosError extends Error {
  retryAfterMs?: number;
}

export interface AIUIRequestResponse {
  statusCode: number;
  data: unknown;
  header?: Record<string, unknown>;
}

export interface AIUIRequestOptions {
  url: string;
  method: 'POST';
  header: Record<string, string>;
  dataType: 'json';
  responseType: 'text';
  timeout: number;
  data: Record<string, unknown>;
  success(response: AIUIRequestResponse): void;
  fail(error?: unknown): void;
}

export interface AIUIRequestTask {
  abort?(): unknown;
}

/** Callback API, matching the portion of AIUI wx.request used by this SDK. */
export type AIUIRequest = (options: AIUIRequestOptions) => AIUIRequestTask | void;

export interface EverosClientOptions {
  /** HTTPS origin only, for example https://api.evermind.ai. No path or query. */
  baseUrl: string;
  scope: EverosScope;
  /** Synchronous runtime supplier; return the complete Bearer header value. */
  getAuthorization(): string;
  /** True only while the captured account / owner epoch remains active. */
  isCurrent(): boolean;
  /** 1..120000 milliseconds; default 10000. */
  timeoutMs?: number;
}

export interface EverosClient {
  /** Synchronous input validation may throw; transport errors reject. */
  add(options: { sessionId: string; messages: EverosMessage[] }): Promise<EverosResult>;
  flush(options: { sessionId: string }): Promise<EverosResult>;
  search(options: {
    query: string;
    method?: EverosSearchMethod;
    topK?: number;
  }): Promise<EverosResult>;
  /** Idempotent. Aborts best-effort; an already sent write may still be applied. */
  dispose(): void;
}

export declare function createEverosClient(
  options: EverosClientOptions & { request: AIUIRequest },
): EverosClient;

export declare function createAIUIEverosClient(
  options: EverosClientOptions & { wx: { request: AIUIRequest } },
): EverosClient;
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 323kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 323kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 323kUpdated Claude CodeCodexVerifiedInstall