@usefillo/cli 0.16.1 → 0.20.0

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.
@@ -5,10 +5,10 @@ Confirm the exact error and installed package version before changing code.
5
5
  | Symptom | First checks |
6
6
  | --- | --- |
7
7
  | Published-id embed returns 404 | Confirm the id or slug and that the form is published. Do not reveal whether an inaccessible draft exists. |
8
- | Code-defined form renders but cannot save | Pass a client, keep a stable id, verify the key belongs to the intended workspace, and check expected-origin restrictions. |
8
+ | Code-defined form renders but cannot save | Pass a client, keep a stable id, verify the key belongs to the intended project, and check expected-origin restrictions. |
9
9
  | `form_target_required` or the embed renders unavailable while the hosted page works | The host app rendered a plain schema without a submission identity. Pass the actual returned `formId`, or use `defineForm()` plus a client. Use `renderOnly` only for a deliberate non-submitting preview. Verify the app route exposes the same id in `data-fillo-form-id`. |
10
10
  | Publishable key is `undefined` in a Vite app | Read `import.meta.env.VITE_FILLO_KEY`, not `process.env`; declare it in `src/vite-env.d.ts` under strict TypeScript and restart the dev server after `.env` changes. |
11
- | Schema write reports `trusted_sync_required` | Log in and use `fillo push --stage`, or use a server-held `FILLO_SYNC_TOKEN`. Do not weaken the workspace policy. |
11
+ | Schema write reports `trusted_sync_required` | Log in and use `fillo push --stage`, or use a server-held `FILLO_SYNC_TOKEN`. Do not weaken the project policy. |
12
12
  | `fillo push --stage` has nothing to stage | The published schema already matches; do not create another form. |
13
13
  | 429 response | Respect `FilloError.retryAfterSec`; do not loop immediate retries. |
14
14
  | File form cannot publish | Connect supported storage and verify the provider before retrying publish. |
@@ -20,7 +20,7 @@ Confirm the exact error and installed package version before changing code.
20
20
  | Fillo JSX fails in Next.js | Move schema JSX to a `"use client"` module; use object-form `defineForm()` for framework-neutral schema. |
21
21
  | Conditional JSX causes repeated drafts | Keep every field in the stable schema and express logic through `visibleIf`. |
22
22
  | Webhook signature never matches | Capture raw bytes before JSON middleware and compare the hex HMAC in constant time. |
23
- | Verified identity remains anonymous | Hash the exact stable `respondent.id` string on the server with the secret from the same workspace. |
23
+ | Verified identity remains anonymous | Hash the exact stable `respondent.id` string on the server with the secret from the same project. |
24
24
 
25
25
  Do not claim a successful publish, upload, submission, webhook, or destination
26
26
  delivery unless the environment produced direct evidence.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usefillo/cli",
3
- "version": "0.16.1",
3
+ "version": "0.20.0",
4
4
  "description": "Create and publish Fillo forms, and install the Fillo Agent Skill.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -34,11 +34,11 @@
34
34
  "@types/node": "^22.10.0",
35
35
  "tsup": "^8.4.0",
36
36
  "typescript": "^5.8.3",
37
- "@usefillo/core": "0.16.1"
37
+ "@usefillo/core": "0.20.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "tsup && node scripts/copy-skill.mjs",
41
- "test": "node scripts/validate-skill-bundle.mjs && node scripts/test-skill-bundle.mjs && node scripts/test-skill-install.mjs && node scripts/test-agent-account.mjs && node scripts/test-stage-push.mjs && node scripts/test-local-validation.mjs && node scripts/test-loopback.mjs && node scripts/test-init.mjs && node scripts/test-api-target.mjs && node scripts/test-init-tty.mjs && node scripts/test-keys-claim.mjs && node scripts/test-responses.mjs && node scripts/test-workspace-commands.mjs",
41
+ "test": "node scripts/validate-skill-bundle.mjs && node scripts/test-skill-bundle.mjs && node scripts/test-skill-install.mjs && node scripts/test-agent-account.mjs && node scripts/test-stage-push.mjs && node scripts/test-local-validation.mjs && node scripts/test-loopback.mjs && node scripts/test-init.mjs && node scripts/test-api-target.mjs && node scripts/test-init-tty.mjs && node scripts/test-keys-claim.mjs && node scripts/test-responses.mjs && node scripts/test-workspace-commands.mjs && node scripts/test-discord-tokens.mjs",
42
42
  "typecheck": "tsc --noEmit"
43
43
  }
44
44
  }