@opencode-ai/schema 0.0.0-next-14855 → 0.0.0-reserved.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 +3 -0
- package/index.js +1 -0
- package/package.json +3 -26
- package/dist/agent.d.ts +0 -159
- package/dist/agent.js +0 -43
- package/dist/catalog.d.ts +0 -69
- package/dist/catalog.js +0 -4
- package/dist/command.d.ts +0 -112
- package/dist/command.js +0 -18
- package/dist/config.d.ts +0 -69
- package/dist/config.js +0 -7
- package/dist/connection.d.ts +0 -28
- package/dist/connection.js +0 -15
- package/dist/credential.d.ts +0 -36
- package/dist/credential.js +0 -23
- package/dist/durable-event-manifest.d.ts +0 -2370
- package/dist/durable-event-manifest.js +0 -9
- package/dist/event-log.d.ts +0 -45
- package/dist/event-log.js +0 -43
- package/dist/event-manifest.d.ts +0 -15273
- package/dist/event-manifest.js +0 -52
- package/dist/event.d.ts +0 -142
- package/dist/event.js +0 -102
- package/dist/file-diff.d.ts +0 -11
- package/dist/file-diff.js +0 -10
- package/dist/filesystem-v1.d.ts +0 -1
- package/dist/filesystem-v1.js +0 -1
- package/dist/filesystem.d.ts +0 -118
- package/dist/filesystem.js +0 -35
- package/dist/form.d.ts +0 -1279
- package/dist/form.js +0 -112
- package/dist/ide-event.d.ts +0 -76
- package/dist/ide-event.js +0 -10
- package/dist/identifier.d.ts +0 -3
- package/dist/identifier.js +0 -24
- package/dist/index.d.ts +0 -32
- package/dist/index.js +0 -32
- package/dist/installation-event.d.ts +0 -149
- package/dist/installation-event.js +0 -16
- package/dist/integration-id.d.ts +0 -5
- package/dist/integration-id.js +0 -3
- package/dist/integration.d.ts +0 -532
- package/dist/integration.js +0 -93
- package/dist/legacy-event.d.ts +0 -1
- package/dist/legacy-event.js +0 -1
- package/dist/llm.d.ts +0 -28
- package/dist/llm.js +0 -19
- package/dist/location.d.ts +0 -36
- package/dist/location.js +0 -21
- package/dist/lsp-event.d.ts +0 -67
- package/dist/lsp-event.js +0 -4
- package/dist/mcp-event.d.ts +0 -188
- package/dist/mcp-event.js +0 -25
- package/dist/mcp.d.ts +0 -39
- package/dist/mcp.js +0 -38
- package/dist/model.d.ts +0 -213
- package/dist/model.js +0 -86
- package/dist/models-dev.d.ts +0 -69
- package/dist/models-dev.js +0 -7
- package/dist/permission-saved.d.ts +0 -18
- package/dist/permission-saved.js +0 -12
- package/dist/permission-v1.d.ts +0 -1
- package/dist/permission-v1.js +0 -1
- package/dist/permission.d.ts +0 -306
- package/dist/permission.js +0 -45
- package/dist/plugin.d.ts +0 -85
- package/dist/plugin.js +0 -12
- package/dist/project-copy.d.ts +0 -29
- package/dist/project-copy.js +0 -21
- package/dist/project-directories.d.ts +0 -85
- package/dist/project-directories.js +0 -8
- package/dist/project-id.d.ts +0 -5
- package/dist/project-id.js +0 -3
- package/dist/project.d.ts +0 -258
- package/dist/project.js +0 -44
- package/dist/prompt-input.d.ts +0 -106
- package/dist/prompt-input.js +0 -19
- package/dist/prompt.d.ts +0 -177
- package/dist/prompt.js +0 -43
- package/dist/provider.d.ts +0 -118
- package/dist/provider.js +0 -55
- package/dist/pty-ticket.d.ts +0 -8
- package/dist/pty-ticket.js +0 -7
- package/dist/pty.d.ts +0 -462
- package/dist/pty.js +0 -43
- package/dist/question-v1.d.ts +0 -1
- package/dist/question-v1.js +0 -1
- package/dist/question.d.ts +0 -456
- package/dist/question.js +0 -64
- package/dist/reference.d.ts +0 -120
- package/dist/reference.js +0 -31
- package/dist/revert.d.ts +0 -35
- package/dist/revert.js +0 -19
- package/dist/schema.d.ts +0 -10
- package/dist/schema.js +0 -14
- package/dist/server-event.d.ts +0 -132
- package/dist/server-event.js +0 -5
- package/dist/session-compaction-event.d.ts +0 -87
- package/dist/session-compaction-event.js +0 -10
- package/dist/session-context-entry.d.ts +0 -15
- package/dist/session-context-entry.js +0 -15
- package/dist/session-delivery.d.ts +0 -4
- package/dist/session-delivery.js +0 -3
- package/dist/session-event.d.ts +0 -12728
- package/dist/session-event.js +0 -423
- package/dist/session-id.d.ts +0 -6
- package/dist/session-id.js +0 -10
- package/dist/session-input.d.ts +0 -146
- package/dist/session-input.js +0 -18
- package/dist/session-message.d.ts +0 -1390
- package/dist/session-message.js +0 -175
- package/dist/session-status-event.d.ts +0 -299
- package/dist/session-status-event.js +0 -43
- package/dist/session-todo.d.ts +0 -117
- package/dist/session-todo.js +0 -21
- package/dist/session-v1.d.ts +0 -1
- package/dist/session-v1.js +0 -1
- package/dist/session.d.ts +0 -142
- package/dist/session.js +0 -43
- package/dist/shell.d.ts +0 -381
- package/dist/shell.js +0 -58
- package/dist/skill.d.ts +0 -126
- package/dist/skill.js +0 -45
- package/dist/tui-event.d.ts +0 -307
- package/dist/tui-event.js +0 -53
- package/dist/v1/filesystem.d.ts +0 -78
- package/dist/v1/filesystem.js +0 -8
- package/dist/v1/legacy-event.d.ts +0 -108
- package/dist/v1/legacy-event.js +0 -15
- package/dist/v1/permission.d.ts +0 -316
- package/dist/v1/permission.js +0 -41
- package/dist/v1/question.d.ts +0 -444
- package/dist/v1/question.js +0 -57
- package/dist/v1/session.d.ts +0 -7657
- package/dist/v1/session.js +0 -535
- package/dist/vcs-event.d.ts +0 -76
- package/dist/vcs-event.js +0 -11
- package/dist/vcs.d.ts +0 -12
- package/dist/vcs.js +0 -10
- package/dist/workspace-event.d.ts +0 -247
- package/dist/workspace-event.js +0 -25
- package/dist/workspace-id.d.ts +0 -6
- package/dist/workspace-id.js +0 -16
- package/dist/workspace.d.ts +0 -9
- package/dist/workspace.js +0 -5
- package/dist/worktree-event.d.ts +0 -153
- package/dist/worktree-event.js +0 -18
package/dist/credential.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export * as Credential from "./credential.js";
|
|
2
|
-
import { Schema } from "effect";
|
|
3
|
-
export declare const ID: Schema.brand<Schema.String, "Credential.ID"> & {
|
|
4
|
-
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
5
|
-
};
|
|
6
|
-
export type ID = typeof ID.Type;
|
|
7
|
-
export interface OAuth extends Schema.Schema.Type<typeof OAuth> {
|
|
8
|
-
}
|
|
9
|
-
export declare const OAuth: Schema.Struct<{
|
|
10
|
-
readonly type: Schema.Literal<"oauth">;
|
|
11
|
-
readonly methodID: Schema.brand<Schema.String, "Integration.MethodID">;
|
|
12
|
-
readonly refresh: Schema.String;
|
|
13
|
-
readonly access: Schema.String;
|
|
14
|
-
readonly expires: Schema.Int;
|
|
15
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
16
|
-
}>;
|
|
17
|
-
export interface Key extends Schema.Schema.Type<typeof Key> {
|
|
18
|
-
}
|
|
19
|
-
export declare const Key: Schema.Struct<{
|
|
20
|
-
readonly type: Schema.Literal<"key">;
|
|
21
|
-
readonly key: Schema.String;
|
|
22
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
23
|
-
}>;
|
|
24
|
-
export declare const Value: Schema.Union<readonly [Schema.Struct<{
|
|
25
|
-
readonly type: Schema.Literal<"oauth">;
|
|
26
|
-
readonly methodID: Schema.brand<Schema.String, "Integration.MethodID">;
|
|
27
|
-
readonly refresh: Schema.String;
|
|
28
|
-
readonly access: Schema.String;
|
|
29
|
-
readonly expires: Schema.Int;
|
|
30
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
31
|
-
}>, Schema.Struct<{
|
|
32
|
-
readonly type: Schema.Literal<"key">;
|
|
33
|
-
readonly key: Schema.String;
|
|
34
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
35
|
-
}>]>;
|
|
36
|
-
export type Value = Schema.Schema.Type<typeof Value>;
|
package/dist/credential.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export * as Credential from "./credential.js";
|
|
2
|
-
import { Schema } from "effect";
|
|
3
|
-
import { optional } from "./schema.js";
|
|
4
|
-
import { IntegrationMethodID } from "./integration-id.js";
|
|
5
|
-
import { ascending } from "./identifier.js";
|
|
6
|
-
import { NonNegativeInt, statics } from "./schema.js";
|
|
7
|
-
export const ID = Schema.String.pipe(Schema.brand("Credential.ID"), statics((schema) => ({ create: () => schema.make("cred_" + ascending()) })));
|
|
8
|
-
export const OAuth = Schema.Struct({
|
|
9
|
-
type: Schema.Literal("oauth"),
|
|
10
|
-
methodID: IntegrationMethodID,
|
|
11
|
-
refresh: Schema.String,
|
|
12
|
-
access: Schema.String,
|
|
13
|
-
expires: NonNegativeInt,
|
|
14
|
-
metadata: optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
15
|
-
}).annotate({ identifier: "Credential.OAuth" });
|
|
16
|
-
export const Key = Schema.Struct({
|
|
17
|
-
type: Schema.Literal("key"),
|
|
18
|
-
key: Schema.String,
|
|
19
|
-
metadata: optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
20
|
-
}).annotate({ identifier: "Credential.Key" });
|
|
21
|
-
export const Value = Schema.Union([OAuth, Key])
|
|
22
|
-
.pipe(Schema.toTaggedUnion("type"))
|
|
23
|
-
.annotate({ identifier: "Credential.Value" });
|