opencode-plugin-teleprompt 0.1.2 → 0.1.3

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/index.d.ts CHANGED
@@ -1,6 +1,11 @@
1
1
  import { tui } from "./tui.js";
2
+ import type { Plugin } from "@opencode-ai/plugin";
3
+ declare const id = "opencode-plugin-teleprompt";
4
+ declare const server: Plugin;
2
5
  declare const _default: {
6
+ id: string;
7
+ server: Plugin;
3
8
  tui: import("./tui-types.js").TuiPlugin;
4
9
  };
5
10
  export default _default;
6
- export { tui };
11
+ export { id, server, tui };
package/dist/index.js CHANGED
@@ -1,4 +1,8 @@
1
1
  import { tui } from "./tui.js";
2
- export default { tui };
3
- export { tui };
2
+ const id = "opencode-plugin-teleprompt";
3
+ // OpenCode 1.4+ requires external plugins to expose server().
4
+ // This plugin is TUI-focused, so server hooks are intentionally empty.
5
+ const server = async () => ({});
6
+ export default { id, server, tui };
7
+ export { id, server, tui };
4
8
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,eAAe,EAAE,GAAG,EAAE,CAAC;AACvB,OAAO,EAAE,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAG/B,MAAM,EAAE,GAAG,4BAA4B,CAAC;AAExC,8DAA8D;AAC9D,uEAAuE;AACvE,MAAM,MAAM,GAAW,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;AAExC,eAAe,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;AACnC,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { tui } from "./tui.js";
2
+ declare const id = "opencode-plugin-teleprompt";
3
+ declare const _default: {
4
+ id: string;
5
+ tui: import("./tui-types.js").TuiPlugin;
6
+ };
7
+ export default _default;
8
+ export { id, tui };
@@ -0,0 +1,5 @@
1
+ import { tui } from "./tui.js";
2
+ const id = "opencode-plugin-teleprompt";
3
+ export default { id, tui };
4
+ export { id, tui };
5
+ //# sourceMappingURL=tui-entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tui-entry.js","sourceRoot":"","sources":["../src/tui-entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,MAAM,EAAE,GAAG,4BAA4B,CAAC;AAExC,eAAe,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-plugin-teleprompt",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "OpenCode TUI plugin — control your AI coding session remotely via Telegram. Queue prompts, approve permissions, and get results as Telegram messages.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -17,6 +17,10 @@
17
17
  ".": {
18
18
  "import": "./dist/index.js",
19
19
  "types": "./dist/index.d.ts"
20
+ },
21
+ "./tui": {
22
+ "import": "./dist/tui-entry.js",
23
+ "types": "./dist/tui-entry.d.ts"
20
24
  }
21
25
  },
22
26
  "keywords": [