@pulsarinteractive/geniustasker 0.0.0-stage → 0.1.0-beta.10

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 (68) hide show
  1. package/CHANGELOG.md +80 -0
  2. package/CONTRIBUTING.md +72 -0
  3. package/LICENSE +21 -0
  4. package/LICENSES/Apache-2.0.txt +202 -0
  5. package/README.md +76 -2
  6. package/SECURITY.md +14 -0
  7. package/THIRD_PARTY_NOTICES.md +15 -0
  8. package/bin/geniustasker.mjs +6 -0
  9. package/docs/ARCHITECTURE.md +144 -0
  10. package/docs/CHATGPT.md +86 -0
  11. package/docs/CLI.md +444 -0
  12. package/docs/DOCUMENTATION_SYNC.md +144 -0
  13. package/docs/INTEGRATIONS.md +62 -0
  14. package/docs/LIMITS.md +62 -0
  15. package/docs/MEMORY.md +38 -0
  16. package/docs/OPENAI.md +21 -0
  17. package/docs/OPENAI_PUBLICATION.md +22 -0
  18. package/docs/PLANNING.md +79 -0
  19. package/docs/PROJECT_FILTERS.md +77 -0
  20. package/docs/RELEASING.md +23 -0
  21. package/docs/TESTING.md +52 -0
  22. package/docs/WORKFLOWS.md +37 -0
  23. package/examples/codex.toml +3 -0
  24. package/examples/mcp.json +8 -0
  25. package/mcp.json +10 -0
  26. package/package.json +72 -4
  27. package/plugin.json +24 -0
  28. package/remote/tool-catalog.json +1374 -0
  29. package/remote/workflows.json +67 -0
  30. package/skills/geniustasker/SKILL.md +148 -0
  31. package/skills/geniustasker/agents/openai.yaml +4 -0
  32. package/skills/geniustasker/references/collaboration.md +70 -0
  33. package/skills/geniustasker/references/incremental-reads.md +16 -0
  34. package/skills/geniustasker/references/profiles.md +22 -0
  35. package/skills/geniustasker/references/project-reads.md +43 -0
  36. package/skills/geniustasker-documentation/SKILL.md +39 -0
  37. package/skills/geniustasker-documentation/agents/openai.yaml +4 -0
  38. package/skills/geniustasker-documentation/references/structure.md +29 -0
  39. package/skills/geniustasker-graph/SKILL.md +31 -0
  40. package/skills/geniustasker-graph/agents/openai.yaml +4 -0
  41. package/skills/geniustasker-media/SKILL.md +33 -0
  42. package/skills/geniustasker-media/agents/openai.yaml +4 -0
  43. package/skills/geniustasker-memory/SKILL.md +120 -0
  44. package/skills/geniustasker-memory/agents/openai.yaml +4 -0
  45. package/skills/geniustasker-memory/references/knowledge-workflows.md +57 -0
  46. package/skills/geniustasker-planning/SKILL.md +28 -0
  47. package/skills/geniustasker-planning/agents/openai.yaml +4 -0
  48. package/src/changes.mjs +139 -0
  49. package/src/cli.mjs +511 -0
  50. package/src/client.mjs +264 -0
  51. package/src/command-catalog.mjs +569 -0
  52. package/src/commands.mjs +277 -0
  53. package/src/documentation-graph.mjs +251 -0
  54. package/src/documentation-store.mjs +589 -0
  55. package/src/documentation-sync.mjs +517 -0
  56. package/src/documentation.mjs +136 -0
  57. package/src/errors.mjs +65 -0
  58. package/src/knowledge.mjs +109 -0
  59. package/src/login.mjs +258 -0
  60. package/src/mcp.mjs +327 -0
  61. package/src/media.mjs +307 -0
  62. package/src/presentation.d.mts +1 -0
  63. package/src/presentation.mjs +12 -0
  64. package/src/profiles.mjs +154 -0
  65. package/src/read-cache.mjs +111 -0
  66. package/src/store.mjs +141 -0
  67. package/src/transport.mjs +201 -0
  68. package/src/workflows.mjs +9 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,80 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0-beta.10
