@sparkelf/dsh-task-bus 0.0.0-stage → 0.1.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 +32 -2
- package/cordis.patch.yml +3 -0
- package/lib/client.js +2332 -0
- package/lib/client.js.map +1 -0
- package/lib/index.d.ts +19 -0
- package/lib/index.js +485 -0
- package/package.json +87 -4
package/README.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @sparkelf/dsh-task-bus
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
DataOps Task Center for the DSH Web shell.
|
|
4
|
+
|
|
5
|
+
The first source is DataOps approval work:
|
|
6
|
+
|
|
7
|
+
- `asset-access-approval`
|
|
8
|
+
- `application-request-approval`
|
|
9
|
+
- `application-resource-request-approval`
|
|
10
|
+
|
|
11
|
+
Approval tasks stay authoritative in DataOps. This plugin projects them into one
|
|
12
|
+
stable `approval:<taskId>` card and links `办理` back to the existing DataOps
|
|
13
|
+
approval detail. It never creates a second approval task or re-implements BPMN.
|
|
14
|
+
|
|
15
|
+
Generic group/session/manual tasks use the separate `task:<uuid>` Task Bus record.
|
|
16
|
+
The MVP does not include a connector marketplace, connector uploads, versioning,
|
|
17
|
+
OAuth, certificates, or a local credential manager.
|
|
18
|
+
|
|
19
|
+
## Development
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
pnpm --filter @sparkelf/dsh-task-bus typecheck
|
|
23
|
+
pnpm --filter @sparkelf/dsh-task-bus build
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
The Host bridge uses the managed workspace's `DATAOPS_ACCESS_TOKEN` credential
|
|
27
|
+
through `ctx.credentials` and the configured DataOps backend:
|
|
28
|
+
|
|
29
|
+
- `DATAOPS_AI_WORKSPACE_BACKEND_BASE_URL`
|
|
30
|
+
- `DATAOPS_PUBLIC_APP_ORIGIN` (used only to make approval deep links absolute)
|
|
31
|
+
|
|
32
|
+
The browser talks only to `/dsh-task-bus/api`; it never receives the token or the
|
|
33
|
+
DataOps API origin.
|
package/cordis.patch.yml
ADDED