@somewhere-cloud/cli 0.38.90 → 0.38.91
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.38.91
|
|
4
|
+
|
|
5
|
+
- Release notes say when the bundled agent skills change.
|
|
6
|
+
- The agent skills somewhere init writes match the platform's current pack.
|
|
7
|
+
|
|
3
8
|
## 0.38.90
|
|
4
9
|
|
|
5
10
|
- Starter links on the reset pages are 44 px tap targets, and the guide states the 24 px tap-target minimum.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const BUNDLED_SKILLS_PACK = {
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"name": "somewhere-skills",
|
|
4
|
-
"version": "1+
|
|
5
|
-
"sha256": "
|
|
4
|
+
"version": "1+72668929bf30",
|
|
5
|
+
"sha256": "72668929bf3068c989ba4a687157edcf92aba0391fe89c066ba71a8f637bf0c6",
|
|
6
6
|
"files": [
|
|
7
7
|
{
|
|
8
8
|
"path": "deploy-verify-loop/SKILL.md",
|
|
@@ -36,8 +36,8 @@ export const BUNDLED_SKILLS_PACK = {
|
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"path": "design/SKILL.md",
|
|
39
|
-
"sha256": "
|
|
40
|
-
"content": "---\nname: design\ndescription: Before building or changing a page, form, list or layout: the UI kit in src/ui, the tokens, and the mistakes that make a page look unfinished.\n---\n\n# Build pages that look finished\n\n## The starter is a system\n\nThe starter is a small design system, and pages built with it look finished; pages built around it look like a form from 2009.\n\n| `src/ui/` | The UI kit: `Button`, `TextField`, `SelectField`, `TextareaField`, `CheckboxField`, `FormRow`, `Card`, `Table`, `Stat`, `Badge`, `Tabs`, `Dialog`, `Notice`, `Skeleton`, `Stack`, `Grid`, `Inline`, `PageHeader`; plus `AppShell` (the frame), `AuthCard` (sign-in) and `feedback.tsx` (`Alert`, `EmptyState`). |\n| `src/pages/HomePage.tsx` | A worked example of the kit: a header with the one main action, a stat row, a table in a card, a dialog form. Copy its shape. |\n\n## Rules\n\n- Every control is a kit component. A bare `<input>`, `<select>` or `<button>` in a page renders with browser defaults next to styled controls; use `TextField`, `SelectField` and `Button`.\n- Never write a colour, font or size in a page: every value is a token such as `var(--color-accent)` or `var(--space-4)`. A missing token goes in `tokens.css`, in both the light and the dark block.\n- Never restyle a tag globally (`select { … }`, `input { … }`). Add a class at the end of `app.css`.\n- One h1 and one primary `Button` per page, both in `PageHeader`; everything else is secondary, quiet or a link. Two primary buttons means neither is.\n- Cards group peers: a list, a form, two to four `Stat`s in a `Grid`. A page that is nothing but identical cards has no hierarchy; the main number goes in the header and the rest in a `Table`.\n- Empty, loading and error are states to design, not afterthoughts: `EmptyState` with one action, `Skeleton` while loading, `Notice` with a retry when a request fails. Design the empty state before the populated one.\n- Everything reflows at phone width: `Grid` and `FormRow` stack their children, and a `Table`
|
|
39
|
+
"sha256": "8997906b1cda1df7c52d3329f3348b14a9d7cfe5ea6a33163a8bdb0ab5cba968",
|
|
40
|
+
"content": "---\nname: design\ndescription: Before building or changing a page, form, list or layout: the UI kit in src/ui, the tokens, and the mistakes that make a page look unfinished.\n---\n\n# Build pages that look finished\n\n## The starter is a system\n\nThe starter is a small design system, and pages built with it look finished; pages built around it look like a form from 2009.\n\n| `src/ui/` | The UI kit: `Button`, `TextField`, `SelectField`, `TextareaField`, `CheckboxField`, `FormRow`, `Card`, `Table`, `Stat`, `Badge`, `Tabs`, `Dialog`, `Notice`, `Skeleton`, `Stack`, `Grid`, `Inline`, `PageHeader`; plus `AppShell` (the frame), `AuthCard` (sign-in) and `feedback.tsx` (`Alert`, `EmptyState`). |\n| `src/pages/HomePage.tsx` | A worked example of the kit: a header with the one main action, a stat row, a table in a card, a dialog form. Copy its shape. |\n\n## Rules\n\n- Every control is a kit component. A bare `<input>`, `<select>` or `<button>` in a page renders with browser defaults next to styled controls; use `TextField`, `SelectField` and `Button`.\n- Never write a colour, font or size in a page: every value is a token such as `var(--color-accent)` or `var(--space-4)`. A missing token goes in `tokens.css`, in both the light and the dark block.\n- Never restyle a tag globally (`select { … }`, `input { … }`). Add a class at the end of `app.css`.\n- One h1 and one primary `Button` per page, both in `PageHeader`; everything else is secondary, quiet or a link. Two primary buttons means neither is.\n- Cards group peers: a list, a form, two to four `Stat`s in a `Grid`. A page that is nothing but identical cards has no hierarchy; the main number goes in the header and the rest in a `Table`.\n- Empty, loading and error are states to design, not afterthoughts: `EmptyState` with one action, `Skeleton` while loading, `Notice` with a retry when a request fails. Design the empty state before the populated one.\n- Everything reflows at phone width: `Grid` and `FormRow` stack their children, and a `Table` stacks each row as label and value lines on a phone, so nothing scrolls sideways.\n\n## The sign-in page\n\n`AuthCard` has two slots: `providers` above the email form and `children` below it. Nothing is added as a sibling of the card: its two-column grid holds exactly the intro and the form, and a third child lands in its own row.\n\n## Before deploy\n\nAfter deploying, run `somewhere verify` and check the live page at desktop and phone size; its layout line reports contrast, overflow and tap targets below 24px (the WCAG 2.2 AA minimum), and each is a regression; targets between 24 and 44px are listed as a note.\n\n## Failure 1: it is all cards\n\nA page that is six white boxes with the same shadow: move the main number into `PageHeader`, group the peers into one `Card` with a `Table`, and put the form in a `Dialog` behind the primary button.\n\n## Failure 2: an unstyled select\n\nA `<select>` with the browser's grey box and square arrow: it is not a `SelectField`.\n\nSources (`somewhere docs <topic>`): design-system.\n"
|
|
41
41
|
}
|
|
42
42
|
]
|
|
43
43
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills-pack.generated.js","sourceRoot":"","sources":["../../src/lib/skills-pack.generated.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,mBAAmB,GAAe;IAC7C,QAAQ,EAAE,CAAC;IACX,MAAM,EAAE,kBAAkB;IAC1B,SAAS,EAAE,gBAAgB;IAC3B,QAAQ,EAAE,kEAAkE;IAC5E,OAAO,EAAE;QACP;YACE,MAAM,EAAE,6BAA6B;YACrC,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,mnEAAmnE;SAC/nE;QACD;YACE,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,22EAA22E;SACv3E;QACD;YACE,MAAM,EAAE,wBAAwB;YAChC,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,miGAAmiG;SAC/iG;QACD;YACE,MAAM,EAAE,0BAA0B;YAClC,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,s2DAAs2D;SACl3D;QACD;YACE,MAAM,EAAE,kCAAkC;YAC1C,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,wzEAAwzE;SACp0E;QACD;YACE,MAAM,EAAE,+BAA+B;YACvC,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,82DAA82D;SAC13D;QACD;YACE,MAAM,EAAE,iBAAiB;YACzB,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"skills-pack.generated.js","sourceRoot":"","sources":["../../src/lib/skills-pack.generated.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,mBAAmB,GAAe;IAC7C,QAAQ,EAAE,CAAC;IACX,MAAM,EAAE,kBAAkB;IAC1B,SAAS,EAAE,gBAAgB;IAC3B,QAAQ,EAAE,kEAAkE;IAC5E,OAAO,EAAE;QACP;YACE,MAAM,EAAE,6BAA6B;YACrC,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,mnEAAmnE;SAC/nE;QACD;YACE,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,22EAA22E;SACv3E;QACD;YACE,MAAM,EAAE,wBAAwB;YAChC,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,miGAAmiG;SAC/iG;QACD;YACE,MAAM,EAAE,0BAA0B;YAClC,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,s2DAAs2D;SACl3D;QACD;YACE,MAAM,EAAE,kCAAkC;YAC1C,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,wzEAAwzE;SACp0E;QACD;YACE,MAAM,EAAE,+BAA+B;YACvC,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,82DAA82D;SAC13D;QACD;YACE,MAAM,EAAE,iBAAiB;YACzB,QAAQ,EAAE,kEAAkE;YAC5E,SAAS,EAAE,k/FAAk/F;SAC9/F;KACF;CACF,CAAC"}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@somewhere-cloud/cli",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.91",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@somewhere-cloud/cli",
|
|
9
|
-
"version": "0.38.
|
|
9
|
+
"version": "0.38.91",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"@modelcontextprotocol/sdk",
|
|
12
12
|
"chokidar",
|