articulate-local 0.0.0-stage → 2.3.0-beta.1

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.
package/LICENSE ADDED
@@ -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/NOTICE ADDED
@@ -0,0 +1,7 @@
1
+ Articulate
2
+ Copyright 2026 Articulate contributors.
3
+
4
+ Licensed under Apache License 2.0. Third-party dependencies
5
+ retain their respective licenses. Bundled builds include THIRD_PARTY_NOTICES.txt
6
+ with dependency license and notice texts. This notice does not assert ownership
7
+ of third-party code.
package/README.md CHANGED
@@ -1,3 +1,243 @@
1
- # Temporary Holding Version
1
+ # Articulate
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
+ > **Testing beta — not ready for general public or production use.**
4
+ > This repository is public so volunteers can inspect and test the work in progress.
5
+ > Expect bugs and incomplete coverage. Historical inference is experimental;
6
+ > review every proposed preference and keep backups. Public source availability
7
+ > does not mean a stable release or verified support for every agent/platform.
8
+
9
+ One reviewed understanding of how you work, shared with your coding agents.
10
+
11
+ Articulate is a local CLI and MCP server for collaboration preferences you review.
12
+ It can bring available Codex, Claude Code and Cursor activity together for one
13
+ project or across projects, then let separately approved agents use the reviewed
14
+ profile. Claude Desktop can consume it; its chat history is not an import source.
15
+ Historical inference is experimental. This testing beta does not measure intelligence,
16
+ personality or learning rate, and does not establish improved factual accuracy.
17
+
18
+ The GitHub source repository is public for beta testing. You do **not** need a
19
+ GitHub or Articulate account to use this npm package. Its included JavaScript code
20
+ and documentation are public. No Articulate telemetry or automatic cloud upload
21
+ is included. Your connected AI provider can process permitted tool results.
22
+
23
+ ## Install on macOS, Windows or Linux
24
+
25
+ Install a supported Node.js LTS release from https://nodejs.org/ first. The tested
26
+ minimum patches are 22.23.4, 24.22.2 and 26.13.0. Use a currently patched release
27
+ on one of these lines. Docker and an API key are not required for basic setup.
28
+
29
+ In Terminal (Mac/Linux) or PowerShell/Command Prompt (Windows):
30
+
31
+ ```sh
32
+ npm install --global articulate-local@2.3.0-beta.1
33
+ articulate
34
+ ```
35
+
36
+ This installs the command `articulate`. The npm package named `articulate` is an
37
+ unrelated product; use **articulate-local**. On PowerShell, if a `.ps1` launcher is
38
+ blocked, use `npm.cmd` and `articulate.cmd` explicitly. Do not change system-wide
39
+ execution policy to install this beta.
40
+
41
+ For a one-time launch without a global install:
42
+
43
+ ```sh
44
+ npx --yes --package articulate-local@2.3.0-beta.1 articulate
45
+ ```
46
+
47
+ Keep installations stable after connecting agents. With a temporary npx install,
48
+ regenerate connections if its cached package/runtime is later removed. A global
49
+ install is the recommended first-friend test path.
50
+
51
+ ## Choose the scope
52
+
53
+ Run `articulate` for the interactive menu, or use one of these commands:
54
+
55
+ ```sh
56
+ articulate project /absolute/path/to/repository
57
+ articulate all
58
+ ```
59
+
60
+ On Windows, for example:
61
+
62
+ ```powershell
63
+ articulate project "C:\work\my-project"
64
+ ```
65
+
66
+ Use the actual project folder, not your home directory. Agents are detected from
67
+ available local records; you do not need to select a different agent per project.
68
+ Read the scope/retention prompt, approve only the sources you want, inspect
69
+ coverage gaps, and review proposed preferences before agents can use them.
70
+ You can choose preferences manually if no reliable local history is available.
71
+ A quick extraction finds literal requests; richer local-model analysis is an
72
+ optional, separately configured experimental feature. Cloud-only, deleted,
73
+ unsupported or unattributable records can remain absent.
74
+
75
+ ## Connect Claude, Codex, Cursor or all of them
76
+
77
+ ```sh
78
+ articulate connect
79
+ ```
80
+
81
+ Review the settings-change prompt. Configuration preparation covers Codex,
82
+ Claude Code, Claude Desktop and Cursor, preserves unrelated settings and saves
83
+ private backups locally. Select which clients may share the reviewed profile;
84
+ each gets a separate local browser approval. One client's approval does not
85
+ approve the others. Closing or declining an approval leaves access disabled.
86
+ Claude Desktop can also require installing/updating the prepared device-specific
87
+ extension. Keep that extension and credential/connection files on your machine.
88
+
89
+ After Connect:
90
+
91
+ - **Codex:** reload MCP connections or restart the local host, then open a new chat.
92
+ - **Claude Code:** reload/restart the connection; `/mcp` shows its status.
93
+ - **Claude Desktop:** finish the local extension installation/update, reload, then
94
+ start a new chat with the connector enabled.
95
+ - **Cursor:** enable the Articulate MCP entry/tools and open a new agent chat.
96
+ For Cursor CLI, run `agent mcp enable articulate`, then
97
+ `agent mcp list-tools articulate` from the same physical workspace path.
98
+
99
+ Cursor's approval to start a server is separate from Articulate's permission to
100
+ share a profile. In the tested Cursor CLI, macOS temporary-path aliases could
101
+ make an approval appear lost; using the canonical physical workspace path for
102
+ both commands resolved it. Do not compensate by granting more tools.
103
+ Only use host applications that their vendors actually support on your OS.
104
+ Articulate does not force tool use or copy memory into every future chat.
105
+
106
+ ## Verify the connection
107
+
108
+ Start a new agent chat in a non-sensitive project and paste:
109
+
110
+ > Test Articulate for this repository's actual absolute projectPath. Call
111
+ > articulate_status, articulate_get_analysis and articulate_get_policy with
112
+ > task="debugging". Report the bundle version, client sharing state, memory
113
+ > revision, coverage gaps and approved preference IDs. Do not import history,
114
+ > save preferences, change sharing or edit files during this check.
115
+
116
+ Confirm version **2.3.0-beta.1**, the correct client, granted access and matching
117
+ revisions. Missing tools usually mean an old server/extension is still loaded.
118
+ Empty approved preferences and coverage gaps are valid results, not a reason to
119
+ invent a profile. Check answer correctness separately from preferred formatting.
120
+ For example, `[1,2,3].slice(0,2-1)` returns `[1]` because the end index is excluded.
121
+ A current request for exactly `{"ok":true}` must not gain labels or explanations
122
+ from stored preferences. Revoke one client and verify it is denied while another
123
+ approved client can still retrieve its permitted profile.
124
+
125
+ ## Data and control
126
+
127
+ The local profile, source-import approval and per-client sharing grants are
128
+ separate. Selected imported text may contain private code or credentials despite
129
+ redaction; inspect it locally. Setup explains retention, normally 30 days.
130
+ Raw imported transcripts are not returned through MCP. Permitted summaries and
131
+ preferences may be processed by the AI host you connect. Its independent file
132
+ and shell tools remain governed by that host, not by Articulate's API grants.
133
+
134
+ There is no automatic model download, cloud fallback or background import.
135
+ Remote analysis requires separate explicit provider configuration and opt-in;
136
+ it sends selected analysis input to that provider and is not local-only.
137
+ A refresh notice does not authorize scanning, inference approval or history
138
+ upload. Current task instructions override stored presentation preferences.
139
+ Articulate does not autonomously execute coding/security workflows.
140
+
141
+ Run `articulate help` for source pause/removal, client revocation and local erasure
142
+ commands. Local erasure does not delete the original agent histories or copies
143
+ already sent to providers. Configuration backups are inside your Articulate data
144
+ folder; restore anything needed before erasing that folder.
145
+
146
+ ## Update, troubleshoot and give feedback
147
+
148
+ Update with `npm install --global articulate-local@2.3.0-beta.1`, rerun
149
+ `articulate connect`, finish any Desktop extension update, reload each host and
150
+ start a new chat. Generated paths bind the installed Node/package location.
151
+
152
+ - **Command not found:** reopen the terminal and check the Node/npm global command
153
+ directory is on PATH. Use a user-managed Node installation for prefix-permission
154
+ errors; do not blindly use sudo or force replacement of another command.
155
+ - **Old private alpha installed as `@articulate/local`:** if that is your own legacy
156
+ installation, remove only that old global package with
157
+ `npm uninstall --global @articulate/local --ignore-scripts`, then install
158
+ `articulate-local@2.3.0-beta.1`. Keep your local Articulate data and regenerate
159
+ connections. Do not uninstall an unrelated package merely because names collide.
160
+ - **Sharing disabled:** open that client's local permission page, review it, and
161
+ choose whether to approve. Repeated approval cannot fix an old server build.
162
+ - **Settings rejected:** repair malformed JSON locally or use the host's native
163
+ setup with the generated connection file. Complex Codex TOML is deliberately
164
+ refused. Corrupt profile/session files are preserved; restore a known backup
165
+ or seek help rather than deleting data to obtain a passing check.
166
+
167
+ For this friends' alpha, send feedback privately to the person who shared the
168
+ package. Include OS, Node, Articulate and agent versions, the command, expected
169
+ result and a redacted error or synthetic reproduction. Do not attach chat exports,
170
+ profiles, activity databases, credentials, device-specific bundles or consent
171
+ links. Report suspected vulnerabilities privately, not in public comments.
172
+ The private GitHub repository/issue tracker does not require access for usage.
173
+
174
+ Automated native CLI/MCP tests cover macOS arm64, Linux x64 and Windows x64 on the
175
+ three Node lines above, including a single shared package, concurrent clients,
176
+ instance/project boundaries, revocation, crashes, relocation and corrupt JSON.
177
+ Cursor CLI transport is checked on all three OSes; real model-session checks were
178
+ run on Mac. Windows automation used Server 2025, not Windows desktop UI testing.
179
+ Real desktop install/approval, other architectures/distributions, managed endpoint
180
+ policies, arbitrary future schema migration and unlimited concurrency remain
181
+ separate checks. Passing tests are not security certification or proof of learning
182
+ or accuracy improvements.
183
+
184
+ Apache-2.0. See LICENSE, NOTICE and THIRD_PARTY_NOTICES.txt in the installed package.
185
+
186
+ ## Profiles and versioned shortcuts
187
+
188
+ This version adds `articulate modes`: an interactive menu to create Work, Personal
189
+ or project/task profiles, assign already imported activity, review suggestions,
190
+ choose agent access and manage reusable procedures. No new scan runs just because
191
+ you create a profile. General preferences are separate and are never silently
192
+ blended into a named profile.
193
+
194
+ Before creating the first profile, update every connected server/extension and
195
+ reload MCP. Creating it upgrades the managed SQLite schema to 2; older binaries
196
+ refuse this storage. Back up first if you need rollback.
197
+
198
+ Run `articulate connect` after creation and approve the profiles each client may
199
+ use in its local browser page. General has a separate checkbox. Then ask:
200
+
201
+ > List my permitted Articulate profiles. Use Work for this repository. Get its
202
+ > analysis and debugging policy with modeRef Work and the actual projectPath.
203
+ > Follow my current request and keep essential caveats. Save nothing.
204
+
205
+ Use modeRef on each request when the host cannot provide a reliable session ID.
206
+ An explicit chat selection is client/session/project specific. A revoked, unknown
207
+ or deleted profile fails instead of falling back to General. MCP does not promise
208
+ a native profile dropdown in every host.
209
+
210
+ In the menu, choose Saved shortcuts. Give a reviewed procedure a key such as SR4,
211
+ a title, steps, required inputs and completion checks. Keys are case-insensitive
212
+ within a profile; aliases may include #56 or **1. Ask the agent:
213
+
214
+ > Use Work and resolve SR4@1 for this project, with route /billing. Show me the
215
+ > procedure before taking action.
216
+
217
+ The resolver executes nothing and adds no agent permissions. Missing inputs,
218
+ mismatched project-version labels or changed reviewed documentation withhold
219
+ steps. Input values stay separate from instructions. Quoted/history keys are not
220
+ new user requests. Old revisions stay pinned when a procedure is edited.
221
+
222
+ The interactive `articulate modes` is the recommended setup interface. Full source
223
+ guide: https://github.com/AshPlayer-1415/articulate/blob/main/docs/work-modes.md
224
+
225
+ `articulate privacy` shows the managed data folder, normally ~/.articulate. New
226
+ profiles, revisions, procedures, proposals, grants and caches live in activity.sqlite
227
+ there; storage is not encrypted by Articulate. Context caches recheck grants and
228
+ use bounded UTF-8 byte budgets, not model token guarantees. Incomplete analysis
229
+ can reuse completed windows within its profile; it does not borrow another
230
+ profile's results or automatically approve suggestions.
231
+
232
+ Use Delete one profile in the menu to erase its managed content. To erase all
233
+ Articulate data, stop analyses, close agents, restore any needed settings backups,
234
+ then use Data & privacy or:
235
+
236
+ ```sh
237
+ articulate erase --confirmation "DELETE LOCAL ARTICULATE DATA" --approve
238
+ ```
239
+
240
+ Host configuration entries, original agent histories, independent exports, OS
241
+ backups and provider/runtime copies remain. Remove MCP entries in each app
242
+ separately. Windows may retain an empty DB file while an agent holds it open;
243
+ close agents and rerun erasure. Logical deletion is not guaranteed forensic wiping.