showpane 0.4.24 → 0.4.25
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/bundle/meta/scaffold-manifest.json +1 -1
- package/bundle/toolchain/CLI_VERSION +1 -1
- package/bundle/toolchain/skills/portal-create/SKILL.md +9 -11
- package/bundle/toolchain/skills/portal-create/SKILL.md.tmpl +9 -11
- package/bundle/toolchain/skills/portal-onboard/SKILL.md +9 -5
- package/bundle/toolchain/skills/portal-onboard/SKILL.md.tmpl +9 -5
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.25
|
|
@@ -138,13 +138,8 @@ Store:
|
|
|
138
138
|
If the helper fails, stop and tell the user to run `/portal-setup` again instead
|
|
139
139
|
of guessing with ad-hoc SQL.
|
|
140
140
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
anything except `--org-id`.
|
|
144
|
-
Do not re-read config, Prisma, or SQLite to rediscover org fields that were already
|
|
145
|
-
returned by `get-org.ts`.
|
|
146
|
-
|
|
147
|
-
The canonical references for this skill are:
|
|
141
|
+
Once `get-org.ts` succeeds, extra project probing rarely improves the draft.
|
|
142
|
+
Use that result plus the selected template/example as the canonical references:
|
|
148
143
|
|
|
149
144
|
- the configured `APP_PATH`
|
|
150
145
|
- the configured `ORG_SLUG`
|
|
@@ -153,6 +148,9 @@ The canonical references for this skill are:
|
|
|
153
148
|
- `$SKILL_DIR/templates/<chosen-template>/...`
|
|
154
149
|
- `$APP_PATH/src/app/(portal)/client/example/example-client.tsx`
|
|
155
150
|
|
|
151
|
+
For slug checks, use `check-slug.ts` with `--org-id`. Re-reading config, Prisma,
|
|
152
|
+
or SQLite usually just burns time without changing the correct org context.
|
|
153
|
+
|
|
156
154
|
### Step 2: Determine the portal slug
|
|
157
155
|
|
|
158
156
|
If the user provided a slug (e.g., `/portal-create acme-health`), use it. Otherwise, infer from context — the company name mentioned in conversation, a meeting transcript, or ask the user directly.
|
|
@@ -215,10 +213,10 @@ Always also read the example portal as your quality and style reference:
|
|
|
215
213
|
cat "$APP_PATH/src/app/(portal)/client/example/example-client.tsx"
|
|
216
214
|
```
|
|
217
215
|
|
|
218
|
-
The template provides
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
216
|
+
The template provides structure. The example provides quality and styling.
|
|
217
|
+
Read those directly from the known paths above, then match the example's card
|
|
218
|
+
styles, typography, spacing, and responsive breakpoints. Templates are
|
|
219
|
+
inspiration, not rigid scaffolds.
|
|
222
220
|
|
|
223
221
|
### Step 5: Analyze transcript (if available)
|
|
224
222
|
|
|
@@ -43,13 +43,8 @@ Store:
|
|
|
43
43
|
If the helper fails, stop and tell the user to run `/portal-setup` again instead
|
|
44
44
|
of guessing with ad-hoc SQL.
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
anything except `--org-id`.
|
|
49
|
-
Do not re-read config, Prisma, or SQLite to rediscover org fields that were already
|
|
50
|
-
returned by `get-org.ts`.
|
|
51
|
-
|
|
52
|
-
The canonical references for this skill are:
|
|
46
|
+
Once `get-org.ts` succeeds, extra project probing rarely improves the draft.
|
|
47
|
+
Use that result plus the selected template/example as the canonical references:
|
|
53
48
|
|
|
54
49
|
- the configured `APP_PATH`
|
|
55
50
|
- the configured `ORG_SLUG`
|
|
@@ -58,6 +53,9 @@ The canonical references for this skill are:
|
|
|
58
53
|
- `$SKILL_DIR/templates/<chosen-template>/...`
|
|
59
54
|
- `$APP_PATH/src/app/(portal)/client/example/example-client.tsx`
|
|
60
55
|
|
|
56
|
+
For slug checks, use `check-slug.ts` with `--org-id`. Re-reading config, Prisma,
|
|
57
|
+
or SQLite usually just burns time without changing the correct org context.
|
|
58
|
+
|
|
61
59
|
### Step 2: Determine the portal slug
|
|
62
60
|
|
|
63
61
|
If the user provided a slug (e.g., `/portal-create acme-health`), use it. Otherwise, infer from context — the company name mentioned in conversation, a meeting transcript, or ask the user directly.
|
|
@@ -120,10 +118,10 @@ Always also read the example portal as your quality and style reference:
|
|
|
120
118
|
cat "$APP_PATH/src/app/(portal)/client/example/example-client.tsx"
|
|
121
119
|
```
|
|
122
120
|
|
|
123
|
-
The template provides
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
121
|
+
The template provides structure. The example provides quality and styling.
|
|
122
|
+
Read those directly from the known paths above, then match the example's card
|
|
123
|
+
styles, typography, spacing, and responsive breakpoints. Templates are
|
|
124
|
+
inspiration, not rigid scaffolds.
|
|
127
125
|
|
|
128
126
|
### Step 5: Analyze transcript (if available)
|
|
129
127
|
|
|
@@ -262,9 +262,8 @@ cd "$APP_PATH" && NODE_PATH="$APP_PATH/node_modules" npx tsx --tsconfig "$APP_PA
|
|
|
262
262
|
Use the returned `org.id` as the canonical org id for the rest of the create flow.
|
|
263
263
|
Do not guess schema fields or discover the org via ad-hoc SQLite queries if this helper succeeds.
|
|
264
264
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
are already known:
|
|
265
|
+
At this point, extra repo reorientation rarely changes the first draft. Use the
|
|
266
|
+
known inputs below and spend the time shaping the portal instead:
|
|
268
267
|
|
|
269
268
|
- workspace app path
|
|
270
269
|
- org slug
|
|
@@ -272,6 +271,9 @@ are already known:
|
|
|
272
271
|
- selected template
|
|
273
272
|
- optional transcript source
|
|
274
273
|
|
|
274
|
+
If you need structure or style, read only the selected template and the example
|
|
275
|
+
portal. Other portal skills are for later phases and usually just add latency here.
|
|
276
|
+
|
|
275
277
|
During this phase:
|
|
276
278
|
|
|
277
279
|
- suggest a slug if needed
|
|
@@ -384,8 +386,10 @@ afterthought unless the user explicitly says they want to stop at local preview.
|
|
|
384
386
|
|
|
385
387
|
If cloud auth is missing:
|
|
386
388
|
|
|
387
|
-
-
|
|
388
|
-
-
|
|
389
|
+
- run `showpane login` inline via Bash in the current session
|
|
390
|
+
- if you need to hand control to the user, tell them to run `! showpane login`
|
|
391
|
+
- let it handle sign-in, sign-up, and checkout if needed
|
|
392
|
+
- then resume publish from the checkpoint
|
|
389
393
|
|
|
390
394
|
If deploy returns `organization_required`:
|
|
391
395
|
|
|
@@ -169,9 +169,8 @@ cd "$APP_PATH" && NODE_PATH="$APP_PATH/node_modules" npx tsx --tsconfig "$APP_PA
|
|
|
169
169
|
Use the returned `org.id` as the canonical org id for the rest of the create flow.
|
|
170
170
|
Do not guess schema fields or discover the org via ad-hoc SQLite queries if this helper succeeds.
|
|
171
171
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
are already known:
|
|
172
|
+
At this point, extra repo reorientation rarely changes the first draft. Use the
|
|
173
|
+
known inputs below and spend the time shaping the portal instead:
|
|
175
174
|
|
|
176
175
|
- workspace app path
|
|
177
176
|
- org slug
|
|
@@ -179,6 +178,9 @@ are already known:
|
|
|
179
178
|
- selected template
|
|
180
179
|
- optional transcript source
|
|
181
180
|
|
|
181
|
+
If you need structure or style, read only the selected template and the example
|
|
182
|
+
portal. Other portal skills are for later phases and usually just add latency here.
|
|
183
|
+
|
|
182
184
|
During this phase:
|
|
183
185
|
|
|
184
186
|
- suggest a slug if needed
|
|
@@ -291,8 +293,10 @@ afterthought unless the user explicitly says they want to stop at local preview.
|
|
|
291
293
|
|
|
292
294
|
If cloud auth is missing:
|
|
293
295
|
|
|
294
|
-
-
|
|
295
|
-
-
|
|
296
|
+
- run `showpane login` inline via Bash in the current session
|
|
297
|
+
- if you need to hand control to the user, tell them to run `! showpane login`
|
|
298
|
+
- let it handle sign-in, sign-up, and checkout if needed
|
|
299
|
+
- then resume publish from the checkpoint
|
|
296
300
|
|
|
297
301
|
If deploy returns `organization_required`:
|
|
298
302
|
|