@opencode-ai/client 0.0.0-next-14944 → 0.0.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/README.md +1 -25
- package/package.json +2 -56
- package/dist/contract.d.ts +0 -1
- package/dist/contract.js +0 -1
- package/dist/effect/api/api.d.ts +0 -814
- package/dist/effect/api/api.js +0 -0
- package/dist/effect/api.d.ts +0 -6
- package/dist/effect/api.js +0 -0
- package/dist/effect/generated/client-error.d.ts +0 -7
- package/dist/effect/generated/client-error.js +0 -5
- package/dist/effect/generated/client.d.ts +0 -6112
- package/dist/effect/generated/client.js +0 -376
- package/dist/effect/generated/index.d.ts +0 -2
- package/dist/effect/generated/index.js +0 -2
- package/dist/effect/index.d.ts +0 -30
- package/dist/effect/index.js +0 -26
- package/dist/effect/service.d.ts +0 -28
- package/dist/effect/service.js +0 -113
- package/dist/promise/api.d.ts +0 -21
- package/dist/promise/api.js +0 -0
- package/dist/promise/generated/client-error.d.ts +0 -6
- package/dist/promise/generated/client-error.js +0 -8
- package/dist/promise/generated/client.d.ts +0 -1298
- package/dist/promise/generated/client.js +0 -970
- package/dist/promise/generated/index.d.ts +0 -3
- package/dist/promise/generated/index.js +0 -3
- package/dist/promise/generated/types.d.ts +0 -8306
- package/dist/promise/generated/types.js +0 -21
- package/dist/promise/index.d.ts +0 -4
- package/dist/promise/index.js +0 -1
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const isUnauthorizedError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "UnauthorizedError";
|
|
2
|
-
export const isInvalidRequestError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "InvalidRequestError";
|
|
3
|
-
export const isInvalidCursorError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "InvalidCursorError";
|
|
4
|
-
export const isSessionNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "SessionNotFoundError";
|
|
5
|
-
export const isMessageNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "MessageNotFoundError";
|
|
6
|
-
export const isConflictError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "ConflictError";
|
|
7
|
-
export const isCommandNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "CommandNotFoundError";
|
|
8
|
-
export const isCommandEvaluationError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "CommandEvaluationError";
|
|
9
|
-
export const isSkillNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "SkillNotFoundError";
|
|
10
|
-
export const isSessionBusyError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "SessionBusyError";
|
|
11
|
-
export const isServiceUnavailableError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "ServiceUnavailableError";
|
|
12
|
-
export const isUnknownError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "UnknownError";
|
|
13
|
-
export const isProviderNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "ProviderNotFoundError";
|
|
14
|
-
export const isFormNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "FormNotFoundError";
|
|
15
|
-
export const isFormAlreadySettledError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "FormAlreadySettledError";
|
|
16
|
-
export const isFormInvalidAnswerError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "FormInvalidAnswerError";
|
|
17
|
-
export const isPermissionNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "PermissionNotFoundError";
|
|
18
|
-
export const isPtyNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "PtyNotFoundError";
|
|
19
|
-
export const isShellNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "ShellNotFoundError";
|
|
20
|
-
export const isQuestionNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "QuestionNotFoundError";
|
|
21
|
-
export const isProjectCopyError = (value) => typeof value === "object" && value !== null && "name" in value && value["name"] === "ProjectCopyError";
|
package/dist/promise/index.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from "./generated/index";
|
|
2
|
-
export type { AgentApi, CatalogApi, CommandApi, EventApi, IntegrationApi, ModelApi, PluginApi, ProviderApi, ReferenceApi, SessionApi, SkillApi, } from "./api.js";
|
|
3
|
-
export type { EventSubscribeOutput as OpenCodeEvent } from "./generated/types";
|
|
4
|
-
export type OpenCodeClient = ReturnType<typeof import("./generated/client").make>;
|
package/dist/promise/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./generated/index";
|