@tinycloud/operations 0.1.0-beta.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.
Files changed (41) hide show
  1. package/coverage.json +136 -0
  2. package/dist/artifacts.cjs +7072 -0
  3. package/dist/artifacts.cjs.map +1 -0
  4. package/dist/artifacts.d.cts +391 -0
  5. package/dist/artifacts.d.ts +391 -0
  6. package/dist/artifacts.js +7054 -0
  7. package/dist/artifacts.js.map +1 -0
  8. package/dist/cli-runtime.cjs +9604 -0
  9. package/dist/cli-runtime.cjs.map +1 -0
  10. package/dist/cli-runtime.d.cts +9 -0
  11. package/dist/cli-runtime.d.ts +9 -0
  12. package/dist/cli-runtime.js +9609 -0
  13. package/dist/cli-runtime.js.map +1 -0
  14. package/dist/contract-mCY8LFFI.d.cts +97 -0
  15. package/dist/contract-mCY8LFFI.d.ts +97 -0
  16. package/dist/index.cjs +9381 -0
  17. package/dist/index.cjs.map +1 -0
  18. package/dist/index.d.cts +6 -0
  19. package/dist/index.d.ts +6 -0
  20. package/dist/index.js +9386 -0
  21. package/dist/index.js.map +1 -0
  22. package/dist/profile.cjs +194 -0
  23. package/dist/profile.cjs.map +1 -0
  24. package/dist/profile.d.cts +61 -0
  25. package/dist/profile.d.ts +61 -0
  26. package/dist/profile.js +171 -0
  27. package/dist/profile.js.map +1 -0
  28. package/dist/secret-capabilities.cjs +36 -0
  29. package/dist/secret-capabilities.cjs.map +1 -0
  30. package/dist/secret-capabilities.d.cts +6 -0
  31. package/dist/secret-capabilities.d.ts +6 -0
  32. package/dist/secret-capabilities.js +10 -0
  33. package/dist/secret-capabilities.js.map +1 -0
  34. package/dist/state.cjs +381 -0
  35. package/dist/state.cjs.map +1 -0
  36. package/dist/state.d.cts +79 -0
  37. package/dist/state.d.ts +79 -0
  38. package/dist/state.js +337 -0
  39. package/dist/state.js.map +1 -0
  40. package/generated/operations.json +6082 -0
  41. package/package.json +76 -0
