@qawolf/cli 1.22.0 → 1.22.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/dist/cli.js CHANGED
@@ -342181,6 +342181,18 @@ async function downloadBundle(signedUrl, deps) {
342181
342181
  return { ok: true, value: { tmpArchive } };
342182
342182
  }
342183
342183
 
342184
+ // node_modules/@qawolf/api-contracts/dist/v1/identity/organization.js
342185
+ var identityOrganization = exports_external.object({
342186
+ id: exports_external.string(),
342187
+ name: exports_external.string(),
342188
+ workOsOrganizationId: exports_external.string(),
342189
+ workspaces: exports_external.array(exports_external.object({
342190
+ id: exports_external.string(),
342191
+ name: exports_external.string(),
342192
+ slug: exports_external.string()
342193
+ }))
342194
+ });
342195
+
342184
342196
  // node_modules/@qawolf/api-contracts/dist/v1/identity/index.js
342185
342197
  var identityResponse = exports_external.union([
342186
342198
  exports_external.object({
@@ -342196,6 +342208,7 @@ var identityResponse = exports_external.union([
342196
342208
  id: exports_external.string(),
342197
342209
  name: exports_external.string()
342198
342210
  }),
342211
+ organizations: exports_external.array(identityOrganization),
342199
342212
  user: exports_external.object({
342200
342213
  email: exports_external.string(),
342201
342214
  id: exports_external.string()
@@ -342205,8 +342218,10 @@ var identityResponse = exports_external.union([
342205
342218
  organization: exports_external.object({
342206
342219
  id: exports_external.string(),
342207
342220
  name: exports_external.string()
342208
- })
342209
- })
342221
+ }),
342222
+ organizations: exports_external.never().optional(),
342223
+ user: exports_external.never().optional()
342224
+ }).transform(({ organization }) => ({ organization }))
342210
342225
  ]);
342211
342226
  // node_modules/@qawolf/api-contracts/dist/v1/ids.js
