@synopackageland/sdk 0.37.0 → 0.38.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/README.md +22 -5
- package/dist/i18n/shell/de.json +1 -0
- package/dist/i18n/shell/en.json +1 -0
- package/dist/i18n/shell/es.json +1 -0
- package/dist/i18n/shell/fr.json +1 -0
- package/dist/i18n/shell/it.json +1 -0
- package/dist/i18n/shell/ja.json +1 -0
- package/dist/i18n/shell/ko.json +1 -0
- package/dist/i18n/shell/zh-CN.json +1 -0
- package/dist/i18n/shell/zh-TW.json +1 -0
- package/dist/index.js +1352 -1342
- package/dist/src/context.d.ts +4 -3
- package/dist/src/shell/i18n.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/vue.js +915 -893
- package/executor-manifest.json +1 -1
- package/package.json +1 -1
- package/spec/protocol/v1/README.md +4 -2
- package/spec/protocol/v1/timeouts.json +1 -1
package/executor-manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synopackageland/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.1",
|
|
4
4
|
"description": "Frontend SDK for DSM packages built with synopkgland: headless client and Vue components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/synopackageland/syno-pkg-land-sdk/tree/main/ts#readme",
|
|
@@ -42,14 +42,16 @@ browser waits 2 seconds past the request (`timeouts.json` holds the values).
|
|
|
42
42
|
| Executor, `root.run` | the program, then its reply | answers within 130 s (120 + 10) |
|
|
43
43
|
| Executor, every other op | its DSM calls | answers within 30 s |
|
|
44
44
|
| Executor client (Go `delegate.Client`, the bridge runtime's `root.*` and `delegate.*`) | the executor | `root.run` 140 s (`delegate.RootRunTimeout`), every other op 40 s (`delegate.ExecutorTimeout`) |
|
|
45
|
-
| Request (`api.Timeout`, manifest `timeout_seconds`) | the App's backend | default
|
|
45
|
+
| Request (`api.Timeout`, manifest `timeout_seconds`) | the App's backend | default 300 s (`api.DefaultRequestTimeout`), 1–3600 |
|
|
46
46
|
| Browser (`clientTimeout`, the CLI window's `call`) | the request | the request's deadline + 2 s |
|
|
47
47
|
|
|
48
48
|
- The request's deadline ends every inner wait: a client never waits past it.
|
|
49
49
|
An App whose backend awaits `root.run` therefore needs a deadline of at
|
|
50
50
|
least the program's `run.timeout_s` + 20 seconds (the executor's 10 and the
|
|
51
51
|
client's 10), so a 120-second program needs `timeout_seconds` 140; a build
|
|
52
|
-
tool SHOULD refuse less. The default
|
|
52
|
+
tool SHOULD refuse less. The default 300 covers the maximum synchronous
|
|
53
|
+
program and its response reserve. Longer privileged work uses root jobs;
|
|
54
|
+
request time never enlarges an approved program budget.
|
|
53
55
|
- A client that gave up does not stop the work: `root.run` runs on (it cannot
|
|
54
56
|
be canceled), and `portal.register` and `portal.unregister` finish their
|
|
55
57
|
steps within 2 minutes. The client reads the result again (`status`,
|