Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit ecb4720

Browse files
committed
refactor(package.json): updating extension metadata
1 parent 81afb6c commit ecb4720

7 files changed

Lines changed: 37 additions & 37 deletions

File tree

apps/cli/src/__tests__/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function buildCliIfNeeded(): void {
5353

5454
function buildExtensionIfNeeded(): void {
5555
if (!isExtensionBuilt()) {
56-
execSync("pnpm --filter roo-cline bundle", { cwd: findMonorepoRoot(), stdio: "inherit" })
56+
execSync("pnpm --filter ./src bundle", { cwd: findMonorepoRoot(), stdio: "inherit" })
5757
console.log("Extension build complete.")
5858
}
5959
}

apps/vscode-nightly/package.nightly.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "roo-code-nightly",
2+
"name": "zoo-code-nightly",
33
"version": "0.0.1",
44
"icon": "assets/icons/icon-nightly.png",
55
"scripts": {}

packages/build/src/__tests__/index.test.ts

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,18 @@ describe("generatePackageJson", () => {
108108
},
109109
},
110110
overrideJson: {
111-
name: "roo-code-nightly",
111+
name: "zoo-code-nightly",
112112
displayName: "Roo Code Nightly",
113113
publisher: "RooVeterinaryInc",
114114
version: "0.0.1",
115115
icon: "assets/icons/icon-nightly.png",
116116
scripts: {},
117117
},
118-
substitution: ["roo-cline", "roo-code-nightly"],
118+
substitution: ["roo-cline", "zoo-code-nightly"],
119119
})
120120

