Rebrand NanoClaw to EJClaw
This commit is contained in:
@@ -144,8 +144,8 @@ export class CodexAppServerClient {
|
||||
|
||||
await this.request('initialize', {
|
||||
clientInfo: {
|
||||
name: 'nanoclaw_codex_runner',
|
||||
title: 'NanoClaw Codex Runner',
|
||||
name: 'ejclaw_codex_runner',
|
||||
title: 'EJClaw Codex Runner',
|
||||
version: '1.0.0',
|
||||
},
|
||||
capabilities: {
|
||||
@@ -182,7 +182,7 @@ export class CodexAppServerClient {
|
||||
model: options.model,
|
||||
approvalPolicy: 'never',
|
||||
sandbox: 'danger-full-access',
|
||||
serviceName: 'nanoclaw',
|
||||
serviceName: 'ejclaw',
|
||||
};
|
||||
|
||||
const result = sessionId
|
||||
@@ -362,7 +362,7 @@ export class CodexAppServerClient {
|
||||
this.respondError(
|
||||
message.id,
|
||||
-32601,
|
||||
`NanoClaw does not handle server request ${message.method}`,
|
||||
`EJClaw does not handle server request ${message.method}`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* NanoClaw Codex Runner
|
||||
* EJClaw Codex Runner
|
||||
*
|
||||
* Default runtime is Codex app-server, with SDK fallback available via
|
||||
* CODEX_RUNTIME=sdk or automatic fallback when app-server startup fails.
|
||||
*
|
||||
* Input protocol:
|
||||
* Stdin: Full ContainerInput JSON (read until EOF)
|
||||
* IPC: Follow-up messages as JSON files in $NANOCLAW_IPC_DIR/input/
|
||||
* IPC: Follow-up messages as JSON files in $EJCLAW_IPC_DIR/input/
|
||||
* Sentinel: _close — signals session end
|
||||
*
|
||||
* Stdout protocol:
|
||||
@@ -45,9 +45,14 @@ interface ContainerOutput {
|
||||
|
||||
// ── Constants ──────────────────────────────────────────────────────
|
||||
|
||||
const GROUP_DIR = process.env.NANOCLAW_GROUP_DIR || '/workspace/group';
|
||||
const IPC_DIR = process.env.NANOCLAW_IPC_DIR || '/workspace/ipc';
|
||||
const WORK_DIR = process.env.NANOCLAW_WORK_DIR || '';
|
||||
const GROUP_DIR =
|
||||
process.env.EJCLAW_GROUP_DIR ||
|
||||
process.env.NANOCLAW_GROUP_DIR ||
|
||||
'/workspace/group';
|
||||
const IPC_DIR =
|
||||
process.env.EJCLAW_IPC_DIR || process.env.NANOCLAW_IPC_DIR || '/workspace/ipc';
|
||||
const WORK_DIR =
|
||||
process.env.EJCLAW_WORK_DIR || process.env.NANOCLAW_WORK_DIR || '';
|
||||
const IPC_INPUT_DIR = path.join(IPC_DIR, 'input');
|
||||
const IPC_INPUT_CLOSE_SENTINEL = path.join(IPC_INPUT_DIR, '_close');
|
||||
const IPC_POLL_MS = 500;
|
||||
|
||||
Reference in New Issue
Block a user