castle-web-cli 0.4.223 → 0.4.225
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/agent-failures.js +4 -2
- package/dist/agent-prompts.d.ts +13 -0
- package/dist/agent-prompts.js +61 -14
- package/dist/agent.d.ts +61 -2
- package/dist/agent.js +802 -68
- package/dist/castle-host/host.js +57 -0
- package/dist/platformDoc.js +1 -0
- package/dist/routerFences.d.ts +6 -1
- package/dist/routerFences.js +33 -7
- package/dist/routerTaskEndings.d.ts +13 -0
- package/dist/routerTaskEndings.js +29 -0
- package/dist/serve.js +3 -0
- package/dist/shell/assets/index-4G5NKIQ8.css +1 -0
- package/dist/shell/assets/{index-D9oRe6Yi.js → index-C7ksEq3_.js} +96 -93
- package/dist/shell/index.html +2 -2
- package/dist/taskSteer.d.ts +24 -0
- package/dist/taskSteer.js +58 -0
- package/kits/base/CLAUDE.md +1 -1
- package/kits/base/castle.json +1 -1
- package/kits/base/sdk/README.md +47 -7
- package/kits/base/sdk/castle.d.ts +1 -1
- package/kits/base/sdk/commands.d.ts +16 -0
- package/kits/base/sdk/store.d.ts +17 -0
- package/kits/base/sdk/store.js +10 -0
- package/package.json +2 -2
- package/dist/shell/assets/index-BrKPEU3b.css +0 -1
package/dist/shell/index.html
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
<link rel="icon" type="image/png" sizes="32x32" href="/__castle/ide/favicon-32x32.png" />
|
|
11
11
|
<link rel="icon" type="image/png" sizes="16x16" href="/__castle/ide/favicon-16x16.png" />
|
|
12
12
|
<link rel="icon" href="/__castle/ide/favicon.ico" sizes="any" />
|
|
13
|
-
<script type="module" crossorigin src="/__castle/ide/assets/index-
|
|
14
|
-
<link rel="stylesheet" crossorigin href="/__castle/ide/assets/index-
|
|
13
|
+
<script type="module" crossorigin src="/__castle/ide/assets/index-C7ksEq3_.js"></script>
|
|
14
|
+
<link rel="stylesheet" crossorigin href="/__castle/ide/assets/index-4G5NKIQ8.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body>
|
|
17
17
|
<div id="root"></div>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type TaskSteerState = 'queued' | 'taken' | 'delivered' | 'late' | 'undelivered';
|
|
2
|
+
export interface TaskSteer {
|
|
3
|
+
id: string;
|
|
4
|
+
text: string;
|
|
5
|
+
at: string;
|
|
6
|
+
originMessageId?: string;
|
|
7
|
+
state: TaskSteerState;
|
|
8
|
+
deliveredAt?: string;
|
|
9
|
+
reason?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface SendDirective {
|
|
12
|
+
target: string;
|
|
13
|
+
text: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function newTaskSteer(text: string, at: string, originMessageId?: string): TaskSteer;
|
|
16
|
+
export declare function sendFenceRegex(): RegExp;
|
|
17
|
+
export declare function parseSendFenceBody(body: string): SendDirective | null;
|
|
18
|
+
export declare function steerMessageText(text: string): string;
|
|
19
|
+
export declare function streamUserLine(text: string, uuid: string): string;
|
|
20
|
+
export declare function isPendingSteer(steer: TaskSteer): boolean;
|
|
21
|
+
export declare function replayedUuid(ev: Record<string, unknown>): string | undefined;
|
|
22
|
+
export declare const STEER_BOARD_QUOTE_CHARS = 80;
|
|
23
|
+
export declare function steerBoardNote(steers: TaskSteer[] | undefined): string | undefined;
|
|
24
|
+
export declare function normalizeSteers(raw: unknown): TaskSteer[] | undefined;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { randomUUID } from 'node:crypto';
|
|
2
|
+
export function newTaskSteer(text, at, originMessageId) {
|
|
3
|
+
return { id: randomUUID(), text, at, originMessageId, state: 'queued' };
|
|
4
|
+
}
|
|
5
|
+
export function sendFenceRegex() {
|
|
6
|
+
return /```castle-send[ \t]*\r?\n([\s\S]*?)```/g;
|
|
7
|
+
}
|
|
8
|
+
export function parseSendFenceBody(body) {
|
|
9
|
+
const lines = body.replace(/\r/g, '').split('\n');
|
|
10
|
+
const target = (lines.shift() ?? '').trim();
|
|
11
|
+
const text = lines.join('\n').trim();
|
|
12
|
+
return target && text ? { target, text } : null;
|
|
13
|
+
}
|
|
14
|
+
export function steerMessageText(text) {
|
|
15
|
+
return `The user sent this while you were working on this task:\n\n${text}\n\nFold it into the work you are doing now. Keep what you have already done unless this message changes it.`;
|
|
16
|
+
}
|
|
17
|
+
export function streamUserLine(text, uuid) {
|
|
18
|
+
return `${JSON.stringify({ type: 'user', uuid, message: { role: 'user', content: text } })}\n`;
|
|
19
|
+
}
|
|
20
|
+
export function isPendingSteer(steer) {
|
|
21
|
+
return steer.state === 'queued' || steer.state === 'taken' || steer.state === 'late';
|
|
22
|
+
}
|
|
23
|
+
// The uuid of a user message the CLI echoed back under --replay-user-messages,
|
|
24
|
+
// or undefined for any other stream line.
|
|
25
|
+
export function replayedUuid(ev) {
|
|
26
|
+
return ev.type === 'user' && ev.isReplay === true && typeof ev.uuid === 'string' ? ev.uuid : undefined;
|
|
27
|
+
}
|
|
28
|
+
export const STEER_BOARD_QUOTE_CHARS = 80;
|
|
29
|
+
function boardQuote(text) {
|
|
30
|
+
const flat = text.replace(/\s+/g, ' ').trim();
|
|
31
|
+
return flat.length > STEER_BOARD_QUOTE_CHARS ? `${flat.slice(0, STEER_BOARD_QUOTE_CHARS - 3)}...` : flat;
|
|
32
|
+
}
|
|
33
|
+
function boardState(steer) {
|
|
34
|
+
if (steer.state === 'delivered')
|
|
35
|
+
return 'read by the task';
|
|
36
|
+
if (steer.state === 'taken')
|
|
37
|
+
return 'read by the task, still working on it';
|
|
38
|
+
if (steer.state === 'undelivered')
|
|
39
|
+
return `did not reach it: ${steer.reason ?? 'the task was not running'}`;
|
|
40
|
+
return 'not read yet';
|
|
41
|
+
}
|
|
42
|
+
export function steerBoardNote(steers) {
|
|
43
|
+
if (!steers || steers.length === 0)
|
|
44
|
+
return undefined;
|
|
45
|
+
return steers.map((steer) => `"${boardQuote(steer.text)}" (${boardState(steer)})`).join('; ');
|
|
46
|
+
}
|
|
47
|
+
const STEER_STATES = ['queued', 'taken', 'delivered', 'late', 'undelivered'];
|
|
48
|
+
export function normalizeSteers(raw) {
|
|
49
|
+
if (!Array.isArray(raw))
|
|
50
|
+
return undefined;
|
|
51
|
+
const steers = raw.filter((s) => Boolean(s) &&
|
|
52
|
+
typeof s === 'object' &&
|
|
53
|
+
typeof s.id === 'string' &&
|
|
54
|
+
typeof s.text === 'string' &&
|
|
55
|
+
typeof s.at === 'string' &&
|
|
56
|
+
STEER_STATES.includes(s.state));
|
|
57
|
+
return steers.length > 0 ? steers : undefined;
|
|
58
|
+
}
|
package/kits/base/CLAUDE.md
CHANGED
|
@@ -15,7 +15,7 @@ that framework provides. This one is true either way.
|
|
|
15
15
|
<!-- Injected into Castle's create assistant every turn; keep this compact and factual. -->
|
|
16
16
|
|
|
17
17
|
- `import { setup, initCard } from 'castle-web-sdk'`. Call `setup()` first, once; `initCard()` returns the element to render into (a React tree mounted at `#root` needs no `initCard`). Castle services — `Store`, `Leaderboard`, `Time`, `User`, `Haptics`, `Pass`, `Snapshot`, `Portal`, `Multiplayer`, `Lifecycle` — come from the same package. `Store` is how a deck saves anything; the older `Storage`/`SharedStorage` still work but should not be used in new decks; the full reference is `imports/castle.base/sdk/README.md`.
|
|
18
|
-
- `Agent.chat({ messages, tools?, toolChoice?, model?, maxTokens?, reasoning?, onDelta?, signal? })` gets one chat completion from a language model (OpenAI message and tool format, default model `meta/muse-spark-1.3-contributor`;
|
|
18
|
+
- `Agent.chat({ messages, tools?, toolChoice?, model?, maxTokens?, reasoning?, onDelta?, signal? })` gets one chat completion from a language model (OpenAI message and tool format, default model `meta/muse-spark-1.3-contributor`; any OpenRouter model id with a per-token price) through Castle's deck-agent service, paid from the player's daily play allowance that characters share. `onDelta` streams text and reasoning pieces and each finished tool call; `signal` cancels; `reasoning: { effort: 'minimal' | 'low' | 'medium' | 'high' }` sets how hard the model thinks, and minimal answers soonest. It resolves with the whole `message`: the deck runs any `tool_calls` itself, appends the message unchanged (it can carry the model's `reasoning_details`) and the `tool` results, and calls again. Admin only: other players get `refused`; a player whose allowance for the day is spent gets `allowance_exhausted` (it resets at midnight UTC).
|
|
19
19
|
- `Decks.mine({ limit? })` and `Decks.saved({ limit? })` list decks a portal can lead to (the player's published decks; their bookmarks and playlists) as `{ deckId, title, creator, coverUrl }`, with `coverUrl` a `data:` url. Use them to offer a portal destination picker. Admin only: other players get a `PERMISSION_DENIED` error.
|
|
20
20
|
- What each service cannot do is in that README beside the service: `Store` / `Storage` size caps (no media in storage), the Castle app build a command needs (older builds reject it with `UNKNOWN_COMMAND`), no clipboard command, no call that sets the deck's cover. Read it before telling someone a service can or cannot do something.
|
|
21
21
|
- The SDK is a file of this import, not an npm package: `castle-web-sdk` resolves here. Nothing needs installing, and nothing in a deck's `package.json` names it.
|
package/kits/base/castle.json
CHANGED
package/kits/base/sdk/README.md
CHANGED
|
@@ -250,20 +250,48 @@ A deck's session server can submit any player's score, which is how a
|
|
|
250
250
|
leaderboard becomes something a player cannot fake. See the multiplayer
|
|
251
251
|
guide.
|
|
252
252
|
|
|
253
|
+
### `Store.usage(): Promise<StoreUsage>`
|
|
254
|
+
|
|
255
|
+
How much the current player and the deck have stored, against the
|
|
256
|
+
limits below, so a deck can warn a player or clear out old saves before a
|
|
257
|
+
write is refused instead of after.
|
|
258
|
+
|
|
259
|
+
```js
|
|
260
|
+
const { player, shared } = await Store.usage();
|
|
261
|
+
if (player.byteCount > player.byteLimit * 0.9) {
|
|
262
|
+
// Nearly full: offer to delete old saves.
|
|
263
|
+
}
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
- `player` is the current player's own allowance in this deck: their
|
|
267
|
+
`Store.me` and `Store.private` keys, their board scores, and what the
|
|
268
|
+
deck's `Characters` keep for them in their playthrough.
|
|
269
|
+
- `shared` is `Store.deck`, one allowance for every player together.
|
|
270
|
+
|
|
271
|
+
Each has `byteCount`, `byteLimit`, `keyCount` and `keyLimit`. A board
|
|
272
|
+
score counts as a key. The answer includes the `set` and `remove` calls
|
|
273
|
+
the page made before calling it, even ones still being batched; await an
|
|
274
|
+
`increment` or a board `submit` first if the answer should include it. A player can only ever see their own usage, not
|
|
275
|
+
another player's.
|
|
276
|
+
|
|
277
|
+
An app too old to know `usage` rejects with a `CastleError` whose `code`
|
|
278
|
+
is `UNKNOWN_COMMAND`.
|
|
279
|
+
|
|
253
280
|
### Limits
|
|
254
281
|
|
|
255
282
|
The platform caps key length, value size, how many keys one read may
|
|
256
|
-
name, and how much
|
|
283
|
+
name, and how much each player may store, and it limits how fast a
|
|
257
284
|
player may read and write. Going over one of these rejects with a
|
|
258
285
|
`CastleError` whose `code` says which, so a deck can tell a player it is
|
|
259
|
-
saving too fast apart from a
|
|
286
|
+
saving too fast apart from a player who is out of space:
|
|
260
287
|
|
|
261
288
|
| limit | value |
|
|
262
289
|
|---|---|
|
|
263
290
|
| key | 128 bytes |
|
|
264
291
|
| value | 256 KB |
|
|
265
292
|
| keys in one `get` | 32 |
|
|
266
|
-
|
|
|
293
|
+
| one player's data in a deck | 50 MB, 50,000 keys |
|
|
294
|
+
| the deck's shared data (`Store.deck`) | 500 MB, 1,000,000 keys |
|
|
267
295
|
| one player's calls | 20 a second, 512 KB a second |
|
|
268
296
|
| every player of a deck together | 500 calls a second, 8 MB a second |
|
|
269
297
|
|
|
@@ -273,6 +301,14 @@ A `list` page holds at most 1,000 entries (a larger `limit` is lowered to
|
|
|
273
301
|
it) and ends early once it reaches 1 MB; take the next page with its
|
|
274
302
|
`cursor`.
|
|
275
303
|
|
|
304
|
+
A player's data is everything stored for them: their `Store.private`
|
|
305
|
+
keys, their `Store.user(id)` keys, their scores on every board, and
|
|
306
|
+
their `Characters` playthrough.
|
|
307
|
+
Each player has their own allowance, so a deck with more
|
|
308
|
+
players can hold more, and one player filling theirs does not stop
|
|
309
|
+
anyone else. A write that shrinks what a player stores always succeeds,
|
|
310
|
+
so a player who is full can always free space.
|
|
311
|
+
|
|
276
312
|
A value is JSON, so binary data such as a picture or a video clip costs
|
|
277
313
|
about a third more once encoded, and a clip of more than a few seconds
|
|
278
314
|
does not fit in one. Ship media with the deck instead.
|
|
@@ -747,9 +783,10 @@ limited to Castle admins for now; every other player gets `'refused'`.
|
|
|
747
783
|
- `tools` — optional function tools, in the OpenAI function-tool schema.
|
|
748
784
|
- `toolChoice` — optional: `'auto'` (the default), `'none'`, `'required'`,
|
|
749
785
|
or `{ type: 'function', function: { name } }` to force one tool.
|
|
750
|
-
- `model` — optional OpenRouter model id
|
|
751
|
-
|
|
752
|
-
|
|
786
|
+
- `model` — optional OpenRouter model id, `'meta/muse-spark-1.3-contributor'`
|
|
787
|
+
by default. Any model OpenRouter lists with a per-token price works; one it
|
|
788
|
+
does not list, or one with a variable price (`'openrouter/auto'`), resolves
|
|
789
|
+
`'error'`.
|
|
753
790
|
- `maxTokens` — optional cap on the reply's length. Defaults to 4096; the
|
|
754
791
|
service caps it at 16384.
|
|
755
792
|
- `reasoning` — optional `{ effort: 'minimal' | 'low' | 'medium' | 'high' }`,
|
|
@@ -817,7 +854,10 @@ for (let round = 0; round < 8; round++) {
|
|
|
817
854
|
`AgentChatResult` has a `status`:
|
|
818
855
|
|
|
819
856
|
- `'ok'` — `message` is the assistant's reply: `{ role, content,
|
|
820
|
-
tool_calls? }`, with `content` null when the reply is
|
|
857
|
+
tool_calls?, reasoning_details? }`, with `content` null when the reply is
|
|
858
|
+
only tool calls. `reasoning_details` holds the model's reasoning blocks
|
|
859
|
+
(some encrypted) when it returned any; append the message unchanged so the
|
|
860
|
+
model can pick its reasoning back up on the next call.
|
|
821
861
|
`reasoning` is the model's reasoning summary when it gave one, for
|
|
822
862
|
display; it is not part of `message`. `finishReason` is `'stop'`,
|
|
823
863
|
`'tool_calls'` or `'length'`. `usage` carries `prompt_tokens`,
|
|
@@ -33,7 +33,7 @@ export { flushSaves, hasPendingSave, onSaveState, writeFile, } from "./saveQueue
|
|
|
33
33
|
export type { SaveState } from "./saveQueue";
|
|
34
34
|
export { SharedStorage, Storage } from "./storage";
|
|
35
35
|
export { Store } from "./store";
|
|
36
|
-
export type { CastleStoreApi, StoreBoardApi, StoreBoardScore, StoreListEntry, StoreListOptions, StoreListPage, StoreScopeApi, } from "./store";
|
|
36
|
+
export type { CastleStoreApi, StoreBoardApi, StoreBoardScore, StoreListEntry, StoreListOptions, StoreListPage, StoreAllowance, StoreScopeApi, StoreUsage, } from "./store";
|
|
37
37
|
export { Time } from "./time";
|
|
38
38
|
export type { CastleClockZone, CastleDateParts, CastleTimeApi } from "./time";
|
|
39
39
|
export type { Json } from "./types";
|
|
@@ -11,6 +11,17 @@ export interface StoreUsage {
|
|
|
11
11
|
rowCount: number;
|
|
12
12
|
byteCount: number;
|
|
13
13
|
}
|
|
14
|
+
/** One storage allowance: what is stored against it, and its limits. */
|
|
15
|
+
export interface StoreAllowance {
|
|
16
|
+
keyCount: number;
|
|
17
|
+
keyLimit: number;
|
|
18
|
+
byteCount: number;
|
|
19
|
+
byteLimit: number;
|
|
20
|
+
}
|
|
21
|
+
export interface StoreAllowances {
|
|
22
|
+
player: StoreAllowance;
|
|
23
|
+
shared: StoreAllowance;
|
|
24
|
+
}
|
|
14
25
|
export interface StoreBoardEntry {
|
|
15
26
|
subject: string;
|
|
16
27
|
score: number;
|
|
@@ -201,6 +212,7 @@ export interface AgentMessage {
|
|
|
201
212
|
tool_calls?: AgentToolCall[];
|
|
202
213
|
tool_call_id?: string;
|
|
203
214
|
name?: string;
|
|
215
|
+
reasoning_details?: Json[];
|
|
204
216
|
}
|
|
205
217
|
export interface AgentTool {
|
|
206
218
|
type: "function";
|
|
@@ -428,6 +440,7 @@ export interface CommandParams {
|
|
|
428
440
|
board: string;
|
|
429
441
|
subject?: string | null;
|
|
430
442
|
};
|
|
443
|
+
"cauldronStorage.usage": Record<string, never>;
|
|
431
444
|
"lifecycle.restoreState": Record<string, never>;
|
|
432
445
|
}
|
|
433
446
|
export interface CommandResult {
|
|
@@ -525,6 +538,9 @@ export interface CommandResult {
|
|
|
525
538
|
"cauldronStorage.boardGet": {
|
|
526
539
|
entry: StoreBoardEntry | null;
|
|
527
540
|
};
|
|
541
|
+
"cauldronStorage.usage": {
|
|
542
|
+
usage: StoreAllowances;
|
|
543
|
+
};
|
|
528
544
|
"lifecycle.restoreState": LifecycleRestoreStateResult;
|
|
529
545
|
}
|
|
530
546
|
export interface UserPayload {
|
package/kits/base/sdk/store.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StoreAllowance } from "./commands";
|
|
1
2
|
import type { Json } from "./types";
|
|
2
3
|
export interface StoreListOptions {
|
|
3
4
|
/** Only keys beginning with this. Omit for every key in the scope. */
|
|
@@ -52,6 +53,16 @@ export interface StoreBoardApi {
|
|
|
52
53
|
/** One player's score, defaulting to the current player. Null if unset. */
|
|
53
54
|
get(userId?: string): Promise<StoreBoardScore | null>;
|
|
54
55
|
}
|
|
56
|
+
export type { StoreAllowance };
|
|
57
|
+
export interface StoreUsage {
|
|
58
|
+
/**
|
|
59
|
+
* The current player's own data in this deck: their `Store.me` and
|
|
60
|
+
* `Store.private` keys, their board scores and their `Characters` playthrough.
|
|
61
|
+
*/
|
|
62
|
+
player: StoreAllowance;
|
|
63
|
+
/** `Store.deck`: one allowance shared by every player of the deck. */
|
|
64
|
+
shared: StoreAllowance;
|
|
65
|
+
}
|
|
55
66
|
export interface CastleStoreApi {
|
|
56
67
|
/** Shared by everyone playing the deck. */
|
|
57
68
|
readonly deck: StoreScopeApi;
|
|
@@ -63,5 +74,11 @@ export interface CastleStoreApi {
|
|
|
63
74
|
readonly private: StoreScopeApi;
|
|
64
75
|
/** A leaderboard. */
|
|
65
76
|
board(name: string): StoreBoardApi;
|
|
77
|
+
/**
|
|
78
|
+
* How much of the current player's allowance, and of the deck's shared one, is
|
|
79
|
+
* used. Includes the `set` and `remove` calls made before it, even ones still
|
|
80
|
+
* being batched; an `increment` or board `submit` is included once awaited.
|
|
81
|
+
*/
|
|
82
|
+
usage(): Promise<StoreUsage>;
|
|
66
83
|
}
|
|
67
84
|
export declare const Store: CastleStoreApi;
|
package/kits/base/sdk/store.js
CHANGED
|
@@ -300,6 +300,15 @@ function createBoard(name) {
|
|
|
300
300
|
},
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
|
+
async function usage() {
|
|
304
|
+
// Writes still waiting out the coalescing window would otherwise be missing from
|
|
305
|
+
// the answer, so a deck that saves and then asks would see its old usage. Send
|
|
306
|
+
// them now; flushBucket never rejects, and a write that fails reports to its own
|
|
307
|
+
// caller.
|
|
308
|
+
await Promise.all(Array.from(buckets.values(), (bucket) => flushBucket(bucket, false)));
|
|
309
|
+
const { usage: allowances } = await hostRequest("cauldronStorage.usage", {});
|
|
310
|
+
return { player: allowances.player, shared: allowances.shared };
|
|
311
|
+
}
|
|
303
312
|
export const Store = {
|
|
304
313
|
deck: createScope("deck", null),
|
|
305
314
|
me: createScope("user", null),
|
|
@@ -310,4 +319,5 @@ export const Store = {
|
|
|
310
319
|
board(name) {
|
|
311
320
|
return createBoard(name);
|
|
312
321
|
},
|
|
322
|
+
usage,
|
|
313
323
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "castle-web-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.225",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/castle-xyz/castle-experimental-web.git"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "rm -rf dist && tsc && chmod +x dist/index.js && vite build && vite build -c vite.cover-bridge.config.ts && cp -R src/castle-host dist/castle-host && chmod -R u+w kits 2>/dev/null; rm -rf kits && cp -R ../kits kits && chmod -R u+w kits && rm -rf kits/*/imports",
|
|
14
14
|
"dev": "tsc --watch",
|
|
15
|
-
"check": "node ../scripts/sync-shared.mjs --check && node ../scripts/tests/icon-registry.mjs && node ../scripts/tests/sandbox-graphql-fields.mjs && node ../scripts/tests/kit-package-json.mjs && node ../scripts/tests/kit-catalog.mjs && node ../scripts/tests/router-fences.mjs && node ../scripts/tests/router-stops.mjs && node ../scripts/tests/plan-answered-questions.mjs && node ../scripts/tests/sdk-readme-limits.mjs && node ../scripts/tests/task-account.mjs && node ../scripts/tests/effort-support.mjs && eslint . && jscpd && tsc --noEmit && tsc --noEmit -p src/shell/tsconfig.json"
|
|
15
|
+
"check": "node ../scripts/sync-shared.mjs --check && node ../scripts/tests/icon-registry.mjs && node ../scripts/tests/sandbox-graphql-fields.mjs && node ../scripts/tests/kit-package-json.mjs && node ../scripts/tests/kit-catalog.mjs && node ../scripts/tests/router-fences.mjs && node ../scripts/tests/held-tasks.mjs && node ../scripts/tests/held-task-prompts.mjs && node ../scripts/tests/router-stops.mjs && node ../scripts/tests/task-steer.mjs && node ../scripts/tests/task-steer-store.mjs && node ../scripts/tests/router-task-endings.mjs && node ../scripts/tests/task-resume.mjs && node ../scripts/tests/plan-answered-questions.mjs && node ../scripts/tests/sdk-readme-limits.mjs && node ../scripts/tests/task-account.mjs && node ../scripts/tests/effort-support.mjs && eslint . && jscpd && tsc --noEmit && tsc --noEmit -p src/shell/tsconfig.json"
|
|
16
16
|
},
|
|
17
17
|
"jscpd": {
|
|
18
18
|
"path": [
|