121121
expect(generatedPackageJson).toStrictEqual({
122-
name: "roo-code-nightly",
122+
name: "zoo-code-nightly",
123123
displayName: "Roo Code Nightly",
124124
description: "%extension.description%",
125125
publisher: "RooVeterinaryInc",
@@ -129,86 +129,86 @@ describe("generatePackageJson", () => {
129129
viewsContainers: {
130130
activitybar: [
131131
{
132-
id: "roo-code-nightly-ActivityBar",
132+
id: "zoo-code-nightly-ActivityBar",
133133
title: "%views.activitybar.title%",
134134
icon: "assets/icons/icon.svg",
135135
},
136136
],
137137
},
138138
views: {
139-
"roo-code-nightly-ActivityBar": [
139+
"zoo-code-nightly-ActivityBar": [
140140
{
141141
type: "webview",
142-
id: "roo-code-nightly.SidebarProvider",
142+
id: "zoo-code-nightly.SidebarProvider",
143143
name: "",
144144
},
145145
],
146146
},
147147
commands: [
148148
{
149-
command: "roo-code-nightly.plusButtonClicked",
149+
command: "zoo-code-nightly.plusButtonClicked",
150150
title: "%command.newTask.title%",
151151
icon: "$(edit)",
152152
},
153153
{
154-
command: "roo-code-nightly.openInNewTab",
154+
command: "zoo-code-nightly.openInNewTab",
155155
title: "%command.openInNewTab.title%",
156156
category: "%configuration.title%",
157157
},
158158
],
159159
menus: {
160160
"editor/context": [
161161
{
162-
submenu: "roo-code-nightly.contextMenu",
162+
submenu: "zoo-code-nightly.contextMenu",
163163
group: "navigation",
164164
},
165165
],
166-
"roo-code-nightly.contextMenu": [
166+
"zoo-code-nightly.contextMenu": [
167167
{
168-
command: "roo-code-nightly.addToContext",
168+
command: "zoo-code-nightly.addToContext",
169169
group: "1_actions@1",
170170
},
171171
],
172172
"editor/title": [
173173
{
174-
command: "roo-code-nightly.plusButtonClicked",
174+
command: "zoo-code-nightly.plusButtonClicked",
175175
group: "navigation@1",
176-
when: "activeWebviewPanelId == roo-code-nightly.TabPanelProvider",
176+
when: "activeWebviewPanelId == zoo-code-nightly.TabPanelProvider",
177177
},
178178
{
179-
command: "roo-code-nightly.settingsButtonClicked",
179+
command: "zoo-code-nightly.settingsButtonClicked",
180180
group: "navigation@6",
181-
when: "activeWebviewPanelId == roo-code-nightly.TabPanelProvider",
181+
when: "activeWebviewPanelId == zoo-code-nightly.TabPanelProvider",
182182
},
183183
{
184-
command: "roo-code-nightly.accountButtonClicked",
184+
command: "zoo-code-nightly.accountButtonClicked",
185185
group: "navigation@6",
186-
when: "activeWebviewPanelId == roo-code-nightly.TabPanelProvider",
186+
when: "activeWebviewPanelId == zoo-code-nightly.TabPanelProvider",
187187
},
188188
],
189189
},
190190
submenus: [
191191
{
192-
id: "roo-code-nightly.contextMenu",
192+
id: "zoo-code-nightly.contextMenu",
193193
label: "%views.contextMenu.label%",
194194
},
195195
{
196-
id: "roo-code-nightly.terminalMenu",
196+
id: "zoo-code-nightly.terminalMenu",
197197
label: "%views.terminalMenu.label%",
198198
},
199199
],
200200
configuration: {
201201
title: "%configuration.title%",
202202
properties: {
203-
"roo-code-nightly.allowedCommands": {
203+
"zoo-code-nightly.allowedCommands": {
204204
type: "array",
205205
items: {
206206
type: "string",
207207
},
208208
default: ["npm test", "npm install", "tsc", "git log", "git diff", "git show"],
209209
description: "%commands.allowedCommands.description%",
210210
},
211-
"roo-code-nightly.customStoragePath": {
211+
"zoo-code-nightly.customStoragePath": {
212212
type: "string",
213213
default: "",
214214
description: "%settings.customStoragePath.description%",

src/api/providers/fetchers/__tests__/roo.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ describe("getRooModels", () => {
10051005

10061006
// Simulate nightly build via package name
10071007
const originalName = Package.name
1008-
;(Package as { name: string }).name = "roo-code-nightly"
1008+
;(Package as { name: string }).name = "zoo-code-nightly"
10091009

10101010
try {
10111011
const models = await getRooModels(baseUrl, apiKey)

src/api/providers/fetchers/__tests__/versionedSettings.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ describe("versionedSettings", () => {
122122
}
123123

124124
const originalName = Package.name
125-
;(Package as { name: string }).name = "roo-code-nightly"
125+
;(Package as { name: string }).name = "zoo-code-nightly"
126126

127127
try {
128128
const result = findHighestMatchingVersion(versionedSettings, "1.0.0")

src/core/tools/__tests__/newTaskTool.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ describe("newTaskTool", () => {
567567
expect(mockGet).toHaveBeenCalledWith("newTaskRequireTodos", false)
568568
})
569569

570-
it("should use current Package.name value (roo-code-nightly) when accessing VSCode configuration", async () => {
570+
it("should use current Package.name value (zoo-code-nightly) when accessing VSCode configuration", async () => {
571571
// Arrange: capture calls to VSCode configuration and ensure we can assert the namespace
572572
const mockGet = vi.fn().mockReturnValue(false)
573573
const mockGetConfiguration = vi.fn().mockReturnValue({
@@ -577,7 +577,7 @@ describe("newTaskTool", () => {
577577

578578
// Mutate the mocked Package.name dynamically to simulate a different build variant
579579
const pkg = await import("../../../shared/package")
580-
;(pkg.Package as any).name = "roo-code-nightly"
580+
;(pkg.Package as any).name = "zoo-code-nightly"
581581

582582
const block: ToolUse<"new_task"> = {
583583
type: "tool_use",
@@ -596,7 +596,7 @@ describe("newTaskTool", () => {
596596
})
597597

598598
// Assert: configuration was read using the dynamic nightly namespace
599-
expect(mockGetConfiguration).toHaveBeenCalledWith("roo-code-nightly")
599+
expect(mockGetConfiguration).toHaveBeenCalledWith("zoo-code-nightly")
600600
expect(mockGet).toHaveBeenCalledWith("newTaskRequireTodos", false)
601601
})
602602
})

src/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "roo-cline",
2+
"name": "zoo-code",
33
"displayName": "%extension.displayName%",
44
"description": "%extension.description%",
5-
"publisher": "RooVeterinaryInc",
6-
"version": "3.53.0",
5+
"publisher": "ZooCodeOrganization",
6+
"version": "3.54.0",
77
"icon": "assets/icons/icon.png",
88
"galleryBanner": {
99
"color": "#617A91",
@@ -14,13 +14,13 @@
1414
"node": "20.19.2"
1515
},
1616
"author": {
17-
"name": "Roo Code"
17+
"name": "Zoo Code"
1818
},
1919
"repository": {
2020
"type": "git",
21-
"url": "https://github.com/RooCodeInc/Roo-Code"
21+
"url": "https://github.com/Zoo-Code-Org/Zoo-Code"
2222
},
23-
"homepage": "https://roocode.com",
23+
"homepage": "https://github.com/Zoo-Code-Org/Zoo-Code",
2424
"categories": [
2525
"AI",
2626
"Chat",
@@ -42,8 +42,8 @@
4242
"sonnet",
4343
"ai",
4444
"llama",
45-
"roo code",
46-
"roocode"
45+
"zoo code",
46+
"zoocode"
4747
],
4848
"activationEvents": [
4949
"onLanguage",
@@ -427,7 +427,7 @@
427427
"bundle": "node esbuild.mjs",
428428
"vscode:prepublish": "pnpm bundle --production",
429429
"vsix": "mkdirp ../bin && vsce package --no-dependencies --out ../bin",
430-
"publish:marketplace": "vsce publish --no-dependencies && ovsx publish --no-dependencies",
430+
"publish:marketplace": "pnpm vsix && npx @vscode/vsce publish --packagePath ../bin/zoo-code-$npm_package_version.vsix && pnpm exec ovsx publish ../bin/zoo-code-$npm_package_version.vsix --skip-duplicate",
431431
"watch:bundle": "pnpm bundle --watch",
432432
"watch:tsc": "cd .. && tsc --noEmit --watch --project src/tsconfig.json",
433433
"clean": "rimraf README.md CHANGELOG.md LICENSE dist logs mock .turbo"

0 commit comments

Comments
 (0)