clavarium 0.2.242-next.1 → 0.2.244-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.
- package/npm-shrinkwrap.json +6 -6
- package/package.json +2 -2
- package/server/api.mjs +2 -2
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clavarium",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.244-next.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "clavarium",
|
|
9
|
-
"version": "0.2.
|
|
9
|
+
"version": "0.2.244-next.1",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@xterm/addon-fit": "^0.11.0",
|
|
13
13
|
"@xterm/xterm": "^6.0.0",
|
|
14
|
-
"clavarium-binder": "0.1.
|
|
14
|
+
"clavarium-binder": "0.1.47-next.1",
|
|
15
15
|
"clavarium-docket": "0.1.1",
|
|
16
16
|
"clavarium-parley": "0.17.35-next.1",
|
|
17
17
|
"clavarium-tether": "0.1.0-next.46",
|
|
@@ -761,9 +761,9 @@
|
|
|
761
761
|
}
|
|
762
762
|
},
|
|
763
763
|
"node_modules/clavarium-binder": {
|
|
764
|
-
"version": "0.1.
|
|
765
|
-
"resolved": "https://registry.npmjs.org/clavarium-binder/-/clavarium-binder-0.1.
|
|
766
|
-
"integrity": "sha512-
|
|
764
|
+
"version": "0.1.47-next.1",
|
|
765
|
+
"resolved": "https://registry.npmjs.org/clavarium-binder/-/clavarium-binder-0.1.47-next.1.tgz",
|
|
766
|
+
"integrity": "sha512-OCJ++o+TmFN3um729CUMqlO6EktU0MmsVsJZ0mHNlGjDA/2cMJfkDHoeVHErgJuTAxeiSwpu0Scu2dsyAuca4Q==",
|
|
767
767
|
"license": "MIT",
|
|
768
768
|
"bin": {
|
|
769
769
|
"binder": "bin/binder.mjs",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clavarium",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.244-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.",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@xterm/addon-fit": "^0.11.0",
|
|
46
46
|
"@xterm/xterm": "^6.0.0",
|
|
47
|
-
"clavarium-binder": "0.1.
|
|
47
|
+
"clavarium-binder": "0.1.47-next.1",
|
|
48
48
|
"clavarium-docket": "0.1.1",
|
|
49
49
|
"clavarium-parley": "0.17.35-next.1",
|
|
50
50
|
"clavarium-tether": "0.1.0-next.46",
|
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
|
|
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';
|