clavarium 0.2.242-next.1 → 0.2.243-next.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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "clavarium",
3
- "version": "0.2.242-next.1",
3
+ "version": "0.2.243-next.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "clavarium",
9
- "version": "0.2.242-next.1",
9
+ "version": "0.2.243-next.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@xterm/addon-fit": "^0.11.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clavarium",
3
- "version": "0.2.242-next.1",
3
+ "version": "0.2.243-next.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "A conversation is a VM with a terminal in it. Everything else is a folder.",
package/server/api.mjs CHANGED
@@ -120,8 +120,7 @@
120
120
  * GET /api/flows who gets what: devices, conversations, assets, the rights between them, the flows
121
121
  * POST /api/flows/name {around, name}: a flow named by the owner ('' gives it back its own)
122
122
  * POST /api/setup/export {flow?} -> {name, text}: the configuration as one file, never the data
123
- * POST /api/setup/preview {text, choices?}: what an import { suggest } from './suggest.mjs';
124
- import would do, said before anything is done
123
+ * POST /api/setup/preview {text, choices?}: what an import would do, said before anything is done
125
124
  * POST /api/setup/import {text, choices?, bundle?}: made in the background; GET says how far it is
126
125
  * GET /api/setup/bundle?flow= the flow WITH the files of its folders, a .tar.gz (bundle.mjs) &stats=1: their sizes only
127
126
  * POST /api/setup/bundle the body IS such a file -> {id, text, folders}: then preview and import with {bundle: id}
@@ -134,6 +133,7 @@ import would do, said before anything is done
134
133
  * A request that changes something must come from this site's own pages: the
135
134
  * Origin header is compared, and the body must be JSON, which a form on
136
135
  * another site cannot send. */
136
+ import { suggest } from './suggest.mjs';
137
137
  import { sameOrigin } from './bridge.mjs';
138
138
  import { Refusal, DISK_GB } from './conversations.mjs';
139
139
  import { VmUnknown } from './vm.mjs';