Skip to content

Commit d19ada7

Browse files
committed
feat: rename publishable scope @computeragent/* → @open-gitagent/* + bump to 0.2.1
The npm scope @computeragent/* is taken by another org (403). shreyaskapale owns @open-gitagent/* (matches the GitHub org). Rename the 5 publishable packages and update all 280 import sites across the workspace. Renamed (now published at 0.2.1 on npm): - @open-gitagent/protocol - @open-gitagent/sdk - @open-gitagent/session-store-mongo - @open-gitagent/runtime-local - @open-gitagent/agent-registry-mongo Plus the umbrella `computeragent@0.2.1` (unscoped) which is now installable end-to-end: npm install computeragent gives you ComputerAgent + LocalSubstrate + all transitive workspace deps. Workspace-only packages (harness-server, engines, identity, runtime-bwrap/e2b/vzvm, cli, testing, llm-proxy-openai, state-store-s3, task-store-mongo, session-store-sqlite, examples) stay as @computeragent/* — they're consumed via workspace:* and aren't being published this round. Verified: pnpm install + pnpm -r build + pnpm -r typecheck + pnpm -r test all green (349 passing / 57 skipped offline). Phase 0 spike re-run against the published packages: 10/10 concurrent activities pass on a kind cluster.
1 parent 693419c commit d19ada7

101 files changed

Lines changed: 232 additions & 201 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/agentos-api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import { Hono } from "hono";
1515
import { MongoClient, type Collection } from "mongodb";
1616
import { randomUUID } from "node:crypto";
17-
import { IdentitySource, type IdentitySource as IdentitySourceT } from "@computeragent/protocol";
17+
import { IdentitySource, type IdentitySource as IdentitySourceT } from "@open-gitagent/protocol";
1818
import { sandboxBodyForBot } from "./slack-bot.ts";
1919
import { AgentLogStore } from "./agent-log-store.ts";
2020
import { ScheduleStore, computeNextRun, describeSchedule, type ScheduleKind } from "./schedule-store.ts";
@@ -115,7 +115,7 @@ export function createAgentOSApp(opts: AgentOSOptions): Hono {
115115
(await db()).collection<SessionDoc>("sessions");
116116
/**
117117
* agent_registry — agents registered dynamically by SDK consumers via the
118-
* `@computeragent/agent-registry-mongo` telemetry hook (or directly via the
118+
* `@open-gitagent/agent-registry-mongo` telemetry hook (or directly via the
119119
* POST /agentos/api/agents/register endpoint below). The dashboard unions
120120
* these with the server's hardcoded `opts.agents` (in-memory) — the
121121
* in-memory list takes precedence on name collision so the

examples/computeragent-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import type {
5353
TaskStore,
5454
TaskStatus,
5555
TaskSummary,
56-
} from "@computeragent/protocol";
56+
} from "@open-gitagent/protocol";
5757
import { mongoTaskStoreBuilder } from "@computeragent/task-store-mongo";
5858
import { s3StateStoreBuilder } from "@computeragent/state-store-s3";
5959

examples/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
"@computeragent/engine-gitagent": "workspace:*",
2121
"@computeragent/harness-server": "workspace:*",
2222
"@computeragent/identity-gitagentprotocol": "workspace:*",
23-
"@computeragent/protocol": "workspace:*",
23+
"@open-gitagent/protocol": "workspace:*",
2424
"@computeragent/runtime-bwrap": "workspace:*",
2525
"@computeragent/runtime-e2b": "workspace:*",
26-
"@computeragent/runtime-local": "workspace:*",
26+
"@open-gitagent/runtime-local": "workspace:*",
2727
"@computeragent/runtime-vzvm": "workspace:*",
28-
"@computeragent/sdk": "workspace:*",
29-
"@computeragent/session-store-mongo": "workspace:*",
28+
"@open-gitagent/sdk": "workspace:*",
29+
"@open-gitagent/session-store-mongo": "workspace:*",
3030
"@computeragent/task-store-mongo": "workspace:*",
3131
"@computeragent/state-store-s3": "workspace:*",
3232
"@computeragent/llm-proxy-openai": "workspace:*",

examples/wedge16-gitagent-mongo-demo.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
*/
1414
import { mkdir, readFile, writeFile } from "node:fs/promises";
1515
import { join } from "node:path";
16-
import { ComputerAgent } from "@computeragent/sdk";
16+
import { ComputerAgent } from "@open-gitagent/sdk";
1717
import { createHarnessServer } from "@computeragent/harness-server";
1818
import { GitAgentEngine } from "@computeragent/engine-gitagent";
1919
import { GitAgentProtocolLoader } from "@computeragent/identity-gitagentprotocol";
20-
import { MongoSessionStore } from "@computeragent/session-store-mongo";
20+
import { MongoSessionStore } from "@open-gitagent/session-store-mongo";
2121

