himotoku 0.1.2 → 0.1.3
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/bin/himotoku.mjs +0 -5
- package/package.json +1 -1
package/bin/himotoku.mjs
CHANGED
|
@@ -122,11 +122,6 @@ function* mapMessage(message, toolNameMap) {
|
|
|
122
122
|
|
|
123
123
|
// packages/server/dist/index.js
|
|
124
124
|
function createServer({ port, cwd, clientDistPath: clientDistOverride }) {
|
|
125
|
-
if (!process.env.ANTHROPIC_API_KEY) {
|
|
126
|
-
console.error("Error: ANTHROPIC_API_KEY environment variable is not set.");
|
|
127
|
-
console.error(" export ANTHROPIC_API_KEY=sk-ant-...");
|
|
128
|
-
process.exit(1);
|
|
129
|
-
}
|
|
130
125
|
const app = new Hono();
|
|
131
126
|
const { injectWebSocket, upgradeWebSocket } = createNodeWebSocket({ app });
|
|
132
127
|
app.get("/ws", upgradeWebSocket(() => {
|