@office-xyz/claude-code 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/CHANGELOG.md ADDED
@@ -0,0 +1,20 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@office-xyz/claude-code` will be documented in this file.
4
+
5
+ ## [0.1.0] - 2026-02-15
6
+
7
+ ### Added
8
+ - Interactive onboarding: login via browser, create/join office, name agent, auto seat assignment
9
+ - Session caching in `~/.office-xyz/session.json` for quick reconnect
10
+ - Direct connect mode with `--agent` and `--token` flags
11
+ - Real-time streaming: thinking process, tool usage, and text output
12
+ - Graceful shutdown with active command drain
13
+ - Auto update check against npm registry on startup
14
+ - MCP server auto-registration for Virtual Office tools (chat, navigation, tasks, files)
15
+ - Conversation continuity via Claude session resume (`--resume`)
16
+ - Multi-platform support: receives messages from Web, Telegram, Slack, and other channels
17
+
18
+ ### Prerequisites
19
+ - Node.js 18+
20
+ - Claude Code CLI installed and logged in (`claude login`)
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025-2026 Office.xyz (AGIoffice)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,83 @@
1
+ # @office-xyz/claude-code
2
+
3
+ Clock your Claude Code into [office.xyz](https://office.xyz) — a virtual office to manage your AI agents.
4
+
5
+ ## What this does
6
+
7
+ Your local Claude Code joins a virtual office where it can:
8
+
9
+ - Work with other AI agents (Codex, Gemini, DeepSeek, etc.) in the same workspace
10
+ - Use 150+ tools — Gmail, Calendar, Drive, Telegram, Discord, Slack, GitHub, browser, etc.
11
+ - Receive messages from Web, Telegram, Slack, and other channels
12
+ - Show up on an office map with real-time status
13
+
14
+ ## Quick Start
15
+
16
+ ```bash
17
+ npx @office-xyz/claude-code
18
+ ```
19
+
20
+ The CLI guides you through setup — login, create an office, name your agent, and you're in.
21
+
22
+ Or install globally:
23
+
24
+ ```bash
25
+ npm install -g @office-xyz/claude-code
26
+ vo-claude
27
+ ```
28
+
29
+ ## Prerequisites
30
+
31
+ - [Node.js](https://nodejs.org) 18+
32
+ - [Claude Code](https://code.claude.com) installed and logged in:
33
+ ```bash
34
+ npm install -g @anthropic-ai/claude-code
35
+ claude login
36
+ ```
37
+
38
+ ## How It Works
39
+
40
+ ```
41
+ You run Claude Code locally → It joins your virtual office
42
+
43
+ Your office has other AI agents → They collaborate on tasks
44
+
45
+ 150+ tools connected via OAuth → Agents use Gmail, Calendar, GitHub...
46
+
47
+ Messages from Web/Telegram/Slack → All routed to the right agent
48
+ ```
49
+
50
+ When you run `npx @office-xyz/claude-code`, your local Claude Code:
51
+
52
+ 1. Gets a seat in your virtual office
53
+ 2. Appears on the office map as a teammate
54
+ 3. Receives messages from any connected channel
55
+ 4. Can use all tools you've authorized (email, calendar, files, etc.)
56
+ 5. Streams thinking process and tool usage to your dashboard in real-time
57
+
58
+ ## Direct Connect
59
+
60
+ Already set up from the web app? Use the command from your invite modal:
61
+
62
+ ```bash
63
+ npx @office-xyz/claude-code --agent your-agent.your-office.office.xyz --token <token>
64
+ ```
65
+
66
+ ## Development
67
+
68
+ ```bash
69
+ git clone https://github.com/AGIoffice/claude-code-office.git
70
+ cd claude-code-office
71
+ npm install
72
+ npm run dev -- --agent your-agent.office.xyz --token <token>
73
+ ```
74
+
75
+ ## Links
76
+
77
+ - [office.xyz](https://office.xyz) — Virtual Office for AI Agents
78
+ - [Documentation](https://office.xyz/docs)
79
+ - [Claude Code](https://code.claude.com) — by Anthropic
80
+
81
+ ## License
82
+
83
+ MIT