carrick 0.3.186 → 0.3.187
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carrick",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.187",
|
|
4
4
|
"carrickCache": {
|
|
5
5
|
"cache_version": 22,
|
|
6
6
|
"intent_cache_version": 2
|
|
@@ -111,11 +111,11 @@
|
|
|
111
111
|
"zod": "^3.23.0"
|
|
112
112
|
},
|
|
113
113
|
"optionalDependencies": {
|
|
114
|
-
"@carrick-tools/cli-darwin-arm64": "0.3.
|
|
115
|
-
"@carrick-tools/cli-darwin-x64": "0.3.
|
|
116
|
-
"@carrick-tools/cli-linux-arm64": "0.3.
|
|
117
|
-
"@carrick-tools/cli-linux-x64": "0.3.
|
|
118
|
-
"@carrick-tools/cli-win32-x64": "0.3.
|
|
114
|
+
"@carrick-tools/cli-darwin-arm64": "0.3.187",
|
|
115
|
+
"@carrick-tools/cli-darwin-x64": "0.3.187",
|
|
116
|
+
"@carrick-tools/cli-linux-arm64": "0.3.187",
|
|
117
|
+
"@carrick-tools/cli-linux-x64": "0.3.187",
|
|
118
|
+
"@carrick-tools/cli-win32-x64": "0.3.187"
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
121
|
"@types/node": "^24.13.3"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carrick",
|
|
3
3
|
"description": "Claude Code plugin for Carrick, which indexes TypeScript codebases across service and repository boundaries. After each edit it adds the file's routes, calls, and cross-service type mismatches to the session, and it registers Carrick's language server. It pairs with the Carrick MCP server, which lets agents search functions by intent rather than name.",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.187",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Carrick",
|
|
7
7
|
"email": "hello@carrick.tools"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: carrick-audit
|
|
3
|
-
description: Use when the ask is what is wrong in this codebase, what to clean up, a health check of the project, or where the whole project has built the same thing twice. A full audit from the Carrick index on main (calls that reach no route, type mismatches between endpoints and their callers, functions written twice, routes written twice, one job done several ways), with each item proven in source and a fix list at the end. It states its estimated tokens and minutes before it reads any source
|
|
3
|
+
description: Use when the ask is what is wrong in this codebase, what to clean up, a health check of the project, or where the whole project has built the same thing twice. A full audit from the Carrick index on main (calls that reach no route, type mismatches between endpoints and their callers, functions written twice, routes written twice, one job done several ways), with each item proven in source and a fix list at the end. It states its estimated tokens and minutes before it reads any source, then waits for a go-ahead.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# A full audit from the index, proven in source
|
|
@@ -91,18 +91,26 @@ Carrick audit: estimate, before any source is read
|
|
|
91
91
|
- Groups of similar functions: <n>
|
|
92
92
|
- Operations served: <n>
|
|
93
93
|
Estimate: about <total> new tokens (A <n>, B <n>, C <n>, D <n>, E <n>, counting and report <n>)
|
|
94
|
+
Cached re-reads add about 6 times that again, at a tenth of the price.
|
|
94
95
|
Time: about <n> minutes with sub-agents, about <n> one section after another
|
|
95
96
|
```
|
|
96
97
|
|
|
97
|
-
After the block,
|
|
98
|
-
|
|
99
|
-
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
98
|
+
After the block, take the first case that fits:
|
|
99
|
+
|
|
100
|
+
- **The ask already says to go ahead**: it says to run the audit after seeing
|
|
101
|
+
the cost or without asking (for example "run the full audit", "go ahead",
|
|
102
|
+
"yes, run it", "don't ask, just run"). Carry on with section 2 in the same
|
|
103
|
+
turn. An ask the user has narrowed to one service or some sections is not a
|
|
104
|
+
go-ahead: work out the estimate for that scope, write the block, then take
|
|
105
|
+
one of the cases below.
|
|
106
|
+
- **You have a tool for putting a question to the user** (such as
|
|
107
|
+
`AskUserQuestion`): use it to ask whether to go ahead, and wait for the
|
|
108
|
+
answer.
|
|
109
|
+
- **You have no such tool**: end your turn after the block with one closing
|
|
110
|
+
line: `Say "go" to run the audit.` Open no source, start no sub-agent and
|
|
111
|
+
make no further tool call in that turn. When the user's next message says go,
|
|
112
|
+
run from section 2 with the counts you already read, and do not count again.
|
|
113
|
+
Any other reply is the user's new ask.
|
|
106
114
|
|
|
107
115
|
## 2. Run every section
|
|
108
116
|
|