@parall/cli 1.55.0 → 1.55.2
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.
|
@@ -35,7 +35,7 @@ export function registerProjectCommands(program) {
|
|
|
35
35
|
.requiredOption('--name <name>', 'Project name')
|
|
36
36
|
.requiredOption('--key <key>', 'Project key')
|
|
37
37
|
.option('--description <text>', 'Project description')
|
|
38
|
-
.option('--
|
|
38
|
+
.option('--visibility <visibility>', 'public (whole org) or private (roster only)')
|
|
39
39
|
.option('--color <hex>', 'Project color (hex)')
|
|
40
40
|
.action(async (opts) => {
|
|
41
41
|
try {
|
|
@@ -43,8 +43,8 @@ export function registerProjectCommands(program) {
|
|
|
43
43
|
const data = { name: opts.name, key: opts.key };
|
|
44
44
|
if (opts.description !== undefined)
|
|
45
45
|
data.description = opts.description;
|
|
46
|
-
if (opts.
|
|
47
|
-
data.
|
|
46
|
+
if (opts.visibility !== undefined)
|
|
47
|
+
data.visibility = opts.visibility;
|
|
48
48
|
if (opts.color !== undefined)
|
|
49
49
|
data.color = opts.color;
|
|
50
50
|
const result = await client.createProject(orgId, data);
|
|
@@ -60,7 +60,7 @@ export function registerProjectCommands(program) {
|
|
|
60
60
|
.argument('<projectId>', 'Project ID')
|
|
61
61
|
.option('--name <name>', 'Project name')
|
|
62
62
|
.option('--description <text>', 'Project description')
|
|
63
|
-
.option('--
|
|
63
|
+
.option('--visibility <visibility>', 'public (whole org) or private (roster only)')
|
|
64
64
|
.option('--color <hex>', 'Project color (hex)')
|
|
65
65
|
.option('--status <status>', 'Project status')
|
|
66
66
|
.action(async (projectId, opts) => {
|
|
@@ -71,8 +71,8 @@ export function registerProjectCommands(program) {
|
|
|
71
71
|
data.name = opts.name;
|
|
72
72
|
if (opts.description !== undefined)
|
|
73
73
|
data.description = opts.description;
|
|
74
|
-
if (opts.
|
|
75
|
-
data.
|
|
74
|
+
if (opts.visibility !== undefined)
|
|
75
|
+
data.visibility = opts.visibility;
|
|
76
76
|
if (opts.color !== undefined)
|
|
77
77
|
data.color = opts.color;
|
|
78
78
|
if (opts.status !== undefined)
|
package/dist/commands/tasks.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare function buildCreateTaskData(opts: {
|
|
|
6
6
|
status?: string;
|
|
7
7
|
priority?: string;
|
|
8
8
|
assigneeId?: string;
|
|
9
|
-
projectId
|
|
9
|
+
projectId: string;
|
|
10
10
|
parentId?: string;
|
|
11
11
|
sourceChatId?: string;
|
|
12
12
|
dueDate?: string;
|
|
@@ -17,7 +17,7 @@ export declare function buildCreateTaskData(opts: {
|
|
|
17
17
|
status: string | undefined;
|
|
18
18
|
priority: string | undefined;
|
|
19
19
|
assignee_id: string | undefined;
|
|
20
|
-
project_id: string
|
|
20
|
+
project_id: string;
|
|
21
21
|
parent_id: string | undefined;
|
|
22
22
|
source_chat_id: string | undefined;
|
|
23
23
|
planned_start_date: string | undefined;
|
|
@@ -29,7 +29,6 @@ export declare function buildUpdateTaskData(opts: {
|
|
|
29
29
|
priority?: string;
|
|
30
30
|
assigneeId?: string;
|
|
31
31
|
description?: string;
|
|
32
|
-
projectId?: string;
|
|
33
32
|
parentId?: string;
|
|
34
33
|
sortOrder?: string;
|
|
35
34
|
placement?: string;
|
|
@@ -41,7 +40,6 @@ export declare function buildUpdateTaskData(opts: {
|
|
|
41
40
|
priority: UpdateTaskRequest["priority"];
|
|
42
41
|
assignee_id: string | undefined;
|
|
43
42
|
description: string | undefined;
|
|
44
|
-
project_id: string | undefined;
|
|
45
43
|
parent_id: string | undefined;
|
|
46
44
|
sort_order: number | undefined;
|
|
47
45
|
placement: "end" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/commands/tasks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/commands/tasks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAqB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgEpC,wBAAgB,mBAAmB,CAAC,IAAI,EAAE;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;;;;;;;;;;;GAaA;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;;YAS0B,iBAAiB,CAAC,QAAQ,CAAC;cACvB,iBAAiB,CAAC,UAAU,CAAC;;;;;;;;GAS3D;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,QA2WpD"}
|
package/dist/commands/tasks.js
CHANGED
|
@@ -66,7 +66,7 @@ export function buildCreateTaskData(opts) {
|
|
|
66
66
|
status: opts.status,
|
|
67
67
|
priority: opts.priority,
|
|
68
68
|
assignee_id: opts.assigneeId ? stripPrllScheme(opts.assigneeId) : undefined,
|
|
69
|
-
project_id:
|
|
69
|
+
project_id: stripPrllScheme(opts.projectId),
|
|
70
70
|
parent_id: opts.parentId ? stripPrllScheme(opts.parentId) : undefined,
|
|
71
71
|
source_chat_id: opts.sourceChatId ? stripPrllScheme(opts.sourceChatId) : undefined,
|
|
72
72
|
planned_start_date: resolveCreateDateFlag('--planned-start', opts.plannedStart),
|
|
@@ -86,7 +86,6 @@ export function buildUpdateTaskData(opts) {
|
|
|
86
86
|
priority: opts.priority,
|
|
87
87
|
assignee_id: opts.assigneeId ? stripPrllScheme(opts.assigneeId) : undefined,
|
|
88
88
|
description: opts.description,
|
|
89
|
-
project_id: opts.projectId ? stripPrllScheme(opts.projectId) : undefined,
|
|
90
89
|
parent_id: opts.parentId ? stripPrllScheme(opts.parentId) : undefined,
|
|
91
90
|
sort_order: resolveSortOrder(opts.sortOrder),
|
|
92
91
|
placement: resolvePlacement(opts.placement),
|
|
@@ -137,7 +136,7 @@ export function registerTaskCommands(program) {
|
|
|
137
136
|
.option('--status <status>', 'Task status')
|
|
138
137
|
.option('--priority <priority>', 'Task priority')
|
|
139
138
|
.option('--assignee-id <id>', 'Assignee user ID')
|
|
140
|
-
.
|
|
139
|
+
.requiredOption('--project-id <id>', 'Project ID the task is created in (required; run "parall projects list" to see available projects)')
|
|
141
140
|
.option('--parent-id <id>', 'Parent task ID')
|
|
142
141
|
.option('--source-chat-id <id>', 'Source chat ID')
|
|
143
142
|
.option('--planned-start <date>', 'Planned start date (YYYY-MM-DD) — must be on or before --due-date when both are set')
|
|
@@ -179,7 +178,6 @@ export function registerTaskCommands(program) {
|
|
|
179
178
|
.option('--priority <priority>', 'Task priority')
|
|
180
179
|
.option('--assignee-id <id>', 'Assignee user ID')
|
|
181
180
|
.option('--description <text>', 'Task description')
|
|
182
|
-
.option('--project-id <id>', 'Project ID')
|
|
183
181
|
.option('--parent-id <id>', 'Parent task ID')
|
|
184
182
|
.option('--sort-order <n>', 'Explicit sort_order value — only for pinpoint insertion relative to cards you can see; to append to a status column use --placement end')
|
|
185
183
|
.option('--placement <where>', 'Ordering intent — only "end" is accepted: appends the task to the end of its status column, position resolved by the server (mutually exclusive with --sort-order)')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parall/cli",
|
|
3
|
-
"version": "1.55.
|
|
3
|
+
"version": "1.55.2",
|
|
4
4
|
"description": "CLI client for Parall — universal agent & human access to Parall API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"diff": "^8.0.3",
|
|
37
37
|
"js-yaml": "^4.1.0",
|
|
38
38
|
"zod": "^4.3.6",
|
|
39
|
-
"@parall/agent-core": "1.55.
|
|
40
|
-
"@parall/sdk": "1.55.
|
|
39
|
+
"@parall/agent-core": "1.55.2",
|
|
40
|
+
"@parall/sdk": "1.55.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/js-yaml": "^4.0.9",
|
|
44
44
|
"@types/node": "^22.0.0",
|
|
45
45
|
"typescript": "^5.7.0",
|
|
46
|
-
"@parall/agent-core": "1.55.
|
|
46
|
+
"@parall/agent-core": "1.55.2"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsc",
|