@itznexus/itznexus-cli 0.0.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 (71) hide show
  1. package/dist/commands/auth.d.ts +2 -0
  2. package/dist/commands/auth.js +119 -0
  3. package/dist/commands/auth.js.map +1 -0
  4. package/dist/commands/company.d.ts +2 -0
  5. package/dist/commands/company.js +193 -0
  6. package/dist/commands/company.js.map +1 -0
  7. package/dist/commands/contact.d.ts +2 -0
  8. package/dist/commands/contact.js +142 -0
  9. package/dist/commands/contact.js.map +1 -0
  10. package/dist/commands/conversation.d.ts +2 -0
  11. package/dist/commands/conversation.js +217 -0
  12. package/dist/commands/conversation.js.map +1 -0
  13. package/dist/commands/health.d.ts +2 -0
  14. package/dist/commands/health.js +27 -0
  15. package/dist/commands/health.js.map +1 -0
  16. package/dist/commands/interaction.d.ts +2 -0
  17. package/dist/commands/interaction.js +214 -0
  18. package/dist/commands/interaction.js.map +1 -0
  19. package/dist/commands/lead.d.ts +2 -0
  20. package/dist/commands/lead.js +299 -0
  21. package/dist/commands/lead.js.map +1 -0
  22. package/dist/commands/organization.d.ts +2 -0
  23. package/dist/commands/organization.js +211 -0
  24. package/dist/commands/organization.js.map +1 -0
  25. package/dist/commands/person.d.ts +2 -0
  26. package/dist/commands/person.js +268 -0
  27. package/dist/commands/person.js.map +1 -0
  28. package/dist/commands/pipeline.d.ts +2 -0
  29. package/dist/commands/pipeline.js +33 -0
  30. package/dist/commands/pipeline.js.map +1 -0
  31. package/dist/commands/project.d.ts +2 -0
  32. package/dist/commands/project.js +180 -0
  33. package/dist/commands/project.js.map +1 -0
  34. package/dist/commands/schema.d.ts +23 -0
  35. package/dist/commands/schema.js +48 -0
  36. package/dist/commands/schema.js.map +1 -0
  37. package/dist/commands/sprint.d.ts +2 -0
  38. package/dist/commands/sprint.js +190 -0
  39. package/dist/commands/sprint.js.map +1 -0
  40. package/dist/commands/task.d.ts +2 -0
  41. package/dist/commands/task.js +216 -0
  42. package/dist/commands/task.js.map +1 -0
  43. package/dist/commands/user.d.ts +2 -0
  44. package/dist/commands/user.js +58 -0
  45. package/dist/commands/user.js.map +1 -0
  46. package/dist/index.d.ts +2 -0
  47. package/dist/index.js +40 -0
  48. package/dist/index.js.map +1 -0
  49. package/dist/lib/api.d.ts +10 -0
  50. package/dist/lib/api.js +36 -0
  51. package/dist/lib/api.js.map +1 -0
  52. package/dist/lib/auto-update.d.ts +6 -0
  53. package/dist/lib/auto-update.js +96 -0
  54. package/dist/lib/auto-update.js.map +1 -0
  55. package/dist/lib/config.d.ts +7 -0
  56. package/dist/lib/config.js +28 -0
  57. package/dist/lib/config.js.map +1 -0
  58. package/dist/lib/format.d.ts +23 -0
  59. package/dist/lib/format.js +59 -0
  60. package/dist/lib/format.js.map +1 -0
  61. package/dist/skills/claude-code/itznexus-auth.md +61 -0
  62. package/dist/skills/claude-code/itznexus-company.md +143 -0
  63. package/dist/skills/claude-code/itznexus-contact.md +109 -0
  64. package/dist/skills/claude-code/itznexus-conversation.md +146 -0
  65. package/dist/skills/claude-code/itznexus-lead.md +146 -0
  66. package/dist/skills/claude-code/itznexus-project.md +115 -0
  67. package/dist/skills/claude-code/itznexus-sprint.md +126 -0
  68. package/dist/skills/claude-code/itznexus-task.md +159 -0
  69. package/dist/skills/claude-code/itznexus-user.md +66 -0
  70. package/dist/skills/openclaw-tools.json +1404 -0
  71. package/package.json +50 -0
