kimaki 0.4.78 → 0.4.80
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/anthropic-auth-plugin.js +628 -0
- package/dist/channel-management.js +2 -2
- package/dist/cli.js +316 -129
- package/dist/commands/action-buttons.js +1 -1
- package/dist/commands/login.js +634 -277
- package/dist/commands/model.js +91 -6
- package/dist/commands/paginated-select.js +57 -0
- package/dist/commands/resume.js +2 -2
- package/dist/commands/tasks.js +205 -0
- package/dist/commands/undo-redo.js +80 -18
- package/dist/context-awareness-plugin.js +347 -0
- package/dist/database.js +103 -7
- package/dist/db.js +39 -1
- package/dist/discord-bot.js +42 -19
- package/dist/discord-urls.js +11 -0
- package/dist/discord-ws-proxy.js +350 -0
- package/dist/discord-ws-proxy.test.js +500 -0
- package/dist/errors.js +1 -1
- package/dist/gateway-session.js +163 -0
- package/dist/hrana-server.js +114 -4
- package/dist/interaction-handler.js +30 -7
- package/dist/ipc-tools-plugin.js +186 -0
- package/dist/message-preprocessing.js +56 -11
- package/dist/onboarding-welcome.js +1 -1
- package/dist/opencode-interrupt-plugin.js +133 -75
- package/dist/opencode-plugin.js +12 -389
- package/dist/opencode.js +59 -5
- package/dist/parse-permission-rules.test.js +117 -0
- package/dist/queue-drain-after-interactive-ui.e2e.test.js +119 -0
- package/dist/session-handler/thread-session-runtime.js +68 -29
- package/dist/startup-time.e2e.test.js +295 -0
- package/dist/store.js +1 -0
- package/dist/system-message.js +3 -1
- package/dist/task-runner.js +7 -3
- package/dist/task-schedule.js +12 -0
- package/dist/thread-message-queue.e2e.test.js +13 -1
- package/dist/undo-redo.e2e.test.js +166 -0
- package/dist/utils.js +4 -1
- package/dist/voice-attachment.js +34 -0
- package/dist/voice-handler.js +11 -9
- package/dist/voice-message.e2e.test.js +78 -0
- package/dist/voice.test.js +31 -0
- package/package.json +12 -7
- package/skills/egaki/SKILL.md +80 -15
- package/skills/errore/SKILL.md +13 -0
- package/skills/lintcn/SKILL.md +749 -0
- package/skills/npm-package/SKILL.md +17 -3
- package/skills/spiceflow/SKILL.md +14 -0
- package/skills/zele/SKILL.md +9 -0
- package/src/anthropic-auth-plugin.ts +732 -0
- package/src/channel-management.ts +2 -2
- package/src/cli.ts +354 -132
- package/src/commands/action-buttons.ts +1 -0
- package/src/commands/login.ts +836 -337
- package/src/commands/model.ts +102 -7
- package/src/commands/paginated-select.ts +81 -0
- package/src/commands/resume.ts +6 -1
- package/src/commands/tasks.ts +293 -0
- package/src/commands/undo-redo.ts +87 -20
- package/src/context-awareness-plugin.ts +469 -0
- package/src/database.ts +138 -7
- package/src/db.ts +40 -1
- package/src/discord-bot.ts +46 -19
- package/src/discord-urls.ts +12 -0
- package/src/errors.ts +1 -1
- package/src/hrana-server.ts +124 -3
- package/src/interaction-handler.ts +41 -9
- package/src/ipc-tools-plugin.ts +228 -0
- package/src/message-preprocessing.ts +82 -11
- package/src/onboarding-welcome.ts +1 -1
- package/src/opencode-interrupt-plugin.ts +164 -91
- package/src/opencode-plugin.ts +13 -483
- package/src/opencode.ts +60 -5
- package/src/parse-permission-rules.test.ts +127 -0
- package/src/queue-drain-after-interactive-ui.e2e.test.ts +151 -0
- package/src/session-handler/thread-runtime-state.ts +4 -1
- package/src/session-handler/thread-session-runtime.ts +82 -20
- package/src/startup-time.e2e.test.ts +372 -0
- package/src/store.ts +8 -0
- package/src/system-message.ts +10 -1
- package/src/task-runner.ts +9 -22
- package/src/task-schedule.ts +15 -0
- package/src/thread-message-queue.e2e.test.ts +14 -1
- package/src/undo-redo.e2e.test.ts +207 -0
- package/src/utils.ts +7 -0
- package/src/voice-attachment.ts +51 -0
- package/src/voice-handler.ts +15 -7
- package/src/voice-message.e2e.test.ts +95 -0
- package/src/voice.test.ts +36 -0
- package/src/onboarding-tutorial-plugin.ts +0 -93
|
@@ -39,8 +39,8 @@ Use this skill when scaffolding or fixing npm packages.
|
|
|
39
39
|
- any runtime-required extra files (for example `schema.prisma`)
|
|
40
40
|
- docs like `README.md` and `CHANGELOG.md`
|
|
41
41
|
- if tests are inside src and gets included in dist, it's fine. don't try to exclude them
|
|
42
|
-
10. `scripts.build` should be `tsc && chmod +x dist/cli.js` (skip the chmod
|
|
43
|
-
if the package has no bin). No bundling.
|
|
42
|
+
10. `scripts.build` should be `rm -rf dist *.tsbuildinfo && tsc && chmod +x dist/cli.js` (skip the chmod
|
|
43
|
+
if the package has no bin). No bundling. We remove dist to cleanup old transpiled files. Also pass tsbuildinfo to remove also the tsc incremental compilation state. Without that tsc would not generate again files to dist.
|
|
44
44
|
Optionally include running scripts with tsx if needed to generate build artifacts.
|
|
45
45
|
11. `prepublishOnly` must always run `build` (optionally run generation before
|
|
46
46
|
build when required). Always add this script:
|
|
@@ -179,7 +179,7 @@ Use Node ESM-compatible compiler settings:
|
|
|
179
179
|
- Only relative imports are rewritten. Path aliases (`paths` in tsconfig) are
|
|
180
180
|
not supported by `rewriteRelativeImportExtensions` — this is fine since npm
|
|
181
181
|
packages should use relative imports anyway.
|
|
182
|
-
- Requires TypeScript 5.7+.
|
|
182
|
+
- Requires TypeScript 5.7+.
|
|
183
183
|
- Install `@types/node` as a dev dependency whenever Node APIs are used.
|
|
184
184
|
- If generation is required, keep generators in `scripts/*.ts` and invoke them
|
|
185
185
|
from package scripts before build/publish.
|
|
@@ -217,6 +217,20 @@ Use Node ESM-compatible compiler settings:
|
|
|
217
217
|
test files should be close with the associated source files. for example if you have an utils.ts file you will create utils.test.ts file next to it. with tests, importing from utils. preferred testing framework is vitest (or bun if project already using `bun test` or depends on bun APIs, rare)
|
|
218
218
|
|
|
219
219
|
|
|
220
|
+
## .gitignore
|
|
221
|
+
|
|
222
|
+
For non-workspace (standalone) packages, always create a `.gitignore` with:
|
|
223
|
+
|
|
224
|
+
```
|
|
225
|
+
node_modules
|
|
226
|
+
dist
|
|
227
|
+
*.tsbuildinfo
|
|
228
|
+
.DS_Store
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
Workspace packages inside a monorepo inherit the root `.gitignore`, so this only applies to standalone packages.
|
|
232
|
+
|
|
233
|
+
|
|
220
234
|
## common mistakes
|
|
221
235
|
|
|
222
236
|
- if you need to use zod always use latest version
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: spiceflow
|
|
3
|
+
description: "Spiceflow is a super simple, fast, and type-safe API and React Server Components framework for TypeScript. Works on Node.js, Bun, and Cloudflare Workers. Use this skill whenever working with spiceflow to get the latest docs and API reference."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Spiceflow
|
|
7
|
+
|
|
8
|
+
Every time you work with spiceflow, you MUST fetch the latest README from the main branch:
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
curl -s https://raw.githubusercontent.com/remorses/spiceflow/main/spiceflow/README.md # NEVER pipe to head/tail, read the full output
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
NEVER use `head`, `tail`, or any other command to truncate the output. Read the full README every time. It contains the complete API reference, usage examples, and framework conventions you need.
|
package/skills/zele/SKILL.md
CHANGED
|
@@ -74,6 +74,15 @@ zele mail list --account user@work.com
|
|
|
74
74
|
# list inbox
|
|
75
75
|
zele mail list
|
|
76
76
|
|
|
77
|
+
# list only unread emails
|
|
78
|
+
zele mail list --filter "is:unread"
|
|
79
|
+
|
|
80
|
+
# list unread emails with attachments in inbox
|
|
81
|
+
zele mail list --filter "is:unread has:attachment"
|
|
82
|
+
|
|
83
|
+
# combine filter with folder
|
|
84
|
+
zele mail list --filter "from:github" --folder sent
|
|
85
|
+
|
|
77
86
|
# search mail
|
|
78
87
|
zele mail search "from:github subject:review"
|
|
79
88
|
|