replicas-engine 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/package.json +1 -2
package/dist/index.js
CHANGED
|
@@ -3,9 +3,12 @@ import 'dotenv/config';
|
|
|
3
3
|
import { serve } from '@hono/node-server';
|
|
4
4
|
import { Hono } from 'hono';
|
|
5
5
|
import { readFile } from 'fs/promises';
|
|
6
|
-
import { READY_MESSAGE, COMPLETION_MESSAGE } from '@replicas/shared';
|
|
7
6
|
import { authMiddleware } from './middleware/auth.js';
|
|
8
7
|
import codex from './routes/codex.js';
|
|
8
|
+
// NOTE: These constants are duplicated in @replicas/shared/src/workspaces/WorkspaceInitializer.ts
|
|
9
|
+
// If you change these values, you MUST update both locations to keep them in sync.
|
|
10
|
+
const READY_MESSAGE = '========= REPLICAS WORKSPACE READY ==========';
|
|
11
|
+
const COMPLETION_MESSAGE = '========= REPLICAS WORKSPACE INITIALIZATION COMPLETE ==========';
|
|
9
12
|
const app = new Hono();
|
|
10
13
|
app.get('/health', async (c) => {
|
|
11
14
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "replicas-engine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Lightweight API server for Replicas workspaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"author": "Replicas",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@replicas/shared": "0.0.1",
|
|
29
28
|
"@hono/node-server": "^1.19.5",
|
|
30
29
|
"@openai/codex-sdk": "^0.50.0",
|
|
31
30
|
"dotenv": "^17.2.3",
|