flingit 0.0.35 → 0.0.37
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/cli/commands/plugin.d.ts +4 -1
- package/dist/cli/commands/plugin.d.ts.map +1 -1
- package/dist/cli/commands/plugin.js +19 -19
- package/dist/cli/commands/plugin.js.map +1 -1
- package/dist/cli/commands/project.d.ts +5 -0
- package/dist/cli/commands/project.d.ts.map +1 -1
- package/dist/cli/commands/project.js +76 -6
- package/dist/cli/commands/project.js.map +1 -1
- package/dist/cli/commands/push.d.ts +2 -0
- package/dist/cli/commands/push.d.ts.map +1 -1
- package/dist/cli/commands/push.js +117 -109
- package/dist/cli/commands/push.js.map +1 -1
- package/dist/cli/commands/secret.d.ts.map +1 -1
- package/dist/cli/commands/secret.js +0 -14
- package/dist/cli/commands/secret.js.map +1 -1
- package/dist/cli/utils/version-check.js +1 -1
- package/dist/cli/utils/version-check.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/runtime/email.d.ts +37 -0
- package/dist/runtime/email.d.ts.map +1 -0
- package/dist/runtime/email.js +43 -0
- package/dist/runtime/email.js.map +1 -0
- package/dist/types/email.d.ts +51 -0
- package/dist/types/email.d.ts.map +1 -0
- package/dist/types/email.js +9 -0
- package/dist/types/email.js.map +1 -0
- package/dist/worker-runtime/entry-extract.d.ts.map +1 -1
- package/dist/worker-runtime/entry-extract.js +8 -7
- package/dist/worker-runtime/entry-extract.js.map +1 -1
- package/dist/worker-runtime/entry.d.ts +2 -1
- package/dist/worker-runtime/entry.d.ts.map +1 -1
- package/dist/worker-runtime/entry.js +43 -1
- package/dist/worker-runtime/entry.js.map +1 -1
- package/dist/worker-runtime/index.d.ts +35 -7
- package/dist/worker-runtime/index.d.ts.map +1 -1
- package/dist/worker-runtime/index.js +40 -16
- package/dist/worker-runtime/index.js.map +1 -1
- package/dist/worker-runtime/plugin-common.d.ts.map +1 -1
- package/dist/worker-runtime/plugin-common.js +3 -0
- package/dist/worker-runtime/plugin-common.js.map +1 -1
- package/dist/worker-runtime/types.d.ts +80 -0
- package/dist/worker-runtime/types.d.ts.map +1 -0
- package/dist/worker-runtime/types.js +9 -0
- package/dist/worker-runtime/types.js.map +1 -0
- package/package.json +2 -1
- package/templates/default/dot-claude/skills/fling/.hash +1 -1
- package/templates/default/dot-claude/skills/fling/SKILL.md +3 -0
- package/templates/default/dot-claude/skills/fling/references/DISCORD.md +1 -1
- package/templates/default/dot-claude/skills/fling/references/SLACK.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flingit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
4
4
|
"description": "Personal Software Platform - Build and deploy personal tools through conversation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
"dotenv": "^17.2.3",
|
|
78
78
|
"esbuild": "^0.27.2",
|
|
79
79
|
"hono": "^4.11.7",
|
|
80
|
+
"postal-mime": "^2.7.3",
|
|
80
81
|
"tsx": "^4.19.0",
|
|
81
82
|
"zod": "^3.25.76"
|
|
82
83
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
260019c8b38972cfed27c20e615307f0
|
|
@@ -147,6 +147,7 @@ npm exec fling logs # View local logs
|
|
|
147
147
|
npm exec fling push # Build and deploy to Cloudflare Workers
|
|
148
148
|
npm exec fling project slug # Show current project slug and URL
|
|
149
149
|
npm exec fling project slug:set <new-slug> # Change project slug (affects URL)
|
|
150
|
+
npm exec fling project takedown # Delete project and all data
|
|
150
151
|
npm exec fling cron list # List registered cron jobs
|
|
151
152
|
npm exec fling cron history <name> # View invocation history
|
|
152
153
|
npm exec fling cron trigger <name> # Manually trigger a cron job
|
|
@@ -307,6 +308,8 @@ This gives collaborators:
|
|
|
307
308
|
|
|
308
309
|
10. **Feedback** - If the user encounters problems that directly or indirectly have to do with fling, suggest to them leaving feedback. Details in `references/FEEDBACK.md`.
|
|
309
310
|
|
|
311
|
+
11. **Never run `fling project takedown` without explicit user confirmation** - This command permanently deletes the deployed project including all data in the production database, all files in storage, and the deployed worker code. You MUST NOT run this command unless the user has explicitly confirmed that they understand and accept that all data in their published app will be permanently lost. Always explain what will be destroyed before asking for confirmation.
|
|
312
|
+
|
|
310
313
|
**If the user's request might hit platform limitations, warn them early and suggest alternatives.**
|
|
311
314
|
|
|
312
315
|
## Migrations
|
|
@@ -315,7 +315,7 @@ npm exec fling plugin remove discord # Disconnect, release all servers
|
|
|
315
315
|
|
|
316
316
|
4. **Plugin must be installed first** — Run `fling plugin install discord` before using any Discord features. Check with `fling plugin permissions discord`.
|
|
317
317
|
|
|
318
|
-
5. **Rate limit: 60
|
|
318
|
+
5. **Rate limit: 3 per 60 seconds per project** — `reply`, `followup`, `sendMessage`, `editMessage`, and `addReaction` all count as "things". When exceeded, methods throw an error containing `PLUGIN_RATE_LIMIT_EXCEEDED`.
|
|
319
319
|
|
|
320
320
|
```typescript
|
|
321
321
|
try {
|
|
@@ -213,7 +213,7 @@ npm exec fling plugin remove slack # Disconnect, release all workspaces
|
|
|
213
213
|
|
|
214
214
|
4. **Plugin must be installed first** — Run `fling plugin install slack` before using any Slack features. Check with `fling plugin permissions slack`.
|
|
215
215
|
|
|
216
|
-
5. **Rate limit: 60
|
|
216
|
+
5. **Rate limit: 3 per 60 seconds per project** — `sendMessage`, `editMessage`, `addReaction`, and thread replies all count as "things". When exceeded, methods throw an error containing `PLUGIN_RATE_LIMIT_EXCEEDED`.
|
|
217
217
|
|
|
218
218
|
```typescript
|
|
219
219
|
try {
|