@positronic/cli 0.0.76 → 0.0.78

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 (51) hide show
  1. package/dist/src/cli.js +306 -198
  2. package/dist/src/commands/server.js +2 -2
  3. package/dist/src/components/brain-show.js +1 -1
  4. package/dist/src/components/event-detail.js +139 -139
  5. package/dist/src/components/events-view.js +60 -63
  6. package/dist/src/components/watch-keyboard.js +1 -1
  7. package/dist/src/components/watch-machine.js +344 -286
  8. package/dist/src/components/watch.js +17 -84
  9. package/dist/types/cli.d.ts.map +1 -1
  10. package/dist/types/components/brain-show.d.ts.map +1 -1
  11. package/dist/types/components/event-detail.d.ts.map +1 -1
  12. package/dist/types/components/events-view.d.ts.map +1 -1
  13. package/dist/types/components/watch-machine.d.ts +90 -146
  14. package/dist/types/components/watch-machine.d.ts.map +1 -1
  15. package/dist/types/components/watch.d.ts.map +1 -1
  16. package/dist/types/hooks/useBrainMachine.d.ts +0 -3
  17. package/dist/types/hooks/useBrainMachine.d.ts.map +1 -1
  18. package/package.json +4 -4
  19. package/dist/src/commands/auth.js +0 -91
  20. package/dist/src/commands/brain.js +0 -139
  21. package/dist/src/commands/pages.js +0 -47
  22. package/dist/src/commands/project.js +0 -130
  23. package/dist/src/commands/resources.js +0 -272
  24. package/dist/src/commands/schedule.js +0 -91
  25. package/dist/src/commands/secrets.js +0 -67
  26. package/dist/src/commands/store.js +0 -36
  27. package/dist/src/commands/users.js +0 -92
  28. package/dist/src/components/agent-chat-view.js +0 -125
  29. package/dist/src/utils/agent-utils.js +0 -107
  30. package/dist/types/commands/auth.d.ts +0 -32
  31. package/dist/types/commands/auth.d.ts.map +0 -1
  32. package/dist/types/commands/brain.d.ts +0 -46
  33. package/dist/types/commands/brain.d.ts.map +0 -1
  34. package/dist/types/commands/pages.d.ts +0 -15
  35. package/dist/types/commands/pages.d.ts.map +0 -1
  36. package/dist/types/commands/project.d.ts +0 -55
  37. package/dist/types/commands/project.d.ts.map +0 -1
  38. package/dist/types/commands/resources.d.ts +0 -13
  39. package/dist/types/commands/resources.d.ts.map +0 -1
  40. package/dist/types/commands/schedule.d.ts +0 -33
  41. package/dist/types/commands/schedule.d.ts.map +0 -1
  42. package/dist/types/commands/secrets.d.ts +0 -20
  43. package/dist/types/commands/secrets.d.ts.map +0 -1
  44. package/dist/types/commands/store.d.ts +0 -5
  45. package/dist/types/commands/store.d.ts.map +0 -1
  46. package/dist/types/commands/users.d.ts +0 -34
  47. package/dist/types/commands/users.d.ts.map +0 -1
  48. package/dist/types/components/agent-chat-view.d.ts +0 -12
  49. package/dist/types/components/agent-chat-view.d.ts.map +0 -1
  50. package/dist/types/utils/agent-utils.d.ts +0 -20
  51. package/dist/types/utils/agent-utils.d.ts.map +0 -1
