@revos/cli 0.1.4 → 0.2.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 (145) hide show
  1. package/LICENSE +9 -0
  2. package/README.md +104 -0
  3. package/dist/adapters/oclif/commands/action-runs/get.d.mts +6 -0
  4. package/dist/adapters/oclif/commands/action-runs/get.mjs +8 -0
  5. package/dist/adapters/oclif/commands/action-runs/list.d.mts +6 -0
  6. package/dist/adapters/oclif/commands/action-runs/list.mjs +8 -0
  7. package/dist/adapters/oclif/commands/actions/get-input-schema.d.mts +6 -0
  8. package/dist/adapters/oclif/commands/actions/get-input-schema.mjs +23 -0
  9. package/dist/adapters/oclif/commands/actions/get-params-schema.d.mts +6 -0
  10. package/dist/adapters/oclif/commands/actions/get-params-schema.mjs +23 -0
  11. package/dist/adapters/oclif/commands/actions/get.d.mts +6 -0
  12. package/dist/adapters/oclif/commands/actions/get.mjs +8 -0
  13. package/dist/adapters/oclif/commands/actions/list.d.mts +6 -0
  14. package/dist/adapters/oclif/commands/actions/list.mjs +27 -0
  15. package/dist/adapters/oclif/commands/ai-instructions/create.d.mts +6 -0
  16. package/dist/adapters/oclif/commands/ai-instructions/create.mjs +8 -0
  17. package/dist/adapters/oclif/commands/ai-instructions/delete.d.mts +6 -0
  18. package/dist/adapters/oclif/commands/ai-instructions/delete.mjs +8 -0
  19. package/dist/adapters/oclif/commands/ai-instructions/get.d.mts +6 -0
  20. package/dist/adapters/oclif/commands/ai-instructions/get.mjs +8 -0
  21. package/dist/adapters/oclif/commands/ai-instructions/list.d.mts +6 -0
  22. package/dist/adapters/oclif/commands/ai-instructions/list.mjs +8 -0
  23. package/dist/adapters/oclif/commands/ai-instructions/update.d.mts +6 -0
  24. package/dist/adapters/oclif/commands/ai-instructions/update.mjs +8 -0
  25. package/dist/adapters/oclif/commands/auth/login.d.mts +2 -2
  26. package/dist/adapters/oclif/commands/auth/login.mjs +2 -2
  27. package/dist/adapters/oclif/commands/auth/logout.d.mts +1 -1
  28. package/dist/adapters/oclif/commands/auth/logout.mjs +7 -3
  29. package/dist/adapters/oclif/commands/auth/status.d.mts +2 -2
  30. package/dist/adapters/oclif/commands/auth/status.mjs +2 -2
  31. package/dist/adapters/oclif/commands/gservice-account-keys/get.d.mts +6 -0
  32. package/dist/adapters/oclif/commands/gservice-account-keys/get.mjs +8 -0
  33. package/dist/adapters/oclif/commands/gservice-account-keys/reveal.d.mts +6 -0
  34. package/dist/adapters/oclif/commands/gservice-account-keys/reveal.mjs +14 -0
  35. package/dist/adapters/oclif/commands/gservice-accounts/create.d.mts +6 -0
  36. package/dist/adapters/oclif/commands/gservice-accounts/create.mjs +8 -0
  37. package/dist/adapters/oclif/commands/gservice-accounts/delete.d.mts +6 -0
  38. package/dist/adapters/oclif/commands/gservice-accounts/delete.mjs +8 -0
  39. package/dist/adapters/oclif/commands/gservice-accounts/get.d.mts +6 -0
  40. package/dist/adapters/oclif/commands/gservice-accounts/get.mjs +8 -0
  41. package/dist/adapters/oclif/commands/gservice-accounts/list.d.mts +6 -0
  42. package/dist/adapters/oclif/commands/gservice-accounts/list.mjs +8 -0
  43. package/dist/adapters/oclif/commands/init.d.mts +1 -1
  44. package/dist/adapters/oclif/commands/init.mjs +4 -3
  45. package/dist/adapters/oclif/commands/integrations/create.d.mts +11 -0
  46. package/dist/adapters/oclif/commands/integrations/create.mjs +16 -0
  47. package/dist/adapters/oclif/commands/integrations/get.d.mts +15 -0
  48. package/dist/adapters/oclif/commands/integrations/get.mjs +21 -0
  49. package/dist/adapters/oclif/commands/integrations/list.d.mts +11 -0
  50. package/dist/adapters/oclif/commands/integrations/list.mjs +16 -0
  51. package/dist/adapters/oclif/commands/integrations/update.d.mts +15 -0
  52. package/dist/adapters/oclif/commands/integrations/update.mjs +21 -0
  53. package/dist/adapters/oclif/commands/org/create.d.mts +6 -0
  54. package/dist/adapters/oclif/commands/org/create.mjs +8 -0
  55. package/dist/adapters/oclif/commands/org/current.d.mts +2 -2
  56. package/dist/adapters/oclif/commands/org/current.mjs +2 -2
  57. package/dist/adapters/oclif/commands/org/get.d.mts +6 -0
  58. package/dist/adapters/oclif/commands/org/get.mjs +8 -0
  59. package/dist/adapters/oclif/commands/org/list.d.mts +2 -2
  60. package/dist/adapters/oclif/commands/org/list.mjs +2 -2
  61. package/dist/adapters/oclif/commands/org/switch.d.mts +1 -1
  62. package/dist/adapters/oclif/commands/org/switch.mjs +5 -4
  63. package/dist/adapters/oclif/commands/overlays/diff.d.mts +2 -2
  64. package/dist/adapters/oclif/commands/overlays/diff.mjs +5 -5
  65. package/dist/adapters/oclif/commands/overlays/pull.d.mts +2 -2
  66. package/dist/adapters/oclif/commands/overlays/pull.mjs +4 -3
  67. package/dist/adapters/oclif/commands/overlays/push.d.mts +2 -2
  68. package/dist/adapters/oclif/commands/overlays/push.mjs +2 -2
  69. package/dist/adapters/oclif/commands/overlays/status.d.mts +2 -2
  70. package/dist/adapters/oclif/commands/overlays/status.mjs +2 -2
  71. package/dist/adapters/oclif/commands/score-groups/create.d.mts +6 -0
  72. package/dist/adapters/oclif/commands/score-groups/create.mjs +8 -0
  73. package/dist/adapters/oclif/commands/score-groups/delete.d.mts +6 -0
  74. package/dist/adapters/oclif/commands/score-groups/delete.mjs +8 -0
  75. package/dist/adapters/oclif/commands/score-groups/get.d.mts +6 -0
  76. package/dist/adapters/oclif/commands/score-groups/get.mjs +8 -0
  77. package/dist/adapters/oclif/commands/score-groups/list.d.mts +6 -0
  78. package/dist/adapters/oclif/commands/score-groups/list.mjs +8 -0
  79. package/dist/adapters/oclif/commands/score-groups/update.d.mts +6 -0
  80. package/dist/adapters/oclif/commands/score-groups/update.mjs +8 -0
  81. package/dist/adapters/oclif/commands/scores/create.d.mts +6 -0
  82. package/dist/adapters/oclif/commands/scores/create.mjs +8 -0
  83. package/dist/adapters/oclif/commands/scores/delete.d.mts +6 -0
  84. package/dist/adapters/oclif/commands/scores/delete.mjs +8 -0
  85. package/dist/adapters/oclif/commands/scores/list.d.mts +6 -0
  86. package/dist/adapters/oclif/commands/scores/list.mjs +8 -0
  87. package/dist/adapters/oclif/commands/scores/update.d.mts +6 -0
  88. package/dist/adapters/oclif/commands/scores/update.mjs +8 -0
  89. package/dist/adapters/oclif/commands/segments/create.d.mts +6 -0
  90. package/dist/adapters/oclif/commands/segments/create.mjs +8 -0
  91. package/dist/adapters/oclif/commands/segments/delete.d.mts +6 -0
  92. package/dist/adapters/oclif/commands/segments/delete.mjs +8 -0
  93. package/dist/adapters/oclif/commands/segments/evaluate.d.mts +6 -0
  94. package/dist/adapters/oclif/commands/segments/evaluate.mjs +14 -0
  95. package/dist/adapters/oclif/commands/segments/get-evaluation-history.d.mts +6 -0
  96. package/dist/adapters/oclif/commands/segments/get-evaluation-history.mjs +14 -0
  97. package/dist/adapters/oclif/commands/segments/get-version.d.mts +6 -0
  98. package/dist/adapters/oclif/commands/segments/get-version.mjs +23 -0
  99. package/dist/adapters/oclif/commands/segments/get.d.mts +6 -0
  100. package/dist/adapters/oclif/commands/segments/get.mjs +8 -0
  101. package/dist/adapters/oclif/commands/segments/list-versions.d.mts +6 -0
  102. package/dist/adapters/oclif/commands/segments/list-versions.mjs +29 -0
  103. package/dist/adapters/oclif/commands/segments/list.d.mts +6 -0
  104. package/dist/adapters/oclif/commands/segments/list.mjs +8 -0
  105. package/dist/adapters/oclif/commands/segments/restore-version.d.mts +6 -0
  106. package/dist/adapters/oclif/commands/segments/restore-version.mjs +23 -0
  107. package/dist/adapters/oclif/commands/segments/update.d.mts +6 -0
  108. package/dist/adapters/oclif/commands/segments/update.mjs +8 -0
  109. package/dist/adapters/oclif/commands/table-views/create.d.mts +6 -0
  110. package/dist/adapters/oclif/commands/table-views/create.mjs +8 -0
  111. package/dist/adapters/oclif/commands/table-views/delete.d.mts +6 -0
  112. package/dist/adapters/oclif/commands/table-views/delete.mjs +8 -0
  113. package/dist/adapters/oclif/commands/table-views/list.d.mts +6 -0
  114. package/dist/adapters/oclif/commands/table-views/list.mjs +8 -0
  115. package/dist/adapters/oclif/commands/table-views/update.d.mts +6 -0
  116. package/dist/adapters/oclif/commands/table-views/update.mjs +8 -0
  117. package/dist/adapters/oclif/commands/tables/create.d.mts +6 -0
  118. package/dist/adapters/oclif/commands/tables/create.mjs +8 -0
  119. package/dist/adapters/oclif/commands/tables/delete.d.mts +6 -0
  120. package/dist/adapters/oclif/commands/tables/delete.mjs +8 -0
  121. package/dist/adapters/oclif/commands/tables/get.d.mts +6 -0
  122. package/dist/adapters/oclif/commands/tables/get.mjs +8 -0
  123. package/dist/adapters/oclif/commands/tables/list.d.mts +6 -0
  124. package/dist/adapters/oclif/commands/tables/list.mjs +8 -0
  125. package/dist/adapters/oclif/commands/tables/update.d.mts +6 -0
  126. package/dist/adapters/oclif/commands/tables/update.mjs +8 -0
  127. package/dist/{base.command-DlVQ9Cqa.mjs → base.command-YiwlGlKs.mjs} +1 -1
  128. package/dist/{core-gKJ_V-K5.mjs → core-jpFPylBb.mjs} +31 -7
  129. package/dist/factory-BrFKT8t-.mjs +90 -0
  130. package/dist/{index-B8n2GxTc.d.mts → index-DD2Vr-pu.d.mts} +6 -3
  131. package/dist/index.d.mts +4 -4
  132. package/dist/index.mjs +2 -2
  133. package/dist/presets-D9b6IWKy.mjs +98 -0
  134. package/dist/templates/.devcontainer/devcontainer.json +2 -2
  135. package/dist/templates/AGENTS.md +19 -9
  136. package/dist/templates/skills/create-dbt-transformations/SKILL.md +21 -13
  137. package/dist/templates/skills/create-dbt-transformations/references/edge-cases.md +1 -1
  138. package/dist/templates/skills/create-semantic-model/SKILL.md +11 -11
  139. package/dist/templates/skills/create-semantic-model/references/cube-examples.md +83 -5
  140. package/dist/templates/skills/explore-lakehouse/SKILL.md +7 -3
  141. package/dist/templates/skills/load-sample-data/SKILL.md +119 -0
  142. package/package.json +8 -3
  143. /package/dist/{base.command-BjFWMIzL.d.mts → base.command-d7VW6WTp.d.mts} +0 -0
  144. /package/dist/{types-DmuJzN0Z.d.mts → types-C_p_6rkj.d.mts} +0 -0
  145. /package/dist/{types-DsQtGF-c.d.mts → types-Y_ht_ja5.d.mts} +0 -0
