@alfe.ai/claude-code-host 0.1.0

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 ADDED
@@ -0,0 +1,2 @@
1
+ import { _ as mapStreamEvent, a as appendActivity, b as SCRUBBED_ANTHROPIC_ENV_VARS, c as listSessions, d as DEFAULT_PERMISSION_MODE, f as SessionDriver, g as createMapperState, h as collectTurnActivityRecords, i as addMessage, l as saveSession, m as WARM_STREAMING_SUPPORTED, n as ClaudeCodeHost, o as createSession, p as TURN_TIMEOUT_MS, r as stripAgentPrefix, s as getSession, t as resolveHostConfig, u as DEFAULT_ALLOWED_TOOLS, v as mapStreamEvents, x as buildChildEnv, y as BRIDGE_ENV_VAR } from "./host-config.js";
2
+ export { BRIDGE_ENV_VAR, ClaudeCodeHost, DEFAULT_ALLOWED_TOOLS, DEFAULT_PERMISSION_MODE, SCRUBBED_ANTHROPIC_ENV_VARS, SessionDriver, TURN_TIMEOUT_MS, WARM_STREAMING_SUPPORTED, addMessage, appendActivity, buildChildEnv, collectTurnActivityRecords, createMapperState, createSession, getSession, listSessions, mapStreamEvent, mapStreamEvents, resolveHostConfig, saveSession, stripAgentPrefix };
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "@alfe.ai/claude-code-host",
3
+ "version": "0.1.0",
4
+ "description": "Chat bridge that makes a self-hosted Claude Code agent reachable from Alfe chat on the user's Claude subscription",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "bin": {
9
+ "alfe-claude-host": "./dist/cli.js"
10
+ },
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "require": "./dist/index.cjs",
15
+ "import": "./dist/index.js"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "dependencies": {
22
+ "@alfe.ai/agent-api-client": "^0.11.0",
23
+ "@alfe.ai/chat": "^0.0.16",
24
+ "@alfe.ai/config": "^0.3.0"
25
+ },
26
+ "license": "UNLICENSED",
27
+ "homepage": "https://alfe.ai",
28
+ "author": "Alfe (https://alfe.ai)",
29
+ "keywords": [
30
+ "alfe",
31
+ "ai-agents",
32
+ "agent",
33
+ "llm",
34
+ "claude-code",
35
+ "chat",
36
+ "bridge"
37
+ ],
38
+ "scripts": {
39
+ "build": "tsdown",
40
+ "dev": "tsdown --watch",
41
+ "test": "vitest run --passWithNoTests",
42
+ "test:watch": "vitest",
43
+ "typecheck": "tsc --noEmit",
44
+ "lint": "eslint ."
45
+ }
46
+ }