@synopackageland/sdk 0.38.0 → 0.38.2

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,11 +1,11 @@
1
1
  {
2
2
  "formatVersion": 1,
3
- "sdkVersion": "0.38.0",
4
- "executorVersion": "0.32.0",
3
+ "sdkVersion": "0.38.2",
4
+ "executorVersion": "0.38.2",
5
5
  "executorDigests": {
6
- "x86_64": "aa8259f22620c3301ee83b76f6de6fbf06b4df36f49b64a5cc12772a3072abcc",
7
- "aarch64": "97d2b3d8d4a169ba39583a78d5f30428f877d9aac7b38415a69ac024200716bd",
8
- "armv7": "3cb936feabe1252a6fc4d44ac5318ff340bbc5fc89acd53a9afaddeaa94914bf",
6
+ "x86_64": "c25375fd73da6fa91388f8d827e94782779a9d007d9a147f250774219e768476",
7
+ "aarch64": "9f523ba0482814c61e441a681a2082979e96718043f13112c40fb0cd061dedb2",
8
+ "armv7": "75a0046758a47dd81d62662996465c0b701f9d7de13e808b46f0a627ae5c011e",
9
9
  "lifecycle": {
10
10
  "x86_64": "c6fbb377ecd5ec7ee5b96439f22091d9fa5965dfd616d510ca9445722f436721",
11
11
  "aarch64": "a9ca1750d4d5cff4727dc29789e6eaf0a365cb0e674f1bb796971d82f2d4fa27",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/sdk",
3
- "version": "0.38.0",
3
+ "version": "0.38.2",
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",
@@ -40,8 +40,9 @@ browser waits 2 seconds past the request (`timeouts.json` holds the values).
40
40
  |---|---|---|
41
41
  | Root program (`run.timeout_s`) | its own work | 1–120 s, default 20; the process group is then killed |
42
42
  | Executor, `root.run` | the program, then its reply | answers within 130 s (120 + 10) |
43
- | Executor, every other op | its DSM calls | answers within 30 s |
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`) |
43
+ | Executor, raw `webapi.call` | its streaming DSM call | executes within 1800 s, answers within 1810 s |
44
+ | Executor, other ops | its DSM calls | answers within 30 s |
45
+ | Executor client (Go `delegate.Client`, the bridge runtime's `root.*` and `delegate.*`) | the executor | `root.run` 140 s (`delegate.RootRunTimeout`); Go raw WebAPI 1820 s; other ops 40 s (`delegate.ExecutorTimeout`) |
45
46
  | Request (`api.Timeout`, manifest `timeout_seconds`) | the App's backend | default 300 s (`api.DefaultRequestTimeout`), 1–3600 |
46
47
  | Browser (`clientTimeout`, the CLI window's `call`) | the request | the request's deadline + 2 s |
47
48
 
@@ -490,7 +491,7 @@ MUST be refused. These bounds and semantics also apply to until-revoked grants.
490
491
 
491
492
  The JSON-only restriction above applies to the default response mode. An explicit
492
493
  `response_type:"raw"` MUST require a positive, approved profile `raw_max_bytes`
493
- (1..67108864), pinned by policy and user consent. The executor MUST parse bounded
494
+ (1..2147483648, at most 2 GiB), pinned by policy and user consent. The executor MUST parse bounded
494
495
  CGI headers, refuse redirects, enforce the body limit without truncation, and
495
496
  return `response_type`, `content_type`, `size`, `sha256` and exactly one of
496
497
  base64 `body` (at most 32768 bytes decoded) or a package-private `staging` handle.
@@ -498,6 +499,10 @@ It MUST NOT raise frame limits. Staging MUST be App-owned 0600 under a private
498
499
  0700 package directory. The App MUST verify size/hash and unlink after reading.
499
500
  Header, execution, spool cleanup and error rules are specified in
500
501
  [the raw contract](../../../docs/webapi-raw.md).
502
+ Raw calls have a 30-minute execution bound, narrowed by the parent deadline and
503
+ any timed grant's remaining lifetime. They MUST stream with bounded memory,
504
+ reserve staging capacity, and cancel/drain when the grant is revoked or the
505
+ integration is disabled. JSON calls retain their 10-second bound.
501
506
 
502
507
  ### Destination permission observations
503
508
 
@@ -3,6 +3,8 @@
3
3
  "margin_s": 10,
4
4
  "executor": {
5
5
  "op_s": 30,
6
+ "webapi_raw_execution_s": 1800,
7
+ "webapi_raw_answer_s": 1810,
6
8
  "root_run_program_default_s": 20,
7
9
  "root_run_program_max_s": 120,
8
10
  "root_run_answer_s": 130,
@@ -10,6 +12,7 @@
10
12
  },
11
13
  "client": {
12
14
  "op_s": 40,
15
+ "webapi_raw_s": 1820,
13
16
  "root_run_s": 140
14
17
  },
15
18
  "request": {