package/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 RevOS GmbH.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -8,6 +8,13 @@ Command-line interface for managing RevOS resources.
8
8
  pnpm add @revos/cli
9
9
  ```
10
10
 
11
+ ## Platform support
12
+
13
+ Linux, macOS, and Windows. On POSIX systems the credentials store
14
+ (`~/.revos/credentials.json`) is created with `0600` permissions; on Windows
15
+ those bits are not applied (Windows uses ACLs). Treat your home directory's
16
+ `.revos` folder as sensitive on Windows and rely on standard user-profile ACLs.
17
+
11
18
  ## Usage
12
19
 
13
20
  ```bash
@@ -115,6 +122,44 @@ revos org switch <org-id>
115
122
 
116
123
  ---
117
124
 
125
+ ### Integrations
126
+
127
+ Browser-opener commands that deep-link to the RevOS UI for managing data source integrations.
128
+
129
+ #### List integrations
130
+
131
+ ```bash
132
+ revos integrations list
133
+ ```
134
+
135
+ Opens the integrations page in the RevOS UI.
136
+
137
+ #### Get integration
138
+
139
+ ```bash
140
+ revos integrations get <id>
141
+ ```
142
+
143
+ Opens a specific integration in the RevOS UI.
144
+
145
+ #### Create integration
146
+
147
+ ```bash
148
+ revos integrations create
149
+ ```
150
+
151
+ Opens the RevOS UI to add a new data source.
152
+
153
+ #### Update integration
154
+
155
+ ```bash
156
+ revos integrations update <id>
157
+ ```
158
+
159
+ Opens the RevOS UI to edit an existing integration.
160
+
161
+ ---
162
+
118
163
  ### Overlays Management