342212
342227
  var defaultIdSchemas = {
@@ -342240,8 +342255,8 @@ var makeFlowSelectionSchema = (ids) => exports_external.object({
342240
342255
  // node_modules/@qawolf/api-contracts/dist/v1/run/index.js
342241
342256
  var makeCreateRunContract = (ids) => {
342242
342257
  const input = exports_external.object({
342243
- aiTaskId: ids.aiTask.describe("The AI task whose conversation should receive run status updates.").optional(),
342244
- chatSessionId: ids.chatSession.describe("The chat session whose transcript should receive run status updates.").optional(),
342258
+ aiTaskId: ids.aiTask.optional().describe("The AI task whose conversation should receive run status updates."),
342259
+ chatSessionId: ids.chatSession.optional().describe("The chat session whose transcript should receive run status updates."),
342245
342260
  environmentId: ids.environmentRef,
342246
342261
  environmentVariables: exports_external.record(exports_external.string(), exports_external.string()).optional(),
342247
342262
  ignoreRules: exports_external.boolean().describe("Ignore this team's sequencing rules for this run. By default they are honoured: the flows your selection depends on are added to the run, and flows run in the order the rules require. Set this to run exactly what you selected, in any order.").default(false),
@@ -346170,7 +346185,7 @@ function startUpdateCheck(deps) {
346170
346185
  // package.json
346171
346186
  var package_default = {
346172
346187
  name: "@qawolf/cli",
346173
- version: "1.22.0",
346188
+ version: "1.22.1",
346174
346189
  description: "Run and manage QA Wolf flows from the terminal, CI, or an AI agent",
346175
346190
  keywords: [
346176
346191
  "automation",
@@ -346241,7 +346256,7 @@ var package_default = {
346241
346256
  "@clack/prompts": "1.5.1",
346242
346257
  "@napi-rs/keyring": "1.3.0",
346243
346258
  "@oxc-node/core": "0.1.0",
346244
- "@qawolf/api-contracts": "0.38.0",
346259
+ "@qawolf/api-contracts": "0.39.0",
346245
346260
  "@qawolf/emails": "1.1.1",
346246
346261
  "@qawolf/flow-targets": "1.0.0",
346247
346262
  "@qawolf/flows": "0.1.4",
@@ -359773,4 +359788,4 @@ createProgram({ signals }).parseAsync().catch(() => {
359773
359788
  process.exitCode = 1;
359774
359789
  }).finally(() => flushAndExit(typeof process.exitCode === "number" ? process.exitCode : 0));
359775
359790
 
359776
- //# debugId=B89704129DAB2F9C64756E2164756E21
359791
+ //# debugId=CDE51BC4C33640F464756E2164756E21
@@ -185448,6 +185448,18 @@ function date4(params) {
185448
185448
 
185449
185449
  // node_modules/zod/v4/classic/external.js
185450
185450
  config(en_default());
185451
+ // node_modules/@qawolf/api-contracts/dist/v1/identity/organization.js
185452
+ var identityOrganization = exports_external.object({
185453
+ id: exports_external.string(),
185454
+ name: exports_external.string(),
185455
+ workOsOrganizationId: exports_external.string(),
185456
+ workspaces: exports_external.array(exports_external.object({
185457
+ id: exports_external.string(),
185458
+ name: exports_external.string(),
185459
+ slug: exports_external.string()
185460
+ }))
185461
+ });
185462
+
185451
185463
  // node_modules/@qawolf/api-contracts/dist/v1/identity/index.js
185452
185464
  var identityResponse = exports_external.union([
185453
185465
  exports_external.object({
@@ -185463,6 +185475,7 @@ var identityResponse = exports_external.union([
185463
185475
  id: exports_external.string(),
185464
185476
  name: exports_external.string()
185465
185477
  }),
185478
+ organizations: exports_external.array(identityOrganization),
185466
185479
  user: exports_external.object({
185467
185480
  email: exports_external.string(),
185468
185481
  id: exports_external.string()
@@ -185472,8 +185485,10 @@ var identityResponse = exports_external.union([
185472
185485
  organization: exports_external.object({
185473
185486
  id: exports_external.string(),
185474
185487
  name: exports_external.string()
185475
- })
185476
- })
185488
+ }),
185489
+ organizations: exports_external.never().optional(),
185490
+ user: exports_external.never().optional()
185491
+ }).transform(({ organization }) => ({ organization }))
185477
185492
  ]);
185478
185493
  // node_modules/@qawolf/api-contracts/dist/v1/ids.js
185479
185494
  var defaultIdSchemas = {
@@ -185507,8 +185522,8 @@ var makeFlowSelectionSchema = (ids) => exports_external.object({
185507
185522
  // node_modules/@qawolf/api-contracts/dist/v1/run/index.js
185508
185523
  var makeCreateRunContract = (ids) => {
185509
185524
  const input = exports_external.object({
185510
- aiTaskId: ids.aiTask.describe("The AI task whose conversation should receive run status updates.").optional(),
185511
- chatSessionId: ids.chatSession.describe("The chat session whose transcript should receive run status updates.").optional(),
185525
+ aiTaskId: ids.aiTask.optional().describe("The AI task whose conversation should receive run status updates."),
185526
+ chatSessionId: ids.chatSession.optional().describe("The chat session whose transcript should receive run status updates."),
185512
185527
  environmentId: ids.environmentRef,
185513
185528
  environmentVariables: exports_external.record(exports_external.string(), exports_external.string()).optional(),
185514
185529
  ignoreRules: exports_external.boolean().describe("Ignore this team's sequencing rules for this run. By default they are honoured: the flows your selection depends on are added to the run, and flows run in the order the rules require. Set this to run exactly what you selected, in any order.").default(false),
@@ -191016,4 +191031,4 @@ export {
191016
191031
  createRunnerSdk
191017
191032
  };
191018
191033
 
191019
- //# debugId=D0CE776D921E47A364756E2164756E21
191034
+ //# debugId=42D4AA4E1C2C966064756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qawolf/cli",
3
- "version": "1.22.0",
3
+ "version": "1.22.1",
4
4
  "description": "Run and manage QA Wolf flows from the terminal, CI, or an AI agent",
5
5
  "keywords": [
6
6
  "automation",
@@ -71,7 +71,7 @@
71
71
  "@clack/prompts": "1.5.1",
72
72
  "@napi-rs/keyring": "1.3.0",
73
73
  "@oxc-node/core": "0.1.0",
74
- "@qawolf/api-contracts": "0.38.0",
74
+ "@qawolf/api-contracts": "0.39.0",
75
75
  "@qawolf/emails": "1.1.1",
76
76
  "@qawolf/flow-targets": "1.0.0",
77
77
  "@qawolf/flows": "0.1.4",