@yejiming/dsh-data-agent 0.0.12 → 0.0.13

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.
Files changed (46) hide show
  1. package/README.en.md +56 -10
  2. package/README.md +56 -10
  3. package/conformance/dsh-ecosystem/baseline.json +59 -0
  4. package/conformance/dsh-ecosystem/dependencies.json +41 -0
  5. package/conformance/dsh-ecosystem/fixtures/host-degraded.fixture.json +12 -0
  6. package/conformance/dsh-ecosystem/fixtures/host-eligible.fixture.json +13 -0
  7. package/conformance/dsh-ecosystem/fixtures/host-rejected.fixture.json +12 -0
  8. package/conformance/dsh-ecosystem/fixtures/profiles/native-only/package.json +8 -0
  9. package/conformance/dsh-ecosystem/fixtures/profiles/native-plus-adapter/package.json +9 -0
  10. package/conformance/dsh-ecosystem/inventory.json +77 -0
  11. package/conformance/dsh-ecosystem/restrictions.json +20 -0
  12. package/dsh-plugin.json +67 -0
  13. package/lib/client.js +1348 -129
  14. package/lib/client.js.map +1 -1
  15. package/lib/{command-DuCpwVbl.js → command-utC5MHd9.js} +101 -60
  16. package/lib/command.js +1 -1
  17. package/lib/{connections-5sfdEDsG.js → connections-CHY4uB6z.js} +747 -65
  18. package/lib/defaults-Cngd8Tf8.js +131 -0
  19. package/lib/ecosystem.js +19 -0
  20. package/lib/index.js +30 -22
  21. package/lib/routes.js +5 -6
  22. package/lib/{tool-DgL0fBfj.js → tool-ZTOS4B33.js} +5 -167
  23. package/lib/tool.js +1 -1
  24. package/lib/types/client/DataAgentWorkbench.d.ts +1 -2
  25. package/lib/types/client/QueryResultTable.d.ts +13 -0
  26. package/lib/types/client/locales.d.ts +48 -0
  27. package/lib/types/client/persistence.d.ts +3 -1
  28. package/lib/types/client/query-export.d.ts +11 -0
  29. package/lib/types/client-discovery.d.ts +3 -4
  30. package/lib/types/clients.d.ts +14 -8
  31. package/lib/types/command.d.ts +2 -2
  32. package/lib/types/connections.d.ts +33 -4
  33. package/lib/types/database-types.d.ts +23 -0
  34. package/lib/types/defaults.d.ts +4 -0
  35. package/lib/types/ecosystem.d.ts +13 -0
  36. package/lib/types/index.d.ts +16 -10
  37. package/lib/types/query.d.ts +13 -11
  38. package/lib/types/sql.d.ts +9 -1
  39. package/lib/types/storage.d.ts +11 -1
  40. package/lib/types/structured-read.d.ts +2 -2
  41. package/lib/types/structured.d.ts +1 -1
  42. package/lib/types/tool.d.ts +5 -5
  43. package/lib/types/tui-connection-form.d.ts +10 -7
  44. package/package.json +27 -3
  45. package/preset/data-agent/agent.cordis.yml +4 -1
  46. package/lib/defaults-DP4RyRh1.js +0 -21
@@ -0,0 +1,67 @@
1
+ {
2
+ "$schema": "https://dsh.community/schemas/dsh-plugin-0.15.json",
3
+ "manifestVersion": "0.15",
4
+ "id": "io.github.omdsh-dev.dsh-data-agent",
5
+ "name": "DSH Data Agent",
6
+ "version": "0.0.13",
7
+ "facets": {
8
+ "host": {
9
+ "entry": "lib/ecosystem.js",
10
+ "apiVersion": "v1alpha1"
11
+ }
12
+ },
13
+ "requires": {
14
+ "contracts": [
15
+ {
16
+ "apiVersion": "commands.dsh/v1alpha1",
17
+ "kind": "Command"
18
+ },
19
+ {
20
+ "apiVersion": "storage.dsh/v1alpha1",
21
+ "kind": "LocalStorage",
22
+ "optional": true,
23
+ "fallback": "use the native Cordis storage-domain, or process-local state when native persistence is disabled"
24
+ }
25
+ ],
26
+ "services": []
27
+ },
28
+ "permissions": [
29
+ {
30
+ "name": "commands.invoke",
31
+ "scope": "io.github.omdsh-dev.dsh-data-agent.database",
32
+ "reason": "invoke the declared database connection command"
33
+ }
34
+ ],
35
+ "contributes": {
36
+ "commands": [
37
+ {
38
+ "id": "io.github.omdsh-dev.dsh-data-agent.database",
39
+ "title": "Database",
40
+ "description": "Manage the native data-agent database connection"
41
+ }
42
+ ],
43
+ "panels": []
44
+ },
45
+ "subscriptions": [],
46
+ "license": "MIT",
47
+ "source": {
48
+ "repository": "https://github.com/omdsh-dev/dsh-data-agent"
49
+ },
50
+ "overrides": [
51
+ {
52
+ "target": "package.json#dsh.bundle",
53
+ "kind": "native",
54
+ "description": "The existing Cordis bundle remains the sole functional runtime"
55
+ },
56
+ {
57
+ "target": "lib/client.js",
58
+ "kind": "build",
59
+ "description": "The Web client is a generated browser closure-factory artifact"
60
+ },
61
+ {
62
+ "target": "database-clients",
63
+ "kind": "native",
64
+ "description": "Database execution may require external CLI clients; ClickHouse uses its packaged HTTP client"
65
+ }
66
+ ]
67
+ }