119
164
 
120
165
  Overlay files are Cube.dev semantic model definitions stored as YAML in `semantic/`. The overlay name is taken from the `name` field inside the file (or derived from the filename as a fallback). A `description` field is synced with the overlay's description on push.
@@ -169,6 +214,65 @@ revos overlays status [files...] [-d <dir>] [--columns name,status] [--json]
169
214
 
170
215
  ---
171
216
 
217
+ ### Resource commands
218
+
219
+ The CLI exposes every method of `@revos/api-client` as a topic-prefixed command. Each topic mirrors a resource on the SDK and supports the standard CRUD verbs (`list`, `get`, `create`, `update`, `delete`) plus any resource-specific extras.
220
+
221
+ #### Topics
222
+
223
+ | Topic | Verbs |
224
+ | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
225
+ | `tables` | `list`, `get`, `create`, `update`, `delete` |
226
+ | `table-views` | `list`, `create`, `update`, `delete` |
227
+ | `scores` | `list`, `create`, `update`, `delete` |
228
+ | `score-groups` | `list`, `get`, `create`, `update`, `delete` |
229
+ | `gservice-accounts` | `list`, `get`, `create`, `delete` |
230
+ | `gservice-account-keys` | `get`, `reveal` |
231
+ | `actions` | `list`, `get`, `get-params-schema`, `get-input-schema` |
232
+ | `action-runs` | `list`, `get` |
233
+ | `ai-instructions` | `list`, `get`, `create`, `update`, `delete` |
234
+ | `org` | `list`, `current`, `switch`, `get`, `create` |
235
+ | `segments` | `list`, `get`, `create`, `update`, `delete`, `list-versions`, `get-version`, `restore-version`, `get-evaluation-history`, `evaluate` |
236
+
237
+ #### List flags
238
+
239
+ `list` commands accept `--page-size`, `--page-token`, `--order-by`, `--filter`, and `--fields`. `actions list` adds `--only-used`.
240
+
241
+ ```bash
242
+ revos tables list --page-size 50 --order-by 'createdAt desc'
243
+ ```
244
+
245
+ #### Request bodies (`--body`)
246
+
247
+ `create` and `update` take a single `--body` flag. Three forms:
248
+
249
+ ```bash
250
+ # Inline JSON literal
251
+ revos tables create --body '{"name":"customers","sql_table":"customers"}'
252
+
253
+ # Read from file
254
+ revos tables create --body @./table.json
255
+
256
+ # Read from stdin
257
+ cat table.json | revos tables create --body -
258
+ ```
259
+
260
+ Bad JSON is rejected before any HTTP call.
261
+
262
+ #### Examples
263
+
264
+ ```bash
265
+ revos tables list --json
266
+ revos tables get tbl_123
267
+ revos segments evaluate seg_456
268
+ revos segments list-versions seg_456
269
+ revos segments get-version seg_456 3
270
+ revos actions get-params-schema act_789
271
+ revos gservice-account-keys reveal key_abc
272
+ ```
273
+
274
+ ---
275
+
172
276
  ## Output Formats
