@crowdedkingdoms/crowdy-dsh 0.2.0-dev.1 → 0.2.1-dev.1
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/THIRD_PARTY_NOTICES.md +226 -0
- package/dist/dsh-web/BUILD.json +9 -9
- package/dist/dsh-web/crowdy.html +1 -1
- package/dist/dsh-web/index.html +1 -1
- package/dist/dsh-web/preview/crowdy-boot-Cklh1qNl.js +5 -0
- package/dist/dsh-web/preview/vfs-image.tar.gz +0 -0
- package/lib/attachments/crowdy-attachment-store.js +200 -0
- package/lib/attachments/crowdy-attachment-store.js.map +1 -0
- package/lib/bridge/client.js +161 -0
- package/lib/bridge/client.js.map +1 -0
- package/lib/bridge/index.js +155 -0
- package/lib/bridge/index.js.map +1 -0
- package/lib/bridge/protocol.js +30 -0
- package/lib/bridge/protocol.js.map +1 -0
- package/lib/crowdy/client.js +247 -0
- package/lib/crowdy/client.js.map +1 -0
- package/lib/crowdy/config.js +95 -0
- package/lib/crowdy/config.js.map +1 -0
- package/lib/crowdy/github-layout.js +97 -0
- package/lib/crowdy/github-layout.js.map +1 -0
- package/lib/crowdy/paths.js +145 -0
- package/lib/crowdy/paths.js.map +1 -0
- package/lib/crowdy/project-store.js +223 -0
- package/lib/crowdy/project-store.js.map +1 -0
- package/lib/fs/crowdy-file-system.js +621 -0
- package/lib/fs/crowdy-file-system.js.map +1 -0
- package/lib/fs/scratch-store.js +61 -0
- package/lib/fs/scratch-store.js.map +1 -0
- package/lib/index.js +15 -0
- package/lib/index.js.map +1 -0
- package/lib/persist/index.js +199 -0
- package/lib/persist/index.js.map +1 -0
- package/lib/scripts/probe.js +59 -0
- package/lib/scripts/probe.js.map +1 -0
- package/lib/sdk-index/catalog.js +237 -0
- package/lib/sdk-index/catalog.js.map +1 -0
- package/lib/sdk-index/index.js +10 -0
- package/lib/sdk-index/index.js.map +1 -0
- package/lib/sdk-index/parse-sdk.js +131 -0
- package/lib/sdk-index/parse-sdk.js.map +1 -0
- package/lib/sdk-index/plugin.js +90 -0
- package/lib/sdk-index/plugin.js.map +1 -0
- package/lib/sdk-index/snapshot.js +215 -0
- package/lib/sdk-index/snapshot.js.map +1 -0
- package/lib/search/glob-match.js +114 -0
- package/lib/search/glob-match.js.map +1 -0
- package/lib/search/search-tools.js +414 -0
- package/lib/search/search-tools.js.map +1 -0
- package/lib/tools/index.js +344 -0
- package/lib/tools/index.js.map +1 -0
- package/lib/types/attachments/crowdy-attachment-store.d.ts +45 -0
- package/lib/types/attachments/crowdy-attachment-store.d.ts.map +1 -0
- package/lib/types/attachments/crowdy-attachment-store.test.d.ts.map +1 -0
- package/lib/types/bridge/client.d.ts +57 -0
- package/lib/types/bridge/client.d.ts.map +1 -0
- package/lib/types/bridge/client.test.d.ts.map +1 -0
- package/lib/types/bridge/index.d.ts +66 -0
- package/lib/types/bridge/index.d.ts.map +1 -0
- package/lib/types/bridge/protocol.d.ts +242 -0
- package/lib/types/bridge/protocol.d.ts.map +1 -0
- package/lib/types/crowdy/client.d.ts +126 -0
- package/lib/types/crowdy/client.d.ts.map +1 -0
- package/lib/types/crowdy/client.test.d.ts.map +1 -0
- package/lib/types/crowdy/config.d.ts +60 -0
- package/lib/types/crowdy/config.d.ts.map +1 -0
- package/lib/types/crowdy/github-layout.d.ts +36 -0
- package/lib/types/crowdy/github-layout.d.ts.map +1 -0
- package/lib/types/crowdy/paths.d.ts +89 -0
- package/lib/types/crowdy/paths.d.ts.map +1 -0
- package/lib/types/crowdy/project-store.d.ts +84 -0
- package/lib/types/crowdy/project-store.d.ts.map +1 -0
- package/lib/types/crowdy/project-store.test.d.ts.map +1 -0
- package/lib/types/fs/crowdy-file-system.d.ts +173 -0
- package/lib/types/fs/crowdy-file-system.d.ts.map +1 -0
- package/lib/types/fs/crowdy-file-system.test.d.ts.map +1 -0
- package/lib/types/fs/scratch-store.d.ts +31 -0
- package/lib/types/fs/scratch-store.d.ts.map +1 -0
- package/lib/types/index.d.ts +19 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/persist/index.d.ts +85 -0
- package/lib/types/persist/index.d.ts.map +1 -0
- package/lib/types/scripts/probe.d.ts +9 -0
- package/lib/types/scripts/probe.d.ts.map +1 -0
- package/lib/types/sdk-index/catalog.d.ts +39 -0
- package/lib/types/sdk-index/catalog.d.ts.map +1 -0
- package/lib/types/sdk-index/catalog.test.d.ts.map +1 -0
- package/lib/types/sdk-index/index.d.ts +13 -0
- package/lib/types/sdk-index/index.d.ts.map +1 -0
- package/lib/types/sdk-index/parse-sdk.d.ts +25 -0
- package/lib/types/sdk-index/parse-sdk.d.ts.map +1 -0
- package/lib/types/sdk-index/plugin.d.ts +26 -0
- package/lib/types/sdk-index/plugin.d.ts.map +1 -0
- package/lib/types/sdk-index/snapshot.d.ts +11 -0
- package/lib/types/sdk-index/snapshot.d.ts.map +1 -0
- package/lib/types/search/glob-match.d.ts +31 -0
- package/lib/types/search/glob-match.d.ts.map +1 -0
- package/lib/types/search/glob-match.test.d.ts.map +1 -0
- package/lib/types/search/search-tools.d.ts +81 -0
- package/lib/types/search/search-tools.d.ts.map +1 -0
- package/lib/types/search/search-tools.test.d.ts.map +1 -0
- package/lib/types/tools/index.d.ts +27 -0
- package/lib/types/tools/index.d.ts.map +1 -0
- package/lib/types/vendor/crowdyjs-sdk.d.ts +17 -0
- package/lib/types/vendor/crowdyjs-sdk.d.ts.map +1 -0
- package/lib/vendor/crowdyjs-sdk.js +18746 -0
- package/lib/vendor/crowdyjs-sdk.js.map +1 -0
- package/lib/vendor/crowdyjs-sdk.version.json +5 -0
- package/package.json +151 -38
- package/dist/dsh-web/preview/crowdy-boot-D0e56jZN.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-tools.test.d.ts","sourceRoot":"","sources":["../../../src/search/search-tools.test.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Crowdy Studio tools: what the model can do beyond editing files.
|
|
3
|
+
*
|
|
4
|
+
* Every tool here either reads the project through the filesystem backend or
|
|
5
|
+
* asks the Studio page (over `ctx.crowdyBridge`) to do something only the page
|
|
6
|
+
* can: compile and run a draft, deploy live, take a screenshot of the game,
|
|
7
|
+
* switch projects, observe the world. The model never receives a token, a
|
|
8
|
+
* shell, or the network; the page keeps the same authority it has for a human.
|
|
9
|
+
*
|
|
10
|
+
* @module @crowdedkingdoms/crowdy-dsh/tools
|
|
11
|
+
*/
|
|
12
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
13
|
+
import z from '@deepseek-ai/schemastery';
|
|
14
|
+
export interface Config {
|
|
15
|
+
/** Deadline for a draft test or live deploy, in milliseconds. */
|
|
16
|
+
buildTimeoutMs?: number;
|
|
17
|
+
/** Deadline for a screenshot, in milliseconds. */
|
|
18
|
+
screenshotTimeoutMs?: number;
|
|
19
|
+
/** Take a screenshot automatically after a draft test that started the client target. */
|
|
20
|
+
autoScreenshot?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/** Cordis plugin name used by loader diagnostics. */
|
|
23
|
+
export declare const name = "crowdy-tools";
|
|
24
|
+
export declare const inject: string[];
|
|
25
|
+
export declare const Config: z<Config>;
|
|
26
|
+
export declare function apply(ctx: Context, config?: Config): Promise<void>;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,CAAC,MAAM,0BAA0B,CAAA;AAaxC,MAAM,WAAW,MAAM;IACrB,iEAAiE;IACjE,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,kDAAkD;IAClD,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,yFAAyF;IACzF,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,qDAAqD;AACrD,eAAO,MAAM,IAAI,iBAAiB,CAAA;AAElC,eAAO,MAAM,MAAM,UAAkC,CAAA;AAErD,eAAO,MAAM,MAAM,EAAE,CAAC,CAAC,MAAM,CAIH,CAAA;AAoD1B,wBAAsB,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,GAAE,MAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CA+T5E"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The slice of CrowdyJS the harness plugins use.
|
|
3
|
+
*
|
|
4
|
+
* `tsc` compiles this file to a plain re-export; `scripts/bundle-sdk.mjs` then
|
|
5
|
+
* overwrites `lib/vendor/crowdyjs-sdk.js` with an esbuild bundle of the same
|
|
6
|
+
* names, so the browser-worker image carries only the client, the generated
|
|
7
|
+
* documents and `graphql` — not the Studio editor, Monaco or tree-sitter that
|
|
8
|
+
* CrowdyJS lists as dependencies. Everything else in this package imports the
|
|
9
|
+
* SDK through here and nowhere else.
|
|
10
|
+
*
|
|
11
|
+
* @module @crowdedkingdoms/crowdy-dsh/vendor/crowdyjs-sdk
|
|
12
|
+
*/
|
|
13
|
+
export { createCrowdyClient, CrowdyGraphQLError } from '@crowdedkingdoms/crowdyjs';
|
|
14
|
+
export type { CrowdyClient } from '@crowdedkingdoms/crowdyjs';
|
|
15
|
+
export { CrowdyStudioProjectCreateDocument, CrowdyStudioProjectDocument, } from '@crowdedkingdoms/crowdyjs/generated';
|
|
16
|
+
export type { CrowdyStudioTarget as GeneratedTarget } from '@crowdedkingdoms/crowdyjs/generated';
|
|
17
|
+
//# sourceMappingURL=crowdyjs-sdk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crowdyjs-sdk.d.ts","sourceRoot":"","sources":["../../../src/vendor/crowdyjs-sdk.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAClF,YAAY,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC7D,OAAO,EACL,iCAAiC,EACjC,2BAA2B,GAC5B,MAAM,qCAAqC,CAAA;AAC5C,YAAY,EAAE,kBAAkB,IAAI,eAAe,EAAE,MAAM,qCAAqC,CAAA"}
|