@opencode/simulation 2.1.2 → 2.1.4
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/dist/frontend/actions.d.ts +14 -14
- package/package.json +11 -10
|
@@ -49,16 +49,6 @@ export declare const capture: (harness: Harness) => Effect.Effect<{
|
|
|
49
49
|
export declare const execute: (harness: Harness, action: {
|
|
50
50
|
readonly type: "ui.type";
|
|
51
51
|
readonly text: string;
|
|
52
|
-
} | {
|
|
53
|
-
readonly type: "ui.press";
|
|
54
|
-
readonly key: string;
|
|
55
|
-
readonly modifiers?: {
|
|
56
|
-
readonly ctrl?: boolean | undefined;
|
|
57
|
-
readonly shift?: boolean | undefined;
|
|
58
|
-
readonly meta?: boolean | undefined;
|
|
59
|
-
readonly super?: boolean | undefined;
|
|
60
|
-
readonly hyper?: boolean | undefined;
|
|
61
|
-
} | undefined;
|
|
62
52
|
} | {
|
|
63
53
|
readonly type: "ui.enter";
|
|
64
54
|
} | {
|
|
@@ -99,6 +89,20 @@ export declare const execute: (harness: Harness, action: {
|
|
|
99
89
|
readonly action: "scroll";
|
|
100
90
|
readonly direction: "down" | "left" | "right" | "up";
|
|
101
91
|
};
|
|
92
|
+
} | {
|
|
93
|
+
readonly type: "ui.resize";
|
|
94
|
+
readonly cols: number;
|
|
95
|
+
readonly rows: number;
|
|
96
|
+
} | {
|
|
97
|
+
readonly type: "ui.press";
|
|
98
|
+
readonly key: string;
|
|
99
|
+
readonly modifiers?: {
|
|
100
|
+
readonly ctrl?: boolean | undefined;
|
|
101
|
+
readonly shift?: boolean | undefined;
|
|
102
|
+
readonly meta?: boolean | undefined;
|
|
103
|
+
readonly super?: boolean | undefined;
|
|
104
|
+
readonly hyper?: boolean | undefined;
|
|
105
|
+
} | undefined;
|
|
102
106
|
} | {
|
|
103
107
|
readonly type: "ui.click";
|
|
104
108
|
readonly target: number;
|
|
@@ -109,10 +113,6 @@ export declare const execute: (harness: Harness, action: {
|
|
|
109
113
|
readonly instance?: string | undefined;
|
|
110
114
|
readonly element: number;
|
|
111
115
|
} | undefined;
|
|
112
|
-
} | {
|
|
113
|
-
readonly type: "ui.resize";
|
|
114
|
-
readonly cols: number;
|
|
115
|
-
readonly rows: number;
|
|
116
116
|
}) => Effect.Effect<{
|
|
117
117
|
focused: {
|
|
118
118
|
renderable?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/simulation",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -44,22 +44,23 @@
|
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "bun run script/build.ts",
|
|
46
46
|
"test": "bun test --timeout 30000 --only-failures",
|
|
47
|
-
"typecheck": "
|
|
47
|
+
"typecheck": "bun check --no-script -b",
|
|
48
|
+
"typecheck:tsc": "tsc -b"
|
|
48
49
|
},
|
|
49
50
|
"dependencies": {
|
|
50
|
-
"@opencode/core": "2.1.
|
|
51
|
-
"@opencode/ai": "2.1.
|
|
52
|
-
"@opencode/plugin": "2.1.
|
|
53
|
-
"@opencode/protocol": "2.1.
|
|
54
|
-
"@opencode/util": "2.1.
|
|
55
|
-
"@opentui/core": "0.6.
|
|
51
|
+
"@opencode/core": "2.1.4",
|
|
52
|
+
"@opencode/ai": "2.1.4",
|
|
53
|
+
"@opencode/plugin": "2.1.4",
|
|
54
|
+
"@opencode/protocol": "2.1.4",
|
|
55
|
+
"@opencode/util": "2.1.4",
|
|
56
|
+
"@opentui/core": "0.6.8",
|
|
56
57
|
"effect": "4.0.1",
|
|
57
58
|
"ws": "8.21.0"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
60
61
|
"@tsconfig/bun": "1.0.9",
|
|
61
|
-
"@types/bun": "1.4.
|
|
62
|
+
"@types/bun": "1.4.3",
|
|
62
63
|
"@types/ws": "8.18.1",
|
|
63
|
-
"@typescript/native": "npm:typescript@7.0
|
|
64
|
+
"@typescript/native": "npm:typescript@7.1.0-beta"
|
|
64
65
|
}
|
|
65
66
|
}
|