You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -63,37 +64,37 @@ export class CloudCli implements INodeType {
63
64
{
64
65
name: 'Create',
65
66
value: 'create',
66
-
description: 'Create a new development environment',
67
+
description: 'Create a new development environment. <a href="https://developer.cloudcli.ai/create-environment-3998768e0" target="_blank">Documentation</a>.',
67
68
action: 'Create an environment',
68
69
},
69
70
{
70
71
name: 'Delete',
71
72
value: 'delete',
72
-
description: 'Delete an environment (must be stopped first)',
73
+
description: 'Delete an environment (must be stopped first). <a href="https://developer.cloudcli.ai/delete-environment-3998770e0" target="_blank">Documentation</a>.',
73
74
action: 'Delete an environment',
74
75
},
75
76
{
76
77
name: 'Get',
77
78
value: 'get',
78
-
description: 'Get details of a specific environment',
79
+
description: 'Get details of a specific environment. <a href="https://developer.cloudcli.ai/get-environment-3998769e0" target="_blank">Documentation</a>.',
79
80
action: 'Get an environment',
80
81
},
81
82
{
82
83
name: 'Get Many',
83
84
value: 'list',
84
-
description: 'Retrieve a list of environments',
85
+
description: 'Retrieve a list of environments. <a href="https://developer.cloudcli.ai/list-environments-3998767e0" target="_blank">Documentation</a>.',
85
86
action: 'Get many environments',
86
87
},
87
88
{
88
89
name: 'Start',
89
90
value: 'start',
90
-
description: 'Start a stopped environment',
91
+
description: 'Start a stopped environment. <a href="https://developer.cloudcli.ai/start-environment-3998771e0" target="_blank">Documentation</a>.',
91
92
action: 'Start an environment',
92
93
},
93
94
{
94
95
name: 'Stop',
95
96
value: 'stop',
96
-
description: 'Stop a running environment',
97
+
description: 'Stop a running environment. <a href="https://developer.cloudcli.ai/stop-environment-3998772e0" target="_blank">Documentation</a>.',
97
98
action: 'Stop an environment',
98
99
},
99
100
],
@@ -305,21 +306,6 @@ export class CloudCli implements INodeType {
description: 'Name of the project inside /workspace/ directory. Defaults to the environment subdomain. Only change this if you know what you are doing.',
322
-
},
323
309
{
324
310
displayName: 'Message',
325
311
name: 'message',
@@ -403,6 +389,58 @@ export class CloudCli implements INodeType {
403
389
default: '',
404
390
description: 'GitHub token for private repos or PR creation',
405
391
},
392
+
{
393
+
displayName: 'Project Name (Path)',
394
+
name: 'projectName',
395
+
type: 'resourceLocator',
396
+
default: {mode: 'list',value: ''},
397
+
description: 'Name of the project inside /workspace/ directory. This is usually the environment name without spaces. Leave empty to auto-select from environment.',
398
+
modes: [
399
+
{
400
+
displayName: 'From List',
401
+
name: 'list',
402
+
type: 'list',
403
+
placeholder: 'Select a project...',
404
+
typeOptions: {
405
+
searchListMethod: 'searchProjectName',
406
+
},
407
+
},
408
+
{
409
+
displayName: 'By Path',
410
+
name: 'path',
411
+
type: 'string',
412
+
placeholder: 'e.g. MyProject',
413
+
validation: [
414
+
{
415
+
type: 'regex',
416
+
properties: {
417
+
regex: '^[a-zA-Z0-9_-]+$',
418
+
errorMessage: 'Project path must not contain spaces',
419
+
},
420
+
},
421
+
],
422
+
},
423
+
],
424
+
},
425
+
{
426
+
displayName: 'Return Format',
427
+
name: 'returnFormat',
428
+
type: 'options',
429
+
options: [
430
+
{
431
+
name: 'Single Item with Events Array',
432
+
value: 'single',
433
+
description: 'Return all events in a single item as {"events": [...]}',
434
+
},
435
+
{
436
+
name: 'Multiple Items (One Per Event)',
437
+
value: 'multiple',
438
+
description: 'Return each event as a separate item for easier filtering and processing',
439
+
},
440
+
],
441
+
default: 'single',
442
+
description: 'Choose how to return the streaming events in the workflow',
443
+
},
406
444
],
407
445
},
408
446
],
@@ -445,6 +483,44 @@ export class CloudCli implements INodeType {
0 commit comments