@@ -0,0 +1,146 @@
1
+ ---
2
+ name: itznexus-lead
3
+ description: "Manage leads via the ITzNexus CLI"
4
+ ---
5
+
6
+ # itznexus lead
7
+
8
+ Manage leads. All commands return JSON when called with `--json`.
9
+
10
+ ## Response Shape
11
+
12
+ All commands output JSON to stdout:
13
+ - **Success:** the created/updated/fetched object(s) directly
14
+ - **Error:** process exits with code 1 and prints an error message to stderr
15
+
16
+ ## When to Use
17
+
18
+ Use this skill when you need to create, read, update, or delete **lead** records in ITzNexus. Always use the `--json` flag so output is machine-parseable.
19
+
20
+ ## Commands
21
+
22
+ ### list
23
+
24
+ List all leads.
25
+
26
+ ```bash
27
+ itznexus lead list [--status] [--platform] [--type] [--urgency] [--search] --json
28
+ ```
29
+
30
+ | Parameter | Required | Description |
31
+ |-----------|----------|-------------|
32
+ | `--status` | no | Filter by status |
33
+ | `--platform` | no | Filter by platform |
34
+ | `--type` | no | Filter by type |
35
+ | `--urgency` | no | Filter by urgency |
36
+ | `--search` | no | Search by title |
37
+
38
+ ### get
39
+
40
+ Get lead details.
41
+
42
+ ```bash
43
+ itznexus lead get <id> --json
44
+ ```
45
+
46
+ | Parameter | Required | Description |
47
+ |-----------|----------|-------------|
48
+ | `id` | yes | Lead ID |
49
+
50
+ ### create
51
+
52
+ Create a new lead.
53
+
54
+ ```bash
55
+ itznexus lead create --title <title> --platform <platform> [--type] [--urgency] [--status] [--budget-min] [--budget-max] [--currency] [--contact] [--company] [--description] --json
56
+ ```
57
+
58
+ | Parameter | Required | Description |
59
+ |-----------|----------|-------------|
60
+ | `--title` | yes | Lead title |
61
+ | `--platform` | yes | Platform (upwork, linkedin, referral, inbound, other) |
62
+ | `--type` | no | Type (fixed, hourly, retainer, other) (default: `"fixed"`) |
63
+ | `--urgency` | no | Urgency (low, medium, high, urgent) (default: `"medium"`) |
64
+ | `--status` | no | Status (default: `"new"`) |
65
+ | `--budget-min` | no | Minimum budget |
66
+ | `--budget-max` | no | Maximum budget |
67
+ | `--currency` | no | Currency (default: `"USD"`) |
68
+ | `--contact` | no | Contact ID |
69
+ | `--company` | no | Company ID |
70
+ | `--description` | no | Description |
71
+
72
+ ### update
73
+
74
+ Update a lead.
75
+
76
+ ```bash
77
+ itznexus lead update <id> [--title] [--platform] [--type] [--urgency] [--budget-min] [--budget-max] [--currency] [--contact] [--company] [--description] --json
78
+ ```
79
+
80
+ | Parameter | Required | Description |
81
+ |-----------|----------|-------------|
82
+ | `id` | yes | Lead ID |
83
+ | `--title` | no | Lead title |
84
+ | `--platform` | no | Platform |
85
+ | `--type` | no | Type |
86
+ | `--urgency` | no | Urgency |
87
+ | `--budget-min` | no | Minimum budget |
88
+ | `--budget-max` | no | Maximum budget |
89
+ | `--currency` | no | Currency |
90
+ | `--contact` | no | Contact ID |
91
+ | `--company` | no | Company ID |
92
+ | `--description` | no | Description |
93
+
94
+ ### status
95
+
96
+ Update lead status.
97
+
98
+ ```bash
99
+ itznexus lead status <id> <status> --json
100
+ ```
101
+
102
+ | Parameter | Required | Description |
103
+ |-----------|----------|-------------|
104
+ | `id` | yes | Lead ID |
105
+ | `status` | yes | New status |
106
+
107
+ ### delete
108
+
109
+ Delete a lead.
110
+
111
+ ```bash
112
+ itznexus lead delete <id> --json
113
+ ```
114
+
115
+ | Parameter | Required | Description |
116
+ |-----------|----------|-------------|
117
+ | `id` | yes | Lead ID |
118
+
119
+ ## Example Flows
120
+
121
+ **Create a lead from Upwork:**
122
+ ```bash
123
+ itznexus lead create --title "Full-stack dev for SaaS app" --platform upwork --type fixed --budget-min 5000 --budget-max 10000 --json
124
+ ```
125
+
126
+ **Move a lead through the pipeline:**
127
+ ```bash
128
+ itznexus lead status <leadId> qualified --json
129
+ itznexus lead status <leadId> proposal-sent --json
130
+ itznexus lead status <leadId> won --json
131
+ ```
132
+
133
+ **List active leads by platform:**
134
+ ```bash
135
+ itznexus lead list --platform upwork --status qualified --json
136
+ ```
137
+
138
+ **Link a lead to a contact and company:**
139
+ ```bash
140
+ itznexus lead update <leadId> --contact <contactId> --company <companyId> --json
141
+ ```
142
+ ## Important
143
+
144
+ - Always pass `--json` for machine-readable output.
145
+ - IDs are UUIDs. Get them from `list` or `create` responses.
146
+ - The CLI authenticates via API key stored in `~/.itznexus/config.json`. Run `itznexus auth status --json` to verify.
@@ -0,0 +1,115 @@
1
+ ---
2
+ name: itznexus-project
3
+ description: "Manage projects via the ITzNexus CLI"
4
+ ---
5
+
6
+ # itznexus project
7
+
8
+ Manage projects. All commands return JSON when called with `--json`.
9
+
10
+ ## Response Shape
11
+
12
+ All commands output JSON to stdout:
13
+ - **Success:** the created/updated/fetched object(s) directly
14
+ - **Error:** process exits with code 1 and prints an error message to stderr
15
+
16
+ ## When to Use
17
+
18
+ Use this skill when you need to create, read, update, or delete **project** records in ITzNexus. Always use the `--json` flag so output is machine-parseable.
19
+
20
+ ## Commands
21
+
22
+ ### list
23
+
24
+ List all projects.
25
+
26
+ ```bash
27
+ itznexus project list [--status] [--search] --json
28
+ ```
29
+
30
+ | Parameter | Required | Description |
31
+ |-----------|----------|-------------|
32
+ | `--status` | no | Filter by status (active, paused, completed, cancelled) |
33
+ | `--search` | no | Search by name |
34
+
35
+ ### get
36
+
37
+ Get project details.
38
+
39
+ ```bash
40
+ itznexus project get <id> --json
41
+ ```
42
+
43
+ | Parameter | Required | Description |
44
+ |-----------|----------|-------------|
45
+ | `id` | yes | Project ID |
46
+
47
+ ### create
48
+
49
+ Create a new project.
50
+
51
+ ```bash
52
+ itznexus project create --name <name> [--description] [--status] [--company] --json
53
+ ```
54
+
55
+ | Parameter | Required | Description |
56
+ |-----------|----------|-------------|
57
+ | `--name` | yes | Project name |
58
+ | `--description` | no | Project description |
59
+ | `--status` | no | Status (active, paused, completed, cancelled) (default: `"active"`) |
60
+ | `--company` | no | Company ID |
61
+
62
+ ### update
63
+
64
+ Update a project.
65
+
66
+ ```bash
67
+ itznexus project update <id> [--name] [--description] [--status] [--company] --json
68
+ ```
69
+
70
+ | Parameter | Required | Description |
71
+ |-----------|----------|-------------|
72
+ | `id` | yes | Project ID |
73
+ | `--name` | no | Project name |
74
+ | `--description` | no | Description |
75
+ | `--status` | no | Status |
76
+ | `--company` | no | Company ID |
77
+
78
+ ### delete
79
+
80
+ Delete a project.
81
+
82
+ ```bash
83
+ itznexus project delete <id> --json
84
+ ```
85
+
86
+ | Parameter | Required | Description |
87
+ |-----------|----------|-------------|
88
+ | `id` | yes | Project ID |
89
+
90
+ ## Example Flows
91
+
92
+ **Create a project for a client:**
93
+ ```bash
94
+ itznexus project create --name "Acme SaaS Platform" --company <companyId> --json
95
+ ```
96
+
97
+ **List active projects:**
98
+ ```bash
99
+ itznexus project list --status active --json
100
+ ```
101
+
102
+ **Get project details with sprints:**
103
+ ```bash
104
+ itznexus project get <projectId> --json
105
+ ```
106
+
107
+ **Pause a project:**
108
+ ```bash
109
+ itznexus project update <projectId> --status paused --json
110
+ ```
111
+ ## Important
112
+
113
+ - Always pass `--json` for machine-readable output.
114
+ - IDs are UUIDs. Get them from `list` or `create` responses.
115
+ - The CLI authenticates via API key stored in `~/.itznexus/config.json`. Run `itznexus auth status --json` to verify.
@@ -0,0 +1,126 @@
1
+ ---
2
+ name: itznexus-sprint
3
+ description: "Manage sprints via the ITzNexus CLI"
4
+ ---
5
+
6
+ # itznexus sprint
7
+
8
+ Manage sprints. All commands return JSON when called with `--json`.
9
+
10
+ ## Response Shape
11
+
12
+ All commands output JSON to stdout:
13
+ - **Success:** the created/updated/fetched object(s) directly
14
+ - **Error:** process exits with code 1 and prints an error message to stderr
15
+
16
+ ## When to Use
17
+
18
+ Use this skill when you need to create, read, update, or delete **sprint** records in ITzNexus. Always use the `--json` flag so output is machine-parseable.
19
+
20
+ ## Commands
21
+
22
+ ### list
23
+
24
+ List sprints for a project.
25
+
26
+ ```bash
27
+ itznexus sprint list --project <projectId> [--status] --json
28
+ ```
29
+
30
+ | Parameter | Required | Description |
31
+ |-----------|----------|-------------|
32
+ | `--project` | yes | Project ID |
33
+ | `--status` | no | Filter by status |
34
+
35
+ ### get
36
+
37
+ Get sprint details.
38
+
39
+ ```bash
40
+ itznexus sprint get <id> --json
41
+ ```
42
+
43
+ | Parameter | Required | Description |
44
+ |-----------|----------|-------------|
45
+ | `id` | yes | Sprint ID |
46
+
47
+ ### create
48
+
49
+ Create a new sprint.
50
+
51
+ ```bash
52
+ itznexus sprint create --project <projectId> --name <name> [--goal] [--start] [--end] --json
53
+ ```
54
+
55
+ | Parameter | Required | Description |
56
+ |-----------|----------|-------------|
57
+ | `--project` | yes | Project ID |
58
+ | `--name` | yes | Sprint name |
59
+ | `--goal` | no | Sprint goal |
60
+ | `--start` | no | Start date (ISO) |
61
+ | `--end` | no | End date (ISO) |
62
+
63
+ ### update
64
+
65
+ Update a sprint.
66
+
67
+ ```bash
68
+ itznexus sprint update <id> [--name] [--goal] [--start] [--end] --json
69
+ ```
70
+
71
+ | Parameter | Required | Description |
72
+ |-----------|----------|-------------|
73
+ | `id` | yes | Sprint ID |
74
+ | `--name` | no | Sprint name |
75
+ | `--goal` | no | Sprint goal |
76
+ | `--start` | no | Start date (ISO) |
77
+ | `--end` | no | End date (ISO) |
78
+
79
+ ### status
80
+
81
+ Update sprint status.
82
+
83
+ ```bash
84
+ itznexus sprint status <id> <status> --json
85
+ ```
86
+
87
+ | Parameter | Required | Description |
88
+ |-----------|----------|-------------|
89
+ | `id` | yes | Sprint ID |
90
+ | `status` | yes | New status (plan, human-review, ready, execute, checkpoint, validate, done) |
91
+
92
+ ### delete
93
+
94
+ Delete a sprint.
95
+
96
+ ```bash
97
+ itznexus sprint delete <id> --json
98
+ ```
99
+
100
+ | Parameter | Required | Description |
101
+ |-----------|----------|-------------|
102
+ | `id` | yes | Sprint ID |
103
+
104
+ ## Example Flows
105
+
106
+ **Create a sprint for a project:**
107
+ ```bash
108
+ itznexus sprint create --project <projectId> --name "Sprint 1" --goal "MVP auth + dashboard" --start 2026-03-24 --end 2026-04-04 --json
109
+ ```
110
+
111
+ **Move a sprint through its lifecycle:**
112
+ ```bash
113
+ itznexus sprint status <sprintId> ready --json
114
+ itznexus sprint status <sprintId> execute --json
115
+ itznexus sprint status <sprintId> done --json
116
+ ```
117
+
118
+ **List sprints for a project:**
119
+ ```bash
120
+ itznexus sprint list --project <projectId> --json
121
+ ```
122
+ ## Important
123
+
124
+ - Always pass `--json` for machine-readable output.
125
+ - IDs are UUIDs. Get them from `list` or `create` responses.
126
+ - The CLI authenticates via API key stored in `~/.itznexus/config.json`. Run `itznexus auth status --json` to verify.
@@ -0,0 +1,159 @@
1
+ ---
2
+ name: itznexus-task
3
+ description: "Manage tasks via the ITzNexus CLI"
4
+ ---
5
+
6
+ # itznexus task
7
+
8
+ Manage tasks. All commands return JSON when called with `--json`.
9
+
10
+ ## Response Shape
11
+
12
+ All commands output JSON to stdout:
13
+ - **Success:** the created/updated/fetched object(s) directly
14
+ - **Error:** process exits with code 1 and prints an error message to stderr
15
+
16
+ ## When to Use
17
+
18
+ Use this skill when you need to create, read, update, or delete **task** records in ITzNexus. Always use the `--json` flag so output is machine-parseable.
19
+
20
+ ## Commands
21
+
22
+ ### list
23
+
24
+ List tasks.
25
+
26
+ ```bash
27
+ itznexus task list [--project] [--sprint] [--status] [--assignee] [--backlog] [--search] --json
28
+ ```
29
+
30
+ | Parameter | Required | Description |
31
+ |-----------|----------|-------------|
32
+ | `--project` | no | Filter by project |
33
+ | `--sprint` | no | Filter by sprint |
34
+ | `--status` | no | Filter by status |
35
+ | `--assignee` | no | Filter by assignee |
36
+ | `--backlog` | no | Only unplanned tasks (no sprint) |
37
+ | `--search` | no | Search by title |
38
+
39
+ ### get
40
+
41
+ Get task details.
42
+
43
+ ```bash
44
+ itznexus task get <id> --json
45
+ ```
46
+
47
+ | Parameter | Required | Description |
48
+ |-----------|----------|-------------|
49
+ | `id` | yes | Task ID |
50
+
51
+ ### create
52
+
53
+ Create a new task.
54
+
55
+ ```bash
56
+ itznexus task create --project <projectId> --title <title> [--description] [--status] [--sprint] [--assignee] --json
57
+ ```
58
+
59
+ | Parameter | Required | Description |
60
+ |-----------|----------|-------------|
61
+ | `--project` | yes | Project ID |
62
+ | `--title` | yes | Task title |
63
+ | `--description` | no | Task description |
64
+ | `--status` | no | Status (backlog, ready-for-dev, in-progress, qa, blocked, done) |
65
+ | `--sprint` | no | Sprint ID |
66
+ | `--assignee` | no | Assignee user ID |
67
+
68
+ ### update
69
+
70
+ Update a task.
71
+
72
+ ```bash
73
+ itznexus task update <id> [--title] [--description] [--sprint] [--assignee] --json
74
+ ```
75
+
76
+ | Parameter | Required | Description |
77
+ |-----------|----------|-------------|
78
+ | `id` | yes | Task ID |
79
+ | `--title` | no | Task title |
80
+ | `--description` | no | Description |
81
+ | `--sprint` | no | Sprint ID |
82
+ | `--assignee` | no | Assignee user ID |
83
+
84
+ ### status
85
+
86
+ Update task status.
87
+
88
+ ```bash
89
+ itznexus task status <id> <status> --json
90
+ ```
91
+
92
+ | Parameter | Required | Description |
93
+ |-----------|----------|-------------|
94
+ | `id` | yes | Task ID |
95
+ | `status` | yes | New status (backlog, ready-for-dev, in-progress, qa, blocked, done) |
96
+
97
+ ### comment
98
+
99
+ Add a comment to a task.
100
+
101
+ ```bash
102
+ itznexus task comment <taskId> --body <text> --json
103
+ ```
104
+
105
+ | Parameter | Required | Description |
106
+ |-----------|----------|-------------|
107
+ | `taskId` | yes | Task ID |
108
+ | `--body` | yes | Comment body |
109
+
110
+ ### delete
111
+
112
+ Delete a task.
113
+
114
+ ```bash
115
+ itznexus task delete <id> --json
116
+ ```
117
+
118
+ | Parameter | Required | Description |
119
+ |-----------|----------|-------------|
120
+ | `id` | yes | Task ID |
121
+
122
+ ## Example Flows
123
+
124
+ **Create a task in a sprint:**
125
+ ```bash
126
+ itznexus task create --project <projectId> --title "Implement login page" --sprint <sprintId> --json
127
+ ```
128
+
129
+ **Create a backlog task (no sprint):**
130
+ ```bash
131
+ itznexus task create --project <projectId> --title "Add dark mode support" --json
132
+ ```
133
+
134
+ **Move a task through statuses:**
135
+ ```bash
136
+ itznexus task status <taskId> in-progress --json
137
+ itznexus task status <taskId> qa --json
138
+ itznexus task status <taskId> done --json
139
+ ```
140
+
141
+ **Add a comment to a task:**
142
+ ```bash
143
+ itznexus task comment <taskId> --body "Blocked on API dependency" --json
144
+ ```
145
+
146
+ **List tasks in a sprint:**
147
+ ```bash
148
+ itznexus task list --sprint <sprintId> --json
149
+ ```
150
+
151
+ **List backlog tasks for a project:**
152
+ ```bash
153
+ itznexus task list --project <projectId> --backlog --json
154
+ ```
155
+ ## Important
156
+
157
+ - Always pass `--json` for machine-readable output.
158
+ - IDs are UUIDs. Get them from `list` or `create` responses.
159
+ - The CLI authenticates via API key stored in `~/.itznexus/config.json`. Run `itznexus auth status --json` to verify.
@@ -0,0 +1,66 @@
1
+ ---
2
+ name: itznexus-user
3
+ description: "Manage users via the ITzNexus CLI"
4
+ ---
5
+
6
+ # itznexus user
7
+
8
+ Manage users. All commands return JSON when called with `--json`.
9
+
10
+ ## Response Shape
11
+
12
+ All commands output JSON to stdout:
13
+ - **Success:** the created/updated/fetched object(s) directly
14
+ - **Error:** process exits with code 1 and prints an error message to stderr
15
+
16
+ ## When to Use
17
+
18
+ Use this skill when you need to create, read, update, or delete **user** records in ITzNexus. Always use the `--json` flag so output is machine-parseable.
19
+
20
+ ## Commands
21
+
22
+ ### list
23
+
24
+ List all users.
25
+
26
+ ```bash
27
+ itznexus user list [--type] --json
28
+ ```
29
+
30
+ | Parameter | Required | Description |
31
+ |-----------|----------|-------------|
32
+ | `--type` | no | Filter by type (human, agent) |
33
+
34
+ ### get
35
+
36
+ Get user details.
37
+
38
+ ```bash
39
+ itznexus user get <id> --json
40
+ ```
41
+
42
+ | Parameter | Required | Description |
43
+ |-----------|----------|-------------|
44
+ | `id` | yes | User ID |
45
+
46
+ ## Example Flows
47
+
48
+ **List all users:**
49
+ ```bash
50
+ itznexus user list --json
51
+ ```
52
+
53
+ **List only agent users:**
54
+ ```bash
55
+ itznexus user list --type agent --json
56
+ ```
57
+
58
+ **Get user details:**
59
+ ```bash
60
+ itznexus user get <userId> --json
61
+ ```
62
+ ## Important
63
+
64
+ - Always pass `--json` for machine-readable output.
65
+ - IDs are UUIDs. Get them from `list` or `create` responses.
66
+ - The CLI authenticates via API key stored in `~/.itznexus/config.json`. Run `itznexus auth status --json` to verify.