2222
const anthropicKey = process.env.ANTHROPIC_API_KEY;
2323
const mongoUrl = process.env.MONGO_URL;

examples/wedge16-mongo-resume-demo.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
*/
2121
import { mkdir, readFile, writeFile } from "node:fs/promises";
2222
import { dirname, join } from "node:path";
23-
import { ComputerAgent } from "@computeragent/sdk";
23+
import { ComputerAgent } from "@open-gitagent/sdk";
2424
import { createHarnessServer } from "@computeragent/harness-server";
2525
import { ClaudeAgentEngine } from "@computeragent/engine-claude-agent-sdk";
2626
import { GitAgentProtocolLoader } from "@computeragent/identity-gitagentprotocol";
27-
import { MongoSessionStore } from "@computeragent/session-store-mongo";
27+
import { MongoSessionStore } from "@open-gitagent/session-store-mongo";
2828

2929
const anthropicKey = process.env.ANTHROPIC_API_KEY;
3030
const mongoUrl = process.env.MONGO_URL;

examples/wedge16-resume-demo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414
import { mkdir, readFile, writeFile } from "node:fs/promises";
1515
import { dirname, join } from "node:path";
16-
import { ComputerAgent } from "@computeragent/sdk";
16+
import { ComputerAgent } from "@open-gitagent/sdk";
1717
import { createHarnessServer } from "@computeragent/harness-server";
1818
import { ClaudeAgentEngine } from "@computeragent/engine-claude-agent-sdk";
1919
import { GitAgentProtocolLoader } from "@computeragent/identity-gitagentprotocol";

examples/wedge2-gitagent-local.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* bugs are E2B-specific or also reproduce locally.
55
*/
66

7-
import { ComputerAgent } from "@computeragent/sdk";
7+
import { ComputerAgent } from "@open-gitagent/sdk";
88

99
const anthropicKey = process.env.ANTHROPIC_API_KEY;
1010
if (!anthropicKey) {

examples/wedge2-ts-demo.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Wedge 2 demo — same flow as wedge1-fs-tour.sh, but driven through the
3-
* typed @computeragent/sdk client instead of curl.
3+
* typed @open-gitagent/sdk client instead of curl.
44
*
55
* Demonstrates:
66
* - Constructor configures the agent (source, harness, options)
@@ -13,7 +13,7 @@
1313
* ANTHROPIC_API_KEY=sk-... bun run examples/wedge2-ts-demo.ts
1414
*/
1515

16-
import { ComputerAgent } from "@computeragent/sdk";
16+
import { ComputerAgent } from "@open-gitagent/sdk";
1717

1818
const HARNESS_URL = process.env.HARNESS_URL ?? "http://127.0.0.1:7700";
1919
const apiKey = process.env.ANTHROPIC_API_KEY;
@@ -60,7 +60,7 @@ console.log("1. agent.chat(...) — streaming events");
6060
const handle = agent.chat(
6161
"Create a file named greetings.md containing exactly:\n\n" +
6262
"# Hello from the SDK\n\n" +
63-
"This file was written via @computeragent/sdk.\n\n" +
63+
"This file was written via @open-gitagent/sdk.\n\n" +
6464
'Then respond with just "done".',
6565
);
6666

examples/wedge3-e2b-demo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* bun run examples/wedge3-e2b-demo.ts
1717
*/
1818

19-
import { ComputerAgent } from "@computeragent/sdk";
19+
import { ComputerAgent } from "@open-gitagent/sdk";
2020
import { E2BSubstrate } from "@computeragent/runtime-e2b";
2121

2222
const anthropicKey = process.env.ANTHROPIC_API_KEY;

examples/wedge3-e2b-gitagent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* bun run examples/wedge3-e2b-gitagent.ts
1111
*/
1212

13-
import { ComputerAgent } from "@computeragent/sdk";
13+
import { ComputerAgent } from "@open-gitagent/sdk";
1414
import { E2BSubstrate } from "@computeragent/runtime-e2b";
1515

1616
const anthropicKey = process.env.ANTHROPIC_API_KEY;

0 commit comments

Comments
 (0)