173
277
 
174
278
  Every command supports `--json` for machine-readable output:
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/action-runs/get.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { r as getCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/action-runs/get.ts
3
+ var get_default = getCommand({
4
+ resource: "actionRuns",
5
+ description: "Get an action run by ID"
6
+ });
7
+ //#endregion
8
+ export { get_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/action-runs/list.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { i as listCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/action-runs/list.ts
3
+ var list_default = listCommand({
4
+ resource: "actionRuns",
5
+ description: "List action runs"
6
+ });
7
+ //#endregion
8
+ export { list_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/actions/get-input-schema.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,23 @@
1
+ import { m as unwrap } from "../../../../core-jpFPylBb.mjs";
2
+ import { n as defineApiCommand } from "../../../../factory-BrFKT8t-.mjs";
3
+ import { Args, Flags } from "@oclif/core";
4
+ //#region src/adapters/oclif/commands/actions/get-input-schema.ts
5
+ var get_input_schema_default = defineApiCommand({
6
+ description: "Get the input schema for an action",
7
+ args: { id: Args.string({
8
+ description: "Action ID",
9
+ required: true
10
+ }) },
11
+ flags: {
12
+ params: Flags.string({ description: "Action params JSON (for parameterized actions)" }),
13
+ "ignore-cache": Flags.string({ description: "If 'true', bypass the cached schema" })
14
+ },
15
+ call: async ({ api, args, flags }) => {
16
+ const params = { id: args.id };
17
+ if (flags.params !== void 0) params.params = flags.params;
18
+ if (flags["ignore-cache"] !== void 0) params.ignoreCache = flags["ignore-cache"];
19
+ return unwrap(await api.actions.getInputSchema(params));
20
+ }
21
+ });
22
+ //#endregion
23
+ export { get_input_schema_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/actions/get-params-schema.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,23 @@
1
+ import { m as unwrap } from "../../../../core-jpFPylBb.mjs";
2
+ import { n as defineApiCommand } from "../../../../factory-BrFKT8t-.mjs";
3
+ import { Args, Flags } from "@oclif/core";
4
+ //#region src/adapters/oclif/commands/actions/get-params-schema.ts
5
+ var get_params_schema_default = defineApiCommand({
6
+ description: "Get the parameters schema for an action",
7
+ args: { id: Args.string({
8
+ description: "Action ID",
9
+ required: true
10
+ }) },
11
+ flags: {
12
+ "current-params": Flags.string({ description: "Current params JSON (used to resolve conditional fields)" }),
13
+ "ignore-cache": Flags.string({ description: "If 'true', bypass the cached schema" })
14
+ },
15
+ call: async ({ api, args, flags }) => {
16
+ const params = { id: args.id };
17
+ if (flags["current-params"] !== void 0) params.currentParams = flags["current-params"];
18
+ if (flags["ignore-cache"] !== void 0) params.ignoreCache = flags["ignore-cache"];
19
+ return unwrap(await api.actions.getParamsSchema(params));
20
+ }
21
+ });
22
+ //#endregion
23
+ export { get_params_schema_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/actions/get.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { r as getCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/actions/get.ts
3
+ var get_default = getCommand({
4
+ resource: "actions",
5
+ description: "Get an action by ID"
6
+ });
7
+ //#endregion
8
+ export { get_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/actions/list.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,27 @@
1
+ import { m as unwrap } from "../../../../core-jpFPylBb.mjs";
2
+ import { n as defineApiCommand } from "../../../../factory-BrFKT8t-.mjs";
3
+ import { Flags } from "@oclif/core";
4
+ //#region src/adapters/oclif/commands/actions/list.ts
5
+ var list_default = defineApiCommand({
6
+ description: "List available actions",
7
+ flags: {
8
+ "page-size": Flags.integer({ description: "Maximum number of items to return" }),
9
+ "page-token": Flags.string({ description: "Token for the next page" }),
10
+ "order-by": Flags.string({ description: "Field to order results by" }),
11
+ filter: Flags.string({ description: "Filter expression" }),
12
+ fields: Flags.string({ description: "Comma-separated fields to include" }),
13
+ "only-used": Flags.string({ description: "If set, only returns actions used by the organization" })
14
+ },
15
+ call: async ({ api, flags }) => {
16
+ const params = {};
17
+ if (flags["page-size"] !== void 0) params.pageSize = flags["page-size"];
18
+ if (flags["page-token"] !== void 0) params.pageToken = flags["page-token"];
19
+ if (flags["order-by"] !== void 0) params.orderBy = flags["order-by"];
20
+ if (flags.filter !== void 0) params.filter = flags.filter;
21
+ if (flags.fields !== void 0) params.fields = flags.fields;
22
+ if (flags["only-used"] !== void 0) params.onlyUsed = flags["only-used"];
23
+ return unwrap(await api.actions.list(params));
24
+ }
25
+ });
26
+ //#endregion
27
+ export { list_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/ai-instructions/create.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { t as createCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/ai-instructions/create.ts
3
+ var create_default = createCommand({
4
+ resource: "aiInstructions",
5
+ description: "Create a new AI instruction"
6
+ });
7
+ //#endregion
8
+ export { create_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/ai-instructions/delete.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { n as deleteCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/ai-instructions/delete.ts
3
+ var delete_default = deleteCommand({
4
+ resource: "aiInstructions",
5
+ description: "Delete an AI instruction"
6
+ });
7
+ //#endregion
8
+ export { delete_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/ai-instructions/get.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { r as getCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/ai-instructions/get.ts
3
+ var get_default = getCommand({
4
+ resource: "aiInstructions",
5
+ description: "Get an AI instruction by ID"
6
+ });
7
+ //#endregion
8
+ export { get_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/ai-instructions/list.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { i as listCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/ai-instructions/list.ts
3
+ var list_default = listCommand({
4
+ resource: "aiInstructions",
5
+ description: "List AI instructions"
6
+ });
7
+ //#endregion
8
+ export { list_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/ai-instructions/update.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { a as updateCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/ai-instructions/update.ts
3
+ var update_default = updateCommand({
4
+ resource: "aiInstructions",
5
+ description: "Update an AI instruction"
6
+ });
7
+ //#endregion
8
+ export { update_default as default };
@@ -1,5 +1,5 @@
1
- import { t as AuthResult } from "../../../../types-DsQtGF-c.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-BjFWMIzL.mjs";
1
+ import { t as AuthResult } from "../../../../types-Y_ht_ja5.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-d7VW6WTp.mjs";
3
3
  import * as _$_oclif_core_interfaces0 from "@oclif/core/interfaces";
4
4
 
5
5
  //#region src/adapters/oclif/commands/auth/login.d.ts
@@ -1,5 +1,5 @@
1
- import { A as getCredentialsPath, C as getUserInfo, D as tokenResponseToCredentials, N as saveCredentials, O as startOAuthServer, S as generatePKCEChallenge, T as setClerkConfig, b as buildAuthorizationUrl, m as unwrap, n as selectOrganization, p as createApiClient, x as exchangeCodeForTokens } from "../../../../core-gKJ_V-K5.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
1
+ import { C as generatePKCEChallenge, E as setClerkConfig, O as tokenResponseToCredentials, P as saveCredentials, S as exchangeCodeForTokens, j as getCredentialsPath, k as startOAuthServer, m as unwrap, n as selectOrganization, p as createApiClient, w as getUserInfo, x as buildAuthorizationUrl } from "../../../../core-jpFPylBb.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-YiwlGlKs.mjs";
3
3
  import chalk from "chalk";
4
4
  import { Flags } from "@oclif/core";
5
5
  import open from "open";
@@ -1,4 +1,4 @@
1
- import { t as BaseCommand } from "../../../../base.command-BjFWMIzL.mjs";
1
+ import { t as BaseCommand } from "../../../../base.command-d7VW6WTp.mjs";
2
2
 
3
3
  //#region src/adapters/oclif/commands/auth/logout.d.ts
4
4
  declare class AuthLogout extends BaseCommand<typeof AuthLogout> {
@@ -1,5 +1,6 @@
1
- import { k as deleteCredentials } from "../../../../core-gKJ_V-K5.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
1
+ import { A as deleteCredentials } from "../../../../core-jpFPylBb.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-YiwlGlKs.mjs";
3
+ import * as os from "os";
3
4
  //#region src/adapters/oclif/commands/auth/logout.ts
4
5
  var AuthLogout = class extends BaseCommand {
5
6
  static description = "Remove stored authentication credentials";
@@ -8,7 +9,10 @@ var AuthLogout = class extends BaseCommand {
8
9
  if (!this.jsonEnabled()) {
9
10
  if (deleted) this.log("Logged out successfully. Credentials removed.");
10
11
  else this.log("No stored credentials found.");
11
- if (process.env.REVOS_TOKEN) this.warn("REVOS_TOKEN environment variable is still set. Unset it to fully log out:\n\n unset REVOS_TOKEN");
12
+ if (process.env.REVOS_TOKEN) {
13
+ const unsetCmd = process.platform === "win32" ? " PowerShell: Remove-Item Env:REVOS_TOKEN" + os.EOL + " CMD: set REVOS_TOKEN=" : " unset REVOS_TOKEN";
14
+ this.warn(`REVOS_TOKEN environment variable is still set. Unset it to fully log out:${os.EOL}${os.EOL}${unsetCmd}`);
15
+ }
12
16
  }
13
17
  return { deleted };
14
18
  }
@@ -1,5 +1,5 @@
1
- import { n as AuthStatusInfo } from "../../../../types-DsQtGF-c.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-BjFWMIzL.mjs";
1
+ import { n as AuthStatusInfo } from "../../../../types-Y_ht_ja5.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-d7VW6WTp.mjs";
3
3
 
4
4
  //#region src/adapters/oclif/commands/auth/status.d.ts
5
5
  declare class AuthStatus extends BaseCommand<typeof AuthStatus> {
@@ -1,5 +1,5 @@
1
- import { A as getCredentialsPath, M as loadCredentials, j as isTokenExpired } from "../../../../core-gKJ_V-K5.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
1
+ import { M as isTokenExpired, N as loadCredentials, j as getCredentialsPath } from "../../../../core-jpFPylBb.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-YiwlGlKs.mjs";
3
3
  import chalk from "chalk";
4
4
  //#region src/adapters/oclif/commands/auth/status.ts
5
5
  var AuthStatus = class extends BaseCommand {
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/gservice-account-keys/get.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { r as getCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/gservice-account-keys/get.ts
3
+ var get_default = getCommand({
4
+ resource: "gserviceAccountKeys",
5
+ description: "Get a Google service account key by ID"
6
+ });
7
+ //#endregion
8
+ export { get_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/gservice-account-keys/reveal.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,14 @@
1
+ import { m as unwrap } from "../../../../core-jpFPylBb.mjs";
2
+ import { n as defineApiCommand } from "../../../../factory-BrFKT8t-.mjs";
3
+ import { Args } from "@oclif/core";
4
+ //#region src/adapters/oclif/commands/gservice-account-keys/reveal.ts
5
+ var reveal_default = defineApiCommand({
6
+ description: "Reveal a Google service account key",
7
+ args: { id: Args.string({
8
+ description: "Key ID",
9
+ required: true
10
+ }) },
11
+ call: async ({ api, args }) => unwrap(await api.gserviceAccountKeys.reveal({ id: args.id }))
12
+ });
13
+ //#endregion
14
+ export { reveal_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/gservice-accounts/create.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { t as createCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/gservice-accounts/create.ts
3
+ var create_default = createCommand({
4
+ resource: "gserviceAccounts",
5
+ description: "Create a Google service account"
6
+ });
7
+ //#endregion
8
+ export { create_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/gservice-accounts/delete.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { n as deleteCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/gservice-accounts/delete.ts
3
+ var delete_default = deleteCommand({
4
+ resource: "gserviceAccounts",
5
+ description: "Delete a Google service account"
6
+ });
7
+ //#endregion
8
+ export { delete_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/gservice-accounts/get.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { r as getCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/gservice-accounts/get.ts
3
+ var get_default = getCommand({
4
+ resource: "gserviceAccounts",
5
+ description: "Get a Google service account by ID"
6
+ });
7
+ //#endregion
8
+ export { get_default as default };
@@ -0,0 +1,6 @@
1
+ import * as _$_oclif_core0 from "@oclif/core";
2
+
3
+ //#region src/adapters/oclif/commands/gservice-accounts/list.d.ts
4
+ declare const _default: typeof _$_oclif_core0.Command;
5
+ //#endregion
6
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import { i as listCommand } from "../../../../presets-D9b6IWKy.mjs";
2
+ //#region src/adapters/oclif/commands/gservice-accounts/list.ts
3
+ var list_default = listCommand({
4
+ resource: "gserviceAccounts",
5
+ description: "List Google service accounts"
6
+ });
7
+ //#endregion
8
+ export { list_default as default };
@@ -1,4 +1,4 @@
1
- import { t as BaseCommand } from "../../../base.command-BjFWMIzL.mjs";
1
+ import { t as BaseCommand } from "../../../base.command-d7VW6WTp.mjs";
2
2
  import * as _$_oclif_core_interfaces0 from "@oclif/core/interfaces";
3
3
 
4
4
  //#region src/adapters/oclif/commands/init.d.ts
@@ -1,6 +1,6 @@
1
- import { P as ApiError, t as InitService, y as getConfig } from "../../../core-gKJ_V-K5.mjs";
1
+ import { F as ApiError, b as getConfig, t as InitService } from "../../../core-jpFPylBb.mjs";
2
2
  import { TEMPLATES_DIR } from "../../../templates/index.mjs";
3
- import { t as BaseCommand } from "../../../base.command-DlVQ9Cqa.mjs";
3
+ import { t as BaseCommand } from "../../../base.command-YiwlGlKs.mjs";
4
4
  import * as fs from "fs";
5
5
  import * as path from "path";
6
6
  import select from "@inquirer/select";
@@ -95,7 +95,8 @@ var Init = class extends BaseCommand {
95
95
  this.log(chalk.green(`\nProject created at ${result.projectDir}`));
96
96
  this.log("\nGenerated files:");
97
97
  for (const f of result.createdFiles) this.log(` ${f}`);
98
- this.log(`\nNext step: open ${chalk.bold(result.projectDir)} in VS Code and click ${chalk.bold("Reopen in Container")}.\n`);
98
+ this.log(`\nNext step: open ${chalk.bold(result.projectDir)} in VS Code and click ${chalk.bold("Reopen in Container")}.`);
99
+ this.log(`\n${chalk.dim("Tip: once inside the Dev Container, ask Claude to \"load sample data\" if you need example datasets.")}\n`);
99
100
  }
100
101
  };
101
102
  //#endregion
@@ -0,0 +1,11 @@
1
+ import { t as BaseCommand } from "../../../../base.command-d7VW6WTp.mjs";
2
+
3
+ //#region src/adapters/oclif/commands/integrations/create.d.ts
4
+ declare class IntegrationsCreate extends BaseCommand<typeof IntegrationsCreate> {
5
+ static description: string;
6
+ run(): Promise<{
7
+ url: string;
8
+ }>;
9
+ }
10
+ //#endregion
11
+ export { IntegrationsCreate as default };
@@ -0,0 +1,16 @@
1
+ import { b as getConfig, h as resolveAppUrl } from "../../../../core-jpFPylBb.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-YiwlGlKs.mjs";
3
+ import chalk from "chalk";
4
+ import open from "open";
5
+ //#region src/adapters/oclif/commands/integrations/create.ts
6
+ var IntegrationsCreate = class extends BaseCommand {
7
+ static description = "Open the RevOS UI to create a new integration (data source)";
8
+ async run() {
9
+ const url = `${resolveAppUrl((await getConfig()).apiUrl)}/integrations?action=new`;
10
+ if (!this.jsonEnabled()) this.log(`Opening ${chalk.bold(url)} in your browser...`);
11
+ await open(url);
12
+ return { url };
13
+ }
14
+ };
15
+ //#endregion
16
+ export { IntegrationsCreate as default };