@cirtium/acent-connect 0.0.0-stage → 0.2.3

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 (39) hide show
  1. package/.agents/plugins/marketplace.json +10 -0
  2. package/.claude-plugin/marketplace.json +5 -0
  3. package/README.md +109 -2
  4. package/acent/.claude-plugin/plugin.json +7 -0
  5. package/acent/.codex-plugin/plugin.json +32 -0
  6. package/acent/.cursor-plugin/plugin.json +13 -0
  7. package/acent/README.md +35 -0
  8. package/acent/assets/logo-dark.svg +7 -0
  9. package/acent/assets/logo.svg +7 -0
  10. package/acent/hooks/claude.json +26 -0
  11. package/acent/hooks/codex.json +26 -0
  12. package/acent/hooks/cursor.json +15 -0
  13. package/acent/mcp-claude.json +12 -0
  14. package/acent/mcp-codex.json +11 -0
  15. package/acent/mcp-cursor.json +15 -0
  16. package/acent/scripts/acent-connect.mjs +440 -0
  17. package/acent/scripts/antigravity-capture.mjs +105 -0
  18. package/acent/scripts/antigravity-hook.mjs +26 -0
  19. package/acent/scripts/capture-attachments.mjs +112 -0
  20. package/acent/scripts/capture-images.mjs +106 -0
  21. package/acent/scripts/clarification.mjs +105 -0
  22. package/acent/scripts/codex-capture.mjs +38 -0
  23. package/acent/scripts/connection-context.mjs +76 -0
  24. package/acent/scripts/connection-result.mjs +30 -0
  25. package/acent/scripts/extract-attachment.swift +19 -0
  26. package/acent/scripts/hook.mjs +32 -0
  27. package/acent/scripts/mcp-proxy.mjs +258 -0
  28. package/acent/scripts/memory-instructions.mjs +14 -0
  29. package/acent/scripts/provide-diff.mjs +200 -0
  30. package/acent/skills/acent-connect/SKILL.md +14 -0
  31. package/acent/skills/acent-memory/SKILL.md +49 -0
  32. package/antigravity/README.md +25 -0
  33. package/antigravity/build.mjs +49 -0
  34. package/antigravity/mcp-local.example.json +12 -0
  35. package/antigravity/mcp.example.json +1 -0
  36. package/antigravity/plugin.json +15 -0
  37. package/package.json +24 -4
  38. package/scripts/acent.mjs +156 -0
  39. package/scripts/install-plugin.mjs +267 -0
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "acent",
3
+ "interface": { "displayName": "Acent" },
4
+ "plugins": [{
5
+ "name": "acent",
6
+ "source": { "source": "local", "path": "./acent" },
7
+ "policy": { "installation": "AVAILABLE", "authentication": "ON_USE" },
8
+ "category": "Productivity"
9
+ }]
10
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "acent",
3
+ "owner": { "name": "Cirtium" },
4
+ "plugins": [{ "name": "acent", "source": "./acent", "description": "Project memory with opt-in conversation saving" }]
5
+ }
package/README.md CHANGED
@@ -1,3 +1,110 @@
1
- # Temporary Holding Version
1
+ # Acent
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
+ Connect your coding tool to Acent to retrieve project context and optionally save
4
+ new conversations. Requires Node.js 22 or later (with npm and npx) and your coding
5
+ tool. Codex, Claude Code, and Antigravity also need their plugin-capable CLI.
6
+
7
+ ## 1. Install the plugin
8
+
9
+ Open a terminal in your working project folder and run:
10
+
11
+ ```sh
12
+ npx @cirtium/acent-connect@latest install
13
+ ```
14
+
15
+ If npm asks to download the package, confirm. Then choose Codex, Claude Code,
16
+ Cursor, or Antigravity in the terminal menu. The installer checks the tool and
17
+ installs its Acent plugin. No separate package download or global npm installation
18
+ is needed. Installation does not sign you in or authorize conversation saving.
19
+
20
+ To skip the tool-selection menu, specify your tool, for example:
21
+
22
+ ```sh
23
+ npx @cirtium/acent-connect@latest install --tool codex
24
+ ```
25
+
26
+ Tool values are `codex`, `claude`, `cursor`, and `antigravity`.
27
+ The plugin is installed for your tool, not copied into the current project folder.
28
+
29
+ ## 2. Connect in your agent
30
+
31
+ Open your project in the selected tool and reload it or start a new session.
32
+ Send **“Connect Acent to this folder.”** in agent chat. Follow the returned link,
33
+ sign in to Acent, choose an Acent project, and review access and optional saving.
34
+ Review and allow the tool's Acent hooks before starting a new turn for saving.
35
+
36
+ No second terminal command is required. Each project folder has its own connection;
37
+ the plugin installation is shared across projects in the same tool.
38
+
39
+ ## Alternative: connect from the terminal
40
+
41
+ Instead of asking your agent, run this from the project folder you want to connect:
42
+
43
+ ```sh
44
+ npx @cirtium/acent-connect@latest connect
45
+ ```
46
+
47
+ Choose your tool in the terminal menu, then follow browser sign-in to select an
48
+ Acent project and review saving permissions. No tool name needs to be typed into
49
+ the command. This also sets up the plugin for a first installation. Use this
50
+ route or the agent message; you do not need both.
51
+
52
+ For scripts, optionally add `--tool codex` (or another tool) to skip the menu.
53
+ Running `npx @cirtium/acent-connect@latest` without a subcommand starts this same flow.
54
+
55
+ ## Update
56
+
57
+ Run from any folder to update all plugins installed through the Acent CLI:
58
+
59
+ ```sh
60
+ npx @cirtium/acent-connect@latest update --all
61
+ ```
62
+
63
+ To update a single tool, specify it or run `update` to choose from the menu:
64
+
65
+ ```sh
66
+ npx @cirtium/acent-connect@latest update --tool codex
67
+ ```
68
+
69
+ Updates preserve credentials, folder connections, and queued conversations.
70
+ For marketplace installs, use your tool's plugin updater. After updating, start a
71
+ new session and approve changed hooks if prompted.
72
+
73
+ ## Disconnect and remove
74
+
75
+ In the connected project folder, run:
76
+
77
+ ```sh
78
+ npx @cirtium/acent-connect@latest disconnect --tool codex
79
+ ```
80
+
81
+ This revokes that folder's connection and leaves the plugin installed. Remove the
82
+ plugin separately through your tool's plugin controls. For Cursor local installs,
83
+ remove only `~/.cursor/plugins/local/acent` and reload Cursor. Removing the plugin
84
+ does not revoke server grants or delete saved Acent memories.
85
+
86
+ ## Command reference
87
+
88
+ | Command or option | What it does |
89
+ | --- | --- |
90
+ | `install` | Installs the plugin. Connect afterward in your agent. |
91
+ | `connect` | Sets up the plugin and opens browser authorization for this folder. |
92
+ | `update` | Updates a CLI-managed plugin without changing its Acent connection. |
93
+ | `update --all` | Updates all plugins installed through the Acent CLI. |
94
+ | `disconnect` | Revokes the current folder's connection without removing the plugin. |
95
+ | `flush` | Retries queued conversation saving for the selected tool and folder. |
96
+ | `--tool` | Selects `codex`, `claude`, `cursor`, or `antigravity` without a menu. |
97
+ | `--folder` | Uses a specified project folder instead of the current directory. |
98
+ | `--executable` | Uses the full path to the tool's CLI if it is not on PATH. |
99
+ | `--help` | Shows commands and options without installing or connecting. |
100
+
101
+ Use these commands after `npx @cirtium/acent-connect@latest`, for example
102
+ `npx @cirtium/acent-connect@latest --help`.
103
+
104
+ An installed app may not have its CLI available in the terminal. Enable its CLI or
105
+ use `--executable`. Organization policies may restrict local plugins. In Cursor,
106
+ reload and check Customize; a marketplace copy can take precedence over a local
107
+ plugin. These integrations do not automatically collect chats from the ordinary
108
+ ChatGPT, Claude, or Gemini apps.
109
+
110
+ [Setup guide](https://www.acent.cloud/docs/integrations) · [Website](https://www.acent.cloud) · [Privacy](https://www.acent.cloud/privacy) · [Terms](https://www.acent.cloud/terms)
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "acent",
3
+ "version": "0.2.3",
4
+ "description": "Open your project folder and ask \"Connect Acent\" in chat to sign in and choose an Acent project. Conversation saving is optional.",
5
+ "mcpServers": "./mcp-claude.json",
6
+ "hooks": "./hooks/claude.json"
7
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "acent",
3
+ "version": "0.2.3",
4
+ "description": "Connect conversations across your projects and carry context into your next task.",
5
+ "skills": "./skills/",
6
+ "mcpServers": "./mcp-codex.json",
7
+ "hooks": "./hooks/codex.json",
8
+ "extensions": {
9
+ "com.openai": {
10
+ "onboardingSkill": "./skills/acent-connect/SKILL.md"
11
+ }
12
+ },
13
+ "interface": {
14
+ "displayName": "Acent",
15
+ "shortDescription": "Connect conversations across your projects and carry context into your next task.",
16
+ "longDescription": "Acent connects conversations across your projects so you can carry context into your next task.\n\nKeep your work conversations, revisit past decisions, and bring relevant context into your coding agent. Pick up where you left off\u2014even when you switch projects or tools\u2014without explaining everything again.\n\nGet started\n\nInstall the Acent plugin with the Acent CLI from your project folder. To connect from the agent, ask \u201cConnect Acent\u201d. Follow the link to sign in, choose an Acent project, and approve the connection and conversation saving.\n\nConversation saving\n\nSaving starts after you approve it and allow the plugin hooks in Codex. Each project folder needs its own connection. You can revoke access in Acent settings.",
17
+ "developerName": "Cirtium",
18
+ "category": "Productivity",
19
+ "websiteURL": "https://www.acent.cloud",
20
+ "privacyPolicyURL": "https://www.acent.cloud/privacy",
21
+ "termsOfServiceURL": "https://www.acent.cloud/terms",
22
+ "logo": "./assets/logo.svg",
23
+ "logoDark": "./assets/logo-dark.svg",
24
+ "composerIcon": "./assets/logo.svg",
25
+ "composerIconDark": "./assets/logo-dark.svg",
26
+ "defaultPrompt": [
27
+ "Connect Acent to this folder.",
28
+ "What did we last work on in this project?",
29
+ "What did we decide, and why?"
30
+ ]
31
+ }
32
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "acent",
3
+ "version": "0.2.3",
4
+ "description": "Connect conversations across your projects and carry context into your next task.",
5
+ "author": {
6
+ "name": "Cirtium"
7
+ },
8
+ "homepage": "https://www.acent.cloud",
9
+ "logo": "./assets/logo.svg",
10
+ "skills": "./skills/",
11
+ "mcpServers": "./mcp-cursor.json",
12
+ "hooks": "./hooks/cursor.json"
13
+ }
@@ -0,0 +1,35 @@
1
+ # Acent
2
+
3
+ Acent connects conversations across your projects so you can carry context into your next task.
4
+
5
+ Keep your work conversations, revisit past decisions, and bring relevant context into your coding agent. Pick up where you left off—even when you switch projects or tools—without explaining everything again.
6
+
7
+ ## Get started
8
+
9
+ Install the Acent plugin with the Acent CLI from your project folder. Then ask **“Connect Acent”** in Agent chat. Follow the link to sign in, choose an Acent project, and approve the connection and conversation saving.
10
+
11
+ In Cursor, use Agent chat in the IDE or a local Agents Window. In Codex, use a chat with your project folder open. If you close the connection page before finishing, ask **“Connect Acent”** again.
12
+
13
+ ## Use your saved context
14
+
15
+ Ask your agent to find relevant context in Acent, for example:
16
+
17
+ - “What did we decide about authentication, and why?”
18
+ - “Show the original conversation behind that decision.”
19
+ - “Help me pick up where I left off.”
20
+
21
+ ## Conversation saving
22
+
23
+ Saving starts after you approve it on the Acent connection page and allow the plugin hooks in your coding tool. Codex and Cursor save submitted prompts and completed assistant responses. Each project folder needs its own connection; connecting a general chat does not connect your other project folders.
24
+
25
+ Your agent can retrieve context from the approved project and account-wide memory. You can revoke the connection in Acent settings.
26
+
27
+ ## Attached files
28
+
29
+ **Save attached files** is on by default for new connections. When you approve conversation saving, Acent also keeps accessible originals of documents, images, audio, and videos. You can turn file saving off in the connection’s settings. Existing connection settings are preserved. Files use Storage and your plan’s per-file upload limit; storing a file does not automatically extract or analyze its content.
30
+
31
+ Codex and Cursor can save files identified in their submitted attachment events. When a host does not expose attachments in its events, the agent can use `acent_save_attachments` with the exact paths of files you attached. This tool is available in Codex, Cursor, Claude Code, and Antigravity. Files the host cannot access cannot be copied. Files saved through this tool are searchable by filename; automatic conversation linking requires an attachment event from the host.
32
+
33
+ Only directly shared attachments are collected. Acent does not scan your folders or automatically copy files an agent reads while working. Saved conversation attachments show a download link, or a failure status when the original could not be saved.
34
+
35
+ [Website](https://www.acent.cloud) · [Privacy](https://www.acent.cloud/privacy) · [Terms](https://www.acent.cloud/terms)
@@ -0,0 +1,7 @@
1
+ <svg width="128" height="128" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="128" height="128" rx="24" fill="#171717"/>
3
+ <g transform="translate(26.5 24) scale(1.25)">
4
+ <path d="M60 30C60 26.0603 59.224 22.1593 57.7164 18.5195C56.2087 14.8797 53.999 11.5726 51.2132 8.7868C48.4274 6.00104 45.1203 3.79125 41.4805 2.28361C37.8407 0.775973 33.9397 -1.72208e-07 30 0C26.0603 1.72208e-07 22.1593 0.775973 18.5195 2.28361C14.8797 3.79126 11.5726 6.00104 8.7868 8.7868C6.00104 11.5726 3.79125 14.8797 2.28361 18.5195C0.77597 22.1593 -3.44416e-07 26.0603 0 30L60 30Z" fill="white"/>
5
+ <path d="M60 34C60 37.9397 59.224 41.8407 57.7164 45.4805C56.2087 49.1203 53.999 52.4274 51.2132 55.2132C48.4274 57.999 45.1203 60.2087 41.4805 61.7164C37.8407 63.224 33.9397 64 30 64C26.0603 64 22.1593 63.224 18.5195 61.7164C14.8797 60.2087 11.5726 57.999 8.7868 55.2132C6.00104 52.4274 3.79125 49.1203 2.28361 45.4805C0.77597 41.8407 -3.44416e-07 37.9397 0 34L60 34Z" fill="white"/>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="128" height="128" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="128" height="128" rx="24" fill="white"/>
3
+ <g transform="translate(26.5 24) scale(1.25)">
4
+ <path d="M60 30C60 26.0603 59.224 22.1593 57.7164 18.5195C56.2087 14.8797 53.999 11.5726 51.2132 8.7868C48.4274 6.00104 45.1203 3.79125 41.4805 2.28361C37.8407 0.775973 33.9397 -1.72208e-07 30 0C26.0603 1.72208e-07 22.1593 0.775973 18.5195 2.28361C14.8797 3.79126 11.5726 6.00104 8.7868 8.7868C6.00104 11.5726 3.79125 14.8797 2.28361 18.5195C0.77597 22.1593 -3.44416e-07 26.0603 0 30L60 30Z" fill="black"/>
5
+ <path d="M60 34C60 37.9397 59.224 41.8407 57.7164 45.4805C56.2087 49.1203 53.999 52.4274 51.2132 55.2132C48.4274 57.999 45.1203 60.2087 41.4805 61.7164C37.8407 63.224 33.9397 64 30 64C26.0603 64 22.1593 63.224 18.5195 61.7164C14.8797 60.2087 11.5726 57.999 8.7868 55.2132C6.00104 52.4274 3.79125 49.1203 2.28361 45.4805C0.77597 41.8407 -3.44416e-07 37.9397 0 34L60 34Z" fill="black"/>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,26 @@
1
+ {
2
+ "hooks": {
3
+ "UserPromptSubmit": [
4
+ {
5
+ "hooks": [
6
+ {
7
+ "type": "command",
8
+ "command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/hook.mjs\" --tool \"Claude Code\"",
9
+ "timeout": 40
10
+ }
11
+ ]
12
+ }
13
+ ],
14
+ "Stop": [
15
+ {
16
+ "hooks": [
17
+ {
18
+ "type": "command",
19
+ "command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/hook.mjs\" --tool \"Claude Code\"",
20
+ "timeout": 40
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "hooks": {
3
+ "UserPromptSubmit": [
4
+ {
5
+ "hooks": [
6
+ {
7
+ "type": "command",
8
+ "command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/hook.mjs\" --tool \"Codex\"",
9
+ "timeout": 40
10
+ }
11
+ ]
12
+ }
13
+ ],
14
+ "Stop": [
15
+ {
16
+ "hooks": [
17
+ {
18
+ "type": "command",
19
+ "command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/hook.mjs\" --tool \"Codex\"",
20
+ "timeout": 40
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
26
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "version": 1,
3
+ "hooks": {
4
+ "beforeSubmitPrompt": [
5
+ {
6
+ "command": "node \"${CURSOR_PLUGIN_ROOT}/scripts/hook.mjs\" --tool Cursor"
7
+ }
8
+ ],
9
+ "afterAgentResponse": [
10
+ {
11
+ "command": "node \"${CURSOR_PLUGIN_ROOT}/scripts/hook.mjs\" --tool Cursor"
12
+ }
13
+ ]
14
+ }
15
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "mcpServers": {
3
+ "acent": {
4
+ "command": "node",
5
+ "args": [
6
+ "${CLAUDE_PLUGIN_ROOT}/scripts/mcp-proxy.mjs",
7
+ "--tool",
8
+ "Claude Code"
9
+ ]
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "mcpServers": {
3
+ "acent": {
4
+ "command": "node",
5
+ "args": [
6
+ "-e",
7
+ "const {execFileSync}=require('node:child_process');const {join,isAbsolute}=require('node:path');const {pathToFileURL}=require('node:url');try{const list=JSON.parse(execFileSync('codex',['plugin','list','--marketplace','acent','--json'],{encoding:'utf8',stdio:['ignore','pipe','pipe']}));const root=list.installed.find(p=>p.pluginId==='acent@acent'&&p.enabled)?.source?.path;if(!root||!isAbsolute(root))throw Error('Acent plugin source unavailable. Reinstall acent@acent.');process.argv=['node','acent-mcp','--tool','Codex'];import(pathToFileURL(join(root,'scripts/mcp-proxy.mjs')).href).catch(e=>{console.error(e.message);process.exitCode=1})}catch(e){console.error(e.message);process.exitCode=1}"
8
+ ]
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "mcpServers": {
3
+ "acent": {
4
+ "type": "stdio",
5
+ "command": "node",
6
+ "args": [
7
+ "${CURSOR_PLUGIN_ROOT}/scripts/mcp-proxy.mjs",
8
+ "--tool",
9
+ "Cursor",
10
+ "--folder",
11
+ "${workspaceFolder}"
12
+ ]
13
+ }
14
+ }
15
+ }