@uluops/cli 0.2.0

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 (99) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +825 -0
  3. package/dist/cli.d.ts +3 -0
  4. package/dist/cli.d.ts.map +1 -0
  5. package/dist/cli.js +93 -0
  6. package/dist/cli.js.map +1 -0
  7. package/dist/commands/analytics.d.ts +6 -0
  8. package/dist/commands/analytics.d.ts.map +1 -0
  9. package/dist/commands/analytics.js +445 -0
  10. package/dist/commands/analytics.js.map +1 -0
  11. package/dist/commands/auth.d.ts +6 -0
  12. package/dist/commands/auth.d.ts.map +1 -0
  13. package/dist/commands/auth.js +496 -0
  14. package/dist/commands/auth.js.map +1 -0
  15. package/dist/commands/completion.d.ts +7 -0
  16. package/dist/commands/completion.d.ts.map +1 -0
  17. package/dist/commands/completion.js +188 -0
  18. package/dist/commands/completion.js.map +1 -0
  19. package/dist/commands/config.d.ts +6 -0
  20. package/dist/commands/config.d.ts.map +1 -0
  21. package/dist/commands/config.js +279 -0
  22. package/dist/commands/config.js.map +1 -0
  23. package/dist/commands/definitions.d.ts +6 -0
  24. package/dist/commands/definitions.d.ts.map +1 -0
  25. package/dist/commands/definitions.js +229 -0
  26. package/dist/commands/definitions.js.map +1 -0
  27. package/dist/commands/deps.d.ts +6 -0
  28. package/dist/commands/deps.d.ts.map +1 -0
  29. package/dist/commands/deps.js +87 -0
  30. package/dist/commands/deps.js.map +1 -0
  31. package/dist/commands/exec.d.ts +6 -0
  32. package/dist/commands/exec.d.ts.map +1 -0
  33. package/dist/commands/exec.js +334 -0
  34. package/dist/commands/exec.js.map +1 -0
  35. package/dist/commands/executions.d.ts +6 -0
  36. package/dist/commands/executions.d.ts.map +1 -0
  37. package/dist/commands/executions.js +63 -0
  38. package/dist/commands/executions.js.map +1 -0
  39. package/dist/commands/forks.d.ts +6 -0
  40. package/dist/commands/forks.d.ts.map +1 -0
  41. package/dist/commands/forks.js +145 -0
  42. package/dist/commands/forks.js.map +1 -0
  43. package/dist/commands/issues.d.ts +6 -0
  44. package/dist/commands/issues.d.ts.map +1 -0
  45. package/dist/commands/issues.js +458 -0
  46. package/dist/commands/issues.js.map +1 -0
  47. package/dist/commands/models.d.ts +6 -0
  48. package/dist/commands/models.d.ts.map +1 -0
  49. package/dist/commands/models.js +156 -0
  50. package/dist/commands/models.js.map +1 -0
  51. package/dist/commands/projects.d.ts +6 -0
  52. package/dist/commands/projects.d.ts.map +1 -0
  53. package/dist/commands/projects.js +262 -0
  54. package/dist/commands/projects.js.map +1 -0
  55. package/dist/commands/render.d.ts +6 -0
  56. package/dist/commands/render.d.ts.map +1 -0
  57. package/dist/commands/render.js +59 -0
  58. package/dist/commands/render.js.map +1 -0
  59. package/dist/commands/runs.d.ts +6 -0
  60. package/dist/commands/runs.d.ts.map +1 -0
  61. package/dist/commands/runs.js +442 -0
  62. package/dist/commands/runs.js.map +1 -0
  63. package/dist/commands/taxonomy.d.ts +6 -0
  64. package/dist/commands/taxonomy.d.ts.map +1 -0
  65. package/dist/commands/taxonomy.js +45 -0
  66. package/dist/commands/taxonomy.js.map +1 -0
  67. package/dist/commands/translation.d.ts +6 -0
  68. package/dist/commands/translation.d.ts.map +1 -0
  69. package/dist/commands/translation.js +85 -0
  70. package/dist/commands/translation.js.map +1 -0
  71. package/dist/commands/versions.d.ts +6 -0
  72. package/dist/commands/versions.d.ts.map +1 -0
  73. package/dist/commands/versions.js +61 -0
  74. package/dist/commands/versions.js.map +1 -0
  75. package/dist/context.d.ts +85 -0
  76. package/dist/context.d.ts.map +1 -0
  77. package/dist/context.js +386 -0
  78. package/dist/context.js.map +1 -0
  79. package/dist/formatters/core.d.ts +31 -0
  80. package/dist/formatters/core.d.ts.map +1 -0
  81. package/dist/formatters/core.js +176 -0
  82. package/dist/formatters/core.js.map +1 -0
  83. package/dist/formatters/ops.d.ts +43 -0
  84. package/dist/formatters/ops.d.ts.map +1 -0
  85. package/dist/formatters/ops.js +112 -0
  86. package/dist/formatters/ops.js.map +1 -0
  87. package/dist/formatters/registry.d.ts +41 -0
  88. package/dist/formatters/registry.d.ts.map +1 -0
  89. package/dist/formatters/registry.js +167 -0
  90. package/dist/formatters/registry.js.map +1 -0
  91. package/dist/formatters/table.d.ts +18 -0
  92. package/dist/formatters/table.d.ts.map +1 -0
  93. package/dist/formatters/table.js +76 -0
  94. package/dist/formatters/table.js.map +1 -0
  95. package/dist/utils.d.ts +99 -0
  96. package/dist/utils.d.ts.map +1 -0
  97. package/dist/utils.js +201 -0
  98. package/dist/utils.js.map +1 -0
  99. package/package.json +57 -0
