@max10240/opencode-plugin-infinite-loop 0.0.0-stage → 1.0.35

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/tui.js ADDED
@@ -0,0 +1,9 @@
1
+ // @bun
2
+ // tui.tsx
3
+ import { default as default2, setupInfiniteLoopTui, COMMAND_ID, SLASH_COMMAND } from "./src/tui.js";
4
+ export {
5
+ COMMAND_ID,
6
+ SLASH_COMMAND,
7
+ default2 as default,
8
+ setupInfiniteLoopTui
9
+ };
package/package.json CHANGED
@@ -1,6 +1,69 @@
1
1
  {
2
+ "$schema": "https://json.schemastore.org/package.json",
2
3
  "name": "@max10240/opencode-plugin-infinite-loop",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
4
+ "version": "1.0.35",
5
+ "description": "Keep a session working: nudge it whenever it idles, until a configured time window ends",
6
+ "type": "module",
7
+ "exports": {
8
+ ".": "./dist/src/index.js",
9
+ "./tui": "./dist/src/tui.js"
10
+ },
11
+ "scripts": {
12
+ "test": "bun test test/*.test.ts && bun test --conditions=browser --preload @opentui/solid/preload test/tui/panel.test.tsx",
13
+ "typecheck": "tsc --noEmit",
14
+ "build": "tsc -p tsconfig.build.json && bun build.mjs",
15
+ "prepack": "node ../../scripts/sync-recommended-rules.mjs && npm run build"
16
+ },
17
+ "files": [
18
+ "dist/**/*.js",
19
+ "README.md",
20
+ "README.zh-CN.md"
21
+ ],
22
+ "keywords": [
23
+ "opencode",
24
+ "opencode-plugin",
25
+ "infinite-loop",
26
+ "idle",
27
+ "nudge",
28
+ "autonomous"
29
+ ],
30
+ "license": "MIT",
31
+ "peerDependencies": {
32
+ "@opentui/core": ">=0.5.10",
33
+ "@opentui/solid": ">=0.5.10",
34
+ "solid-js": ">=1.9.0",
35
+ "@opencode/plugin": "^2.2.7"
36
+ },
37
+ "devDependencies": {
38
+ "@opentui/core": "^0.5.10",
39
+ "@opentui/solid": "^0.5.10",
40
+ "@types/bun": "^1.3.0",
41
+ "@types/node": "^22.0.0",
42
+ "solid-js": "^1.9.15",
43
+ "typescript": "^5.8.2",
44
+ "@opencode/plugin": "^2.2.7"
45
+ },
46
+ "publishConfig": {
47
+ "registry": "https://registry.npmjs.org/",
48
+ "access": "public"
49
+ },
50
+ "repository": {
51
+ "type": "git",
52
+ "url": "git+https://github.com/Max10240/opencode-plugin-unicorn.git",
53
+ "directory": "packages/opencode-plugin-infinite-loop"
54
+ },
55
+ "peerDependenciesMeta": {
56
+ "@opencode/plugin": {
57
+ "optional": true
58
+ },
59
+ "@opentui/core": {
60
+ "optional": true
61
+ },
62
+ "@opentui/solid": {
63
+ "optional": true
64
+ },
65
+ "solid-js": {
66
+ "optional": true
67
+ }
68
+ }
69
+ }