Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions packages/opencode/src/server/routes/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const GlobalRoutes = lazy(() =>
"/health",
describeRoute({
summary: "Get health",
description: "Get health information about the OpenCode server.",
description: "Get health information about the MiMo Code server.",
operationId: "global.health",
responses: {
200: {
Expand All @@ -108,7 +108,7 @@ export const GlobalRoutes = lazy(() =>
"/event",
describeRoute({
summary: "Get global events",
description: "Subscribe to global events from the OpenCode system using server-sent events.",
description: "Subscribe to global events from the MiMo Code system using server-sent events.",
operationId: "global.event",
responses: {
200: {
Expand Down Expand Up @@ -151,7 +151,7 @@ export const GlobalRoutes = lazy(() =>
"/config",
describeRoute({
summary: "Get global configuration",
description: "Retrieve the current global OpenCode configuration settings and preferences.",
description: "Retrieve the current global MiMo Code configuration settings and preferences.",
operationId: "global.config.get",
responses: {
200: {
Expand All @@ -172,7 +172,7 @@ export const GlobalRoutes = lazy(() =>
"/config",
describeRoute({
summary: "Update global configuration",
description: "Update global OpenCode configuration settings and preferences.",
description: "Update global MiMo Code configuration settings and preferences.",
operationId: "global.config.update",
responses: {
200: {
Expand All @@ -197,7 +197,7 @@ export const GlobalRoutes = lazy(() =>
"/dispose",
describeRoute({
summary: "Dispose instance",
description: "Clean up and dispose all OpenCode instances, releasing all resources.",
description: "Clean up and dispose all MiMo Code instances, releasing all resources.",
operationId: "global.dispose",
responses: {
200: {
Expand Down
4 changes: 2 additions & 2 deletions packages/opencode/src/server/routes/instance/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const ConfigRoutes = lazy(() =>
"/",
describeRoute({
summary: "Get configuration",
description: "Retrieve the current OpenCode configuration settings and preferences.",
description: "Retrieve the current MiMo Code configuration settings and preferences.",
operationId: "config.get",
responses: {
200: {
Expand All @@ -36,7 +36,7 @@ export const ConfigRoutes = lazy(() =>
"/",
describeRoute({
summary: "Update configuration",
description: "Update OpenCode configuration settings and preferences.",
description: "Update MiMo Code configuration settings and preferences.",
operationId: "config.update",
responses: {
200: {
Expand Down
4 changes: 2 additions & 2 deletions packages/opencode/src/server/routes/instance/experimental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const ExperimentalRoutes = lazy(() =>
"/console/switch",
describeRoute({
summary: "Switch active Console org",
description: "Persist a new active Console account/org selection for the current local OpenCode state.",
description: "Persist a new active Console account/org selection for the current local MiMo Code state.",
operationId: "experimental.console.switchOrg",
responses: {
200: {
Expand Down Expand Up @@ -328,7 +328,7 @@ export const ExperimentalRoutes = lazy(() =>
describeRoute({
summary: "List sessions",
description:
"Get a list of all OpenCode sessions across projects, sorted by most recently updated. Archived sessions are excluded by default.",
"Get a list of all MiMo Code sessions across projects, sorted by most recently updated. Archived sessions are excluded by default.",
operationId: "experimental.session.list",
responses: {
200: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const ProjectApi = HttpApi.make("project")
OpenApi.annotations({
identifier: "project.list",
summary: "List all projects",
description: "Get a list of projects that have been opened with OpenCode.",
description: "Get a list of projects that have been opened with MiMo Code.",
}),
),
HttpApiEndpoint.get("current", `${root}/current`, {
Expand All @@ -24,7 +24,7 @@ export const ProjectApi = HttpApi.make("project")
OpenApi.annotations({
identifier: "project.current",
summary: "Get current project",
description: "Retrieve the currently active project that OpenCode is working with.",
description: "Retrieve the currently active project that MiMo Code is working with.",
}),
),
)
Expand Down
10 changes: 5 additions & 5 deletions packages/opencode/src/server/routes/instance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const InstanceRoutes = (upgrade: UpgradeWebSocket): Hono => {
"/instance/dispose",
describeRoute({
summary: "Dispose instance",
description: "Clean up and dispose the current OpenCode instance, releasing all resources.",
description: "Clean up and dispose the current MiMo Code instance, releasing all resources.",
operationId: "instance.dispose",
responses: {
200: {
Expand All @@ -93,7 +93,7 @@ export const InstanceRoutes = (upgrade: UpgradeWebSocket): Hono => {
"/path",
describeRoute({
summary: "Get paths",
description: "Retrieve the current working directory and related path information for the OpenCode instance.",
description: "Retrieve the current working directory and related path information for the MiMo Code instance.",
operationId: "path.get",
responses: {
200: {
Expand Down Expand Up @@ -187,7 +187,7 @@ export const InstanceRoutes = (upgrade: UpgradeWebSocket): Hono => {
"/command",
describeRoute({
summary: "List commands",
description: "Get a list of all available commands in the OpenCode system.",
description: "Get a list of all available commands in the MiMo Code system.",
operationId: "command.list",
responses: {
200: {
Expand All @@ -210,7 +210,7 @@ export const InstanceRoutes = (upgrade: UpgradeWebSocket): Hono => {
"/agent",
describeRoute({
summary: "List agents",
description: "Get a list of all available AI agents in the OpenCode system.",
description: "Get a list of all available AI agents in the MiMo Code system.",
operationId: "app.agents",
responses: {
200: {
Expand All @@ -233,7 +233,7 @@ export const InstanceRoutes = (upgrade: UpgradeWebSocket): Hono => {
"/skill",
describeRoute({
summary: "List skills",
description: "Get a list of all available skills in the OpenCode system.",
description: "Get a list of all available skills in the MiMo Code system.",
operationId: "app.skills",
responses: {
200: {
Expand Down
4 changes: 2 additions & 2 deletions packages/opencode/src/server/routes/instance/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const ProjectRoutes = lazy(() =>
"/",
describeRoute({
summary: "List all projects",
description: "Get a list of projects that have been opened with OpenCode.",
description: "Get a list of projects that have been opened with MiMo Code.",
operationId: "project.list",
responses: {
200: {
Expand All @@ -39,7 +39,7 @@ export const ProjectRoutes = lazy(() =>
"/current",
describeRoute({
summary: "Get current project",
description: "Retrieve the currently active project that OpenCode is working with.",
description: "Retrieve the currently active project that MiMo Code is working with.",
operationId: "project.current",
responses: {
200: {
Expand Down
2 changes: 1 addition & 1 deletion packages/opencode/src/server/routes/instance/pty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function PtyRoutes(upgradeWebSocket: UpgradeWebSocket) {
"/",
describeRoute({
summary: "List PTY sessions",
description: "Get a list of all active pseudo-terminal (PTY) sessions managed by OpenCode.",
description: "Get a list of all active pseudo-terminal (PTY) sessions managed by MiMo Code.",
operationId: "pty.list",
responses: {
200: {
Expand Down
6 changes: 3 additions & 3 deletions packages/opencode/src/server/routes/instance/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const SessionRoutes = lazy(() =>
"/",
describeRoute({
summary: "List sessions",
description: "Get a list of all OpenCode sessions, sorted by most recently updated.",
description: "Get a list of all MiMo Code sessions, sorted by most recently updated.",
operationId: "session.list",
responses: {
200: {
Expand Down Expand Up @@ -136,7 +136,7 @@ export const SessionRoutes = lazy(() =>
"/:sessionID",
describeRoute({
summary: "Get session",
description: "Retrieve detailed information about a specific OpenCode session.",
description: "Retrieve detailed information about a specific MiMo Code session.",
tags: ["Session"],
operationId: "session.get",
responses: {
Expand Down Expand Up @@ -276,7 +276,7 @@ export const SessionRoutes = lazy(() =>
"/",
describeRoute({
summary: "Create session",
description: "Create a new OpenCode session for interacting with AI assistants and managing conversations.",
description: "Create a new MiMo Code session for interacting with AI assistants and managing conversations.",
operationId: "session.create",
responses: {
...errors(400),
Expand Down