@@ -0,0 +1,229 @@
1
+ import { createRegistryContext, handleRegistryError } from '../context.js';
2
+ import { withSpinner, parseIntOption, readFileOption } from '../utils.js';
3
+ import { formatDefinitions, formatDefinition, formatValidationResult } from '../formatters/registry.js';
4
+ /**
5
+ * Register definition commands
6
+ */
7
+ export function registerDefinitionCommands(program) {
8
+ const defs = program
9
+ .command('definitions')
10
+ .alias('def')
11
+ .description('Manage workflow definitions');
12
+ // ulu definitions list
13
+ defs
14
+ .command('list')
15
+ .description('List definitions')
16
+ .option('-t, --type <type>', 'Filter by type (agent|command|workflow|pipeline)')
17
+ .option('-s, --status <status>', 'Filter by status (draft|published|deprecated|archived)')
18
+ .option('-d, --domain <domain>', 'Filter by domain')
19
+ .option('-v, --visibility <visibility>', 'Filter by visibility (public|private)')
20
+ .option('-l, --limit <number>', 'Limit results', '50')
21
+ .option('-o, --offset <number>', 'Offset for pagination', '0')
22
+ .option('--search <query>', 'Search by name or description')
23
+ .action(async (options, cmd) => {
24
+ const globalOpts = cmd.optsWithGlobals();
25
+ const ctx = createRegistryContext(globalOpts);
26
+ try {
27
+ const result = await withSpinner(ctx, { start: 'Fetching definitions...', failure: 'Failed to fetch definitions' }, () => ctx.client.definitions.list({
28
+ type: options.type,
29
+ status: options.status,
30
+ domain: options.domain,
31
+ visibility: options.visibility,
32
+ limit: parseIntOption(options.limit, '--limit'),
33
+ offset: parseIntOption(options.offset, '--offset'),
34
+ search: options.search,
35
+ }));
36
+ if (ctx.json) {
37
+ console.log(JSON.stringify(result, null, 2));
38
+ }
39
+ else if (!result.definitions || result.definitions.length === 0) {
40
+ console.log('No definitions found');
41
+ }
42
+ else {
43
+ console.log(formatDefinitions(result.definitions));
44
+ console.log(`\nShowing ${result.definitions.length} of ${result.total} definitions`);
45
+ }
46
+ }
47
+ catch (error) {
48
+ handleRegistryError(error, ctx);
49
+ }
50
+ });
51
+ // ulu definitions get <type> <name> [version]
52
+ defs
53
+ .command('get <type> <name> [version]')
54
+ .description('Get a definition')
55
+ .option('--yaml', 'Output raw YAML')
56
+ .option('--include-runtime', 'Include runtime markdown')
57
+ .action(async (type, name, version, options, cmd) => {
58
+ const globalOpts = cmd.optsWithGlobals();
59
+ const ctx = createRegistryContext(globalOpts);
60
+ try {
61
+ const def = await withSpinner(ctx, { start: 'Fetching definition...', failure: 'Failed to fetch definition' }, () => ctx.client.definitions.get(type, name, version, { includeYaml: options.yaml, includeRuntime: options.includeRuntime }));
62
+ if (ctx.json) {
63
+ console.log(JSON.stringify(def, null, 2));
64
+ }
65
+ else if (options.yaml) {
66
+ console.log(def.yaml);
67
+ }
68
+ else {
69
+ console.log(formatDefinition(def));
70
+ }
71
+ }
72
+ catch (error) {
73
+ handleRegistryError(error, ctx);
74
+ }
75
+ });
76
+ // ulu definitions create <type> <name>
77
+ defs
78
+ .command('create <type> <name>')
79
+ .description('Create a new definition')
80
+ .requiredOption('-f, --file <path>', 'Path to YAML file')
81
+ .option('--visibility <visibility>', 'Visibility (public|private)', 'private')
82
+ .action(async (type, name, options, cmd) => {
83
+ const globalOpts = cmd.optsWithGlobals();
84
+ const ctx = createRegistryContext(globalOpts);
85
+ try {
86
+ const yaml = readFileOption(options.file);
87
+ const def = await withSpinner(ctx, { start: 'Creating definition...', success: 'Definition created', failure: 'Failed to create definition' }, () => ctx.client.definitions.create(type, name, {
88
+ yaml,
89
+ visibility: options.visibility,
90
+ }));
91
+ if (ctx.json) {
92
+ console.log(JSON.stringify(def, null, 2));
93
+ }
94
+ else {
95
+ console.log(formatDefinition(def));
96
+ }
97
+ }
98
+ catch (error) {
99
+ handleRegistryError(error, ctx);
100
+ }
101
+ });
102
+ // ulu definitions update <type> <name> <version>
103
+ defs
104
+ .command('update <type> <name> <version>')
105
+ .description('Update a definition (use --change-type to create a new version from a published one)')
106
+ .option('-f, --file <path>', 'Path to YAML file')
107
+ .option('--visibility <visibility>', 'Visibility (public|private)')
108
+ .option('--display-name <name>', 'Display name')
109
+ .option('--description <desc>', 'Description')
110
+ .option('--change-type <changeType>', 'Version bump type: major, minor, or patch (creates new version from published)')
111
+ .action(async (type, name, version, options, cmd) => {
112
+ const globalOpts = cmd.optsWithGlobals();
113
+ const ctx = createRegistryContext(globalOpts);
114
+ try {
115
+ const yaml = options.file ? readFileOption(options.file) : undefined;
116
+ const def = await withSpinner(ctx, { start: 'Updating definition...', success: 'Definition updated', failure: 'Failed to update definition' }, () => ctx.client.definitions.update(type, name, version, {
117
+ yaml,
118
+ visibility: options.visibility,
119
+ displayName: options.displayName,
120
+ description: options.description,
121
+ changeType: options.changeType,
122
+ }));
123
+ if (ctx.json) {
124
+ console.log(JSON.stringify(def, null, 2));
125
+ }
126
+ else {
127
+ console.log(formatDefinition(def));
128
+ }
129
+ }
130
+ catch (error) {
131
+ handleRegistryError(error, ctx);
132
+ }
133
+ });
134
+ // ulu definitions publish <type> <name> <version>
135
+ defs
136
+ .command('publish <type> <name> <version>')
137
+ .description('Publish a definition')
138
+ .action(async (type, name, version, _, cmd) => {
139
+ const globalOpts = cmd.optsWithGlobals();
140
+ const ctx = createRegistryContext(globalOpts);
141
+ try {
142
+ const def = await withSpinner(ctx, { start: 'Publishing definition...', success: 'Definition published', failure: 'Failed to publish definition' }, () => ctx.client.definitions.publish(type, name, version));
143
+ if (ctx.json) {
144
+ console.log(JSON.stringify(def, null, 2));
145
+ }
146
+ else {
147
+ console.log(formatDefinition(def));
148
+ }
149
+ }
150
+ catch (error) {
151
+ handleRegistryError(error, ctx);
152
+ }
153
+ });
154
+ // ulu definitions deprecate <type> <name> <version>
155
+ defs
156
+ .command('deprecate <type> <name> <version>')
157
+ .description('Deprecate a published definition')
158
+ .requiredOption('-r, --reason <reason>', 'Deprecation reason')
159
+ .option('--successor <ref>', 'Successor definition reference')
160
+ .action(async (type, name, version, options, cmd) => {
161
+ const globalOpts = cmd.optsWithGlobals();
162
+ const ctx = createRegistryContext(globalOpts);
163
+ try {
164
+ const def = await withSpinner(ctx, { start: 'Deprecating definition...', success: 'Definition deprecated', failure: 'Failed to deprecate definition' }, () => ctx.client.definitions.deprecate(type, name, version, {
165
+ reason: options.reason,
166
+ successor: options.successor,
167
+ }));
168
+ if (ctx.json) {
169
+ console.log(JSON.stringify(def, null, 2));
170
+ }
171
+ else {
172
+ console.log(formatDefinition(def));
173
+ }
174
+ }
175
+ catch (error) {
176
+ handleRegistryError(error, ctx);
177
+ }
178
+ });
179
+ // ulu definitions validate <type>
180
+ defs
181
+ .command('validate <type>')
182
+ .description('Validate YAML without creating a definition')
183
+ .requiredOption('-f, --file <path>', 'Path to YAML file')
184
+ .action(async (type, options, cmd) => {
185
+ const globalOpts = cmd.optsWithGlobals();
186
+ const ctx = createRegistryContext(globalOpts);
187
+ try {
188
+ const yaml = readFileOption(options.file);
189
+ const result = await withSpinner(ctx, { start: 'Validating...', failure: 'Validation failed' }, () => ctx.client.validation.validate(type, yaml));
190
+ if (ctx.json) {
191
+ console.log(JSON.stringify(result, null, 2));
192
+ }
193
+ else {
194
+ console.log(formatValidationResult(result));
195
+ }
196
+ if (!result.valid) {
197
+ process.exit(1);
198
+ }
199
+ }
200
+ catch (error) {
201
+ handleRegistryError(error, ctx);
202
+ }
203
+ });
204
+ // ulu definitions delete <type> <name> <version>
205
+ defs
206
+ .command('delete <type> <name> <version>')
207
+ .description('Delete a definition')
208
+ .option('-y, --yes', 'Skip confirmation prompt')
209
+ .action(async (type, name, version, options, cmd) => {
210
+ const globalOpts = cmd.optsWithGlobals();
211
+ const ctx = createRegistryContext(globalOpts);
212
+ // Confirm deletion
213
+ if (!options.yes) {
214
+ console.log(`\nThis will delete: ${type}/${name}@${version}`);
215
+ console.log('To confirm, run again with --yes flag');
216
+ process.exit(0);
217
+ }
218
+ try {
219
+ await withSpinner(ctx, { start: 'Deleting definition...', success: 'Definition deleted', failure: 'Failed to delete definition' }, () => ctx.client.definitions.delete(type, name, version));
220
+ if (ctx.json) {
221
+ console.log(JSON.stringify({ success: true, type, name, version }, null, 2));
222
+ }
223
+ }
224
+ catch (error) {
225
+ handleRegistryError(error, ctx);
226
+ }
227
+ });
228
+ }
229
+ //# sourceMappingURL=definitions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/commands/definitions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAsB,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAGxG;;GAEG;AACH,MAAM,UAAU,0BAA0B,CAAC,OAAgB;IACzD,MAAM,IAAI,GAAG,OAAO;SACjB,OAAO,CAAC,aAAa,CAAC;SACtB,KAAK,CAAC,KAAK,CAAC;SACZ,WAAW,CAAC,6BAA6B,CAAC,CAAC;IAE9C,uBAAuB;IACvB,IAAI;SACD,OAAO,CAAC,MAAM,CAAC;SACf,WAAW,CAAC,kBAAkB,CAAC;SAC/B,MAAM,CAAC,mBAAmB,EAAE,kDAAkD,CAAC;SAC/E,MAAM,CAAC,uBAAuB,EAAE,wDAAwD,CAAC;SACzF,MAAM,CAAC,uBAAuB,EAAE,kBAAkB,CAAC;SACnD,MAAM,CAAC,+BAA+B,EAAE,uCAAuC,CAAC;SAChF,MAAM,CAAC,s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CAAC"}
@@ -0,0 +1,6 @@
1
+ import { Command } from 'commander';
2
+ /**
3
+ * Register dependency commands
4
+ */
5
+ export declare function registerDepsCommands(program: Command): void;
6
+ //# sourceMappingURL=deps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deps.d.ts","sourceRoot":"","sources":["../../src/commands/deps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA6F3D"}
@@ -0,0 +1,87 @@
1
+ import { createRegistryContext, handleRegistryError } from '../context.js';
2
+ import { withSpinner, parseIntOption, asFlexibleResponse } from '../utils.js';
3
+ /**
4
+ * Register dependency commands
5
+ */
6
+ export function registerDepsCommands(program) {
7
+ const deps = program
8
+ .command('deps')
9
+ .description('Inspect definition dependencies');
10
+ // ulu deps get <type> <name> <version>
11
+ deps
12
+ .command('get <type> <name> <version>')
13
+ .description('Show dependency graph for a definition')
14
+ .option('-d, --max-depth <number>', 'Maximum traversal depth')
15
+ .action(async (type, name, version, options, cmd) => {
16
+ const globalOpts = cmd.optsWithGlobals();
17
+ const ctx = createRegistryContext(globalOpts);
18
+ try {
19
+ const graph = await withSpinner(ctx, { start: 'Fetching dependencies...', failure: 'Failed to fetch dependencies' }, () => ctx.client.dependencies.get(type, name, version, options.maxDepth ? { maxDepth: parseIntOption(options.maxDepth, '--max-depth') } : undefined));
20
+ if (ctx.json) {
21
+ console.log(JSON.stringify(graph, null, 2));
22
+ }
23
+ else {
24
+ // API may return { graph, flat, totalCount } or { nodes, edges }
25
+ const data = asFlexibleResponse(graph);
26
+ const nodes = (data.nodes ?? data.flat ?? []);
27
+ const edges = (data.edges ?? []);
28
+ console.log(`Dependencies for ${type}/${name}@${version}:`);
29
+ console.log(` Dependencies: ${data.totalCount ?? nodes.length}`);
30
+ if (edges.length > 0) {
31
+ console.log(` Edges: ${edges.length}`);
32
+ }
33
+ if (graph.cycleDetected) {
34
+ console.log(' WARNING: Circular dependency detected!');
35
+ if (graph.cycles) {
36
+ for (const cycle of graph.cycles) {
37
+ console.log(` ${cycle.join(' -> ')}`);
38
+ }
39
+ }
40
+ }
41
+ if (nodes.length === 0) {
42
+ console.log('\n No dependencies');
43
+ }
44
+ else {
45
+ console.log('');
46
+ for (const node of nodes) {
47
+ console.log(` ${node.type}/${node.name}@${node.version} (${node.status})`);
48
+ }
49
+ }
50
+ }
51
+ }
52
+ catch (error) {
53
+ handleRegistryError(error, ctx);
54
+ }
55
+ });
56
+ // ulu deps dependents <type> <name> <version>
57
+ deps
58
+ .command('dependents <type> <name> <version>')
59
+ .description('Show definitions that depend on this one')
60
+ .action(async (type, name, version, _, cmd) => {
61
+ const globalOpts = cmd.optsWithGlobals();
62
+ const ctx = createRegistryContext(globalOpts);
63
+ try {
64
+ const graph = await withSpinner(ctx, { start: 'Fetching dependents...', failure: 'Failed to fetch dependents' }, () => ctx.client.dependencies.getDependents(type, name, version));
65
+ if (ctx.json) {
66
+ console.log(JSON.stringify(graph, null, 2));
67
+ }
68
+ else {
69
+ const depData = asFlexibleResponse(graph);
70
+ const nodes = (depData.nodes ?? depData.flat ?? []);
71
+ if (nodes.length === 0) {
72
+ console.log('No dependents found');
73
+ }
74
+ else {
75
+ console.log(`Dependents of ${type}/${name}@${version}:`);
76
+ for (const node of nodes) {
77
+ console.log(` ${node.type}/${node.name}@${node.version} (${node.status})`);
78
+ }
79
+ }
80
+ }
81
+ }
82
+ catch (error) {
83
+ handleRegistryError(error, ctx);
84
+ }
85
+ });
86
+ }
87
+ //# sourceMappingURL=deps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deps.js","sourceRoot":"","sources":["../../src/commands/deps.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAsB,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,kBAAkB,EAAE,MA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AAC,GAAG,CAAC,KAAK,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;oBAC9E,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,mBAAmB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAClC,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { Command } from 'commander';
2
+ /**
3
+ * Register exec commands for core SDK execution
4
+ */
5
+ export declare function registerExecCommands(program: Command): void;
6
+ //# sourceMappingURL=exec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exec.d.ts","sourceRoot":"","sources":["../../src/commands/exec.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA4GpC;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA8P3D"}