ConusAI vendor v0.1.0-dev.20261013+85463d22

This commit is contained in:
ConusAI vendor v0.1.0-dev.20261013+85463d22
2026-10-13 20:45:57 +00:00
parent c3c6526952
commit 0da8a2a81b
67 changed files with 1510 additions and 10153 deletions
+14 -3
View File
@@ -22,14 +22,24 @@ Pinned on 2026-10-06 with `npm view <package> version` (showcase §2.7):
| eslint, eslint-config-next, @eslint/eslintrc | 9.39.5 (ESLint 10 breaks the React plugin bundled by eslint-config-next), 16.3.8, 3.3.7 |
| steiger, @feature-sliced/steiger-plugin | 0.7.0, 0.8.0 |
| @playwright/test | 1.63.0 |
| playwright-core | 1.63.0 (`@axe-core/playwright`'s peer; must equal `@playwright/test`'s copy, or a lockfile-less `npm install` hoists the newest and the two `Page` types diverge under `tsc`) |
| @types/node, @types/react, @types/react-dom | 26.6.4, 19.3.0, 19.3.0 |
The `@conusai-sdk/*` packages are not listed: `test-template.sh` installs them
from the bundle built from this commit.
The `@conusai-sdk/*` packages the template imports are pinned in
`package.json` at the version the SDK source tree carries at the same commit;
`test/sdk-deps.test.ts` fails when an imported package is missing or its pin
differs. The template ships **no `package-lock.json`** (decision of
2026-10-09, showcase plan D19): a lockfile without the scoped entries makes
`npm ci` fail, and one carrying them records `resolved` URLs of one install's
registry host, which is wrong on every other. The platform build runs
`npm install` against the `.npmrc` the deployer mounts as a BuildKit secret
(D6/D7), whose scoped registry serves exactly the pinned versions;
`test-template.sh` proves the same locally from the bundle's tarballs.
## Layout
- `app/` routes only; each file re-exports from `src/views` or `src/app`.
- `app/` routes only; each file re-exports from `src/views`, `src/app` or a
feature's route handler.
- `src/app`, `src/views`, `src/widgets`, `src/features`, `src/entities`,
`src/shared`: the FSD layers, imports point downward only (checked by `steiger`).
- `src/shared/config/env.ts`: the environment, parsed once with zod (D12).
@@ -43,6 +53,7 @@ from the bundle built from this commit.
| `features/create-note` | A note in Postgres, audited as `note.created`; NATS announces it and Qdrant indexes it when those are linked. |
| `features/edit-note`, `features/delete-note` | Writes scoped to the author, each audited (`note.updated`, `note.deleted`). |
| `features/upload-file`, `features/delete-file` | Attachments in Blob Storage, one usage event per upload with an idempotency key; a per-minute quota when KV is linked. |
| `features/download-file` | An attachment's bytes at `/files/<id>`, downloaded server-side through the Blob API and streamed to the visitor who attached it: the platform's blob URL needs the deployment token, so the browser cannot open it. |
| `features/publish-note-event` | An author re-announces a note on NATS (`note.announced` in the audit log); another visitor is refused. |
| `features/search-notes` | Similar-note search in Qdrant, when Qdrant is linked. |
| `features/export-notes` | The visitor's notes written as one JSON object to the dedicated S3 bucket, when S3 is linked. |