castle-web-cli 0.4.110 → 0.4.111
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-prompts.js +1 -0
- package/dist/api.d.ts +24 -5
- package/dist/api.js +71 -9
- package/dist/commonInstructions.d.ts +1 -1
- package/dist/commonInstructions.js +9 -1
- package/dist/httpJson.d.ts +4 -0
- package/dist/httpJson.js +21 -0
- package/dist/ide.d.ts +2 -0
- package/dist/ide.js +34 -15
- package/dist/importBrowse.d.ts +21 -0
- package/dist/importBrowse.js +240 -0
- package/dist/imports.d.ts +21 -1
- package/dist/imports.js +96 -24
- package/dist/index.js +11 -4
- package/dist/list-decks.d.ts +3 -0
- package/dist/list-decks.js +44 -0
- package/dist/save-deck.d.ts +3 -1
- package/dist/save-deck.js +7 -3
- package/dist/serve.js +10 -2
- package/dist/shell/assets/index-BbQN3p8P.css +1 -0
- package/dist/shell/assets/index-DIVtkGt8.js +144 -0
- package/dist/shell/favicon-16x16.png +0 -0
- package/dist/shell/favicon-32x32.png +0 -0
- package/dist/shell/favicon.ico +0 -0
- package/dist/shell/index.html +8 -2
- package/package.json +2 -2
- package/dist/shell/assets/index-BK2M69q4.js +0 -144
- package/dist/shell/assets/index-wU4ol--C.css +0 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/shell/index.html
CHANGED
|
@@ -4,8 +4,14 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<title>Castle Editor</title>
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
<!-- The same favicon castle.xyz uses (copied into `public/`, so vite emits
|
|
8
|
+
them next to the bundle and the published package ships them). Vite
|
|
9
|
+
rewrites these onto the build `base`, i.e. `/__castle/ide/...`. -->
|
|
10
|
+
<link rel="icon" type="image/png" sizes="32x32" href="/__castle/ide/favicon-32x32.png" />
|
|
11
|
+
<link rel="icon" type="image/png" sizes="16x16" href="/__castle/ide/favicon-16x16.png" />
|
|
12
|
+
<link rel="icon" href="/__castle/ide/favicon.ico" sizes="any" />
|
|
13
|
+
<script type="module" crossorigin src="/__castle/ide/assets/index-DIVtkGt8.js"></script>
|
|
14
|
+
<link rel="stylesheet" crossorigin href="/__castle/ide/assets/index-BbQN3p8P.css">
|
|
9
15
|
</head>
|
|
10
16
|
<body>
|
|
11
17
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "castle-web-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.111",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"castle-web": "./dist/index.js"
|
|
7
7
|
},
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "rm -rf dist && tsc && vite build && cp -R src/castle-host dist/castle-host && rm -rf kits && cp -R ../kits kits",
|
|
9
|
+
"build": "rm -rf dist && tsc && chmod +x dist/index.js && vite build && cp -R src/castle-host dist/castle-host && rm -rf kits && cp -R ../kits kits",
|
|
10
10
|
"dev": "tsc --watch",
|
|
11
11
|
"check": "eslint . && jscpd && tsc --noEmit && tsc --noEmit -p src/shell/tsconfig.json"
|
|
12
12
|
},
|