4
+
5
+ - Add project creation/settings/deletion with the distinct `projects:write` permission. Existing grants do not expand automatically.
6
+ - Expose native sprint, workflow, recurring-task and project-document commands through CLI, local MCP and hosted discovery.
7
+ - Document planning invariants and Memory folder structure, with bounded permission-specific tools and unchanged account quotas.
8
+
9
+ ## 0.1.0-beta.9 — 2026-10-23
10
+
11
+ - Add on-demand workflow guides to hosted and local MCP and `workflow show` to the CLI.
12
+ - Correct hosted archive filters to the API values `active`, `archived` and `all`.
13
+ - Explain remote immutable-command recovery separately from the local operation journal.
14
+ - Expand connection, permissions, product workflows and live application update documentation.
15
+
16
+ ## 0.1.0-beta.8
17
+
18
+ - Explain shared account quotas across CLI, local MCP and ChatGPT.
19
+ - Guide assistants to use the user’s language and preserve existing record text.
20
+ - Clarify ambiguous planning dates and consent-language behavior.
21
+
22
+ ## 0.1.0-beta.7
23
+
24
+ - Add the remote ChatGPT tool catalogue and OAuth connection guide.
25
+ - Document the separate official directory submission process.
26
+ - Upgrade the MCP server SDK to 2.3.1 with published security fixes.
27
+
28
+ ## 0.1.0-beta.6 — 2026-10-14
29
+
30
+ - Shared project filter commands and criteria guide, gated by advertised service capabilities.
31
+ - Project tag create, update and delete commands, with project permissions and
32
+ immutable operation retries. Requires the connected service to advertise `tag.*`.
33
+ - Guidance for reusing tag IDs and preserving project-specific workflows.
34
+ - Updated the development MCP client to 2.3.1; local stdio compatibility is tested.
35
+
36
+ ## 0.1.0-beta.5 — 2026-10-02
37
+
38
+ - Incremental repository documentation from selected Memory folders and Graphs,
39
+ with generated Markdown provenance and optional digest-verified local media.
40
+ - Safe staged exports, local-edit detection, access revalidation, revocation
41
+ cleanup and account isolation; large Graphs use bounded portable chunks.
42
+ - Tree and Markdown read tools, documentation sync/status and media comparison.
43
+ - Focused documentation, resource and Graph skills with daily/post-work refresh.
44
+
45
+ Requires the service's `documentationSync` and `protectedMemoryAssets`
46
+ capabilities as appropriate.
47
+
48
+ ## 0.1.0-beta.4 — 2026-10-02
49
+
50
+ - Short npm overview, focused Memory guide and account usage tables.
51
+ - Explain the UUID v4 identity required for Memory creation before sending an invalid request.
52
+ - Private Memory attachments through resumable MCP/CLI uploads, bounded binary transport and explicit downloads.
53
+ - Memory full-text search, bounded Graph neighborhoods and permission-aware references.
54
+ - Graph node/edge commands and richer document metadata from the API contract.
55
+ - Seven additional MCP tools and matching CLI commands; independent node content survives unavailable references.
56
+ - Shared request size bounds for rich documents, with immutable write retries preserved.
57
+
58
+ These additions require the corresponding service capabilities.
59
+
60
+ ## 0.1.0-beta.3 — 2026-09-30
61
+
62
+ - MIT license for the client, skills and documentation; third-party license notices.
63
+ - Consistent source formatting, ESLint checks and pinned CI actions.
64
+ - Architecture, testing and contribution guides.
65
+ - Canonical Pulsar Interactive repository links.
66
+
67
+ ## 0.1.0-beta.2 — 2026-09-30
68
+
69
+ - Public standalone repository, synthetic tests and CI.
70
+ - Portable plugin/MCP manifests and local marketplace catalog.
71
+ - Focused project and independent-memory skills with OpenAI display metadata.
72
+ - Installation guides, public source boundaries and hosted OpenAI integration milestone.
73
+ - Corrected outdated local-preview wording in `doctor`.
74
+
75
+ ## 0.1.0-beta.1 — 2026-09-30
76
+
77
+ - Browser PKCE consent, named contexts and delegated sessions.
78
+ - Local stdio MCP with 16 tools; independent account memories and project work.
79
+ - Shared-context refresh locking, journaled writes and resumable bounded reads.
80
+ - Published archive installed from npm and exercised through real read-only MCP.
@@ -0,0 +1,72 @@
1
+ # Contributing
2
+
3
+ Thanks for helping improve GeniusTasker's agent integrations. This repository
4
+ contains the CLI, local MCP server, skills and integration documentation.
5
+
6
+ ## Development setup
7
+
8
+ Use Node.js 22.13 or newer and npm:
9
+
10
+ ```sh
11
+ npm ci
12
+ npm run verify
13
+ ```
14
+
15
+ Local tests need no GeniusTasker account. They use temporary files, synthetic
16
+ identities, loopback servers and the official MCP client SDK.
17
+
18
+ ## Code conventions
19
+
20
+ - Use ECMAScript modules and explicit `node:` imports for Node built-ins.
21
+ - Format with `npm run format`; ESLint enforces recommended checks, strict
22
+ equality, unused-variable detection and braces on control statements.
23
+ - Choose names that explain the operation. Keep parsing, authentication, HTTP
24
+ transport, persistence and MCP presentation in their respective modules.
25
+ - Document exported entry points and invariants. Explain why a failure needs
26
+ special treatment; comments should not repeat the next line of code.
27
+ - Inject clocks, network calls and cancellation signals where behavior needs
28
+ deterministic tests. Avoid new global state, background daemons or polling.
29
+ - Prefer a focused helper when it clarifies responsibility. Avoid abstraction
30
+ that hides credential ownership, lock lifetime or retry decisions.
31
+
32
+ The [architecture guide](docs/ARCHITECTURE.md) describes module responsibilities
33
+ and the authentication, write and change-feed lifecycles.
34
+
35
+ ## Behavioral compatibility
36
+
37
+ CLI JSON output, exit codes, MCP tool names and command envelopes are public
38
+ interfaces. Changes must preserve existing callers or be documented as a breaking
39
+ change. Keep stdout reserved for protocol output; diagnostics belong on stderr.
40
+
41
+ Validate input at the boundary. Surface errors through `AgentError` with a stable
42
+ code and useful remediation. Never relay raw provider exceptions or credentials.
43
+ A command must preserve origin, account, profile and operation identity. An
44
+ uncertain write may only retry its saved immutable request; a revision conflict
45
+ requires rereading the resource. Access and quotas remain server-enforced.
46
+
47
+ `src/command-catalog.mjs` is a generated interface snapshot. Submit contract
48
+ updates with their generation provenance and review the client-facing diff;
49
+ do not hand-edit generated schemas. Third-party schemas also remain unchanged.
50
+
51
+ ## Tests and documentation
52
+
53
+ Add regression coverage for observable changes, including relevant failures and
54
+ cancellation. Use synthetic data; live account exports do not belong in fixtures.
55
+ Read [Testing](docs/TESTING.md) for the suite boundaries and focused commands.
56
+
57
+ Update command help, examples, skills and relevant guides when behavior changes.
58
+ Examples must run against documented capabilities, with placeholders for resource
59
+ IDs and without access tokens. Keep project and Memory permissions independent.
60
+
61
+ ## Pull requests
62
+
63
+ Describe the user-visible problem, the behavior after the change and the checks
64
+ performed. Keep unrelated changes separate. Run `npm run verify` and review the
65
+ archive inventory before proposing distribution changes. Security reports belong
66
+ in the repository's private reporting channel, as described in [Security](SECURITY.md).
67
+
68
+ ## Licensing
69
+
70
+ Contributions to the client, skills and documentation are accepted under the
71
+ [MIT license](LICENSE). Third-party material retains its original license and
72
+ must have clear provenance and notices. See [Third-party notices](THIRD_PARTY_NOTICES.md).
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Pulsar Interactive
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,77 @@
1
- # Temporary Holding Version
1
+ # GeniusTasker CLI & MCP
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Manage projects, tasks and knowledge from your terminal or AI assistant.
4
+ Connect once in your browser, choose what your agent can access, and stay in control.
5
+
6
+ [Get started](#get-started) · [Agent setup](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/docs/INTEGRATIONS.md) · [Commands](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/docs/CLI.md) · [Usage limits](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/docs/LIMITS.md)
7
+
8
+ ## Get started
9
+
10
+ Requires **Node.js 22.13+** and an approved GeniusTasker account.
11
+
12
+ ```sh
13
+ npm install -g @pulsarinteractive/geniustasker@beta
14
+ geniustasker auth login --context work
15
+ geniustasker projects list --context work --json
16
+ ```
17
+
18
+ Sign in in the browser, select your projects or memories, then approve the requested
19
+ permissions. The terminal connects automatically. No token to copy.
20
+ Installing the package does not grant application access.
21
+
22
+ ## What you can do
23
+
24
+ | Area | Features |
25
+ | ------------------- | -------------------------------------------------------------- |
26
+ | Projects & tasks | Browse work, update tickets, record progress and read comments |
27
+ | Agent collaboration | Ask for decisions, track replies and keep useful handoffs |
28
+ | Memory | Search documents and read the pages you need |
29
+ | Graph | Explore connected ideas and resolve links to Memory content |
30
+ | Files | Upload approved attachments and download selected files |
31
+ | Permissions | Choose scopes, restrict agent profiles and revoke connections |
32
+
33
+ Availability follows your account, the permissions you approve and the service's
34
+ current capabilities. [Memory & Graph guide](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/docs/MEMORY.md).
35
+
36
+ ## Connect your AI assistant
37
+
38
+ For a stdio MCP host, use this after signing in:
39
+
40
+ ```json
41
+ {
42
+ "mcpServers": {
43
+ "geniustasker": {
44
+ "command": "npx",
45
+ "args": ["-y", "@pulsarinteractive/geniustasker@0.1.0-beta.10", "mcp", "--context", "work"]
46
+ }
47
+ }
48
+ }
49
+ ```
50
+
51
+ See [Codex, Claude and skills setup](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/docs/INTEGRATIONS.md).
52
+ Your AI assistant uses its own model subscription; this package does not run or
53
+ bill the model. The [OpenAI integration guide](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/docs/OPENAI.md)
54
+ explains the available local integration and hosted integration status.
55
+
56
+ ## Documentation
57
+
58
+ | Guide | Use it for |
59
+ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------- |
60
+ | [CLI reference](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/docs/CLI.md) | Commands, browser login, remote terminals and troubleshooting |
61
+ | [Usage limits](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/docs/LIMITS.md) | Plan limits, shared account quotas and safe retries |
62
+ | [Memory & Graph](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/docs/MEMORY.md) | Documents, links, attachments and access changes |
63
+ | [Repository documentation](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/docs/DOCUMENTATION_SYNC.md) | Source selection, Markdown snapshots and freshness |
64
+ | [Security](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/SECURITY.md) | Credential handling and reporting a vulnerability |
65
+ | [Contributing](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/CONTRIBUTING.md) | Local development, tests and contribution guidelines |
66
+ | [Changelog](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/CHANGELOG.md) | Changes in each release |
67
+
68
+ ## License
69
+
70
+ [MIT](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/LICENSE)
71
+ for this CLI, MCP server, skills and documentation.
72
+ [Third-party notices](https://github.com/PulsarInteractive/geniustasker-agent-tools/blob/main/THIRD_PARTY_NOTICES.md)
73
+ cover included components. The GeniusTasker application and backend are separate.
74
+
75
+ ## ChatGPT
76
+
77
+ Connect the hosted service with OAuth: [setup and examples](docs/CHATGPT.md). Your computer does not need to run the CLI. Account permissions and quotas still apply. [Official directory publication](docs/OPENAI_PUBLICATION.md) is a separate review.
package/SECURITY.md ADDED
@@ -0,0 +1,14 @@
1
+ # Security
2
+
3
+ Report suspected vulnerabilities privately through GitHub's security advisory
4
+ reporting for this repository. Do not put tokens, private project content or
5
+ account exports in public issues. For ordinary bugs, use synthetic reproduction
6
+ steps and redact identifiers that are not needed.
7
+
8
+ The client uses the official service, explicit browser consent, bounded grants
9
+ and private credential files. Revocation is separate from uninstalling npm or a
10
+ plugin. The beta uses development admission; package installation grants nothing.
11
+
12
+ Public changes are checked against a file allowlist and credential/private-path
13
+ patterns, then reviewed before publishing. Automated scans supplement review;
14
+ they cannot guarantee that arbitrary new content is safe to disclose.
@@ -0,0 +1,15 @@
1
+ # Third-party notices
2
+
3
+ ## Agent Plugins JSON schemas
4
+
5
+ `tools/schemas/plugin.schema.json` and `tools/schemas/mcp.schema.json` are
6
+ unmodified Agent Plugins 1.0.0 JSON schemas, used for development validation.
7
+
8
+ - Project: [Agent Plugins specification](https://github.com/agentplugins/agent-plugins-spec)
9
+ - Source: [version 1.0.0 schemas](https://github.com/agentplugins/agent-plugins-spec/tree/main/schemas/1.0.0)
10
+ - License: Apache-2.0, as stated in the [upstream licensing notice](https://github.com/agentplugins/agent-plugins-spec/blob/main/LICENSE.md)
11
+ - Full license: [LICENSES/Apache-2.0.txt](LICENSES/Apache-2.0.txt)
12
+
13
+ These schemas retain their original license. The MIT license for GeniusTasker's
14
+ client does not replace their terms. npm dependencies retain the licenses
15
+ included in their respective packages.
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ import { main } from '../src/cli.mjs';
3
+ const cancellation = new AbortController();
4
+ process.once('SIGINT', () => cancellation.abort());
5
+ process.once('SIGTERM', () => cancellation.abort());
6
+ process.exitCode = await main(process.argv.slice(2), { signal: cancellation.signal });
@@ -0,0 +1,144 @@
1
+ # Client architecture
2
+
3
+ The CLI and MCP server share one delegated client. The client communicates with
4
+ the GeniusTasker service; it does not execute an agent's external workflow.
5
+ Projects and account memories are independent resources with explicit grants.
6
+
7
+ ```mermaid
8
+ flowchart LR
9
+ CLI[CLI commands] --> Client[AgentClient]
10
+ Host[Agent host] --> MCP[Local stdio MCP]
11
+ MCP --> Client
12
+ CLI --> Journal[CommandJournal]
13
+ MCP --> Journal
14
+ Journal --> Client
15
+ Client --> Store[Private context store]
16
+ Client --> HTTP[Bounded HTTP transport]
17
+ HTTP --> API[GeniusTasker API]
18
+ ```
19
+
20
+ ## Module responsibilities
21
+
22
+ | Module | Responsibility |
23
+ | --------------------- | --------------------------------------------------------------------------- |
24
+ | `cli.mjs` | Argument validation, context/environment selection, output and exit status |
25
+ | `login.mjs` | Browser PKCE consent, loopback callback validation and optional device flow |
26
+ | `store.mjs` | Private local files, atomic replacement and inter-process locking |
27
+ | `client.mjs` | Origin-bound sessions, serialized renewal, profile selection and reads |
28
+ | `transport.mjs` | Allowed origins/routes, timeouts, size limits and sanitized API failures |
29
+ | `commands.mjs` | Validated command envelopes and durable immutable operation journals |
30
+ | `profiles.mjs` | Bounded profile discovery, creation, restriction and selection |
31
+ | `changes.mjs` | Validated incremental reads and bounded, cancellable waits |
32
+ | `mcp.mjs` | Strict tool schemas and protocol-safe responses over stdio |
33
+ | `errors.mjs` | Stable errors, safe serialization and CLI exit codes |
34
+ | `command-catalog.mjs` | Generated public interface definitions and limits |
35
+
36
+ ## Authentication and renewal
37
+
38
+ 1. The user starts `auth login` outside the MCP process. Browser consent selects
39
+ resources and permissions; the CLI receives a one-use code through a validated
40
+ loopback callback and exchanges it using PKCE.
41
+ 2. Credentials are validated against the expected origin and identity before being
42
+ written. Local storage uses a dedicated context and restrictive permissions.
43
+ 3. Before renewal, the client acquires the context lock and persists a
44
+ `refreshPending` marker. Concurrent processes cannot renew the same credential
45
+ family simultaneously.
46
+ 4. A successful, validated response replaces both tokens atomically. An uncertain
47
+ response leaves the marker intact and requires reconnecting. It must not replay
48
+ a possibly consumed refresh token.
49
+ 5. Logout revokes the server session before deleting local credentials. A failed
50
+ revoke retains the local state for recovery.
51
+
52
+ Separate contexts give terminals independent consented sessions. Sharing a context
53
+ shares its identity and locks. Profile selection can narrow access; it cannot
54
+ restore a broader grant or extend the server's absolute session lifetime.
55
+
56
+ ## Writes and recovery
57
+
58
+ A domain command carries its scope, epoch, current revision, operation ID and
59
+ issue time. `prepare` validates and saves the complete request locally without
60
+ performing a domain write. The journal binds it to an origin, connection, profile
61
+ and session.
62
+
63
+ ```mermaid
64
+ stateDiagram-v2
65
+ [*] --> prepared: save validated draft
66
+ prepared --> uncertain: persist before sending
67
+ uncertain --> confirmed: validate and save receipt
68
+ uncertain --> uncertain: explicit identical retry
69
+ confirmed --> confirmed: return saved receipt
70
+ ```
71
+
72
+ A timeout or malformed receipt does not establish whether the server committed.
73
+ The operation stays uncertain. The caller can retry the same saved request; it
74
+ cannot replace the body under the same ID or replay it after an identity change.
75
+ A conflict requires a fresh read and a new operation. The journal never stores
76
+ authentication tokens.
77
+
78
+ Profile changes use a separate lifecycle: creation keeps the caller's UUID,
79
+ restriction uses a current revision, and selection rotates credentials while
80
+ holding the context lock. They are not domain-journal operations.
81
+
82
+ ## Reads and change cursors
83
+
84
+ Resource reads are bounded and permission-filtered. Callers preserve inventory
85
+ epoch/checkpoint fields while paging and follow continuation even when a page is
86
+ empty. A cursor does not grant access. Change pages validate scope, collection,
87
+ revision and shape before advancing saved state.
88
+
89
+ `watch` performs one bounded wait. It honors the server's polling interval and
90
+ cancellation; quota errors, expired history and revocation stop the wait. There is
91
+ no background subscription daemon or automatic monthly-limit retry loop.
92
+
93
+ ## Transport and extension points
94
+
95
+ Requests are confined to delegated API routes and approved origins. Redirects
96
+ are refused. Requests and responses are size-bounded; raw network exceptions
97
+ never become user-facing diagnostic text. CLI stdout and MCP stdout stay free of
98
+ logging and browser-authentication prompts.
99
+
100
+ Add a public capability by updating its generated contract, boundary validation,
101
+ client operation, CLI/MCP adapter, failure tests and user documentation together.
102
+ Prefer existing transport and storage primitives. A future remote MCP adapter is
103
+ a separate integration described in [OpenAI integration](OPENAI.md); the current
104
+ local plugin manifest must not imply that endpoint already exists.
105
+
106
+ ## Focused knowledge reads
107
+
108
+ `knowledge.mjs` validates bounded search, Graph neighborhood and reference inputs
109
+ for both CLI and MCP. It checks response scope/shape, never follows cursors
110
+ automatically and never persists linked Memory content. `truncated` is an explicit
111
+ partial graph, not evidence that omitted nodes or relations do not exist. Target
112
+ permissions remain server-owned and independent of access to the referring graph.
113
+
114
+ ## Conditional resource cache
115
+
116
+ `read-cache.mjs` keeps at most 64 responses and 8 MiB in process memory, with
117
+ 15-minute idle eviction. Exact query keys include a hashed origin/credential
118
+ realm. Every hit makes an authenticated conditional request; no cache entry can
119
+ bypass current server permissions, quotas or source versions. Servers without
120
+ validators remain compatible and receive ordinary reads.
121
+
122
+ Concurrent identical reads share one request. Generation fences prevent late
123
+ responses from repopulating a cache after account/profile changes, failures or
124
+ MCP writes. Failed validation clears cached private bodies; there is no stale
125
+ success fallback and no persistent resource cache. Returned values are cloned so
126
+ one tool call cannot mutate another caller's cached result.
127
+
128
+ ## Explicit repository snapshots
129
+
130
+ `documentation.mjs` validates the bounded tree and Markdown APIs. The sync
131
+ orchestrator keeps the selection independent of projects, compares descendant
132
+ versions, retrieves changed documents, verifies media and rechecks source
133
+ contexts before commit. `documentation-graph.mjs` maintains qualified Graph
134
+ records through incremental cursors and portable chunks of at most 100 records.
135
+ References do not materialize another Memory's private source bodies.
136
+
137
+ `documentation-store.mjs` owns only the configured destination's `content/`
138
+ subdirectory. A manifest records hashes and provenance. Local edits, unknown
139
+ files, symlinks and account/environment mismatches fail explicitly. A process
140
+ lock, staged tree and rename journal protect concurrent or interrupted exports.
141
+ Network failures leave the previous dated snapshot; current authorization is
142
+ never inferred from a local file. Confirmed scope revocation removes managed
143
+ source content at the next successful check, but cannot retract Git history or
144
+ copies elsewhere. The explicit export is separate from the process read cache.