package/coverage.json ADDED
@@ -0,0 +1,136 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "source": "packages/cli/src/command-registry.ts",
4
+ "commands": [
5
+ { "command": "init", "status": "legacy" },
6
+ { "command": "auth", "status": "legacy" },
7
+ { "command": "auth login", "status": "legacy" },
8
+ { "command": "auth logout", "status": "legacy" },
9
+ { "command": "auth rotate", "status": "legacy" },
10
+ { "command": "auth status", "status": "legacy" },
11
+ { "command": "auth request", "status": "legacy" },
12
+ {
13
+ "command": "auth import [source]",
14
+ "status": "partially-migrated",
15
+ "operationId": "tinycloud.auth.import",
16
+ "operationVersion": 1,
17
+ "remainingLegacyInputs": [
18
+ "v1 delegation artifact",
19
+ "v1 permission artifact without command",
20
+ "bare portable delegation",
21
+ "stored delegation wrapper",
22
+ "cross-user delegation persisted with activated=false"
23
+ ]
24
+ },
25
+ { "command": "auth grant [request]", "status": "legacy" },
26
+ { "command": "auth retry [requestId]", "status": "legacy" },
27
+ { "command": "auth caps", "status": "legacy" },
28
+ { "command": "auth whoami", "status": "legacy" },
29
+ { "command": "kv", "status": "legacy" },
30
+ { "command": "kv get <key>", "status": "legacy" },
31
+ { "command": "kv put <key> [value]", "status": "legacy" },
32
+ { "command": "kv delete <key>", "status": "legacy" },
33
+ { "command": "kv list", "status": "legacy" },
34
+ { "command": "kv head <key>", "status": "legacy" },
35
+ { "command": "space", "status": "legacy" },
36
+ { "command": "space list", "status": "legacy" },
37
+ { "command": "space create <name>", "status": "legacy" },
38
+ { "command": "space host-request <name>", "status": "legacy" },
39
+ { "command": "space info [space-id]", "status": "legacy" },
40
+ { "command": "space switch <name>", "status": "legacy" },
41
+ { "command": "delegation", "status": "legacy" },
42
+ { "command": "delegation create", "status": "legacy" },
43
+ { "command": "delegation list", "status": "legacy" },
44
+ { "command": "delegation info <cid>", "status": "legacy" },
45
+ { "command": "delegation revoke <cid>", "status": "legacy" },
46
+ { "command": "share", "status": "legacy" },
47
+ { "command": "share create", "status": "legacy" },
48
+ { "command": "share receive [data]", "status": "legacy" },
49
+ { "command": "share list", "status": "legacy" },
50
+ { "command": "share revoke <token>", "status": "legacy" },
51
+ { "command": "node", "status": "legacy" },
52
+ { "command": "node health", "status": "legacy" },
53
+ { "command": "node version", "status": "legacy" },
54
+ { "command": "node status", "status": "legacy" },
55
+ { "command": "profile", "status": "legacy" },
56
+ { "command": "profile list", "status": "legacy" },
57
+ { "command": "profile create <name>", "status": "legacy" },
58
+ { "command": "profile show [name]", "status": "legacy" },
59
+ { "command": "profile switch <name>", "status": "legacy" },
60
+ { "command": "profile set-default-space [name]", "status": "legacy" },
61
+ { "command": "profile delete <name>", "status": "legacy" },
62
+ { "command": "completion", "status": "legacy" },
63
+ { "command": "completion bash", "status": "legacy" },
64
+ { "command": "completion zsh", "status": "legacy" },
65
+ { "command": "completion fish", "status": "legacy" },
66
+ { "command": "vault", "status": "legacy" },
67
+ { "command": "vault unlock", "status": "legacy" },
68
+ { "command": "vault put <key> [value]", "status": "legacy" },
69
+ { "command": "vault get <key>", "status": "legacy" },
70
+ { "command": "vault delete <key>", "status": "legacy" },
71
+ { "command": "vault list", "status": "legacy" },
72
+ { "command": "vault head <key>", "status": "legacy" },
73
+ { "command": "secrets", "status": "legacy" },
74
+ { "command": "secrets network", "status": "legacy" },
75
+ { "command": "secrets network show [nameOrNetworkId]", "status": "legacy" },
76
+ { "command": "secrets network init [name]", "status": "legacy" },
77
+ { "command": "secrets doctor [name]", "status": "legacy" },
78
+ { "command": "secrets list", "status": "legacy" },
79
+ {
80
+ "command": "secrets get <name>",
81
+ "status": "migrated",
82
+ "operationId": "tinycloud.secrets.get",
83
+ "operationVersion": 1
84
+ },
85
+ { "command": "secrets put <name> [value]", "status": "legacy" },
86
+ { "command": "secrets delete <name>", "status": "legacy" },
87
+ { "command": "secrets network grant <recipientDid> [name]", "status": "legacy" },
88
+ { "command": "secrets manage", "status": "legacy" },
89
+ { "command": "vars", "status": "legacy" },
90
+ { "command": "vars list", "status": "legacy" },
91
+ { "command": "vars get <name>", "status": "legacy" },
92
+ { "command": "vars put <name> [value]", "status": "legacy" },
93
+ { "command": "vars delete <name>", "status": "legacy" },
94
+ { "command": "doctor", "status": "legacy" },
95
+ { "command": "sql", "status": "legacy" },
96
+ { "command": "sql query <sql>", "status": "legacy" },
97
+ { "command": "sql execute <sql>", "status": "legacy" },
98
+ { "command": "sql export", "status": "legacy" },
99
+ { "command": "sql copy", "status": "legacy" },
100
+ { "command": "duckdb", "status": "legacy" },
101
+ { "command": "duckdb query <sql>", "status": "legacy" },
102
+ { "command": "duckdb execute <sql>", "status": "legacy" },
103
+ { "command": "duckdb describe", "status": "legacy" },
104
+ { "command": "duckdb export", "status": "legacy" },
105
+ { "command": "duckdb import <file>", "status": "legacy" },
106
+ { "command": "manifest", "status": "legacy" },
107
+ { "command": "manifest resolve <source>", "status": "legacy" },
108
+ { "command": "upgrade", "status": "legacy" },
109
+ { "command": "status", "status": "legacy" },
110
+ { "command": "account", "status": "legacy" },
111
+ { "command": "account status", "status": "legacy" },
112
+ { "command": "account apps", "status": "legacy" },
113
+ { "command": "account apps list", "status": "legacy" },
114
+ { "command": "account apps info <app-id>", "status": "legacy" },
115
+ { "command": "account apps register <manifest>", "status": "legacy" },
116
+ { "command": "account apps remove <app-id>", "status": "legacy" },
117
+ { "command": "account spaces", "status": "legacy" },
118
+ { "command": "account spaces list", "status": "legacy" },
119
+ { "command": "account spaces info <space-id>", "status": "legacy" },
120
+ { "command": "account spaces register <space-id>", "status": "legacy" },
121
+ { "command": "account spaces sync", "status": "legacy" },
122
+ { "command": "account spaces remove <space-id>", "status": "legacy" },
123
+ { "command": "account delegations", "status": "legacy" },
124
+ { "command": "account delegations list", "status": "legacy" },
125
+ { "command": "account delegations revoke <cid>", "status": "legacy" },
126
+ { "command": "account index", "status": "legacy" },
127
+ { "command": "account index ensure", "status": "legacy" },
128
+ { "command": "account index status", "status": "legacy" },
129
+ { "command": "account index rebuild", "status": "legacy" },
130
+ { "command": "account index query <sql>", "status": "legacy" },
131
+ { "command": "account billing", "status": "legacy" },
132
+ { "command": "account billing status", "status": "legacy" },
133
+ { "command": "account billing checkout", "status": "legacy" },
134
+ { "command": "account billing portal", "status": "legacy" }
135
+ ]
136
+ }