@@ -1,139 +0,0 @@
1
- function _class_call_check(instance, Constructor) {
2
- if (!(instance instanceof Constructor)) {
3
- throw new TypeError("Cannot call a class as a function");
4
- }
5
- }
6
- function _defineProperties(target, props) {
7
- for(var i = 0; i < props.length; i++){
8
- var descriptor = props[i];
9
- descriptor.enumerable = descriptor.enumerable || false;
10
- descriptor.configurable = true;
11
- if ("value" in descriptor) descriptor.writable = true;
12
- Object.defineProperty(target, descriptor.key, descriptor);
13
- }
14
- }
15
- function _create_class(Constructor, protoProps, staticProps) {
16
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
17
- if (staticProps) _defineProperties(Constructor, staticProps);
18
- return Constructor;
19
- }
20
- import React from 'react';
21
- import { BrainList } from '../components/brain-list.js';
22
- import { BrainHistory } from '../components/brain-history.js';
23
- import { RunShow } from '../components/run-show.js';
24
- import { BrainShow } from '../components/brain-show.js';
25
- import { BrainRerun } from '../components/brain-rerun.js';
26
- import { BrainKill } from '../components/brain-kill.js';
27
- import { BrainRun } from '../components/brain-run.js';
28
- import { BrainResolver } from '../components/brain-resolver.js';
29
- import { WatchResolver } from '../components/watch-resolver.js';
30
- import { TopNavigator } from '../components/top-navigator.js';
31
- import { ErrorComponent } from '../components/error.js';
32
- export var BrainCommand = /*#__PURE__*/ function() {
33
- "use strict";
34
- function BrainCommand() {
35
- _class_call_check(this, BrainCommand);
36
- }
37
- _create_class(BrainCommand, [
38
- {
39
- key: "list",
40
- value: function list(argv) {
41
- return React.createElement(BrainList);
42
- }
43
- },
44
- {
45
- key: "history",
46
- value: function history(param) {
47
- var brain = param.brain, limit = param.limit;
48
- return React.createElement(BrainResolver, {
49
- identifier: brain,
50
- children: function(resolvedBrainTitle) {
51
- return React.createElement(BrainHistory, {
52
- brainName: resolvedBrainTitle,
53
- limit: limit
54
- });
55
- }
56
- });
57
- }
58
- },
59
- {
60
- key: "show",
61
- value: function show(param) {
62
- var brain = param.brain, runId = param.runId, steps = param.steps;
63
- // If run ID is provided, show run info (existing behavior)
64
- if (runId) {
65
- return React.createElement(RunShow, {
66
- runId: runId
67
- });
68
- }
69
- // If brain identifier is provided, show brain info
70
- if (brain) {
71
- return React.createElement(BrainShow, {
72
- identifier: brain,
73
- showSteps: steps || false
74
- });
75
- }
76
- // Neither provided - show error
77
- return React.createElement(ErrorComponent, {
78
- error: {
79
- title: 'Missing Argument',
80
- message: 'You must provide either a brain identifier or a run ID.',
81
- details: 'Use: show <brain> to show brain info, or show --run-id <id> to show run info.'
82
- }
83
- });
84
- }
85
- },
86
- {
87
- key: "rerun",
88
- value: function rerun(param) {
89
- var runId = param.runId, startsAt = param.startsAt;
90
- return React.createElement(BrainRerun, {
91
- runId: runId,
92
- startsAt: startsAt
93
- });
94
- }
95
- },
96
- {
97
- key: "run",
98
- value: function run(param) {
99
- var brain = param.brain, watch = param.watch, options = param.options, initialState = param.initialState;
100
- return React.createElement(BrainRun, {
101
- identifier: brain,
102
- watch: watch,
103
- options: options,
104
- initialState: initialState
105
- });
106
- }
107
- },
108
- {
109
- key: "watch",
110
- value: function watch(param) {
111
- var identifier = param.identifier, events = param.events;
112
- return React.createElement(WatchResolver, {
113
- identifier: identifier,
114
- startWithEvents: events
115
- });
116
- }
117
- },
118
- {
119
- key: "kill",
120
- value: function kill(param) {
121
- var runId = param.runId, force = param.force;
122
- return React.createElement(BrainKill, {
123
- runId: runId,
124
- force: force
125
- });
126
- }
127
- },
128
- {
129
- key: "top",
130
- value: function top(param) {
131
- var brain = param.brain;
132
- return React.createElement(TopNavigator, {
133
- brainFilter: brain
134
- });
135
- }
136
- }
137
- ]);
138
- return BrainCommand;
139
- }();
@@ -1,47 +0,0 @@
1
- function _class_call_check(instance, Constructor) {
2
- if (!(instance instanceof Constructor)) {
3
- throw new TypeError("Cannot call a class as a function");
4
- }
5
- }
6
- function _defineProperties(target, props) {
7
- for(var i = 0; i < props.length; i++){
8
- var descriptor = props[i];
9
- descriptor.enumerable = descriptor.enumerable || false;
10
- descriptor.configurable = true;
11
- if ("value" in descriptor) descriptor.writable = true;
12
- Object.defineProperty(target, descriptor.key, descriptor);
13
- }
14
- }
15
- function _create_class(Constructor, protoProps, staticProps) {
16
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
17
- if (staticProps) _defineProperties(Constructor, staticProps);
18
- return Constructor;
19
- }
20
- import React from 'react';
21
- import { PagesList } from '../components/pages-list.js';
22
- import { PageDelete } from '../components/page-delete.js';
23
- export var PagesCommand = /*#__PURE__*/ function() {
24
- "use strict";
25
- function PagesCommand() {
26
- _class_call_check(this, PagesCommand);
27
- }
28
- _create_class(PagesCommand, [
29
- {
30
- key: "list",
31
- value: function list(_args) {
32
- return React.createElement(PagesList, {});
33
- }
34
- },
35
- {
36
- key: "delete",
37
- value: function _delete(param) {
38
- var slug = param.slug, force = param.force;
39
- return React.createElement(PageDelete, {
40
- slug: slug,
41
- force: force
42
- });
43
- }
44
- }
45
- ]);
46
- return PagesCommand;
47
- }();
@@ -1,130 +0,0 @@
1
- function _class_call_check(instance, Constructor) {
2
- if (!(instance instanceof Constructor)) {
3
- throw new TypeError("Cannot call a class as a function");
4
- }
5
- }
6
- function _defineProperties(target, props) {
7
- for(var i = 0; i < props.length; i++){
8
- var descriptor = props[i];
9
- descriptor.enumerable = descriptor.enumerable || false;
10
- descriptor.configurable = true;
11
- if ("value" in descriptor) descriptor.writable = true;
12
- Object.defineProperty(target, descriptor.key, descriptor);
13
- }
14
- }
15
- function _create_class(Constructor, protoProps, staticProps) {
16
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
17
- if (staticProps) _defineProperties(Constructor, staticProps);
18
- return Constructor;
19
- }
20
- function _define_property(obj, key, value) {
21
- if (key in obj) {
22
- Object.defineProperty(obj, key, {
23
- value: value,
24
- enumerable: true,
25
- configurable: true,
26
- writable: true
27
- });
28
- } else {
29
- obj[key] = value;
30
- }
31
- return obj;
32
- }
33
- import React from 'react';
34
- import { ProjectAdd } from '../components/project-add.js';
35
- import { ProjectList } from '../components/project-list.js';
36
- import { ProjectSelect } from '../components/project-select.js';
37
- import { ProjectShow } from '../components/project-show.js';
38
- import { ProjectCreate } from '../components/project-create.js';
39
- import { ProjectRemove } from '../components/project-remove.js';
40
- // Import and re-export the class
41
- import { ProjectConfigManager } from './project-config-manager.js';
42
- export { ProjectConfigManager };
43
- export var ProjectCommand = /*#__PURE__*/ function() {
44
- "use strict";
45
- function ProjectCommand() {
46
- _class_call_check(this, ProjectCommand);
47
- _define_property(this, "projectConfig", void 0);
48
- // Instantiate ProjectConfigManager with default home directory
49
- this.projectConfig = new ProjectConfigManager();
50
- }
51
- _create_class(ProjectCommand, [
52
- {
53
- /**
54
- * Handles the 'positronic project add <name> --url <url>' command.
55
- * Adds a project configuration to the global store.
56
- */ key: "add",
57
- value: function add(param) {
58
- var name = param.name, url = param.url;
59
- return React.createElement(ProjectAdd, {
60
- name: name,
61
- url: url,
62
- projectConfig: this.projectConfig
63
- });
64
- }
65
- },
66
- {
67
- /**
68
- * Handles the 'positronic project list' command.
69
- * Lists configured remote projects (Global Mode) or shows current local project path (Local Dev Mode).
70
- */ key: "list",
71
- value: function list() {
72
- return React.createElement(ProjectList, {
73
- projectConfig: this.projectConfig
74
- });
75
- }
76
- },
77
- {
78
- /**
79
- * Handles the 'positronic project select [name]' command.
80
- * Selects the active remote project for subsequent commands.
81
- * Only available in Global Mode.
82
- */ key: "select",
83
- value: function select(param) {
84
- var name = param.name;
85
- return React.createElement(ProjectSelect, {
86
- name: name,
87
- projectConfig: this.projectConfig
88
- });
89
- }
90
- },
91
- {
92
- /**
93
- * Handles the 'positronic project show' command.
94
- * Shows details of the active project (remote in Global Mode, local in Local Dev Mode).
95
- */ key: "show",
96
- value: function show() {
97
- return React.createElement(ProjectShow, {
98
- projectConfig: this.projectConfig
99
- });
100
- }
101
- },
102
- {
103
- /**
104
- * Handles the 'positronic project rm <name>' command.
105
- * Removes a project configuration from the global store.
106
- */ key: "remove",
107
- value: function remove(param) {
108
- var name = param.name;
109
- return React.createElement(ProjectRemove, {
110
- name: name,
111
- projectConfig: this.projectConfig
112
- });
113
- }
114
- },
115
- {
116
- /**
117
- * Handles the 'positronic new <project-name>' command.
118
- * Creates a new project directory structure and populates it with template files.
119
- * Also sets up the .positronic server environment.
120
- */ key: "create",
121
- value: function create(param) {
122
- var projectPathArg = param.name;
123
- return React.createElement(ProjectCreate, {
124
- projectPathArg: projectPathArg
125
- });
126
- }
127
- }
128
- ]);
129
- return ProjectCommand;
130
- }();
@@ -1,272 +0,0 @@
1
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
2
- try {
3
- var info = gen[key](arg);
4
- var value = info.value;
5
- } catch (error) {
6
- reject(error);
7
- return;
8
- }
9
- if (info.done) {
10
- resolve(value);
11
- } else {
12
- Promise.resolve(value).then(_next, _throw);
13
- }
14
- }
15
- function _async_to_generator(fn) {
16
- return function() {
17
- var self = this, args = arguments;
18
- return new Promise(function(resolve, reject) {
19
- var gen = fn.apply(self, args);
20
- function _next(value) {
21
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
22
- }
23
- function _throw(err) {
24
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
25
- }
26
- _next(undefined);
27
- });
28
- };
29
- }
30
- function _class_call_check(instance, Constructor) {
31
- if (!(instance instanceof Constructor)) {
32
- throw new TypeError("Cannot call a class as a function");
33
- }
34
- }
35
- function _defineProperties(target, props) {
36
- for(var i = 0; i < props.length; i++){
37
- var descriptor = props[i];
38
- descriptor.enumerable = descriptor.enumerable || false;
39
- descriptor.configurable = true;
40
- if ("value" in descriptor) descriptor.writable = true;
41
- Object.defineProperty(target, descriptor.key, descriptor);
42
- }
43
- }
44
- function _create_class(Constructor, protoProps, staticProps) {
45
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
46
- if (staticProps) _defineProperties(Constructor, staticProps);
47
- return Constructor;
48
- }
49
- function _define_property(obj, key, value) {
50
- if (key in obj) {
51
- Object.defineProperty(obj, key, {
52
- value: value,
53
- enumerable: true,
54
- configurable: true,
55
- writable: true
56
- });
57
- } else {
58
- obj[key] = value;
59
- }
60
- return obj;
61
- }
62
- function _ts_generator(thisArg, body) {
63
- var f, y, t, _ = {
64
- label: 0,
65
- sent: function() {
66
- if (t[0] & 1) throw t[1];
67
- return t[1];
68
- },
69
- trys: [],
70
- ops: []
71
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
72
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
73
- return this;
74
- }), g;
75
- function verb(n) {
76
- return function(v) {
77
- return step([
78
- n,
79
- v
80
- ]);
81
- };
82
- }
83
- function step(op) {
84
- if (f) throw new TypeError("Generator is already executing.");
85
- while(g && (g = 0, op[0] && (_ = 0)), _)try {
86
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
87
- if (y = 0, t) op = [
88
- op[0] & 2,
89
- t.value
90
- ];
91
- switch(op[0]){
92
- case 0:
93
- case 1:
94
- t = op;
95
- break;
96
- case 4:
97
- _.label++;
98
- return {
99
- value: op[1],
100
- done: false
101
- };
102
- case 5:
103
- _.label++;
104
- y = op[1];
105
- op = [
106
- 0
107
- ];
108
- continue;
109
- case 7:
110
- op = _.ops.pop();
111
- _.trys.pop();
112
- continue;
113
- default:
114
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
115
- _ = 0;
116
- continue;
117
- }
118
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
119
- _.label = op[1];
120
- break;
121
- }
122
- if (op[0] === 6 && _.label < t[1]) {
123
- _.label = t[1];
124
- t = op;
125
- break;
126
- }
127
- if (t && _.label < t[2]) {
128
- _.label = t[2];
129
- _.ops.push(op);
130
- break;
131
- }
132
- if (t[2]) _.ops.pop();
133
- _.trys.pop();
134
- continue;
135
- }
136
- op = body.call(thisArg, _);
137
- } catch (e) {
138
- op = [
139
- 6,
140
- e
141
- ];
142
- y = 0;
143
- } finally{
144
- f = t = 0;
145
- }
146
- if (op[0] & 5) throw op[1];
147
- return {
148
- value: op[0] ? op[1] : void 0,
149
- done: true
150
- };
151
- }
152
- }
153
- import React from 'react';
154
- import { scanLocalResources } from './helpers.js';
155
- import * as fs from 'fs';
156
- import * as path from 'path';
157
- import { ResourceList } from '../components/resource-list.js';
158
- import { ResourceSync } from '../components/resource-sync.js';
159
- import { ResourceClear } from '../components/resource-clear.js';
160
- import { ResourceDelete } from '../components/resource-delete.js';
161
- import { ResourceUpload } from '../components/resource-upload.js';
162
- import { ResourceTypes } from '../components/resource-types.js';
163
- import { ErrorComponent } from '../components/error.js';
164
- export var ResourcesCommand = /*#__PURE__*/ function() {
165
- "use strict";
166
- function ResourcesCommand(server) {
167
- _class_call_check(this, ResourcesCommand);
168
- _define_property(this, "server", void 0);
169
- this.server = server;
170
- }
171
- _create_class(ResourcesCommand, [
172
- {
173
- key: "list",
174
- value: function list() {
175
- return React.createElement(ResourceList);
176
- }
177
- },
178
- {
179
- key: "sync",
180
- value: function sync() {
181
- if (!this.server) {
182
- return React.createElement(ErrorComponent, {
183
- error: {
184
- title: 'Command Not Available',
185
- message: 'This command is only available in local dev mode',
186
- details: 'Please run this command from within a Positronic project directory.'
187
- }
188
- });
189
- }
190
- // Check if resources directory exists, create if it doesn't
191
- var resourcesDir = path.join(this.server.projectRootDir, 'resources');
192
- if (!fs.existsSync(resourcesDir)) {
193
- fs.mkdirSync(resourcesDir, {
194
- recursive: true
195
- });
196
- }
197
- var localResources = scanLocalResources(resourcesDir);
198
- return React.createElement(ResourceSync, {
199
- localResources: localResources,
200
- resourcesDir: resourcesDir
201
- });
202
- }
203
- },
204
- {
205
- key: "types",
206
- value: function types() {
207
- if (!this.server) {
208
- return React.createElement(ErrorComponent, {
209
- error: {
210
- title: 'Command Not Available',
211
- message: 'This command is only available in local dev mode',
212
- details: 'Please run this command from within a Positronic project directory.'
213
- }
214
- });
215
- }
216
- return React.createElement(ResourceTypes, {
217
- projectRootDir: this.server.projectRootDir
218
- });
219
- }
220
- },
221
- {
222
- key: "delete",
223
- value: function _delete(resourcePath) {
224
- var force = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
225
- var _this_server;
226
- if (!resourcePath) {
227
- return React.createElement(ErrorComponent, {
228
- error: {
229
- title: 'Missing Resource Path',
230
- message: 'Please provide a resource path to delete.',
231
- details: 'Usage: positronic resources delete <path>'
232
- }
233
- });
234
- }
235
- // The resourcePath should be relative to the resources directory
236
- var resourceKey = resourcePath;
237
- return React.createElement(ResourceDelete, {
238
- resourceKey: resourceKey,
239
- resourcePath: resourcePath,
240
- projectRootPath: (_this_server = this.server) === null || _this_server === void 0 ? void 0 : _this_server.projectRootDir,
241
- force: force
242
- });
243
- }
244
- },
245
- {
246
- key: "clear",
247
- value: function clear() {
248
- return _async_to_generator(function() {
249
- return _ts_generator(this, function(_state) {
250
- // Import and render ResourceClear component
251
- return [
252
- 2,
253
- React.createElement(ResourceClear)
254
- ];
255
- });
256
- })();
257
- }
258
- },
259
- {
260
- key: "upload",
261
- value: function upload(filePath, customKey) {
262
- var _this_server;
263
- return React.createElement(ResourceUpload, {
264
- filePath: filePath,
265
- customKey: customKey,
266
- projectRootPath: (_this_server = this.server) === null || _this_server === void 0 ? void 0 : _this_server.projectRootDir
267
- });
268
- }
269
- }
270
- ]);
271
- return ResourcesCommand;
272
- }();
@@ -1,91 +0,0 @@
1
- function _class_call_check(instance, Constructor) {
2
- if (!(instance instanceof Constructor)) {
3
- throw new TypeError("Cannot call a class as a function");
4
- }
5
- }
6
- function _defineProperties(target, props) {
7
- for(var i = 0; i < props.length; i++){
8
- var descriptor = props[i];
9
- descriptor.enumerable = descriptor.enumerable || false;
10
- descriptor.configurable = true;
11
- if ("value" in descriptor) descriptor.writable = true;
12
- Object.defineProperty(target, descriptor.key, descriptor);
13
- }
14
- }
15
- function _create_class(Constructor, protoProps, staticProps) {
16
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
17
- if (staticProps) _defineProperties(Constructor, staticProps);
18
- return Constructor;
19
- }
20
- import React from 'react';
21
- import { ScheduleCreate } from '../components/schedule-create.js';
22
- import { ScheduleList } from '../components/schedule-list.js';
23
- import { ScheduleDelete } from '../components/schedule-delete.js';
24
- import { ScheduleRuns } from '../components/schedule-runs.js';
25
- import { ScheduleTimezone } from '../components/schedule-timezone.js';
26
- import { BrainResolver } from '../components/brain-resolver.js';
27
- export var ScheduleCommand = /*#__PURE__*/ function() {
28
- "use strict";
29
- function ScheduleCommand() {
30
- _class_call_check(this, ScheduleCommand);
31
- }
32
- _create_class(ScheduleCommand, [
33
- {
34
- key: "create",
35
- value: function create(param) {
36
- var brain = param.brain, cronExpression = param.cronExpression, options = param.options, initialState = param.initialState;
37
- return React.createElement(BrainResolver, {
38
- identifier: brain,
39
- children: function(resolvedBrainTitle) {
40
- return React.createElement(ScheduleCreate, {
41
- identifier: resolvedBrainTitle,
42
- cronExpression: cronExpression,
43
- options: options,
44
- initialState: initialState
45
- });
46
- }
47
- });
48
- }
49
- },
50
- {
51
- key: "list",
52
- value: function list(param) {
53
- var brain = param.brain;
54
- return React.createElement(ScheduleList, {
55
- brainFilter: brain
56
- });
57
- }
58
- },
59
- {
60
- key: "delete",
61
- value: function _delete(param) {
62
- var scheduleId = param.scheduleId, force = param.force;
63
- return React.createElement(ScheduleDelete, {
64
- scheduleId: scheduleId,
65
- force: force
66
- });
67
- }
68
- },
69
- {
70
- key: "runs",
71
- value: function runs(param) {
72
- var scheduleId = param.scheduleId, limit = param.limit, status = param.status;
73
- return React.createElement(ScheduleRuns, {
74
- scheduleId: scheduleId,
75
- limit: limit,
76
- status: status
77
- });
78
- }
79
- },
80
- {
81
- key: "timezone",
82
- value: function timezone(param) {
83
- var timezone = param.timezone;
84
- return React.createElement(ScheduleTimezone, {
85
- timezone: timezone
86
- });
87
- }
88
- }
89
- ]);
90
- return ScheduleCommand;
91
- }();